Function at 0x1000f5a0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002181e
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0x1f
mov dword [ebp - 0x2c], 0x54
mov eax, dword [0x1003e174]
and eax, 1
jne 0x1000f63c
mov ecx, dword [0x1003e174]
or ecx, 1
mov dword [0x1003e174], ecx
mov dword [ebp - 4], 0
push 0x1003bf50
push 0x6cafffff
push 9
push 0x10028bc8
lea ecx, [ebp - 0x70]
call fcn.10010990
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
call fcn.10001000
mov dword [0x1003e178], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.10010a30
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
shl eax, 0x55
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x1002f13c]
shl ecx, 0x1e
mov dword [0x1002f13c], ecx
call fcn.1000c1f0
pushal
mov eax, dword fs:[0x30]
mov dword [ebp - 0x30], eax
popal
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x3c], ecx
mov edx, dword [0x1002f354]
shl edx, 3
mov dword [0x1002f354], edx
mov eax, dword [0x1002f25c]
shl eax, 0x13
mov dword [0x1002f25c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
sub edx, 8
mov dword [ebp - 0x48], edx
mov eax, dword [0x1002f354]
shl eax, 0x45
mov dword [0x1002f354], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x1c]
shl eax, 0x53
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jne 0x1000f6dd
jmp 0x1000f842
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], ecx
mov edx, dword [0x1002f200]
add edx, 0x3d
mov dword [0x1002f200], edx
call fcn.1000c2c0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x50], ecx
mov edx, dword [0x1002f354]
shl edx, 0x39
mov dword [0x1002f354], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x1000f72f
jmp 0x1000f842
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x1c]
shl edx, 0x41
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x54], eax
mov ecx, dword [0x1002f230]
add ecx, 0x5d
mov dword [0x1002f230], ecx
call fcn.1000c370
mov dword [ebp - 0x20], 0
jmp 0x1000f77f
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x18]
jae 0x1000f842
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x60], ecx
push 0x1003bfa8
push 0x6151ffff
push 0xd
push 0x10028bd4
lea ecx, [ebp - 0x78]
call fcn.10010990
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 4], 2
push 0x10
mov ecx, dword [ebp - 0x5c]
call fcn.10001000
push eax
mov eax, dword [ebp - 0x60]
push eax
call fcn.10011cd0
add esp, 0xc
test eax, eax
jne 0x1000f7ea
mov dword [ebp - 0x38], 1
jmp 0x1000f7f1
mov dword [ebp - 0x38], 0
mov cl, byte [ebp - 0x38]
mov byte [ebp - 0xd], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10010a30
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x1000f83d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x24]
mov edx, dword [ebp - 0x20]
mov ax, word [ecx + edx*2]
mov word [ebp - 0x14], ax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + 0x1c]
movzx eax, word [ebp - 0x14]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x64]
jmp 0x1000f864
jmp 0x1000f776
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x3c]
jne 0x1000f699
xor eax, eax
jmp 0x1000f864
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret