Function at 0x1029f7d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x103a42c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x1045e5b6
call fcn.10120495
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1029f814
xor al, al
jmp 0x1029fa0d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
add ecx, 0x14
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
jmp 0x1029f832
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc]
je 0x1029f96a
mov eax, dword [ebp - 0x1c]
sub eax, 8
mov dword [ebp - 0x10], eax
jne 0x1029f84b
jmp 0x1029f82a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x90]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xb0], edx
cmp dword [ebp - 0x90], 0
je 0x1029f885
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xb4], eax
jmp 0x1029f88f
mov dword [ebp - 0xb4], 0
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
je 0x1029f8ab
mov edx, dword [ebp - 0x28]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x1029f8c0
mov byte [ebp - 0x87], 0
mov cl, byte [ebp - 0x87]
mov byte [ebp - 0x85], cl
jmp 0x1029f90d
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x2c], eax
je 0x1029f8d9
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], 0x4550
je 0x1029f8ee
mov byte [ebp - 0x88], 0
mov dl, byte [ebp - 0x88]
mov byte [ebp - 0x85], dl
jmp 0x1029f90d
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x89], 1
mov dl, byte [ebp - 0x89]
mov byte [ebp - 0x85], dl
mov al, byte [ebp - 0x85]
mov byte [ebp - 0xb5], al
movzx ecx, byte [ebp - 0xb5]
test ecx, ecx
jne 0x1029f929
jmp 0x1029f82a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x7c], ecx
lea edx, [ebp - 0x84]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp + 8]
call fcn.1011f06d
jmp 0x1029f82a
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
add edx, 4
mov dword [ebp - 0x94], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
add edx, 8
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xac]
mov edx, dword [eax]
cmp edx, dword [ecx]
jne 0x1029f9d0
mov dword [ebp - 0xb0], 1
jmp 0x1029f9da
mov dword [ebp - 0xb0], 0
mov al, byte [ebp - 0xb0]
mov byte [ebp - 0x86], al
movzx ecx, byte [ebp - 0x86]
test ecx, ecx
jne 0x1029f9fd
mov dword [ebp - 0xb4], 1
jmp 0x1029fa07
mov dword [ebp - 0xb4], 0
mov al, byte [ebp - 0xb4]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012012a
mov esp, ebp
pop ebp
ret