Function at 0xbf720
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0xbf728
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.000840a8
xor eax, eax
push ebp
push 0xbfa81
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [esi], eax
xor ebx, ebx
call fcn.000c1d80
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xbf9e5
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0xbf9e5
mov ebx, dword [edx + 0x50]
add ebx, ecx
add ebx, 4
mov edi, dword [edx + 0x50]
add edi, eax
mov edx, dword [edi]
lea eax, [ebp - 0xc]
call fcn.00083acc
lea eax, [ebp - 0xc]
call fcn.00083968
mov ecx, dword [edi]
mov edx, ebx
call fcn.000869a8
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea ecx, [ebp - 0x18]
mov edx, 0xbfaa0
mov eax, 0xbfaac
call fcn.000c1a7c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00083cc8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
call fcn.00083968
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000b782c
mov ebx, eax
test ebx, ebx
jne 0xbf841
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea eax, [ebp - 0x1c]
call fcn.000c24a4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
mov edx, 0xbfac4
mov eax, 0xbfad0
call fcn.000c1a7c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00083cc8
mov edx, dword [ebp - 0x20]
pop eax
call fcn.00083cf4
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
call fcn.00083968
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000b782c
mov ebx, eax
test ebx, ebx
jne 0xbf8e8
push 0xea60
call fcn.00086844
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea ecx, [ebp - 0x2c]
mov edx, 0xbfaf0
mov eax, 0xbfafc
call fcn.000c1a7c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.00083cc8
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
call fcn.00083968
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000b782c
mov ebx, eax
test ebx, ebx
jne 0xbf8e8
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea eax, [ebp - 0x30]
call fcn.000c24a4
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
mov edx, 0xbfb14
mov eax, 0xbfb20
call fcn.000c1a7c
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
call fcn.00083cc8
mov edx, dword [ebp - 0x34]
pop eax
call fcn.00083cf4
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
call fcn.00083968
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000b782c
mov ebx, eax
test ebx, ebx
jne 0xbf98f
push 0xea60
call fcn.00086844
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea ecx, [ebp - 0x40]
mov edx, 0xbfb40
mov eax, 0xbfb4c
call fcn.000c1a7c
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
call fcn.00083cc8
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0xc]
call fcn.00083968
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000b782c
mov ebx, eax
test ebx, ebx
jne 0xbf98f
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea eax, [ebp - 0x44]
call fcn.000c24a4
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4c]
mov edx, 0xbfb40
mov eax, 0xbfb4c
call fcn.000c1a7c
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.00083cc8
mov edx, dword [ebp - 0x48]
pop eax
call fcn.00083cf4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
call fcn.00083968
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000b782c
mov ebx, eax
test ebx, ebx
jne 0xbf9c4
push 0xea60
call fcn.00086844
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea eax, [ebp - 0xc]
call fcn.00083968
push eax
lea eax, [ebp - 0x50]
call fcn.000c0ee0
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 4]
pop ecx
call fcn.000b782c
mov ebx, eax
test ebx, ebx
jne 0xbf9e5
cmp dword [ebp - 0x10], 5
je 0xbf9e5
push 0xea60
call fcn.00086844
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 6
jne 0xbf7ac
test ebx, ebx
je 0xbf9ec
mov dword [ebp - 8], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbfa8b
lea eax, [ebp - 0x50]
call fcn.00083b48
lea eax, [ebp - 0x4c]
call fcn.00083578
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00083b60
lea eax, [ebp - 0x40]
call fcn.00083578
lea eax, [ebp - 0x3c]
call fcn.00083b48
lea eax, [ebp - 0x38]
call fcn.00083578
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00083b60
lea eax, [ebp - 0x2c]
call fcn.00083578
lea eax, [ebp - 0x28]
call fcn.00083b48
lea eax, [ebp - 0x24]
call fcn.00083578
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00083b60
lea eax, [ebp - 0x18]
call fcn.00083578
lea eax, [ebp - 0x14]
call fcn.00083b48
lea eax, [ebp - 0xc]
call fcn.00083578
lea eax, [ebp - 4]
call fcn.00083b48
ret