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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x158
mov esi, esp
mov dword [esi + 0x140], ebp
mov edx, dword [ebp + 0x14]
lea eax, [esi + 0x148]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x10023070
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov edx, dword [edx + 0x1c]
lea ecx, [esi + 0x54]
mov dword [ecx], edx
lock inc dword [edx + 4]
mov dword [esi + 0x3c], edx
mov dword [esi + 0x14], edx
mov dword [eax + 8], 0
push 0x1005fe34
call fcn.1001f27e
mov dword [esi + 0x40], eax
mov edx, dword [ebp + 0x1c]
movzx eax, byte [edx + 0xb]
mov ecx, eax
test al, al
jns 0x1001df66
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x1001df96
mov ecx, edx
test al, al
jns 0x1001df72
mov ecx, dword [edx]
movzx eax, word [ecx]
mov word [esi], ax
mov edx, dword [esi + 0x40]
mov eax, dword [edx]
mov eax, dword [eax + 0x2c]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x14], ecx
mov ecx, edx
push 0x2d
call eax
cmp word [esi], ax
sete al
mov dword [esi], eax
jmp 0x1001df9c
mov dword [esi], 0
lea eax, [esi + 0x58]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
lea edi, [esi + 0x28]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 8], ecx
lea eax, [esi + 0x18]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
xor ecx, ecx
dec ecx
lea edx, [esi + 0x50]
mov dword [edx], ecx
lea edx, [esi + 0xa]
mov word [edx], cx
lea edx, [esi + 8]
mov word [edx], cx
lea edx, [esi + 0x4c]
mov dword [edx], ecx
mov dword [esi + 0x150], 1
mov cl, byte [ebp + 0x10]
movzx ecx, cl
movzx edx, byte [esi]
mov dword [esi + 0x74], edx
lea ebx, [esi + 0x4c]
push ebx
push eax
push edi
lea eax, [esi + 0x58]
push eax
lea eax, [esi + 8]
push eax
lea eax, [esi + 0xa]
push eax
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x54]
push eax
call fcn.1001dac0
add esp, 0x20
lea edi, [esi + 0x78]
push 0xc8
push 0xff
push edi
call fcn.10028220
add esp, 0xc
mov eax, dword [ebp + 0x1c]
movzx ebx, byte [eax + 0xb]
mov edx, ebx
test bl, bl
jns 0x1001e036
mov edx, dword [eax + 4]
mov ecx, dword [esi + 0x4c]
mov eax, edx
mov dword [esi], ecx
sub eax, ecx
mov dword [esi + 4], edx
jle 0x1001e074
movzx edx, byte [esi + 0x23]
mov ecx, edx
mov dword [esi + 0x38], edx
test dl, dl
jns 0x1001e054
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0xc], ecx
movzx edx, byte [esi + 0x33]
mov ecx, edx
mov dword [esi + 0x34], edx
test dl, dl
jns 0x1001e067
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi]
lea eax, [edx + eax*2]
add eax, dword [esi + 0xc]
add ecx, eax
inc ecx
jmp 0x1001e09b
movzx ecx, byte [esi + 0x23]
mov eax, ecx
mov dword [esi + 0x38], ecx
test cl, cl
jns 0x1001e084
mov eax, dword [esi + 0x1c]
movzx edx, byte [esi + 0x33]
mov ecx, edx
mov dword [esi + 0x34], edx
test dl, dl
jns 0x1001e094
mov ecx, dword [esi + 0x2c]
add eax, dword [esi]
add ecx, eax
add ecx, 2
mov edx, dword [esi + 4]
xor eax, eax
cmp ecx, 0x65
jb 0x1001e0be
add ecx, ecx
push ecx
mov edi, edx
call fcn.10036496
mov edx, edi
add esp, 4
mov edi, eax
test eax, eax
je 0x1001e1d7
mov dword [esi + 0xc], edi
mov ecx, eax
xor eax, eax
dec eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
movzx eax, word [esi + 8]
mov dword [esi + 0x70], eax
movzx eax, word [esi + 0xa]
mov dword [esi + 0x6c], eax
test bl, bl
jns 0x1001e0e8
mov edi, dword [ebp + 0x1c]
mov edi, dword [edi]
mov eax, dword [ebp + 0x14]
jmp 0x1001e0ee
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x1c]
lea ebx, [edi + edx*2]
mov eax, dword [eax + 4]
mov dword [esi + 0x68], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x150], 2
lea edx, [esi + 0x48]
mov ecx, dword [esi + 0xc]
push dword [esi]
lea eax, [esi + 0x18]
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x58]
push eax
push dword [esi + 0x70]
push dword [esi + 0x6c]
lea eax, [esi + 0x50]
push eax
push dword [esi + 0x74]
push dword [esi + 0x40]
push ebx
push edi
push dword [esi + 0x68]
lea eax, [esi + 0x44]
push eax
call fcn.1001dbc8
add esp, 0x34
movzx eax, word [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x44]
mov edi, dword [esi + 4]
mov dword [esi + 0x10], edi
mov edi, dword [esi + 0x48]
movzx eax, ax
push eax
push dword [ebp + 0x14]
push edx
push edi
push dword [esi + 0xc]
push ecx
push dword [ebp + 8]
call fcn.1000631d
add esp, 0x1c
mov eax, dword [esi + 4]
test eax, eax
je 0x1001e177
push eax
call fcn.100357d0
add esp, 4
cmp byte [esi + 0x38], 0
jns 0x1001e188
push dword [esi + 0x18]
call fcn.10024ac9
add esp, 4
cmp byte [esi + 0x34], 0
jns 0x1001e199
push dword [esi + 0x28]
call fcn.10024ac9
add esp, 4
cmp byte [esi + 0x63], 0
jns 0x1001e1aa
push dword [esi + 0x58]
call fcn.10024ac9
add esp, 4
mov ecx, dword [esi + 0x3c]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x1001e1be
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x148]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov dword [esi + 0x10], eax
mov dword [esi + 0x150], 2
call fcn.10049e41
nop
push ebp
sub esp, 0x34
lea esi, [ebp - 0x154]
mov ebp, dword [esi + 0x140]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1001e20a
push eax
call fcn.100357d0
add esp, 4
add esp, 0x34
pop ebp
ret