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

Disassembly:
push 0xffffffffffffffff
push 0x100f54d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
mov eax, dword [esp + 0x90]
push ebx
push ebp
push esi
mov esi, dword [0x1011db50]
lea ebp, [eax + eax*2]
push edi
mov dword [esp + 0x34], ecx
shl ebp, 4
push 0x2c
add ebp, esi
call fcn.100ddb85
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x98], ebx
je 0x10089a93
lea ecx, [esi + 4]
call fcn.100835a0
mov al, byte [esp + 0x13]
mov dword [esi + 0x20], ebx
mov byte [esi + 0x1c], al
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esp + 0x18], esi
jmp 0x10089a99
mov dword [esp + 0x18], ebx
mov esi, ebx
mov ecx, dword [ebp]
mov dword [esp + 0x98], 0xffffffff
mov dword [esi], ecx
fild dword [ebp + 0x10]
fild dword [ebp + 0xc]
fild dword [ebp + 8]
fstp dword [esp + 0x30]
fild dword [ebp + 0x1c]
fstp dword [esp + 0x28]
fild dword [ebp + 0x18]
fstp dword [esp + 0x2c]
fild dword [ebp + 0x14]
fstp dword [esp + 0x24]
fchs
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
fstp dword [esp + 0x70]
fld dword [esp + 0x30]
fstp dword [esp + 0x74]
fld dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
fchs
fld dword [esp + 0x28]
fstp dword [esp + 0x70]
fld dword [esp + 0x24]
mov dword [esp + 0x80], edx
mov dword [esp + 0x8c], edx
lea edx, [esi + 4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x88], ecx
mov ecx, 6
fstp dword [esp + 0x74]
lea esi, [esp + 0x78]
mov edi, edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
rep movsd dword es:[edi], dword [esi]
fcom dword [edx]
fnstsw ax
test ah, 1
je 0x10089b3e
fst dword [edx]
fld dword [esp + 0x70]
fcomp dword [edx + 4]
fnstsw ax
test ah, 1
je 0x10089b53
mov eax, dword [esp + 0x70]
mov dword [edx + 4], eax
fld dword [esp + 0x74]
fcomp dword [edx + 8]
fnstsw ax
test ah, 1
je 0x10089b68
mov ecx, dword [esp + 0x74]
mov dword [edx + 8], ecx
fcom dword [edx + 0xc]
fnstsw ax
test ah, 0x41
jne 0x10089b77
fstp dword [edx + 0xc]
jmp 0x10089b79
fstp st(0)
fld dword [esp + 0x70]
fcomp dword [edx + 0x10]
fnstsw ax
test ah, 0x41
jne 0x10089b8e
mov eax, dword [esp + 0x70]
mov dword [edx + 0x10], eax
fld dword [esp + 0x74]
fcomp dword [edx + 0x14]
fnstsw ax
test ah, 0x41
jne 0x10089ba3
mov ecx, dword [esp + 0x74]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp + 0x20]
mov eax, dword [0x1011db58]
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x2c], ebx
cmp ecx, ebx
lea eax, [eax + edx*4]
jle 0x10089e4d
mov esi, eax
mov dword [esp + 0x30], esi
mov ecx, dword [esi]
lea edx, [esp + 0x28]
lea eax, [esp + 0x38]
mov dword [esp + 0x28], ecx
push edx
push eax
mov ecx, 0x1011dcd8
call fcn.1008c970
mov eax, dword [eax]
mov ecx, dword [0x1011dcdc]
cmp eax, ecx
je 0x10089c0f
mov ecx, dword [eax + 0x10]
add eax, 0x10
cmp ecx, ebx
je 0x10089e32
mov ecx, dword [esp + 0x18]
push eax
add ecx, 0x1c
push 1
mov edx, dword [ecx + 8]
push edx
call fcn.100918f0
jmp 0x10089e32
mov eax, dword [esi]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov eax, dword [0x1011db98]
lea edi, [eax + edx*8]
mov eax, dword [eax + edx*8 + 8]
cmp eax, 1
je 0x10089c37
cmp eax, 3
je 0x10089c37
cmp eax, 2
je 0x10089c52
jmp 0x10089e32
mov eax, dword [edi + 0x18]
cmp eax, ebx
je 0x10089e32
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x10089e32
mov eax, dword [edi]
mov cl, 1
cmp eax, ebx
mov byte [esp + 0x24], cl
jl 0x10089c7e
lea edx, [eax + eax*8]
mov eax, dword [0x1011db38]
lea eax, [eax + edx*8]
test byte [eax + 0x44], cl
je 0x10089e32
test byte [eax + 0x40], 0x84
je 0x10089c7e
xor cl, cl
mov byte [esp + 0x24], cl
xor eax, eax
cmp cl, bl
mov dword [esp + 0x14], eax
je 0x10089e0c
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, 0x1011db08
mov dword [esp + 0x24], edi
call fcn.1008c370
mov eax, dword [eax]
mov ecx, dword [0x1011db0c]
cmp eax, ecx
je 0x10089cb8
mov esi, dword [eax + 0x10]
jmp 0x10089d62
push 0x2c
call fcn.100ddb85
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov dword [esp + 0x98], 1
je 0x10089cde
mov ecx, eax
call fcn.10089e70
jmp 0x10089ce0
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x98], 0xffffffff
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x20]
mov dword [edx + 8], ecx
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.1008e080
mov edx, dword [eax]
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], edx
push ecx
mov eax, dword [eax + 4]
lea ecx, [esp + 0x58]
mov dword [esp + 0x4c], eax
call fcn.1008dfc0
lea edx, [esp + 0x54]
lea eax, [esp + 0x64]
push edx
push eax
mov ecx, 0x1011db08
call fcn.1008be90
mov edx, dword [0x1011da68]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, 0x1011da60
call fcn.1003d2f0
mov esi, dword [esp + 0x20]
push 0x14
call fcn.100ddb85
mov dword [esp + 0x18], eax
mov dword [eax], esi
mov ecx, dword [esi + 0x10]
add esp, 4
cmp ecx, ebx
jne 0x10089d7d
xor eax, eax
jmp 0x10089d85
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x10089d97
xor esi, esi
jmp 0x10089d9f
mov esi, dword [esi + 0x24]
sub esi, eax
sar esi, 2
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], esi
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x10], ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x14]
mov dword [ecx + 8], ebx
lea ecx, [edx + 0x1c]
push eax
mov edx, dword [ecx + 8]
push edx
call fcn.1003d2f0
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x14]
push edx
push 1
lea ecx, [eax + 0x10]
mov eax, dword [eax + 0x18]
push eax
call fcn.100918f0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x6c]
push eax
push ecx
mov ecx, 0x1011dcd8
mov dword [esp + 0x58], edx
call fcn.1008c710
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
mov ecx, dword [edi + 8]
push 1
cmp ecx, 2
jne 0x10089e26
mov edx, dword [esp + 0x28]
push 1
push edx
push edi
push eax
call fcn.10089ea0
jmp 0x10089e32
mov ecx, dword [esp + 0x28]
push ecx
push edi
push eax
call fcn.1008a870
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x24]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
jl 0x10089bc3
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 4