Function at 0xf831d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x190
mov dword [ebp - 0x20], 0
cmp dword [ebx + 8], 0
jne 0xf83200
xor eax, eax
jmp 0xf83598
mov eax, dword [ebx + 8]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0xf8321b
xor eax, eax
jmp 0xf83598
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebx + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0xf83239
xor eax, eax
jmp 0xf83598
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x20b
jne 0xf83277
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax + 0x88]
add edx, dword [ebx + 8]
mov dword [ebp - 8], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + ecx + 0x8c]
mov dword [ebp - 0x44], eax
jmp 0xf8329e
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx + 0x78]
add ecx, dword [ebx + 8]
mov dword [ebp - 8], ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax + 0x7c]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 8]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebx + 8]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x18], 0
jmp 0xf832d4
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
cmp edx, dword [ecx + 0x14]
jae 0xf83595
mov eax, 0xffff
mov word [ebp - 4], ax
mov dword [ebp - 0x3c], 0
cmp dword [ebx + 0xc], 0xffff
ja 0xf83306
mov cx, word [ebp - 0x18]
mov word [ebp - 4], cx
jmp 0xf83340
cmp dword [ebx + 0xc], 0xffff
jbe 0xf83339
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x18]
jae 0xf83339
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebx + 8]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x4c]
mov ax, word [edx + ecx*2]
mov word [ebp - 4], ax
jmp 0xf83340
xor eax, eax
jmp 0xf83598
cmp dword [ebx + 0xc], 0xffff
ja 0xf8335b
movzx ecx, word [ebx + 0xc]
movzx edx, word [ebp - 4]
mov eax, dword [ebp - 8]
add edx, dword [eax + 0x10]
cmp ecx, edx
je 0xf833c9
cmp dword [ebx + 0xc], 0xffff
jbe 0xf83590
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax]
mov byte [ebp - 9], cl
mov edx, dword [ebp - 0x30]
cmp cl, byte [edx]
jne 0xf833b1
cmp byte [ebp - 9], 0
je 0xf833a8
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 1]
mov byte [ebp - 0xa], cl
mov edx, dword [ebp - 0x30]
cmp cl, byte [edx + 1]
jne 0xf833b1
add dword [ebp - 0x2c], 2
add dword [ebp - 0x30], 2
cmp byte [ebp - 0xa], 0
jne 0xf83374
mov dword [ebp - 0x40], 0
jmp 0xf833b9
sbb eax, eax
or eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 0
jne 0xf83590
movzx edx, word [ebp - 4]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebx + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 8]
jb 0xf8358e
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x44]
cmp dword [ebp - 0x20], eax
ja 0xf8358e
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
push 0x100
push 0
lea ecx, [ebp - 0x190]
push ecx
call fcn.00fa9a00
add esp, 0xc
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.00fbac22
add esp, 4
mov dword [ebp - 0x28], eax
xor eax, eax
mov byte [ebp - 0xb], al
xor ecx, ecx
mov byte [ebp - 0xc], cl
xor edx, edx
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xb]
push eax
movzx ecx, byte [ebp - 0xc]
push ecx
movzx edx, byte [ebp - 0xd]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.00f835a0
add esp, 0x10
mov ecx, eax
call fcn.00f83ba0
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00fa93f0
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x190]
push eax
call dword [0xa45050]
xor ecx, ecx
mov byte [ebp - 0xe], cl
xor edx, edx
mov byte [ebp - 0xf], dl
xor eax, eax
mov byte [ebp - 0x10], al
movzx ecx, byte [ebp - 0xe]
push ecx
movzx edx, byte [ebp - 0xf]
push edx
movzx eax, byte [ebp - 0x10]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00f835b0
add esp, 0x10
mov ecx, eax
call fcn.00f83ba0
push eax
lea edx, [ebp - 0x190]
push edx
call dword [0xa45028]
lea eax, [ebp - 0x190]
push eax
call dword [0xa4502c]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0xf834fd
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00fb546c
add esp, 4
xor eax, eax
jmp 0xf83598
xor edx, edx
mov byte [ebp - 0x11], dl
xor eax, eax
mov byte [ebp - 0x12], al
xor ecx, ecx
mov byte [ebp - 0x13], cl
movzx edx, byte [ebp - 0x11]
push edx
movzx eax, byte [ebp - 0x12]
push eax
movzx ecx, byte [ebp - 0x13]
push ecx
lea edx, [ebp - 0x90]
push edx
call fcn.00f835c0
add esp, 0x10
mov ecx, eax
call fcn.00f83ba0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00fa93f0
add esp, 8
test eax, eax
jne 0xf8355d
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00f831d0
add esp, 8
mov dword [ebp - 0x20], eax
jmp 0xf83582
mov ecx, dword [ebp - 0x1c]
add ecx, 1
push ecx
call fcn.00fbbc3b
add esp, 4
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00f831d0
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00fb546c
add esp, 4
jmp 0xf83595
jmp 0xf832cb
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret