Function at 0x40bf00
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.00402650
mov esi, eax
test esi, esi
je 0x40bf39
push 0x429b92
push esi
call dword [0x6300bc]
push ebx
push edi
push 0x630ae8
call dword [0x62ff3c]
mov ebx, eax
test esi, esi
je 0x40bf53
mov eax, esi
call fcn.00402740
lea eax, [ebx + 1]
call fcn.00402650
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x40bf70
push 0x630ae8
push edi
call dword [0x6300bc]
push str.__n_0_t
call dword [0x62ff3c]
lea esi, [ebx + eax]
lea eax, [esi + 1]
call fcn.00402650
mov ebx, eax
test ebx, ebx
je 0x40bfa4
test edi, edi
je 0x40bfa4
push edi
push ebx
call dword [0x6300bc]
push str.__n_0_t
push ebx
call dword [0x630028]
mov ecx, dword [ebp + 0x10]
lea edi, [ecx + esi + 1]
mov eax, edi
call fcn.00402650
mov esi, eax
test esi, esi
je 0x40bfd5
test ebx, ebx
je 0x40bfd5
cmp dword [ebp + 8], 0
je 0x40bfd5
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 0x40bfe1
call fcn.00402740
mov eax, edi
call fcn.00402650
mov edi, eax
test edi, edi
je 0x40bffa
test esi, esi
je 0x40bffa
push esi
push edi
call dword [0x6300bc]
mov eax, esi
call fcn.00402740
mov eax, ebx
call fcn.00402740
mov eax, dword [0x62f8ac]
push edi
push eax
call dword [0x62fed8]
mov eax, edi
call fcn.00402740
mov ecx, dword [0x62fd54]
push ecx
call dword [0x62fec4]
mov esi, eax
mov dword [0x62fe68], esi
test esi, esi
je 0x40c1bc
movzx edi, word [esi]
mov edx, 0x5a4d
cmp di, dx
jne 0x40c075
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40c075
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0x40c075
mov edx, dword [0x62fa84]
mov eax, dword [eax + esi + 0x78]
push edx
push esi
push eax
call fcn.0040b850
add esp, 0xc
jmp 0x40c077
xor eax, eax
mov ecx, 0x5a4d
mov dword [0x62fe60], eax
cmp di, cx
jne 0x40c0b5
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40c0b5
mov edx, 0x10b
cmp word [eax + esi + 0x18], dx
jne 0x40c0b5
mov ecx, dword [0x62fcf8]
mov edx, dword [eax + esi + 0x78]
push ecx
push esi
push edx
call fcn.0040b850
add esp, 0xc
jmp 0x40c0b7
xor eax, eax
mov dword [0x62fe78], eax
mov eax, 0x5a4d
cmp di, ax
jne 0x40c0f5
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40c0f5
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0x40c0f5
mov edx, dword [0x62f9d8]
mov eax, dword [eax + esi + 0x78]
push edx
push esi
push eax
call fcn.0040b850
add esp, 0xc
jmp 0x40c0f7
xor eax, eax
mov ecx, 0x5a4d
mov dword [0x62fe30], eax
cmp di, cx
jne 0x40c135
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40c135
mov edx, 0x10b
cmp word [eax + esi + 0x18], dx
jne 0x40c135
mov ecx, dword [0x62f978]
mov edx, dword [eax + esi + 0x78]
push ecx
push esi
push edx
call fcn.0040b850
add esp, 0xc
jmp 0x40c137
xor eax, eax
mov dword [0x62fe58], eax
mov eax, 0x5a4d
cmp di, ax
jne 0x40c175
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40c175
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0x40c175
mov edx, dword [0x62fde4]
mov eax, dword [eax + esi + 0x78]
push edx
push esi
push eax
call fcn.0040b850
add esp, 0xc
jmp 0x40c177
xor eax, eax
mov ecx, 0x5a4d
mov dword [0x62fe6c], eax
cmp di, cx
jne 0x40c1b5
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x40c1b5
mov edx, 0x10b
cmp word [eax + esi + 0x18], dx
jne 0x40c1b5
mov ecx, dword [0x62fafc]
mov edx, dword [eax + esi + 0x78]
push ecx
push esi
push edx
call fcn.0040b850
add esp, 0xc
jmp 0x40c1b7
xor eax, eax
mov dword [0x62fe50], eax
cmp dword [0x62fe60], 0
pop edi
pop ebx
je 0x40c208
cmp dword [0x62fe78], 0
je 0x40c208
cmp dword [0x62fe30], 0
je 0x40c208
cmp dword [0x62fe6c], 0
je 0x40c208
cmp dword [0x62fe50], 0
je 0x40c208
cmp dword [0x62fe58], 0
je 0x40c208
mov eax, dword [ebp + 8]
mov esi, 1
call fcn.00402740
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor esi, esi
call fcn.00402740
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret