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

Disassembly:
push 0xffffffffffffffff
push 0x1003930b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10047130]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10047130]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4]
xor ebx, ebx
cmp eax, ebx
je 0x100105ac
push 0x1003edfc
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10011fea
add esp, 0xc
mov dword [esp + 0xac], ebx
mov eax, 7
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], cx
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], dx
mov dword [esp + 0x98], ebx
mov byte [esp + 0xac], 1
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov esi, ecx
cmp ecx, eax
jbe 0x10010300
call fcn.10022964
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x4c], edi
mov ebp, esi
mov dword [esp + 0x18], eax
cmp ecx, eax
jbe 0x10010317
call fcn.10022964
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
nop
cmp edi, ebx
je 0x1001032a
cmp edi, dword [esp + 0x54]
je 0x1001032f
call fcn.10022964
cmp ebp, dword [esp + 0x18]
je 0x100104ed
cmp edi, ebx
jne 0x10010359
call fcn.10022964
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x1001034e
call fcn.10022964
cmp dword [ebp + 0x18], 8
jb 0x1001035d
mov eax, dword [ebp + 4]
jmp 0x10010360
mov eax, dword [edi]
jmp 0x10010344
lea eax, [ebp + 4]
push 0x1003ee00
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.10011fea
add esp, 0xc
mov byte [esp + 0xac], 2
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x10010471
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0x68]
call fcn.10004e10
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
ja 0x100103d6
call fcn.10022964
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
add eax, 0x1c
push ebx
lea ecx, [esp + 0x84]
call fcn.10004e10
lea ebx, [esp + 0x5c]
call fcn.100100d0
xor esi, esi
test eax, eax
je 0x100104ac
mov byte [esp + 0xac], 1
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x1001042d
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
push edx
call fcn.1000e860
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.100229a9
add esp, 4
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.100229a9
mov eax, dword [esp + 0x50]
add esp, 4
cmp eax, esi
jne 0x1001046d
call fcn.10022964
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x1001045f
call fcn.10022964
mov edi, dword [esp + 0x4c]
add ebp, 0x1c
xor ebx, ebx
jmp 0x10010320
mov eax, dword [eax]
jmp 0x10010455
cmp esi, ebx
je 0x10010491
mov edx, dword [esp + 0x18]
push edx
mov eax, esi
call fcn.1000e860
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.100229a9
add esp, 4
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.100229a9
add esp, 4
jmp 0x100104ed
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x100104d2
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
push edx
call fcn.1000e860
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.100229a9
add esp, 4
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.100229a9
add esp, 4
xor ebx, ebx
mov esi, 8
cmp dword [esp + 0x94], esi
jb 0x1001050b
mov edx, dword [esp + 0x80]
push edx
call fcn.100229a9
add esp, 4
xor eax, eax
mov ebp, 7
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], ax
cmp dword [esp + 0x78], esi
jb 0x1001053b
mov ecx, dword [esp + 0x64]
push ecx
call fcn.100229a9
add esp, 4
mov eax, dword [esp + 0x40]
xor edx, edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
cmp eax, ebx
je 0x10010593
mov edi, dword [esp + 0x44]
cmp eax, edi
je 0x1001058a
lea esi, [eax + 0x18]
lea ecx, [ecx]
cmp dword [esi], 8
jb 0x10010571
mov eax, dword [esi - 0x14]
push eax
call fcn.100229a9
add esp, 4
xor ecx, ecx
mov dword [esi], ebp
mov dword [esi - 4], ebx
mov word [esi - 0x14], cx
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, edi
jne 0x10010560
mov eax, dword [esp + 0x40]
push eax
call fcn.100229a9
add esp, 4
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.100229a9
add esp, 4
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.1002259f
add esp, 0x9c
ret 4