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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10154b5e
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101a53c4]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x101a53c4]
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 dh, dh
lea ecx, [esp + 0x34]
call fcn.100e6d53
mov dword [esp + 0xa0], 2
mov dl, dl
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov byte [esp + 0xa0], 4
nop
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0xa0], 6
mov dh, dh
mov esi, dword [esi + 0x14]
push edi
lea eax, [esp + 0x38]
push eax
push 0x1015a470
push esi
call fcn.10049590
add esp, 0x10
mov dword [esp + 0x4c], eax
push edx
pop edx
mov edx, edx
xor esi, esi
cmp eax, edi
jle 0x10089776
mov ebx, ebx
cmp esi, edi
jl 0x100898fe
cmp esi, dword [esp + 0x3c]
jge 0x100898fe
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + esi*4]
push eax
lea ecx, [esp + 0x60]
call fcn.10085cc0
add esp, 4
test eax, eax
je 0x1008976d
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
je 0x10089753
fld qword [esp + 0x5c]
fstp qword [eax]
add dword [esp + 0x14], 8
jmp 0x1008976b
push 1
push 1
lea edx, [esp + 0x3b]
push edx
lea ecx, [esp + 0x68]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.10087000
push ecx
pop ecx
add esi, 1
cmp esi, dword [esp + 0x4c]
jl 0x10089710
mov eax, dword [esp + 0x14]
mov edx, eax
sub edx, dword [esp + 0x10]
sar edx, 3
cmp edx, dword [esp + 0x4c]
je 0x100899b2
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 ebx, ebx
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
mov dword [esp + 0x5c], esi
mov al, al
cmp esi, edi
je 0x100899ae
mov ch, ch
mov dword [esp + 0x1c], edi
mov cl, cl
push 0x1f40
call fcn.100f4a78
add esp, 4
mov dword [esp + 0x48], eax
mov edx, edx
cmp eax, edi
je 0x100899a5
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 bl, bl
lea ecx, [esp + 0x78]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x1c]
push edx
push 4
push ecx
call eax
test eax, eax
je 0x10089990
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
je 0x1008988a
mov dword [esp + 0x14], eax
nop
mov edi, dword [esp + 0x1c]
shr edi, 2
mov bh, bh
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
jle 0x10089990
mov eax, dword [esp + 0x50]
test eax, eax
jl 0x100898fe
cmp eax, dword [esp + 0x3c]
jge 0x100898fe
mov edx, dword [esp + 0x38]
mov eax, dword [edx + eax*4]
push eax
call fcn.100f8ed5
add esp, 4
mov ah, ah
xor esi, esi
mov dword [esp + 0x2c], esi
mov dl, dl
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.10052c10
add esp, 8
nop
mov eax, eax
test edi, edi
jle 0x10089942
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
lea esp, [esp]
cmp dword [ecx + esi*4], eax
je 0x10089903
add esi, 1
cmp esi, edi
jl 0x100898f0
jmp 0x10089942
jmp fcn.100e3ae9
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 0x10089926
fstp qword [eax]
add dword [esp + 0x14], 8
jmp 0x10089940
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.10087000
mov edi, edi
cmp esi, edi
jne 0x1008997b
fldz
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
fst qword [esp + 0x54]
je 0x1008995f
fstp qword [eax]
add dword [esp + 0x14], 8
jmp 0x10089979
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.10087000
push ebx
pop ebx
mov eax, dword [esp + 0x50]
add eax, 1
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
jl 0x100898a7
mov eax, dword [esp + 0x48]
push eax
call fcn.100f4b3b
add esp, 4
mov dh, dh
mov esi, dword [esp + 0x5c]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov al, al
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sar eax, 3
je 0x10089c0e
fldz
mov ecx, ecx
xor esi, esi
mov dword [esp + 0x2c], esi
nop
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
sub eax, edx
xor ecx, ecx
sar eax, 3
je 0x10089a08
fcom qword [edx + ecx*8]
fnstsw ax
test ah, 5
jp 0x100899f4
fstp st(0)
fld qword [edx + ecx*8]
mov cl, cl
mov esi, ecx
mov dh, dh
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
sub eax, edx
add ecx, 1
sar eax, 3
cmp ecx, eax
jb 0x100899db
mov dword [esp + 0x2c], esi
test esi, esi
fstp st(0)
jl 0x100898fe
cmp esi, dword [esp + 0x3c]
jge 0x100898fe
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]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10089a44
sub eax, edx
lea ebx, [eax + edi]
mov esi, ebx
sub esi, edi
lea eax, [esi + 1]
cmp eax, 0xffffffff
ja 0x10089cf6
test eax, eax
jbe 0x10089cf6
cmp eax, 0x10
jbe 0x10089aaa
cmp eax, 0x80
mov dword [esp + 0x48], eax
jbe 0x10089a82
push eax
call fcn.100e39c0
jmp 0x10089a8c
lea ecx, [esp + 0x48]
push ecx
call fcn.100e3690
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 0x10089ab1
mov eax, dword [esp + 0x8c]
cmp ebx, edi
je 0x10089ac2
push esi
push edi
push eax
call fcn.100f6f60
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 0x10089b8f
mov dword [esp + 0x5c], esi
mov dword [esp + 0x54], esi
mov byte [esp + 0xa0], 0xa
test esi, esi
je 0x10089b80
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 0x10089cf6
test eax, eax
jbe 0x10089cf6
cmp eax, 0x10
jbe 0x10089b57
lea edx, [esp + 0x4c]
push edx
push eax
mov ecx, edi
call fcn.10008ee0
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 0x10089b72
mov edi, dword [esp + 0x50]
sub edi, ebx
push edi
push ebx
push eax
call fcn.100f6f60
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 0x10089baa
push 1
push 1
lea edx, [esp + 0x3b]
push edx
lea eax, [esp + 0x84]
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.1003aaa0
mov byte [esp + 0xa0], 6
lea ecx, [esp + 0x78]
call fcn.100067f0
mov bl, bl
mov esi, dword [esp + 0x2c]
push 1
push esi
lea ecx, [esp + 0x3c]
call fcn.100e6fb8
push ecx
pop ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [ecx + esi*8]
lea eax, [ecx + 8]
cmp eax, edx
je 0x10089bf0
sub edx, eax
je 0x10089bf0
push edx
push eax
push ecx
call fcn.100f6ae0
add esp, 0xc
sub dword [esp + 0x14], 8
mov dh, dh
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x10]
sar edx, 3
jne 0x100899bf
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 0x10089c9d
mov dword [esp + 0x48], edi
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0x14]
je 0x10089c4a
push 0x1015a471
push 0x1015a470
mov ecx, ebx
call fcn.100095a0
push ebx
pop ebx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
mov ecx, dword [ecx + edx + 0x14]
mov eax, ecx
lea edi, [eax + 1]
jmp 0x10089c60
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10089c60
sub eax, edi
add eax, ecx
push eax
push ecx
mov ecx, ebx
call fcn.100095a0
mov edx, edx
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 0x10089c2f
mov byte [esp + 0xa0], 4
lea ecx, [esp + 0x20]
call fcn.1003a7a0
mov byte [esp + 0xa0], 2
lea ecx, [esp + 0x10]
call fcn.100bac60
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x34]
call fcn.100e709b
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.100f5016
mov esp, ebp
pop ebp
ret
push 0x1015a444
call fcn.100e3920