Function at 0xf960a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
push esi
push 0x2c8
lea eax, [ebp - 0x334]
push 0
push eax
call fcn.00f92690
mov esi, 0x5a4d
mov dword [ebp - 0x18], 0
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x338], 0x10007
cmp word [0xf9a018], si
je 0xf9610f
push 0x6fa00
push 0xf9a018
push 0x10
push 0xf98e04
call fcn.00f927c0
add esp, 0x10
cmp word [0xf9a018], si
je 0xf9610f
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0xf9a054]
cmp dword [eax + 0xf9a018], 0x4550
push edi
lea edi, [eax + 0xf9a018]
jne 0xf9636b
push 0x44
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.00f92260
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00f92260
add esp, 0x18
mov dword [ebp - 0x6c], 0x44
cmp dword [0x106ab44], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
je 0xf9616b
push 0x800000c
jmp 0xf9616d
push 0x14
push 0
push 0
push 0
push dword [ebp + 8]
push 0
call dword [0xf9809c]
test eax, eax
je 0xf9636b
push ebx
lea eax, [ebp - 0x338]
push eax
push dword [ebp - 0xc]
call dword [0xf98020]
test eax, eax
je 0xf96347
lea eax, [ebp - 0x1c]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x294]
add eax, 8
push eax
push dword [ebp - 0x10]
call dword [0xf9808c]
test eax, eax
je 0xf96347
mov edx, dword [edi + 0x34]
mov ecx, dword [ebp - 0x18]
cmp ecx, edx
jb 0xf961ea
mov eax, dword [edi + 0x50]
add eax, edx
cmp ecx, eax
ja 0xf961ea
push 0
push ecx
push dword [ebp - 0x10]
call fcn.00f97e10
test eax, eax
jne 0xf96347
push 0x40
push 0x3000
push dword [edi + 0x50]
push dword [edi + 0x34]
push dword [ebp - 0x10]
call fcn.00f97f20
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0xf96347
cdq
mov ecx, eax
mov eax, edx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x28], ecx
push edx
push dword [edi + 0x54]
mov dword [ebp - 0x24], eax
push 0xf9a018
push eax
push ecx
push dword [ebp - 0x10]
call 0xf98020
test eax, eax
je 0xf96347
movzx eax, word [edi + 0x14]
xor ecx, ecx
xor ebx, ebx
cmp cx, word [edi + 6]
jae 0xf9627d
lea esi, [edi + 0x2c]
add esi, eax
mov eax, dword [esi]
push 0
push dword [esi - 4]
add eax, 0xf9a018
push eax
mov eax, dword [esi - 8]
add eax, dword [ebp - 0x14]
push 0
push eax
push dword [ebp - 0x10]
call 0xf98020
test eax, eax
je 0xf96347
movzx eax, word [edi + 6]
inc ebx
add esi, 0x28
cmp ebx, eax
jl 0xf96248
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [ebp - 0x294]
push 0
add eax, 8
push eax
push dword [ebp - 0x10]
call 0xf98020
test eax, eax
je 0xf96347
mov eax, dword [edi + 0x28]
add eax, esi
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x338]
push eax
push dword [ebp - 0xc]
call dword [0xf98094]
test eax, eax
je 0xf96347
push dword [ebp - 0xc]
call fcn.00f97e90
test eax, eax
je 0xf96347
push 0x1388
call dword [0xf98064]
push 4
push 0x3000
push 0x138
push 0
call dword [0xf9803c]
mov esi, eax
test esi, esi
je 0xf9632d
push 0x138
push 0
push esi
call fcn.00f92690
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x138
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call 0xf98020
push 0x8000
push 0
push esi
call dword [0xf98040]
push dword [ebp - 0xc]
mov esi, dword [0xf98098]
call esi
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 0x10]
call dword [0xf98084]
push dword [ebp - 0xc]
mov esi, dword [0xf98098]
call esi
push dword [ebp - 0x10]
call esi
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret