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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1015c328
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xa0], edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x54], edi
mov dword [eax + 0x10], eax
mov dword [esp + 0x40], eax
mov esi, ecx
mov dword [eax + 0x14], eax
mov ecx, 1
mov dword [esp + 0xa0], ecx
mov eax, dword [eax + 0x10]
mov byte [eax], 0
mov dword [esp + 0xa0], edi
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x58]
call fcn.100e7e56
mov dword [esp + 0xa0], 2
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov byte [esp + 0xa0], 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov byte [esp + 0xa0], 6
mov esi, dword [esi + 0x14]
push edi
lea eax, [esp + 0x5c]
push eax
push 0x101615d8
push esi
call fcn.10048510
mov ebx, eax
add esp, 0x10
xor esi, esi
cmp ebx, edi
mov dword [esp + 0x2c], ebx
jle 0x10089998
cmp esi, edi
jl 0x10089b0e
cmp esi, dword [esp + 0x60]
jge 0x10089b0e
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + esi*4]
push eax
lea ecx, [esp + 0x50]
call fcn.10081370
add esp, 4
test eax, eax
je 0x10089991
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
je 0x10089979
fld qword [esp + 0x4c]
fstp qword [eax]
add dword [esp + 0x1c], 8
jmp 0x10089991
push 1
push 1
lea edx, [esp + 0x1f]
push edx
lea ecx, [esp + 0x58]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.10083f00
add esi, 1
cmp esi, ebx
jl 0x10089938
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
sub edx, esi
sar edx, 3
cmp edx, ebx
je 0x10089bb2
mov al, 0x4c
mov byte [esp + 0x8b], al
mov byte [esp + 0x8c], al
lea eax, [esp + 0x84]
mov bl, 0x50
push eax
mov byte [esp + 0x88], bl
mov byte [esp + 0x89], 0x53
mov byte [esp + 0x8a], 0x41
mov byte [esp + 0x8b], bl
mov byte [esp + 0x8c], 0x49
mov byte [esp + 0x8d], 0x2e
mov byte [esp + 0x8e], 0x44
mov byte [esp + 0x91], 0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
cmp esi, edi
mov dword [esp + 0x4c], esi
je 0x10089bae
push 0x1f40
mov dword [esp + 0x34], edi
call fcn.100f5b7c
add esp, 4
cmp eax, edi
mov dword [esp + 0x24], eax
je 0x10089ba7
mov cl, 0x65
mov byte [esp + 0x74], cl
mov byte [esp + 0x77], cl
lea ecx, [esp + 0x6c]
mov al, 0x73
push ecx
push esi
mov byte [esp + 0x74], 0x45
mov byte [esp + 0x75], 0x6e
mov byte [esp + 0x76], 0x75
mov byte [esp + 0x77], 0x6d
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], 0x72
mov byte [esp + 0x7a], 0x6f
mov byte [esp + 0x7b], 0x63
mov byte [esp + 0x7d], al
mov byte [esp + 0x7e], al
mov byte [esp + 0x80], al
mov byte [esp + 0x81], 0
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push 4
push ecx
call eax
test eax, eax
je 0x10089b94
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
je 0x10089ab0
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x30]
xor ebx, ebx
shr edi, 2
cmp dword [esp + 0x2c], ebx
jle 0x10089b94
test ebx, ebx
jl 0x10089b0e
cmp ebx, dword [esp + 0x60]
jge 0x10089b0e
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + ebx*4]
push eax
call fcn.100f9fd5
lea ecx, [esp + 0x2c]
push ecx
xor esi, esi
push eax
mov dword [esp + 0x34], esi
call fcn.10051560
add esp, 0xc
test edi, edi
jle 0x10089b50
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea ebx, [ebx]
cmp dword [ecx + esi*4], eax
je 0x10089b13
add esi, 1
cmp esi, edi
jl 0x10089b00
jmp 0x10089b50
jmp fcn.100e4be9
mov eax, dword [esp + 0x1c]
mov edx, edi
sub edx, esi
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x44], edx
fild dword [esp + 0x44]
fst qword [esp + 0x44]
je 0x10089b36
fstp qword [eax]
add dword [esp + 0x1c], 8
jmp 0x10089b50
push 1
fstp st(0)
push 1
lea ecx, [esp + 0x1f]
push ecx
lea edx, [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.10083f00
cmp esi, edi
jne 0x10089b87
fldz
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
fst qword [esp + 0x44]
je 0x10089b6d
fstp qword [eax]
add dword [esp + 0x1c], 8
jmp 0x10089b87
push 1
fstp st(0)
push 1
lea ecx, [esp + 0x1f]
push ecx
lea edx, [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.10083f00
add ebx, 1
cmp ebx, dword [esp + 0x2c]
jl 0x10089ac3
mov eax, dword [esp + 0x24]
push eax
call fcn.100f5c3f
mov esi, dword [esp + 0x50]
add esp, 4
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub edx, esi
sar edx, 3
je 0x10089de0
fldz
xor edi, edi
xor ecx, ecx
test edx, edx
mov dword [esp + 0x24], edi
jbe 0x10089beb
fcom qword [esi + ecx*8]
fnstsw ax
test ah, 5
jp 0x10089be0
fstp st(0)
mov edi, ecx
fld qword [esi + ecx*8]
add ecx, 1
cmp ecx, edx
jb 0x10089bcf
mov dword [esp + 0x24], edi
test edi, edi
fstp st(0)
jl 0x10089b0e
cmp edi, dword [esp + 0x60]
jge 0x10089b0e
mov ecx, dword [esp + 0x5c]
mov edi, dword [ecx + edi*4]
lea edx, [esp + 0x6c]
mov eax, edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov byte [esp + 0xa0], 7
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10089c24
sub eax, edx
lea ebx, [eax + edi]
mov esi, ebx
sub esi, edi
lea eax, [esi + 1]
cmp eax, 0xffffffff
ja 0x10089ebe
test eax, eax
jbe 0x10089ebe
cmp eax, 0x10
jbe 0x10089c87
cmp eax, 0x80
mov dword [esp + 0x2c], eax
jbe 0x10089c62
push eax
call fcn.100e4ac0
jmp 0x10089c6c
lea ecx, [esp + 0x2c]
push ecx
call fcn.100e4790
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0x30]
lea ecx, [eax + edx]
add esp, 4
mov dword [esp + 0x7c], eax
mov dword [esp + 0x6c], ecx
jmp 0x10089c8e
mov eax, dword [esp + 0x80]
cmp ebx, edi
je 0x10089c9f
push esi
push edi
push eax
call fcn.100f7fd0
add esp, 0xc
add eax, esi
mov dword [esp + 0x7c], eax
mov byte [eax], 0
mov byte [esp + 0xa0], 9
mov esi, dword [esp + 0x38]
cmp esi, dword [esp + 0x3c]
je 0x10089d66
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], esi
mov byte [esp + 0xa0], 0xa
test esi, esi
je 0x10089d57
lea edi, [esi + 0x14]
mov dword [esi + 0x10], esi
mov dword [edi], esi
mov byte [esp + 0xa0], 0xb
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x30], eax
sub eax, ecx
add eax, 1
cmp eax, 0xffffffff
mov ebx, ecx
mov dword [esp + 0x28], eax
ja 0x10089ebe
test eax, eax
jbe 0x10089ebe
cmp eax, 0x10
jbe 0x10089d2e
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, edi
call fcn.10008fb0
mov ecx, dword [esp + 0x28]
mov dword [edi], eax
mov dword [esi + 0x10], eax
add eax, ecx
mov dword [esi], eax
cmp dword [esp + 0x30], ebx
mov eax, dword [edi]
je 0x10089d49
mov edi, dword [esp + 0x30]
sub edi, ebx
push edi
push ebx
push eax
call fcn.100f7fd0
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 + 0x38], 0x18
jmp 0x10089d7e
push 1
push 1
lea edx, [esp + 0x1f]
push edx
lea eax, [esp + 0x78]
push eax
push esi
lea ecx, [esp + 0x48]
call fcn.1003aa80
mov byte [esp + 0xa0], 6
lea ecx, [esp + 0x6c]
call fcn.10006310
mov edi, dword [esp + 0x24]
push 1
push edi
lea ecx, [esp + 0x60]
call fcn.100e80bb
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea edx, [esi + edi*8]
lea ecx, [edx + 8]
cmp ecx, eax
je 0x10089dca
mov edi, eax
sub edi, ecx
je 0x10089dca
push edi
push ecx
push edx
call fcn.100f7b50
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
add esp, 0xc
sub eax, 8
mov dword [esp + 0x1c], eax
sub eax, esi
mov edx, eax
sar edx, 3
jne 0x10089bc1
xor edi, edi
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
xor esi, esi
add ecx, edx
je 0x10089e63
xor ebx, ebx
nop
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x10089e1b
push 0x101615d9
push 0x101615d8
call fcn.10009bf0
mov edx, dword [esp + 0x34]
mov ecx, dword [ebx + edx + 0x14]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10089e28
sub eax, edi
add eax, ecx
push eax
push ecx
mov ecx, dword [esp + 0x48]
call fcn.10009bf0
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add esi, 1
add eax, edx
add ebx, 0x18
cmp esi, eax
jb 0x10089e00
mov byte [esp + 0xa0], 4
lea ecx, [esp + 0x34]
call fcn.1003a780
mov byte [esp + 0xa0], 2
lea ecx, [esp + 0x18]
call fcn.100bb2b0
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x58]
call fcn.100e819e
mov eax, dword [esp + 0x40]
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.100f611a
mov esp, ebp
pop ebp
ret
push 0x10161590
call fcn.100e4a20