Function at 0x1000f980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100809b8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x10097288]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], ecx
mov edi, dword [ebp + 0x14]
mov byte [esp + 0x28], 0xff
mov eax, dword [edi + 0x7c]
mov dword [esp + 0x18], eax
xor eax, eax
mov word [esp + 0x2a], ax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.1000a530
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x50], 0
mov eax, dword [esi]
call dword [eax + 4]
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], 0
push ecx
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.100101c0
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1000fa40
push eax
call fcn.1006f76a
add esp, 4
mov ebx, dword [ebp + 8]
xor eax, eax
cmp byte [edi + 0x5c], 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
jne 0x1000fc08
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx]
mov dword [esp + 0x24], eax
call fcn.10009fd0
test eax, eax
je 0x1000fa76
push eax
push 0
lea ecx, [esp + 0x2c]
call fcn.1000e820
push dword [ebp + 0x20]
mov ecx, dword [ebx]
push dword [ebp + 0x1c]
mov dword [esp + 0x24], eax
push dword [ebp + 0x18]
mov dword [esp + 0x20], eax
inc eax
push dword [ebp + 0x10]
push edi
push eax
call fcn.10009fd0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x44]
push eax
push esi
push ebx
call fcn.100117c0
add esp, 0x28
test al, al
jne 0x1000fb19
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
push ecx
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.10008850
push dword [ebp + 0x10]
lea eax, [esp + 0x3c]
mov byte [esp + 0x54], 3
push eax
push dword [esp + 0x20]
mov edx, esi
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 0
call fcn.10011e00
mov eax, dword [esp + 0x50]
add esp, 0x18
test eax, eax
je 0x1000fb12
push eax
call fcn.1006f76a
add esp, 4
xor bl, bl
jmp 0x1000fd2e
cmp byte [edi + 0x5c], 2
jne 0x1000fc08
cmp dword [edi + 0x78], 0
mov edx, dword [0x1009b7a0]
mov eax, dword [0x1009b7b0]
mov ecx, dword [0x1009b7b4]
jle 0x1000fb50
cmp dword [0x1009b7a4], ecx
jl 0x1000fc08
jg 0x1000fb50
cmp edx, eax
jb 0x1000fc08
test ecx, ecx
jl 0x1000fc08
jg 0x1000fb63
cmp eax, 1
jbe 0x1000fc08
push ecx
push eax
push dword [0x1009b7a4]
push edx
push 0x1008a1b8
push 3
call fcn.100520e0
mov eax, dword [esi]
add esp, 0x18
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
push ecx
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.10008850
push dword [ebp + 0x10]
lea eax, [esp + 0x3c]
mov byte [esp + 0x54], 4
push eax
push dword [esp + 0x20]
mov edx, esi
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 0
call fcn.10011e00
mov eax, dword [0x1009b7a4]
add esp, 0x18
cmp eax, dword [0x1009b7b4]
jl 0x1000fbec
jg 0x1000fbe8
mov eax, dword [0x1009b7a0]
cmp eax, dword [0x1009b7b0]
jb 0x1000fbec
mov bl, 1
jmp 0x1000fbee
xor bl, bl
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1000fd2e
push eax
call fcn.1006f76a
add esp, 4
jmp 0x1000fd2e
push 0x1008a184
push 3
call fcn.100520e0
movzx eax, byte [edi + 0x5c]
mov edx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
push esi
call fcn.10012390
add esp, 0x14
test al, al
jne 0x1000fcb6
cmp byte [edi + 0x5c], 2
jne 0x1000fb12
push 0x1008a1f8
push 1
call fcn.100520e0
mov eax, dword [esi]
add esp, 8
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
push ecx
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.10008850
push dword [ebp + 0x10]
lea eax, [esp + 0x3c]
mov byte [esp + 0x54], 5
push eax
push dword [esp + 0x20]
mov edx, esi
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 0
call fcn.10011e00
mov eax, dword [esp + 0x50]
add esp, 0x18
test eax, eax
je 0x1000fb12
push eax
call fcn.1006f76a
add esp, 4
xor bl, bl
jmp 0x1000fd2e
movzx eax, byte [edi + 0x5c]
dec eax
je 0x1000fcfc
dec eax
je 0x1000fcc4
xor bl, bl
jmp 0x1000fd2e
push 0x1008a26c
push 3
call fcn.100520e0
push dword [ebp + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push dword [ebp + 0x1c]
mov ecx, dword [esp + 0x30]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push edi
push 0
push dword [esp + 0x3c]
push eax
push esi
push ebx
call fcn.100117c0
add esp, 0x30
jmp 0x1000fd2c
push 0x1008a250
push 3
call fcn.100520e0
push dword [ebp + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push dword [ebp + 0x1c]
mov ecx, dword [esp + 0x30]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push edi
push eax
push esi
push ebx
call fcn.10012570
add esp, 0x28
mov bl, al
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1000fd4f
push dword [esp + 0x24]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.10018160
push esi
call fcn.1006f76a
add esp, 0xc
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret