Function at 0x42c2b8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c3360]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi + 4], 0
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x114], edi
je 0x42c2e2
mov al, 1
jmp 0x42c619
lea eax, [ebp - 0x110]
xor ebx, ebx
push eax
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
call fcn.0043bac7
test eax, eax
jne 0x42c33e
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x42c616
test byte [eax + 0x1c], 1
je 0x42c616
cmp byte [eax + 0x19], 2
jb 0x42c616
push 0x4ad7a8
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042524a
add esp, 0x10
jmp 0x42c616
push 0x40
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
mov ecx, edi
call fcn.0043bccc
test eax, eax
jne 0x42c37e
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x42c616
test byte [eax + 0x1c], 1
je 0x42c616
cmp byte [eax + 0x19], 2
jb 0x42c616
push 0x4ad7a8
push 0xb
jmp 0x42c32b
mov eax, 0x5a4d
cmp ax, word [ebp - 0x70]
je 0x42c3b9
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x42c616
test byte [eax + 0x1c], 1
je 0x42c616
cmp byte [eax + 0x19], 2
jb 0x42c616
push 0x4ad7a8
push 0xc
jmp 0x42c32b
lea ecx, [ebp - 0x108]
call fcn.0043ea68
mov ebx, 0x108
push ebx
lea ecx, [ebp - 0x108]
call fcn.0043eaf1
test eax, eax
jne 0x42c409
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x42c60b
test byte [eax + 0x1c], 1
je 0x42c60b
cmp byte [eax + 0x19], 2
jb 0x42c60b
push 0x4ad7a8
push 0xd
jmp 0x42c5fd
lea ecx, [ebp - 0x108]
call fcn.0043eae2
mov ecx, dword [ebp - 0x114]
mov edi, eax
mov eax, dword [ebp - 0x34]
push ebx
cdq
push edi
push edx
push eax
call fcn.0043bccc
test eax, eax
jne 0x42c45d
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x42c60b
test byte [eax + 0x1c], 1
je 0x42c60b
cmp byte [eax + 0x19], 2
jb 0x42c60b
push 0x4ad7a8
push 0xe
jmp 0x42c5fd
cmp dword [edi], 0x4550
je 0x42c495
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x42c60b
test byte [eax + 0x1c], 1
je 0x42c60b
cmp byte [eax + 0x19], 2
jb 0x42c60b
push 0x4ad7a8
push 0xf
jmp 0x42c5fd
movzx eax, word [edi + 0x18]
mov ecx, 0x10b
cmp cx, ax
jne 0x42c4c6
mov edx, dword [ebp - 0x34]
lea eax, [edx + 0x58]
mov dword [esi + 8], eax
lea eax, [edx + 0x98]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x98]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x9c]
jmp 0x42c500
mov ecx, 0x20b
cmp cx, ax
jne 0x42c5de
lea ecx, [ebp - 0x108]
call fcn.0043eae2
mov edx, dword [ebp - 0x34]
lea ecx, [edx + 0x58]
mov dword [esi + 8], ecx
lea ecx, [edx + 0xa8]
mov dword [esi + 0x10], ecx
mov ecx, dword [eax + 0xa8]
mov dword [esi + 0x18], ecx
mov eax, dword [eax + 0xac]
xor ecx, ecx
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x18]
cmp ecx, dword [ebp - 0x10c]
ja 0x42c531
jb 0x42c51a
cmp eax, dword [ebp - 0x110]
ja 0x42c531
mov eax, dword [esi + 0x1c]
xor ecx, ecx
cmp ecx, dword [ebp - 0x10c]
jb 0x42c561
ja 0x42c531
cmp eax, dword [ebp - 0x110]
jbe 0x42c561
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x42c60b
test byte [eax + 0x1c], 1
je 0x42c60b
cmp byte [eax + 0x19], 2
jb 0x42c60b
push 0x4ad7a8
push 0x11
jmp 0x42c5fd
push 8
pop ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0xc], 4
movzx eax, word [edi + 6]
movzx edi, word [edi + 0x14]
dec eax
imul eax, eax, 0x28
add eax, edx
lea edx, [edi + eax + 0x18]
xor eax, eax
mov byte [ebp - 0x2c], 0
lea edi, [ebp - 0x2b]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x114]
push 0x28
lea eax, [ebp - 0x2c]
push eax
push 0
push edx
call fcn.0043bccc
test eax, eax
jne 0x42c5cd
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x42c60b
test byte [eax + 0x1c], 1
je 0x42c60b
cmp byte [eax + 0x19], 2
jb 0x42c60b
push 0x4ad7a8
push 0x12
jmp 0x42c5fd
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add eax, ecx
mov dword [esi + 0x20], eax
mov byte [esi + 4], 1
jmp 0x42c60b
mov eax, dword [0x4c6094]
cmp eax, 0x4c6094
je 0x42c60b
test byte [eax + 0x1c], 1
je 0x42c60b
cmp byte [eax + 0x19], 2
jb 0x42c60b
push 0x4ad7a8
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0042524a
add esp, 0x10
lea ecx, [ebp - 0x108]
call fcn.0043eae6
mov al, byte [esi + 4]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0044fc8e
leave
ret