Function at 0x10033930
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x10149de0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x18c], eax
test ebx, ebx
je 0x10033c9c
test edi, edi
je 0x10033c9c
mov ecx, fcn.10033510
test ecx, ecx
je 0x10033c9c
xor edx, edx
push 0x3e
push edx
lea eax, [ebp - 0x146]
push eax
mov word [ebp - 0x148], dx
call fcn.10078880
push ebp
call fcn.112cd57c
add esp, 0xc
push 0
push 0x40
lea ecx, [ebp - 0x148]
push ecx
push edi
push ebx
call esi
test eax, eax
je 0x10033ca4
mov edx, 0x5a4d
cmp word [ebp - 0x148], dx
jne 0x10033ca4
push 0xf4
lea eax, [ebp - 0x284]
push 0
push eax
mov dword [ebp - 0x288], 0
call fcn.10078880
mov ecx, dword [ebp - 0x10c]
add esp, 0xc
push 0
push 0xf8
lea edx, [ebp - 0x288]
push edx
lea eax, [edi + ecx]
push eax
push ebx
call esi
test eax, eax
je 0x10033ca4
xor eax, eax
cmp dword [ebp - 0x288], 0x4550
jne 0x10033ca6
mov ecx, dword [ebp - 0x210]
cmp ecx, eax
jne 0x10033a3f
push 0x103
push edx
call fcn.1141a4fa
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071dc8
mov esp, ebp
pop ebp
ret 8
push eax
push 0x28
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x184]
push eax
add ecx, edi
push ecx
push ebx
call esi
test eax, eax
je 0x10033ca4
mov eax, dword [ebp - 0x16c]
lea edx, [eax + eax*2]
mov eax, dword [ebp - 0x170]
lea ecx, [eax*4]
lea eax, [ecx + edx*2]
push eax
call fcn.10073153
mov esi, eax
add esp, 4
mov dword [ebp - 0x15c], esi
test esi, esi
je 0x10033ca4
mov ecx, dword [ebp - 0x170]
lea eax, [ecx*4]
lea edx, [eax + esi]
mov dword [ebp - 0x154], edx
mov edx, dword [ebp - 0x16c]
push 0
add edx, ecx
push eax
lea ecx, [esi + edx*4]
mov edx, dword [ebp - 0x168]
push esi
lea eax, [edi + edx]
push eax
push ebx
mov dword [ebp - 0x158], ecx
push ecx
call fcn.1138dddc
test eax, eax
je 0x10033c7f
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x154]
push 0
lea edx, [ecx*4]
mov ecx, dword [ebp - 0x164]
push edx
push eax
lea edx, [edi + ecx]
push edx
push ebx
push ebp
call fcn.11342c2e
test eax, eax
je 0x10033c7f
mov eax, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x158]
push 0
lea ecx, [eax + eax]
mov eax, dword [ebp - 0x160]
push ecx
push edx
lea ecx, [edi + eax]
push ecx
push ebx
push ecx
call fcn.112fee84
test eax, eax
je 0x10033c7f
xor eax, eax
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x170], eax
jbe 0x10033c5f
jmp 0x10033b8c
mov eax, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x15c]
mov ebx, dword [esi + eax*4]
mov ecx, dword [ebp - 0x16c]
add ebx, edi
xor esi, esi
mov dword [ebp - 0x150], 0
test ecx, ecx
jbe 0x10033c1f
jmp 0x10033bb0
mov edx, dword [ebp - 0x158]
movzx edx, word [edx + esi*2]
cmp edx, eax
je 0x10033bc5
inc esi
cmp esi, ecx
jb 0x10033bb0
jmp 0x10033c1f
push 0xff
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.10078880
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + esi*4]
add esp, 0xc
push 0
push 0x100
lea ecx, [ebp - 0x108]
push ecx
mov ecx, dword [ebp - 0x188]
add eax, edi
push eax
push ecx
call fcn.1143ada4
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x174]
push ebx
push ecx
add edx, eax
mov eax, dword [ebp - 0x18c]
push edx
push eax
call fcn.10033510
test eax, eax
je 0x10033c59
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x14c], eax
cmp eax, dword [ebp - 0x170]
jb 0x10033b80
mov esi, dword [ebp - 0x15c]
push esi
call fcn.100744cd
add esp, 4
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071dc8
mov esp, ebp
pop ebp
ret 8
push esi
call fcn.100744cd
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071dc8
mov esp, ebp
pop ebp
ret 8
push 0x57
push eax
call fcn.112a56f6
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10071dc8
mov esp, ebp
pop ebp
ret 8