Function at 0xc66a4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0xc66ac
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0xc6ad5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0xd6c2c]
push dword [eax]
mov eax, dword [0xd6b3c]
push dword [eax]
call fcn.000866d4
lea edx, [ebp - 0xc]
call fcn.000c2b04
push dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00083858
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00087dbc
mov eax, dword [ebp - 4]
call fcn.0008395c
push eax
push 0
push 0
call fcn.0008664c
call fcn.0008670c
cmp eax, 0xb7
jne 0xc6722
or eax, 0xffffffff
call fcn.000bc674
jmp 0xc6718
push 0xd78cc
call fcn.0008677c
mov eax, 0xd78c4
xor edx, edx
call fcn.00083acc
call fcn.000c1d80
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xc6780
mov ecx, eax
mov ebx, ecx
add ebx, dword [edx + 0x3c]
mov edx, ebx
cmp dword [edx], 0x4550
jne 0xc6780
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
mov eax, 0xd78c4
call fcn.00083acc
mov eax, 0xd78c4
call fcn.00083968
mov ecx, dword [ebx]
mov edx, esi
call fcn.000869a8
push 0xd78a0
lea ecx, [ebp - 0x10]
mov edx, 0xc6aec
mov eax, 0xc6af8
call fcn.000c1a7c
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov edx, 0xc6b10
mov eax, 0xc6b1c
call fcn.000c1a7c
mov eax, dword [ebp - 0x14]
mov ecx, 0xc5cec
pop edx
call fcn.00086d34
push 0xd78a4
lea ecx, [ebp - 0x18]
mov edx, 0xc6b34
mov eax, 0xc6b40
call fcn.000c1a7c
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
mov edx, 0xc6b10
mov eax, 0xc6b1c
call fcn.000c1a7c
mov eax, dword [ebp - 0x1c]
mov ecx, 0xc5dbc
pop edx
call fcn.00086d34
push 0xd789c
lea ecx, [ebp - 0x20]
mov edx, 0xc6b58
mov eax, 0xc6b64
call fcn.000c1a7c
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
mov edx, 0xc6b10
mov eax, 0xc6b1c
call fcn.000c1a7c
mov eax, dword [ebp - 0x24]
mov ecx, 0xc60e0
pop edx
call fcn.00086d34
push 0xd788c
lea ecx, [ebp - 0x28]
mov edx, 0xc6b74
mov eax, 0xc6b80
call fcn.000c1a7c
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
mov edx, 0xc6b98
mov eax, 0xc6ba4
call fcn.000c1a7c
mov eax, dword [ebp - 0x2c]
mov ecx, 0xc5e60
pop edx
call fcn.00086d34
push 0xd7890
lea ecx, [ebp - 0x30]
mov edx, 0xc6bb8
mov eax, 0xc6bc4
call fcn.000c1a7c
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
mov edx, 0xc6b98
mov eax, 0xc6ba4
call fcn.000c1a7c
mov eax, dword [ebp - 0x34]
mov ecx, 0xc5f20
pop edx
call fcn.00086d34
push 0xd7894
lea ecx, [ebp - 0x38]
mov edx, 0xc6bdc
mov eax, 0xc6be8
call fcn.000c1a7c
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
mov edx, 0xc6b98
mov eax, 0xc6ba4
call fcn.000c1a7c
mov eax, dword [ebp - 0x3c]
mov ecx, 0xc5fb4
pop edx
call fcn.00086d34
push 0xd7898
lea ecx, [ebp - 0x40]
mov edx, 0xc6c00
mov eax, 0xc6c0c
call fcn.000c1a7c
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x44]
mov edx, 0xc6b98
mov eax, 0xc6ba4
call fcn.000c1a7c
mov eax, dword [ebp - 0x44]
mov ecx, 0xc6060
pop edx
call fcn.00086d34
push 0xd78c0
lea ecx, [ebp - 0x48]
mov edx, 0xc6c24
mov eax, 0xc6c30
call fcn.000c1a7c
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x4c]
mov edx, 0xc6c48
mov eax, 0xc6c54
call fcn.000c1a7c
mov eax, dword [ebp - 0x4c]
mov ecx, 0xc61c8
pop edx
call fcn.00086d34
push 0xd78a8
lea ecx, [ebp - 0x50]
mov edx, 0xc6c68
mov eax, 0xc6c74
call fcn.000c1a7c
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x54]
mov edx, 0xc6c94
mov eax, 0xc6ca0
call fcn.000c1a7c
mov eax, dword [ebp - 0x54]
mov ecx, 0xc5888
pop edx
call fcn.00086d34
push 0xd78ac
lea ecx, [ebp - 0x58]
mov edx, 0xc6cb8
mov eax, 0xc6cc4
call fcn.000c1a7c
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x5c]
mov edx, 0xc6c94
mov eax, 0xc6ca0
call fcn.000c1a7c
mov eax, dword [ebp - 0x5c]
mov ecx, 0xc595c
pop edx
call fcn.00086d34
push 0xd78b4
lea ecx, [ebp - 0x60]
mov edx, 0xc6ce4
mov eax, 0xc6cf0
call fcn.000c1a7c
mov eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
mov edx, 0xc6c94
mov eax, 0xc6ca0
call fcn.000c1a7c
mov eax, dword [ebp - 0x64]
mov ecx, 0xc5aac
pop edx
call fcn.00086d34
push 0xd78b0
lea ecx, [ebp - 0x68]
mov edx, 0xc6d10
mov eax, 0xc6d1c
call fcn.000c1a7c
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x6c]
mov edx, 0xc6c94
mov eax, 0xc6ca0
call fcn.000c1a7c
mov eax, dword [ebp - 0x6c]
mov ecx, 0xc5a04
pop edx
call fcn.00086d34
push 0xd78bc
lea ecx, [ebp - 0x70]
mov edx, 0xc6d3c
mov eax, 0xc6d48
call fcn.000c1a7c
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x74]
mov edx, 0xc6c94
mov eax, 0xc6ca0
call fcn.000c1a7c
mov eax, dword [ebp - 0x74]
mov ecx, 0xc5c20
pop edx
call fcn.00086d34
push 0xd78b8
lea ecx, [ebp - 0x78]
mov edx, 0xc6d68
mov eax, 0xc6d74
call fcn.000c1a7c
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
mov edx, 0xc6c94
mov eax, 0xc6ca0
call fcn.000c1a7c
mov eax, dword [ebp - 0x7c]
mov ecx, 0xc5b80
pop edx
call fcn.00086d34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc6adc
lea eax, [ebp - 0x7c]
mov edx, 0x1f
call fcn.0008359c
ret