Function at 0xc4280
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0xc4288
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 0xc45e1
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.000c6b20
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xc4545
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0xc4545
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.00086a00
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea ecx, [ebp - 0x18]
mov edx, 0xc4600
mov eax, 0xc460c
call fcn.000c681c
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.000bc518
mov ebx, eax
test ebx, ebx
jne 0xc43a1
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea eax, [ebp - 0x1c]
call fcn.000c7244
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
mov edx, 0xc4624
mov eax, 0xc4630
call fcn.000c681c
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.000bc518
mov ebx, eax
test ebx, ebx
jne 0xc4448
push 0xea60
call fcn.0008685c
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea ecx, [ebp - 0x2c]
mov edx, 0xc4650
mov eax, 0xc465c
call fcn.000c681c
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.000bc518
mov ebx, eax
test ebx, ebx
jne 0xc4448
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea eax, [ebp - 0x30]
call fcn.000c7244
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
mov edx, 0xc4674
mov eax, 0xc4680
call fcn.000c681c
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.000bc518
mov ebx, eax
test ebx, ebx
jne 0xc44ef
push 0xea60
call fcn.0008685c
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea ecx, [ebp - 0x40]
mov edx, 0xc46a0
mov eax, 0xc46ac
call fcn.000c681c
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.000bc518
mov ebx, eax
test ebx, ebx
jne 0xc44ef
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea eax, [ebp - 0x44]
call fcn.000c7244
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4c]
mov edx, 0xc46a0
mov eax, 0xc46ac
call fcn.000c681c
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.000bc518
mov ebx, eax
test ebx, ebx
jne 0xc4524
push 0xea60
call fcn.0008685c
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.000c5c80
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 4]
pop ecx
call fcn.000bc518
mov ebx, eax
test ebx, ebx
jne 0xc4545
cmp dword [ebp - 0x10], 5
je 0xc4545
push 0xea60
call fcn.0008685c
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 6
jne 0xc430c
test ebx, ebx
je 0xc454c
mov dword [ebp - 8], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc45eb
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