Function at 0x10a24400
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [ebp + 8], 0
jne 0x10a24416
mov eax, 0xfffffff9
jmp 0x10a24663
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x10a24434
or eax, 0xffffffff
jmp 0x10a24663
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0x4550
je 0x10a24455
mov eax, 0xfffffffe
jmp 0x10a24663
push 4
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
call fcn.10a2b477
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10a2447c
mov eax, 0xfffffffd
jmp 0x10a24663
push 4
mov edx, dword [ebp - 0x20]
xor eax, eax
mov ax, word [edx + 6]
push eax
call fcn.10a2b477
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10a244a3
mov eax, 0xfffffffc
jmp 0x10a24663
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp - 0x20]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], 0
jmp 0x10a244c8
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x28], ecx
jge 0x10a244ff
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
jmp 0x10a244bf
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 6]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.10a24110
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x10a2453f
mov eax, 0xfffffffb
jmp 0x10a24663
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10a24ac0
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10a246e0
add esp, 0x14
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10a2458c
mov eax, 0xfffffffa
jmp 0x10a24663
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.10a24110
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x10a245f8
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 6]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10a24b70
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10a245f6
mov eax, 0xfffffff7
jmp 0x10a24663
jmp 0x10a245ff
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
je 0x10a2460d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x10a2461b
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
cmp dword [ebp + 0x14], 0
je 0x10a24629
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
cmp dword [ebp + 0x18], 0
je 0x10a24637
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp + 0x1c], 0
je 0x10a24645
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
cmp dword [ebp + 0x24], 0
je 0x10a24653
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
cmp dword [ebp + 0x20], 0
je 0x10a24661
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret