Function at 0x10033b79
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x58]
push 0x30
push ebx
push eax
mov edi, edx
mov dword [ebp - 0xc], ebx
mov esi, ecx
call fcn.1003e610
add esp, 0xc
mov dword [ebp - 0x58], esi
lea edx, [ebp - 0x38]
mov ecx, esi
call fcn.1003391d
test eax, eax
je 0x10033fe4
mov ecx, 0x4000
mov dword [ebp - 0x2c], ecx
call fcn.10036642
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x10033bd6
mov eax, 0x1013270c
push eax
push eax
push ebx
push ebx
call fcn.10035bc2
jmp 0x10033fe1
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
push ebx
push ebx
push 0x40
pop edx
call fcn.10033943
add esp, 0xc
test eax, eax
je 0x10033fe4
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x10033fd3
mov eax, dword [edi + 0x3c]
test eax, eax
jle 0x10033fd3
lea ecx, [ebp - 0x58]
cdq
push ecx
push edx
push eax
push 4
pop edx
lea ecx, [ebp - 0x28]
call fcn.10033943
add esp, 0xc
test eax, eax
je 0x10033fe4
cmp dword [ebp - 0x28], 0x4550
jne 0x10033fd3
mov eax, dword [edi + 0x3c]
lea esi, [eax + 4]
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
mov dword [esi + 0xa0], ebx
cmp eax, 0x110
jb 0x10033c80
lea eax, [ebp - 0x58]
mov edx, 0x90
push eax
push ebx
push 0x80
mov ecx, edi
call fcn.10033943
add esp, 0xc
test eax, eax
je 0x10033fe4
cmp dword [edi], 0x82c8851f
jne 0x10033c80
mov dword [esi + 0xa0], 0x80
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
push ebx
push dword [ebp - 4]
push 0x14
pop edx
call fcn.10033943
add esp, 0xc
test eax, eax
je 0x10033fe4
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x58]
add eax, 0x14
mov ecx, ebx
push edx
adc ecx, ebx
mov dword [ebp - 4], eax
push ecx
push eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x18]
push 2
pop edx
call fcn.10033943
add esp, 0xc
test eax, eax
je 0x10033fe4
xor edx, edx
mov eax, 0x10b
inc edx
cmp word [ebp - 0x18], ax
jne 0x10033cec
movzx ecx, word [edi + 0x10]
cmp ecx, 0x78
jb 0x10033fd3
mov dword [ebp - 0x1c], edx
add eax, 0xffffffd5
jmp 0x10033d13
mov eax, 0x20b
cmp word [ebp - 0x18], ax
jne 0x10033fd3
movzx ecx, word [edi + 0x10]
mov eax, 0x88
cmp cx, ax
jb 0x10033fd3
mov dword [ebp - 0x1c], ebx
add eax, 0x68
movzx ecx, cx
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x10033d22
mov eax, ecx
mov dword [ebp - 0x14], eax
movzx edx, word [edi + 2]
mov dword [ebp - 8], edx
test eax, eax
je 0x10033d4f
lea ecx, [ebp - 0x58]
mov edx, eax
push ecx
mov ecx, dword [ebp - 0x10]
push ecx
push dword [ebp - 4]
mov ecx, edi
call fcn.10033943
add esp, 0xc
test eax, eax
je 0x10033fe4
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea eax, [ecx + 0x40]
mov dword [esi], eax
cmp dword [ebp - 0x1c], ebx
je 0x10033d9e
lea eax, [ecx + 0x80]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x80]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x84]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x10], eax
xor eax, eax
inc eax
mov byte [esi + 0x9c], bl
cmp word [edi + 0x44], ax
sete al
mov byte [esi + 0x9d], al
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x74]
jmp 0x10033de4
lea eax, [ecx + 0x90]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x90]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x94]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x10], eax
xor eax, eax
inc eax
mov byte [esi + 0x9c], al
cmp word [edi + 0x44], ax
sete al
mov byte [esi + 0x9d], al
mov eax, dword [edi + 0x80]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x84]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
add eax, 4
mov dword [esi + 0x18], ebx
add ecx, dword [ebp - 0x14]
mov dword [esi + 8], eax
adc dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov byte [esi + 0x9e], bl
mov dword [esi + 0xb0], ecx
cmp dword [esi + 0xa0], ebx
je 0x10033e28
cmp byte [esi + 0x9c], bl
jne 0x10033e28
cmp byte [esi + 0x9d], bl
je 0x10033e28
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
jmp 0x10033e2d
mov eax, ebx
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x1c], ebx
jne 0x10033e3a
test eax, eax
je 0x10033fcc
mov eax, 0x333
mov dword [ebp - 0x18], eax
cmp dx, ax
jbe 0x10033e4c
mov edx, eax
mov dword [ebp - 8], edx
mov eax, 0xffff
cmp dx, ax
jne 0x10033e5c
lea edx, [eax - 1]
mov dword [ebp - 8], edx
movzx eax, dx
imul eax, eax, 0x28
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.10036642
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10033bc3
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x10033ea1
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x10]
push ecx
push dword [ebp - 4]
mov ecx, eax
call fcn.10033943
add esp, 0xc
test eax, eax
je 0x10033fe4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
add dword [esi + 0xb0], edx
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x20], ebx
je 0x10033ee6
mov edx, eax
mov eax, ebx
and dword [ebp - 0x14], eax
cmp word [ebp - 0x14], cx
jmp 0x10033ed6
cmp dword [edx], 0x54494e49
jne 0x10033ecf
movzx eax, byte [edx + 4]
test al, al
je 0x10033edd
mov eax, dword [ebp - 0x20]
add edx, 0x28
inc eax
cmp ax, cx
mov dword [ebp - 0x20], eax
jb 0x10033ebc
jmp 0x10033ee6
xor eax, eax
inc eax
mov byte [esi + 0x9e], al
mov edx, dword [ebp - 0x24]
push ecx
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
call fcn.100340a9
mov dword [ebp - 0x10], eax
pop ecx
pop ecx
test eax, eax
je 0x10033fcc
lea ecx, [ebp - 0x58]
push ecx
push ecx
push edi
push 0xa
pop edx
mov ecx, eax
call fcn.10034008
add esp, 0xc
test eax, eax
je 0x10033fcc
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10033fcc
lea eax, [ebp - 0x58]
mov edx, 0x360
push eax
push ecx
and ecx, 0x7fffffff
add ecx, dword [ebp - 0x10]
push edi
call fcn.10034008
add esp, 0xc
test eax, eax
je 0x10033fcc
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10033fcc
lea eax, [ebp - 0x58]
xor edx, edx
push eax
push ecx
and ecx, 0x7fffffff
add ecx, dword [ebp - 0x10]
push edi
call fcn.10034008
add esp, 0xc
test eax, eax
je 0x10033fcc
mov ecx, dword [eax + 4]
test ecx, ecx
js 0x10033fcc
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x10]
add eax, ecx
mov ecx, edi
push ebx
push eax
push 0x10
pop edx
call fcn.10033943
add esp, 0xc
test eax, eax
je 0x10033fe4
mov eax, 0x80
cmp dword [edi + 4], eax
jne 0x10033fcc
push dword [ebp - 8]
mov ecx, dword [edi]
mov edx, eax
push dword [ebp - 0xc]
call fcn.100340a9
lea ecx, [ebp - 0x58]
mov edx, 0x80
push ecx
push ebx
lea ecx, [esi + 0x1c]
push eax
call fcn.10033943
add esp, 0x14
test eax, eax
je 0x10033fe4
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x18], eax
xor eax, eax
lea ebx, [eax + 1]
jmp 0x10033fe4
push 0x1013270c
push 1
push ebx
push ebx
call fcn.10035bd4
add esp, 0x10
cmp dword [ebp - 0x30], 0
je 0x10033ff3
push dword [ebp - 0x30]
call fcn.10041699
pop ecx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10034001
push eax
call fcn.10041699
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret