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

Disassembly:
push 0xffffffffffffffff
push 0x1008c998
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c6580]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.1003d350
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x64], bl
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x78], bl
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov byte [esp + 0x8c], bl
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0xc0]
mov edx, dword [esp + 0xb8]
push ecx
push eax
push esi
push edx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xc8]
push edx
push ecx
push eax
mov dword [esp + 0xbc], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], esi
call fcn.1002e680
add esp, 0x24
test al, al
je 0x1002ee99
and esi, 0x800
mov dword [esp + 0x1c], esi
jmp 0x1002ecd4
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jne 0x1002ed15
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.10029b80
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [esp + 0xa4], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xa4]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x44]
call fcn.1002b3b0
mov eax, dword [eax]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov dword [esp + 0xa4], eax
mov ecx, esi
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1002ed66
lea eax, [esp + 0x7c]
jmp 0x1002ed79
cmp eax, ebx
ja 0x1002ed77
call fcn.1007260f
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov eax, edi
mov ebp, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
cmp ebp, 0xfffffffc
je 0x1002eda2
cmp ebp, ebx
je 0x1002ed95
cmp ebp, dword [esp + 0xb0]
je 0x1002eda2
call fcn.1007260f
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
cmp edx, dword [esp + 0xb4]
je 0x1002ee9f
test dword [esp + 0xc0], 0x1000
jne 0x1002ee9f
mov ecx, esi
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1002ede5
lea eax, [esp + 0x7c]
mov dword [esp + 0x18], eax
jmp 0x1002edfa
cmp eax, ebx
ja 0x1002edf6
call fcn.1007260f
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x18], edi
sub esi, edi
mov eax, 0x66666667
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1002ee15
lea edi, [esp + 0x7c]
jmp 0x1002ee22
cmp eax, ebx
ja 0x1002ee22
call fcn.1007260f
mov edi, dword [esp + 0x48]
mov eax, dword [edi]
cmp eax, 0xfffffffc
je 0x1002ee3b
cmp eax, ebx
je 0x1002ee36
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 8]
je 0x1002ee3b
call fcn.1007260f
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x18]
cmp edx, dword [eax + 0xc]
jne 0x1002ee4e
mov eax, 0x2000
jmp 0x1002ee58
xor eax, eax
or dword [esp + 0x14], 0x100
mov ecx, dword [esp + 0x30]
or eax, dword [esp + 0x14]
mov edx, dword [esp + 0xb8]
push ecx
push ebp
push eax
push edx
mov edx, dword [esp + 0xc4]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0xc4]
push edx
push eax
push ecx
push ebp
call fcn.1002e680
add esp, 0x24
test al, al
jne 0x1002ecd0
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0x48]
jmp 0x1002eea6
mov esi, dword [esp + 0xc0]
test esi, 0x800
je 0x1002eeb7
lea eax, [esp + 0xa4]
jmp 0x1002eef4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x24], bl
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0xbc]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.10029b80
mov edi, dword [esp + 0x64]
add esp, 0x1c
lea eax, [esp + 0x24]
mov edx, dword [eax]
mov esi, dword [esp + 0xa0]
mov dword [esi], edx
cmp edi, ebx
je 0x1002ef0c
push edi
call fcn.10071d3c
add esp, 4
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.10071d3c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret