Function at 0x40fe9b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
mov eax, dword [0x10011040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 4
push 0x1000
push 0x830
push 0
push edi
mov dword [ebp - 0x1d0], eax
call dword [0x1000c024]
mov esi, eax
mov dword [ebp - 0x1cc], esi
test esi, esi
je 0x410128
push 0x40
lea ecx, [ebp - 0xcc]
push 0
push ecx
mov dword [ebp - 0x1c8], 0
call fcn.0041725b
mov ebx, dword [0x1000c028]
add esp, 0xc
lea eax, [ebp - 0x1c8]
push eax
push 0x40
lea ecx, [ebp - 0xcc]
push ecx
push esi
mov edx, 0x5a4d
push edi
mov word [ebp - 0xcc], dx
mov dword [ebp - 0x90], 0x40
call ebx
test eax, eax
je 0x410128
cmp dword [ebp - 0x1c8], 0x40
jne 0x410128
push 0xf8
lea edx, [ebp - 0x1c4]
push 0
push edx
add esi, 0x40
call fcn.0041725b
add esp, 0xc
lea ecx, [ebp - 0x1c8]
push ecx
mov edx, 1
push 0xf8
mov word [ebp - 0x1be], dx
lea edx, [ebp - 0x1c4]
push edx
push esi
mov eax, 0x10b
push edi
mov dword [ebp - 0x1c4], 0x4550
mov dword [ebp - 0x1b0], 0x200000e0
mov word [ebp - 0x1ac], ax
call ebx
test eax, eax
je 0x410128
cmp dword [ebp - 0x1c8], 0xf8
jne 0x410128
mov ecx, dword [0x1000e1c4]
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [0x1000e1c0]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x1c8]
push eax
add esi, 0xf8
push 0x28
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x48]
mov edx, esi
sub edx, dword [ebp - 0x1cc]
push ecx
push esi
add edx, 0x28
push edi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], 0x6d0
call ebx
test eax, eax
je 0x410128
cmp dword [ebp - 0x1c8], 0x28
jne 0x410128
push 0x40
lea edx, [ebp - 0x8c]
push 0
push edx
add esi, 0x28
call fcn.0041725b
add esp, 0xc
mov eax, 0x40
lea ecx, [ebp - 0x1c8]
push ecx
push eax
lea edx, [ebp - 0x8c]
push edx
push esi
push edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 0x727444
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0x6d0
call ebx
test eax, eax
je 0x410128
cmp dword [ebp - 0x1c8], 0x40
jne 0x410128
mov ecx, dword [0x1000e1cc]
mov edx, dword [0x1000e1d0]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c8]
push ecx
mov dword [ebp - 0x1c], eax
push 0x18
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1000e1c8]
lea edx, [ebp - 0x20]
push edx
add esi, 0x40
mov dword [ebp - 0x18], eax
mov eax, dword [0x1000e1d4]
push esi
push edi
mov dword [ebp - 0x20], 0x690
mov dword [ebp - 0xc], eax
call ebx
test eax, eax
je 0x410128
cmp dword [ebp - 0x1c8], 0x18
jne 0x410128
mov ecx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x1c8]
push eax
push 0x678
push ecx
add esi, 0x18
push esi
push edi
call ebx
test eax, eax
je 0x410128
cmp dword [ebp - 0x1c8], 0x678
jne 0x410128
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00411cea
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00411cea
mov esp, ebp
pop ebp
ret 4