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

Disassembly:
push 0xffffffffffffffff
push 0x882188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0xa4]
mov byte [ebp + 0x51], 0
push esi
mov esi, ecx
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
fld dword [esp + 0xc]
mov edx, dword [ecx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], edx
mov edx, dword [eax]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], edx
fsub dword [esp + 0x1c]
mov edx, dword [eax + 8]
fld dword [esp + 0x10]
mov dword [esp + 0x20], ecx
fsub dword [esp + 0x20]
fld dword [esp + 0x14]
mov dword [esp + 0x24], edx
fsub dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
fld st(0)
fmul st(1)
fld st(3)
fmul st(4)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp + 8]
mov ecx, dword [esp + 8]
push ecx
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.005c5e80
fstp dword [esp + 0xc]
add esp, 4
fld dword [0x890968]
fld dword [esp + 8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x785579
xor eax, eax
jmp 0x78582f
fld dword [esp + 8]
fcomp dword [0x890dc4]
fnstsw ax
test ah, 5
jp 0x7855e8
fld dword [esp + 0x1c]
fsub dword [esp + 0xc]
fld dword [esp + 0x20]
fsub dword [esp + 0x10]
fld dword [esp + 0x24]
fsub dword [esp + 0x14]
fstp dword [esp + 0x34]
fld dword [0x890dc4]
fdiv dword [esp + 8]
fstp dword [esp + 8]
fxch st(1)
fmul dword [esp + 8]
fstp dword [esp + 0x2c]
fmul dword [esp + 8]
fld dword [esp + 0x34]
fmul dword [esp + 8]
fld dword [esp + 0x2c]
fadd dword [esp + 0xc]
fstp dword [esp + 0x1c]
fxch st(1)
fadd dword [esp + 0x10]
fstp dword [esp + 0x20]
fadd dword [esp + 0x14]
fstp dword [esp + 0x24]
push ebx
push edi
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
push 0x40
lea ecx, [esp + 0x38]
mov dword [esp + 0xa8], edi
call fcn.0077fdf0
mov ebx, dword [esp + 0xb4]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov dword [esi + 4], ebx
call fcn.007840e0
test bl, 2
mov dword [esi + 4], 3
je 0x78566f
push ebp
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.007732b0
test al, al
je 0x78566f
mov eax, ebp
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xc]
mov esi, 2
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
jmp 0x785673
mov esi, dword [esp + 0x10]
test bl, 1
je 0x7857f6
test byte [0x9b3c78], 1
jne 0x7856b0
mov ebx, dword [0x9b3c78]
or ebx, 1
push 0x3ccccccd
mov ecx, 0x9b3c3c
mov dword [0x9b3c78], ebx
call fcn.00449320
push 0x88eeb0
call fcn.007c5df0
add esp, 4
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, 0x9b3c3c
call fcn.00779310
test byte [0x9b3c6c], 1
je 0x7857f6
lea ecx, [esp + 0x44]
call fcn.004048c0
test byte [0x9b3c6c], 1
mov byte [esp + 0x95], 1
je 0x785701
lea eax, [esp + 0x54]
push eax
mov ecx, 0x9b3c3c
call fcn.00402690
jmp 0x785719
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0x3f800000
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x5c]
push eax
push 0x9b3c3c
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x78], 0x3f800000
call fcn.007677d0
add esp, 0x18
test al, al
je 0x7857f6
fld dword [esp + 0x14]
mov dword [esp + 0x98], edi
fsub dword [esp + 0x44]
mov byte [esp + 0x94], 0
fld dword [esp + 0x18]
fsub dword [esp + 0x48]
fld dword [esp + 0x1c]
fsub dword [esp + 0x4c]
fxch st(1)
fmul dword [esp + 0x58]
fxch st(1)
fmul dword [esp + 0x5c]
faddp st(1)
fxch st(1)
fmul dword [esp + 0x54]
faddp st(1)
fcomp dword [0x890968]
fnstsw ax
test ah, 5
jp 0x7857b7
fld dword [esp + 0x54]
fchs
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fchs
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fchs
fstp dword [esp + 0x5c]
cmp esi, edi
je 0x7857e7
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.00401930
fstp dword [esp + 0x18]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00401930
fcomp dword [esp + 0x20]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x7857f6
lea esi, [esp + 0x44]
mov edi, ebp
mov ecx, 0x16
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov eax, dword [esp + 0x38]
cmp eax, edi
mov dword [esp + 0xa4], 0xffffffff
je 0x785822
mov ecx, dword [esp + 0x40]
sub ecx, eax
sar ecx, 2
push edi
shl ecx, 2
push ecx
push eax
mov ecx, 0x925b30
call fcn.005d0370
mov al, byte [ebp + 0x51]
test al, al
setne dl
pop edi
movzx eax, dl
pop ebx
mov ecx, dword [esp + 0x94]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x98
ret 0xc