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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1015f89e
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101b03d4]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x101b03d4]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xa0], edi
mov ebx, ecx
mov dword [esp + 0x68], edi
mov dword [ebx + 0x10], ebx
mov dword [esp + 0x64], ebx
mov esi, edx
mov dword [ebx + 0x14], ebx
mov ecx, 1
mov dword [esp + 0xa0], ecx
mov eax, dword [ebx + 0x10]
mov byte [eax], 0
mov dword [esp + 0xa0], edi
mov dword [esp + 0x68], ecx
mov bh, bh
lea ecx, [esp + 0x34]
call fcn.100ece68
mov dword [esp + 0xa0], 2
push eax
pop eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov byte [esp + 0xa0], 4
mov esi, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0xa0], 6
mov edi, edi
mov esi, dword [esi + 0x14]
push edi
lea eax, [esp + 0x38]
push eax
push 0x101654f0
push esi
call fcn.10048800
add esp, 0x10
mov dword [esp + 0x4c], eax
mov dh, dh
mov edi, edi
xor esi, esi
cmp eax, edi
jle 0x1008e7a7
mov esi, esi
cmp esi, edi
jl 0x1008e934
cmp esi, dword [esp + 0x3c]
jge 0x1008e934
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + esi*4]
push eax
lea ecx, [esp + 0x60]
call fcn.10085920
add esp, 4
test eax, eax
je 0x1008e79e
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
je 0x1008e784
fld qword [esp + 0x5c]
fstp qword [eax]
add dword [esp + 0x14], 8
jmp 0x1008e79c
push 1
push 1
lea edx, [esp + 0x3b]
push edx
lea ecx, [esp + 0x68]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.10088ac0
mov eax, eax
add esi, 1
cmp esi, dword [esp + 0x4c]
jl 0x1008e741
mov eax, dword [esp + 0x14]
mov edx, eax
sub edx, dword [esp + 0x10]
sar edx, 3
cmp edx, dword [esp + 0x4c]
je 0x1008e9e8
mov al, 0x4c
mov byte [esp + 0x6c], 0x50
mov byte [esp + 0x6d], 0x53
mov byte [esp + 0x6e], 0x41
mov byte [esp + 0x6f], 0x50
mov byte [esp + 0x70], 0x49
mov byte [esp + 0x71], 0x2e
mov byte [esp + 0x72], 0x44
mov byte [esp + 0x73], al
mov byte [esp + 0x74], al
mov byte [esp + 0x75], 0
mov esi, esi
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
mov dword [esp + 0x5c], esi
push ecx
pop ecx
cmp esi, edi
je 0x1008e9e4
mov esi, esi
mov dword [esp + 0x1c], edi
mov esi, esi
push 0x1f40
call fcn.100fab8c
add esp, 4
mov dword [esp + 0x48], eax
mov bh, bh
cmp eax, edi
je 0x1008e9db
mov al, 0x73
mov cl, 0x65
mov byte [esp + 0x78], 0x45
mov byte [esp + 0x79], 0x6e
mov byte [esp + 0x7a], 0x75
mov byte [esp + 0x7b], 0x6d
mov byte [esp + 0x7c], 0x50
mov byte [esp + 0x7d], 0x72
mov byte [esp + 0x7e], 0x6f
mov byte [esp + 0x7f], 0x63
mov byte [esp + 0x80], cl
mov byte [esp + 0x81], al
mov byte [esp + 0x82], al
mov byte [esp + 0x83], cl
mov byte [esp + 0x84], al
mov byte [esp + 0x85], 0
mov ah, ah
lea ecx, [esp + 0x78]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov bl, bl
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x1c]
push edx
push 4
push ecx
call eax
test eax, eax
je 0x1008e9c6
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
je 0x1008e8bb
mov dword [esp + 0x14], eax
push eax
pop eax
mov edi, dword [esp + 0x1c]
shr edi, 2
mov bh, bh
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
jle 0x1008e9c6
lea esp, [esp]
mov eax, dword [esp + 0x50]
test eax, eax
jl 0x1008e934
cmp eax, dword [esp + 0x3c]
jge 0x1008e934
mov edx, dword [esp + 0x38]
mov eax, dword [edx + eax*4]
push eax
call fcn.100fefe5
add esp, 4
push edx
pop edx
xor esi, esi
mov dword [esp + 0x2c], esi
mov bl, bl
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.100522a0
add esp, 8
mov ch, ch
mov ebx, ebx
test edi, edi
jle 0x1008e978
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
cmp dword [ecx + esi*4], eax
je 0x1008e939
add esi, 1
cmp esi, edi
jl 0x1008e926
jmp 0x1008e978
jmp fcn.100e9bf9
mov eax, dword [esp + 0x14]
mov edx, edi
sub edx, esi
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x54], edx
fild dword [esp + 0x54]
fst qword [esp + 0x54]
je 0x1008e95c
fstp qword [eax]
add dword [esp + 0x14], 8
jmp 0x1008e976
push 1
fstp st(0)
push 1
lea ecx, [esp + 0x3b]
push ecx
lea edx, [esp + 0x60]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.10088ac0
mov edi, edi
cmp esi, edi
jne 0x1008e9b1
fldz
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
fst qword [esp + 0x54]
je 0x1008e995
fstp qword [eax]
add dword [esp + 0x14], 8
jmp 0x1008e9af
push 1
fstp st(0)
push 1
lea ecx, [esp + 0x3b]
push ecx
lea edx, [esp + 0x60]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.10088ac0
push ebx
pop ebx
mov eax, dword [esp + 0x50]
add eax, 1
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
jl 0x1008e8e0
mov eax, dword [esp + 0x48]
push eax
call fcn.100fac4f
add esp, 4
xchg ebx, eax
xchg ebx, eax
mov esi, dword [esp + 0x5c]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov dl, dl
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sar eax, 3
je 0x1008ec4a
fldz
push edx
pop edx
xor esi, esi
mov dword [esp + 0x2c], esi
mov cl, cl
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
sub eax, edx
xor ecx, ecx
sar eax, 3
je 0x1008ea3f
fcom qword [edx + ecx*8]
fnstsw ax
test ah, 5
jp 0x1008ea2b
fstp st(0)
fld qword [edx + ecx*8]
push ecx
pop ecx
mov esi, ecx
mov edx, edx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
sub eax, edx
add ecx, 1
sar eax, 3
cmp ecx, eax
jb 0x1008ea12
mov dword [esp + 0x2c], esi
test esi, esi
fstp st(0)
jl 0x1008e934
cmp esi, dword [esp + 0x3c]
jge 0x1008e934
mov ecx, dword [esp + 0x38]
mov edi, dword [ecx + esi*4]
lea edx, [esp + 0x78]
mov eax, edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov byte [esp + 0xa0], 7
mov eax, edi
lea edx, [eax + 1]
jmp 0x1008ea80
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008ea80
sub eax, edx
lea ebx, [eax + edi]
mov esi, ebx
sub esi, edi
lea eax, [esi + 1]
cmp eax, 0xffffffff
ja 0x1008ed2d
test eax, eax
jbe 0x1008ed2d
cmp eax, 0x10
jbe 0x1008eae6
cmp eax, 0x80
mov dword [esp + 0x48], eax
jbe 0x1008eabe
push eax
call fcn.100e9ad0
jmp 0x1008eac8
lea ecx, [esp + 0x48]
push ecx
call fcn.100e97a0
mov dword [esp + 0x90], eax
mov edx, dword [esp + 0x4c]
lea ecx, [eax + edx]
add esp, 4
mov dword [esp + 0x88], eax
mov dword [esp + 0x78], ecx
jmp 0x1008eaed
mov eax, dword [esp + 0x8c]
cmp ebx, edi
je 0x1008eafe
push esi
push edi
push eax
call fcn.100fd070
add esp, 0xc
add eax, esi
mov dword [esp + 0x88], eax
mov byte [eax], 0
mov byte [esp + 0xa0], 9
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x28]
je 0x1008ebcb
mov dword [esp + 0x5c], esi
mov dword [esp + 0x54], esi
mov byte [esp + 0xa0], 0xa
test esi, esi
je 0x1008ebbc
lea edi, [esi + 0x14]
mov dword [esi + 0x10], esi
mov dword [edi], esi
mov byte [esp + 0xa0], 0xb
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x50], eax
sub eax, ecx
add eax, 1
cmp eax, 0xffffffff
mov ebx, ecx
mov dword [esp + 0x4c], eax
ja 0x1008ed2d
test eax, eax
jbe 0x1008ed2d
cmp eax, 0x10
jbe 0x1008eb93
lea edx, [esp + 0x4c]
push edx
push eax
mov ecx, edi
call fcn.10008fb0
mov ecx, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esi + 0x10], eax
add eax, ecx
mov dword [esi], eax
cmp dword [esp + 0x50], ebx
mov eax, dword [edi]
je 0x1008ebae
mov edi, dword [esp + 0x50]
sub edi, ebx
push edi
push ebx
push eax
call fcn.100fd070
add esp, 0xc
add eax, edi
mov dword [esi + 0x10], eax
mov byte [eax], 0
mov byte [esp + 0xa0], 0xa
mov byte [esp + 0xa0], 9
add dword [esp + 0x24], 0x18
jmp 0x1008ebe6
push 1
push 1
lea edx, [esp + 0x3b]
push edx
lea eax, [esp + 0x84]
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.10039ca0
mov byte [esp + 0xa0], 6
lea ecx, [esp + 0x78]
call fcn.100068e0
mov ebx, ebx
mov esi, dword [esp + 0x2c]
push 1
push esi
lea ecx, [esp + 0x3c]
call fcn.100ed0cd
mov ebp, ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [ecx + esi*8]
lea eax, [ecx + 8]
cmp eax, edx
je 0x1008ec2c
sub edx, eax
je 0x1008ec2c
push edx
push eax
push ecx
call fcn.100fcbf0
add esp, 0xc
sub dword [esp + 0x14], 8
mov dl, dl
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x10]
sar edx, 3
jne 0x1008e9f5
mov ebx, dword [esp + 0x64]
xor edi, edi
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x1008ecd4
mov dword [esp + 0x48], edi
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0x14]
je 0x1008ec86
push 0x101654f1
push 0x101654f0
mov ecx, ebx
call fcn.100092e0
mov bh, bh
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
mov ecx, dword [ecx + edx + 0x14]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1008ec97
sub eax, edi
add eax, ecx
push eax
push ecx
mov ecx, ebx
call fcn.100092e0
push eax
pop eax
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
add dword [esp + 0x48], 0x18
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add esi, 1
add eax, edx
cmp esi, eax
jb 0x1008ec6b
mov byte [esp + 0xa0], 4
lea ecx, [esp + 0x20]
call fcn.100399a0
mov byte [esp + 0xa0], 2
lea ecx, [esp + 0x10]
call fcn.1005ba20
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x34]
call fcn.100ed1b0
mov eax, ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.100fb12a
mov esp, ebp
pop ebp
ret
push 0x101654c0
call fcn.100e9a30