Function at 0x40cb00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x62f8ac]
sub esp, 0xc
push esi
push 0xffff
push 0x630ae8
push eax
call dword [0x62ff1c]
mov eax, 1
call fcn.00403250
mov esi, eax
test esi, esi
je 0x40cb39
push 0x429b92
push esi
call dword [0x6300bc]
push ebx
push edi
push 0x630ae8
call dword [0x62ff3c]
mov ebx, eax
test esi, esi
je 0x40cb53
mov eax, esi
call fcn.00403340
lea eax, [ebx + 1]
call fcn.00403250
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x40cb70
push 0x630ae8
push edi
call dword [0x6300bc]
push 0x42ce60
call dword [0x62ff3c]
lea esi, [ebx + eax]
lea eax, [esi + 1]
call fcn.00403250
mov ebx, eax
test ebx, ebx
je 0x40cba4
test edi, edi
je 0x40cba4
push edi
push ebx
call dword [0x6300bc]
push 0x42ce60
push ebx
call dword [0x630028]
mov ecx, dword [ebp + 0x10]
lea edi, [ecx + esi + 1]
mov eax, edi
call fcn.00403250
mov esi, eax
test esi, esi
je 0x40cbd5
test ebx, ebx
je 0x40cbd5
cmp dword [ebp + 8], 0
je 0x40cbd5
push ebx
push esi
call dword [0x6300bc]
mov edx, dword [ebp + 8]
push edx
push esi
call dword [0x630028]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x40cbe1
call fcn.00403340
mov eax, edi
call fcn.00403250
mov edi, eax
test edi, edi
je 0x40cbfa
test esi, esi
je 0x40cbfa
push esi
push edi
call dword [0x6300bc]
mov eax, esi
call fcn.00403340
mov eax, ebx
call fcn.00403340
mov eax, dword [0x62f8ac]
push edi
push eax
call dword [0x62fed8]
mov eax, edi
call fcn.00403340
mov ecx, dword [0x62fd54]
push ecx
call dword [0x62fec4]
mov esi, eax
mov dword [0x62fe68], esi
test esi, esi
je 0x40cdbc
movzx edi, word [esi]
mov edx, 0x5a4d
cmp di, dx
jne 0x40cc75
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40cc75
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0x40cc75
mov edx, dword [0x62fa84]
mov eax, dword [eax + esi + 0x78]
push edx
push esi
push eax
call fcn.0040c450
add esp, 0xc
jmp 0x40cc77
xor eax, eax
mov ecx, 0x5a4d
mov dword [0x62fe60], eax
cmp di, cx
jne 0x40ccb5
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40ccb5
mov edx, 0x10b
cmp word [eax + esi + 0x18], dx
jne 0x40ccb5
mov ecx, dword [0x62fcf8]
mov edx, dword [eax + esi + 0x78]
push ecx
push esi
push edx
call fcn.0040c450
add esp, 0xc
jmp 0x40ccb7
xor eax, eax
mov dword [0x62fe78], eax
mov eax, 0x5a4d
cmp di, ax
jne 0x40ccf5
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40ccf5
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0x40ccf5
mov edx, dword [0x62f9d8]
mov eax, dword [eax + esi + 0x78]
push edx
push esi
push eax
call fcn.0040c450
add esp, 0xc
jmp 0x40ccf7
xor eax, eax
mov ecx, 0x5a4d
mov dword [0x62fe30], eax
cmp di, cx
jne 0x40cd35
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40cd35
mov edx, 0x10b
cmp word [eax + esi + 0x18], dx
jne 0x40cd35
mov ecx, dword [0x62f978]
mov edx, dword [eax + esi + 0x78]
push ecx
push esi
push edx
call fcn.0040c450
add esp, 0xc
jmp 0x40cd37
xor eax, eax
mov dword [0x62fe58], eax
mov eax, 0x5a4d
cmp di, ax
jne 0x40cd75
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40cd75
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0x40cd75
mov edx, dword [0x62fde4]
mov eax, dword [eax + esi + 0x78]
push edx
push esi
push eax
call fcn.0040c450
add esp, 0xc
jmp 0x40cd77
xor eax, eax
mov ecx, 0x5a4d
mov dword [0x62fe6c], eax
cmp di, cx
jne 0x40cdb5
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40cdb5
mov edx, 0x10b
cmp word [eax + esi + 0x18], dx
jne 0x40cdb5
mov ecx, dword [0x62fafc]
mov edx, dword [eax + esi + 0x78]
push ecx
push esi
push edx
call fcn.0040c450
add esp, 0xc
jmp 0x40cdb7
xor eax, eax
mov dword [0x62fe50], eax
cmp dword [0x62fe60], 0
pop edi
pop ebx
je 0x40ce08
cmp dword [0x62fe78], 0
je 0x40ce08
cmp dword [0x62fe30], 0
je 0x40ce08
cmp dword [0x62fe6c], 0
je 0x40ce08
cmp dword [0x62fe50], 0
je 0x40ce08
cmp dword [0x62fe58], 0
je 0x40ce08
mov eax, dword [ebp + 8]
mov esi, 1
call fcn.00403340
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor esi, esi
call fcn.00403340
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret