Function at 0xf08f8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0xf0900
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.000b411c
xor eax, eax
push ebp
push 0xf0c59
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.000f2f38
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xf0bbd
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0xf0bbd
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.000b3bdc
lea eax, [ebp - 0xc]
call fcn.000b3a78
mov ecx, dword [edi]
mov edx, ebx
call fcn.000b6ce4
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea ecx, [ebp - 0x18]
mov edx, 0xf0c78
mov eax, 0xf0c84
call fcn.000f2c34
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.000b3dd8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
call fcn.000b3a78
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000e4408
mov ebx, eax
test ebx, ebx
jne 0xf0a19
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea eax, [ebp - 0x1c]
call fcn.000f3540
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
mov edx, 0xf0c98
mov eax, 0xf0ca4
call fcn.000f2c34
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.000b3dd8
mov edx, dword [ebp - 0x20]
pop eax
call fcn.000b3e04
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
call fcn.000b3a78
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000e4408
mov ebx, eax
test ebx, ebx
jne 0xf0ac0
push 0xea60
call fcn.000b6b70
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea ecx, [ebp - 0x2c]
mov edx, 0xf0cc4
mov eax, 0xf0cd0
call fcn.000f2c34
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.000b3dd8
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
call fcn.000b3a78
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000e4408
mov ebx, eax
test ebx, ebx
jne 0xf0ac0
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea eax, [ebp - 0x30]
call fcn.000f3540
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
mov edx, 0xf0ce8
mov eax, 0xf0cf4
call fcn.000f2c34
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
call fcn.000b3dd8
mov edx, dword [ebp - 0x34]
pop eax
call fcn.000b3e04
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
call fcn.000b3a78
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000e4408
mov ebx, eax
test ebx, ebx
jne 0xf0b67
push 0xea60
call fcn.000b6b70
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea ecx, [ebp - 0x40]
mov edx, 0xf0d14
mov eax, 0xf0d20
call fcn.000f2c34
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
call fcn.000b3dd8
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0xc]
call fcn.000b3a78
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000e4408
mov ebx, eax
test ebx, ebx
jne 0xf0b67
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea eax, [ebp - 0x44]
call fcn.000f3540
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4c]
mov edx, 0xf0d14
mov eax, 0xf0d20
call fcn.000f2c34
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.000b3dd8
mov edx, dword [ebp - 0x48]
pop eax
call fcn.000b3e04
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
call fcn.000b3a78
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000e4408
mov ebx, eax
test ebx, ebx
jne 0xf0b9c
push 0xea60
call fcn.000b6b70
mov eax, dword [edi]
push eax
push esi
push 0
push 1
lea eax, [ebp - 0xc]
call fcn.000b3a78
push eax
lea eax, [ebp - 0x50]
call fcn.000f2098
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 4]
pop ecx
call fcn.000e4408
mov ebx, eax
test ebx, ebx
jne 0xf0bbd
cmp dword [ebp - 0x10], 5
je 0xf0bbd
push 0xea60
call fcn.000b6b70
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 6
jne 0xf0984
test ebx, ebx
je 0xf0bc4
mov dword [ebp - 8], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf0c63
lea eax, [ebp - 0x50]
call fcn.000b3c58
lea eax, [ebp - 0x4c]
call fcn.000b364c
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.000b3c70
lea eax, [ebp - 0x40]
call fcn.000b364c
lea eax, [ebp - 0x3c]
call fcn.000b3c58
lea eax, [ebp - 0x38]
call fcn.000b364c
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.000b3c70
lea eax, [ebp - 0x2c]
call fcn.000b364c
lea eax, [ebp - 0x28]
call fcn.000b3c58
lea eax, [ebp - 0x24]
call fcn.000b364c
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.000b3c70
lea eax, [ebp - 0x18]
call fcn.000b364c
lea eax, [ebp - 0x14]
call fcn.000b3c58
lea eax, [ebp - 0xc]
call fcn.000b364c
lea eax, [ebp - 4]
call fcn.000b3c58
ret