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

Disassembly:
push 0xffffffffffffffff
push 0x1003e6e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10050294]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov ecx, ebx
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
sub eax, edx
sar eax, 1
lea ecx, [eax*8]
sub ecx, eax
sub esp, 0x40
lea esi, [edi + ecx*8]
lea edx, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov dword [esp + 0x70], 0
call fcn.10017550
lea eax, [ebx - 0x38]
push eax
push esi
push edi
call fcn.10018950
add esp, 0x4c
cmp edi, esi
lea ebp, [esi + 0x38]
jae 0x10018dd9
lea ebx, [ebx]
push esi
lea edi, [esi - 0x38]
push edi
lea ecx, [esp + 0x48]
call fcn.100173f0
test al, al
jne 0x10018dd9
push edi
push esi
lea ecx, [esp + 0x48]
call fcn.100173f0
test al, al
jne 0x10018dd9
mov esi, edi
cmp dword [esp + 0x18], esi
jb 0x10018db0
cmp ebp, ebx
jae 0x10018e05
lea ecx, [ecx]
push esi
push ebp
lea ecx, [esp + 0x48]
call fcn.100173f0
test al, al
jne 0x10018e05
push ebp
push esi
lea ecx, [esp + 0x48]
call fcn.100173f0
test al, al
jne 0x10018e05
add ebp, 0x38
cmp ebp, ebx
jb 0x10018de0
mov eax, esi
mov edi, ebp
mov dword [esp + 0x14], eax
lea ecx, [ecx]
cmp edi, ebx
jae 0x10018e4c
push edi
push esi
lea ecx, [esp + 0x48]
call fcn.100173f0
test al, al
jne 0x10018e41
push esi
push edi
lea ecx, [esp + 0x48]
call fcn.100173f0
test al, al
jne 0x10018e48
mov eax, ebp
push edi
push eax
add ebp, 0x38
call fcn.1000ff00
add esp, 8
add edi, 0x38
cmp edi, ebx
jb 0x10018e14
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
jbe 0x10018ea0
lea ebx, [eax - 0x38]
push esi
push ebx
lea ecx, [esp + 0x48]
call fcn.100173f0
test al, al
jne 0x10018e80
push ebx
push esi
lea ecx, [esp + 0x48]
call fcn.100173f0
test al, al
jne 0x10018e94
sub esi, 0x38
push ebx
push esi
call fcn.1000ff00
add esp, 8
mov eax, dword [esp + 0x14]
sub eax, 0x38
sub ebx, 0x38
cmp dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
jb 0x10018e55
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
cmp eax, dword [esp + 0x18]
jne 0x10018ed4
cmp edi, ebx
je 0x10018f1c
cmp ebp, edi
je 0x10018eb4
push ebp
push esi
call fcn.1000ff00
add esp, 8
mov eax, edi
mov ecx, esi
push eax
push ecx
add ebp, 0x38
add esi, 0x38
add edi, 0x38
call fcn.1000ff00
mov eax, dword [esp + 0x1c]
add esp, 8
jmp 0x10018e10
sub eax, 0x38
cmp edi, ebx
mov dword [esp + 0x14], eax
jne 0x10018f06
sub esi, 0x38
cmp eax, esi
je 0x10018ef0
push esi
push eax
call fcn.1000ff00
add esp, 8
sub ebp, 0x38
push ebp
push esi
call fcn.1000ff00
mov eax, dword [esp + 0x1c]
add esp, 8
jmp 0x10018e10
push eax
push edi
call fcn.1000ff00
mov eax, dword [esp + 0x1c]
add esp, 8
add edi, 0x38
jmp 0x10018e10
mov edi, dword [esp + 0x20]
mov dword [edi], esi
mov esi, 8
cmp dword [esp + 0x78], esi
mov dword [edi + 4], ebp
jb 0x10018f3d
mov ecx, dword [esp + 0x64]
push ecx
call fcn.1002693b
add esp, 4
xor eax, eax
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
jb 0x10018f63
mov edx, dword [esp + 0x48]
push edx
call fcn.1002693b
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret