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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [esi + 0x71d]
fld dword [eax + 8]
mov dword [esp + 0x2c], eax
fsub dword [eax]
push edi
fsubr dword [ebp + 0xc]
fld dword [0x694304]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x4ba646
push ecx
fstp dword [esp]
call fcn.004014cc
jmp 0x4ba64a
fstp st(0)
xor al, al
test al, al
jne 0x4baad8
fld dword [0x694268]
mov eax, dword [esi]
push ecx
mov ecx, esi
fstp dword [esp]
call dword [eax + 0x10]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov eax, dword [esi]
push ecx
fstp dword [esp + 0x44]
mov ecx, esi
fld1
fstp dword [esp]
call dword [eax + 0x14]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
lea eax, [esi + 0x995]
push eax
lea eax, [esi + 0x4f8]
fstp dword [esp + 0x48]
push eax
lea eax, [esp + 0x80]
call fcn.00561edc
push 1
mov edi, 0x631b14
push edi
lea ecx, [esp + 0x80]
call fcn.005620f0
fmul dword [0x694264]
push 1
push edi
lea ecx, [esp + 0x80]
fstp dword [esp + 0x3c]
call fcn.005620f0
fstp dword [esp + 0x54]
lea edi, [esi + 0x719]
mov dword [esp + 0x50], edi
call fcn.004b968b
push 0x24
mov dword [esp + 0x18], edi
call fcn.00538281
test eax, eax
pop ecx
je 0x4ba712
fld dword [esp + 0x40]
push 0
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
fld dword [esp + 0x48]
push ecx
mov edi, eax
fstp dword [esp + 0x44]
call fcn.00577256
jmp 0x4ba714
xor eax, eax
mov ebx, dword [esi + 0x715]
mov edi, eax
jmp 0x4baa6c
cmp byte [ebx + 0xc], 0
fld dword [edi + 0x14]
fst dword [esp + 0x60]
fld dword [edi + 0x10]
fxch st(1)
fst dword [esp + 0x20]
fxch st(1)
fst dword [esp + 0x24]
fld dword [ebx + 0xe]
fadd st(2)
fstp dword [esp + 0x28]
fadd dword [ebx + 0x12]
fstp dword [esp + 0x2c]
je 0x4ba7dd
push 0x1c
fstp st(0)
call fcn.00538281
test eax, eax
pop ecx
je 0x4ba772
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0057722b
jmp 0x4ba774
xor eax, eax
mov esi, eax
call fcn.00577297
fld dword [edi + 0x18]
mov eax, dword [esp + 0x14]
fstp dword [esp + 0xc]
and dword [esp + 0x10], 0
mov dword [eax], edi
and dword [edi], 0
push 0x24
mov dword [esp + 0x18], edi
call fcn.00538281
test eax, eax
pop ecx
je 0x4ba7c7
mov ecx, dword [ebx + 4]
fld dword [esp + 0x40]
mov edx, dword [ebx + 8]
fstp dword [esp + 0x68]
fld dword [esp + 0xc]
add edx, ecx
push edx
fstp dword [esp + 0x70]
lea ecx, [esp + 0x6c]
push ecx
mov edi, eax
call fcn.00577256
jmp 0x4ba7c9
xor eax, eax
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004c3ff3
mov edi, dword [esp + 0x10]
jmp 0x4baa67
cmp byte [ebx + 0xd], 0
je 0x4ba82c
fadd dword [esp + 0x34]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fsub dword [esp + 0x40]
fld dword [esp + 0x34]
call fcn.0061468a
fsubr dword [esp + 0xc]
fld dword [esp + 0x60]
fsubr st(1)
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 5
jp 0x4ba815
fadd dword [esp + 0x34]
fld dword [ebp + 0xc]
push ecx
push ecx
fstp dword [esp + 4]
fstp dword [esp]
call fcn.004aae1e
fstp dword [esp + 0x28]
jmp 0x4ba82e
fstp st(0)
fld dword [ebp + 0xc]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x4ba859
push 0x1c
call fcn.00538281
test eax, eax
pop ecx
je 0x4baa5e
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
push ecx
push edx
jmp 0x4baa53
xor ecx, ecx
cmp dword [edi + 4], ecx
je 0x4ba8ef
fld dword [esp + 0x28]
fsub dword [esp + 0x60]
fld dword [ebp + 0xc]
fsub dword [esp + 0x40]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4ba8ef
mov eax, dword [esp + 0x14]
fld dword [edi + 0x18]
mov dword [eax], edi
fstp dword [esp + 0xc]
push 0x24
mov dword [esp + 0x14], ecx
mov dword [edi], ecx
mov dword [esp + 0x18], edi
call fcn.00538281
test eax, eax
pop ecx
je 0x4ba8c1
mov ecx, dword [ebx + 4]
fld dword [esp + 0x40]
push ecx
fstp dword [esp + 0x5c]
fld dword [esp + 0x10]
lea ecx, [esp + 0x5c]
push ecx
fstp dword [esp + 0x64]
mov edi, eax
call fcn.00577256
jmp 0x4ba8c3
xor eax, eax
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004c3ff3
mov edi, dword [esp + 0x10]
fld dword [edi + 0x10]
push ecx
push ecx
fstp dword [esp + 4]
lea eax, [esp + 0x28]
fld dword [edi + 0xc]
fstp dword [esp]
call fcn.00497bdb
jmp 0x4ba83c
mov ecx, dword [ebx + 4]
mov eax, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], ecx
call fcn.004c3ee2
test eax, eax
mov dword [esp + 0xc], eax
je 0x4baa6a
mov eax, dword [esp + 0x10]
mov esi, dword [ebx + 8]
add esi, eax
cmp eax, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], eax
ja 0x4baa28
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
lea ecx, [esp + 0x78]
push eax
push dword [esp + 0x10]
call fcn.005620f0
fadd dword [edi + 0x14]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 0x41
jp 0x4ba956
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
jmp 0x4baa1a
fld dword [ebp + 0xc]
push 0x1c
fstp dword [esp + 0x2c]
call fcn.00538281
test eax, eax
pop ecx
je 0x4ba981
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x10]
push ecx
push dword [esp + 0x14]
lea ecx, [esp + 0x28]
call fcn.0057722b
jmp 0x4ba983
xor eax, eax
mov esi, eax
call fcn.00577297
fld dword [edi + 0x18]
mov eax, dword [esp + 0x14]
fstp dword [esp + 0xc]
and dword [esp + 0x10], 0
mov dword [eax], edi
and dword [edi], 0
push 0x24
mov dword [esp + 0x18], edi
call fcn.00538281
test eax, eax
pop ecx
je 0x4ba9d1
fld dword [esp + 0x40]
push dword [esp + 0x1c]
fstp dword [esp + 0x74]
lea ecx, [esp + 0x74]
fld dword [esp + 0x10]
push ecx
mov edi, eax
fstp dword [esp + 0x7c]
call fcn.00577256
jmp 0x4ba9d3
xor eax, eax
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004c3ff3
mov edi, dword [esp + 0x10]
fld dword [edi + 0x10]
push ecx
push ecx
fstp dword [esp + 4]
lea eax, [esp + 0x28]
fld dword [edi + 0xc]
fstp dword [esp]
call fcn.00497bdb
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], ecx
call fcn.004c3ee2
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], eax
inc dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jbe 0x4ba926
sub esi, dword [esp + 0x10]
lea ecx, [esp + 0x78]
push esi
push dword [esp + 0x10]
call fcn.005620f0
fadd dword [esp + 0x20]
push 0x1c
fstp dword [esp + 0x2c]
call fcn.00538281
test eax, eax
pop ecx
je 0x4baa5e
push esi
push dword [esp + 0x14]
lea ecx, [esp + 0x28]
call fcn.0057722b
jmp 0x4baa60
xor eax, eax
mov esi, eax
call fcn.00577297
mov esi, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4ba721
fldz
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
fst dword [esi]
fst dword [esi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x50]
fst dword [esi + 8]
and dword [edi], ebx
fstp dword [esi + 0xc]
mov edi, dword [eax]
mov dword [esp + 0xc], edi
jmp 0x4baacb
mov ecx, esi
call fcn.00497a1d
test al, al
je 0x4baab5
lea esi, [edi + 0xc]
mov edi, dword [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x30]
jmp 0x4baabe
lea eax, [edi + 0xc]
push esi
call fcn.00497b39
lea ecx, [esp + 0xc]
call fcn.004ab9b1
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x4baa99
lea eax, [esp + 0x78]
call fcn.00561f7f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8