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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1cc
push ebx
push esi
push edi
xor esi, esi
push esi
mov ebx, ecx
mov ecx, dword [0xa47b7c]
push 2
mov dword [esp + 0x24], esi
call fcn.00532da0
fldz
cmp dword [ebx + 0x170], esi
fst qword [esp + 0x50]
fst qword [esp + 0x40]
fld st(0)
fxch st(1)
fst qword [esp + 0x38]
fld st(0)
fld st(1)
fld st(2)
fld st(3)
jle 0x548441
mov eax, dword [ebx + 0x170]
mov ecx, dword [ebx + 0x174]
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], eax
cmp dword [ecx + 0x18], esi
jle 0x548421
mov eax, dword [ecx]
mov edx, dword [ebx + 0x174]
and eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + edx + 0x18]
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
xor edi, edi
mov dword [esp + 0x28], edx
cmp dword [esp + 0x48], 0
je 0x54839b
mov eax, dword [ecx + 4]
add eax, esi
jmp 0x5483b9
mov eax, dword [ecx]
test al, al
jns 0x5483a8
mov eax, dword [ecx + 0x1c]
add eax, edi
jmp 0x5483b9
test al, 8
mov eax, dword [ecx + 0x1c]
je 0x5483b5
add eax, dword [esp + 0x2c]
jmp 0x5483b9
add eax, dword [esp + 0x24]
fld dword [eax]
add dword [esp + 0x2c], 0x58
fmul st(0), st(0)
add dword [esp + 0x24], 0x40
add esi, 0x20
add edi, 0x80
sub dword [esp + 0x28], 1
faddp st(3)
fld dword [eax + 4]
fmul st(0), st(0)
faddp st(6)
fld dword [eax + 8]
fmul st(0), st(0)
fadd qword [esp + 0x50]
fstp qword [esp + 0x50]
fld dword [eax]
fmul dword [eax + 4]
faddp st(4)
fld dword [eax]
fmul dword [eax + 8]
fadd qword [esp + 0x38]
fstp qword [esp + 0x38]
fld dword [eax + 4]
fmul dword [eax + 8]
fadd qword [esp + 0x40]
fstp qword [esp + 0x40]
fld dword [eax]
faddp st(5)
fadd dword [eax + 4]
fld dword [eax + 8]
faddp st(2)
jne 0x54838d
xor esi, esi
mov eax, dword [ecx + 0x18]
add dword [esp + 0x1c], eax
add dword [esp + 0x20], 0x84
add ecx, 0x84
sub dword [esp + 0x30], 1
jne 0x54835f
fild dword [esp + 0x1c]
lea ecx, [esp + 0xe8]
fld1
push ecx
fdivrp st(1)
mov ecx, dword [0xa47b7c]
lea edx, [esp + 0x1c4]
push edx
lea eax, [esp + 0x138]
push eax
fld st(0)
fmulp st(6)
fld st(0)
fmulp st(2)
fld st(0)
fmulp st(3)
fld st(0)
fmulp st(5)
fld st(1)
fmul st(6)
fsubp st(5)
fxch st(4)
fstp qword [esp + 0xa4]
fld st(3)
fmul qword [esp + 0x44]
fld st(2)
fmul st(6)
fsubp st(1)
fstp qword [esp + 0x44]
fld st(3)
fmul qword [esp + 0x4c]
fld st(2)
fmul st(2)
fsubp st(1)
fld st(4)
fmulp st(4)
fld st(5)
fmulp st(6)
fxch st(3)
fsubrp st(5)
fxch st(4)
fstp qword [esp + 0x13c]
fld qword [esp + 0xa4]
fst qword [esp + 0x144]
fld qword [esp + 0x44]
fst qword [esp + 0x14c]
fxch st(1)
fstp qword [esp + 0x154]
fld st(3)
fmulp st(6)
fld st(4)
fmulp st(5)
fxch st(5)
fsubrp st(4)
fxch st(3)
fstp qword [esp + 0x15c]
fst qword [esp + 0x164]
fstp qword [esp + 0x174]
fxch st(2)
fstp qword [esp + 0x16c]
fxch st(1)
fmul qword [esp + 0x5c]
fld st(1)
fmulp st(2)
fsubrp st(1)
fstp qword [esp + 0x17c]
call fcn.00532ef0
fld qword [esp + 0xe8]
fstp dword [esp + 0x58]
fld qword [esp + 0x100]
fstp dword [esp + 0x5c]
fld qword [esp + 0x118]
fstp dword [esp + 0x60]
fldz
fst dword [esp + 0x64]
fld qword [esp + 0xf0]
fstp dword [esp + 0x68]
fld qword [esp + 0x108]
fstp dword [esp + 0x6c]
fld qword [esp + 0x120]
fstp dword [esp + 0x70]
fst dword [esp + 0x74]
push 0x40
fld qword [esp + 0xfc]
lea ecx, [esp + 0x180]
fstp dword [esp + 0x7c]
push esi
fld qword [esp + 0x118]
push ecx
fstp dword [esp + 0x88]
fld qword [esp + 0x134]
fstp dword [esp + 0x8c]
fst dword [esp + 0x90]
fst dword [esp + 0x94]
fst dword [esp + 0x98]
fstp dword [esp + 0x9c]
fld1
fstp dword [esp + 0xa0]
call fcn.0058ac30
add esp, 0xc
mov dword [esp + 0x178], 1
mov ecx, 0x10
lea esi, [esp + 0x58]
lea edi, [esp + 0x17c]
lea edx, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
push edx
lea ecx, [esp + 0x17c]
call fcn.00532a60
xor esi, esi
cmp dword [ebx + 0x170], esi
fld qword [0x638920]
fld st(0)
fst qword [esp + 0xa0]
fld st(1)
fst qword [esp + 0x30]
fxch st(2)
fstp qword [esp + 0x38]
fld qword [0x638918]
fst qword [esp + 0x40]
fst qword [esp + 0x50]
fst qword [esp + 0x48]
fldz
fstp qword [esp + 0x98]
jle 0x5487d9
mov eax, dword [ebx + 0x170]
mov ecx, dword [ebx + 0x174]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
cmp dword [ecx + 0x18], esi
jle 0x5487a5
mov eax, dword [ecx]
mov edx, dword [ebx + 0x174]
and eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov edx, dword [edx + eax + 0x18]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
xor edi, edi
mov dword [esp + 0x30], edx
cmp dword [esp + 0x48], 0
je 0x54868d
mov eax, dword [ecx + 4]
add eax, esi
jmp 0x5486ab
mov eax, dword [ecx]
test al, al
jns 0x54869a
mov eax, dword [ecx + 0x1c]
add eax, edi
jmp 0x5486ab
test al, 8
mov eax, dword [ecx + 0x1c]
je 0x5486a7
add eax, dword [esp + 0x1c]
jmp 0x5486ab
add eax, dword [esp + 0x20]
fld dword [esp + 0xb8]
fmul dword [eax + 4]
fld dword [esp + 0xc8]
fmul dword [eax + 8]
faddp st(1)
fld dword [eax]
fmul dword [esp + 0xa8]
faddp st(1)
fadd dword [esp + 0xd8]
fld dword [esp + 0xbc]
fmul dword [eax + 4]
fld dword [eax]
fmul dword [esp + 0xac]
faddp st(1)
fld dword [esp + 0xcc]
fmul dword [eax + 8]
faddp st(1)
fadd dword [esp + 0xdc]
fld dword [esp + 0xc0]
fmul dword [eax + 4]
fld dword [eax]
fmul dword [esp + 0xb0]
faddp st(1)
fld dword [esp + 0xd0]
fmul dword [eax + 8]
faddp st(1)
fadd dword [esp + 0xe0]
fxch st(2)
fcom qword [esp + 0x38]
fnstsw ax
test ah, 5
jp 0x548736
fstp qword [esp + 0x38]
jmp 0x548745
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x548743
fstp st(3)
jmp 0x548745
fstp st(0)
fcom st(4)
fnstsw ax
test ah, 5
jp 0x548752
fstp st(4)
jmp 0x548765
fcom qword [esp + 0x50]
fnstsw ax
test ah, 0x41
jne 0x548763
fstp qword [esp + 0x50]
jmp 0x548765
fstp st(0)
fcom st(2)
fnstsw ax
test ah, 5
jp 0x548772
fstp st(2)
jmp 0x548785
fcom qword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x548783
fstp qword [esp + 0x40]
jmp 0x548785
fstp st(0)
add dword [esp + 0x1c], 0x58
add dword [esp + 0x20], 0x40
add esi, 0x20
add edi, 0x80
sub dword [esp + 0x30], 1
jne 0x54867f
xor esi, esi
add dword [esp + 0x24], 0x84
add ecx, 0x84
sub dword [esp + 0x28], 1
jne 0x548651
fxch st(1)
fst qword [esp + 0xa0]
fxch st(2)
fst qword [esp + 0x30]
fxch st(1)
fst qword [esp + 0x48]
fxch st(1)
fxch st(2)
fxch st(1)
fst dword [esp + 0x20]
fxch st(2)
fst dword [esp + 0x1c]
fxch st(1)
fst dword [esp + 0x28]
fst dword [esp + 0x14]
fld dword [esp + 0x78]
fmul st(1)
fld st(2)
fld dword [esp + 0x68]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fld st(4)
fld dword [esp + 0x58]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fstp dword [ebx + 8]
fxch st(2)
fmul dword [esp + 0x7c]
fld st(3)
fld dword [esp + 0x6c]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fld st(5)
fld dword [esp + 0x5c]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fstp dword [ebx + 0xc]
fld dword [esp + 0x14]
fmul dword [esp + 0x80]
fld dword [esp + 0x70]
fmul st(6), st(0)
fxch st(1)
faddp st(6)
fld dword [esp + 0x60]
fmul st(7), st(0)
fxch st(6)
faddp st(7)
fxch st(6)
fstp dword [ebx + 0x10]
fld dword [esp + 0x20]
fstp dword [esp + 0xc]
fld dword [esp + 0x1c]
fstp dword [esp + 0x10]
fld qword [esp + 0x40]
fst dword [esp + 0x24]
fst dword [esp + 0x14]
fmul dword [esp + 0x78]
fld dword [esp + 0x10]
fmul st(4)
faddp st(1)
fld dword [esp + 0xc]
fmul st(5)
faddp st(1)
fstp dword [ebx + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
fld dword [esp + 0x10]
fmul st(3)
faddp st(1)
fld dword [esp + 0xc]
fmul st(2)
faddp st(1)
fstp dword [ebx + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x80]
fld dword [esp + 0x10]
fmul st(7)
faddp st(1)
fld dword [esp + 0xc]
fmul st(6)
faddp st(1)
fstp dword [ebx + 0x1c]
fld qword [esp + 0x38]
fst dword [esp + 0x2c]
fstp dword [esp + 0xc]
fld dword [esp + 0x1c]
fst dword [esp + 0x10]
fld dword [esp + 0x24]
fst dword [esp + 0x14]
fmul dword [esp + 0x78]
fxch st(1)
fmul st(4)
faddp st(1)
fld dword [esp + 0xc]
fmul st(5)
faddp st(1)
fstp dword [ebx + 0x20]
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
fld dword [esp + 0x10]
fmul st(3)
faddp st(1)
fld dword [esp + 0xc]
fmul st(2)
faddp st(1)
fstp dword [ebx + 0x24]
fld dword [esp + 0x14]
fmul dword [esp + 0x80]
fld dword [esp + 0x10]
fmul st(7)
faddp st(1)
fld dword [esp + 0xc]
fmul st(6)
faddp st(1)
fstp dword [ebx + 0x28]
fld dword [esp + 0x2c]
fstp dword [esp + 0xc]
fld dword [esp + 0x1c]
fst dword [esp + 0x10]
fld dword [esp + 0x28]
fst dword [esp + 0x14]
fmul dword [esp + 0x78]
fxch st(1)
fmul st(4)
faddp st(1)
fld dword [esp + 0xc]
fmul st(5)
faddp st(1)
fstp dword [ebx + 0x2c]
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
fld dword [esp + 0x10]
fmul st(3)
faddp st(1)
fld dword [esp + 0xc]
fmul st(2)
faddp st(1)
fstp dword [ebx + 0x30]
fld dword [esp + 0x14]
fmul dword [esp + 0x80]
fld dword [esp + 0x10]
fmul st(7)
faddp st(1)
fld dword [esp + 0xc]
fmul st(6)
faddp st(1)
fstp dword [ebx + 0x34]
fld dword [esp + 0x20]
fstp dword [esp + 0xc]
fld qword [esp + 0x50]
fst dword [esp + 0x1c]
fst dword [esp + 0x10]
fld dword [esp + 0x28]
fst dword [esp + 0x14]
fmul dword [esp + 0x78]
fxch st(1)
fmul st(4)
faddp st(1)
fld dword [esp + 0xc]
fmul st(5)
faddp st(1)
fstp dword [ebx + 0x38]
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
fld dword [esp + 0x10]
fmul st(3)
faddp st(1)
fld dword [esp + 0xc]
fmul st(2)
faddp st(1)
fstp dword [ebx + 0x3c]
fld dword [esp + 0x14]
fmul dword [esp + 0x80]
fld dword [esp + 0x10]
fmul st(7)
faddp st(1)
fld dword [esp + 0xc]
fmul st(6)
faddp st(1)
fstp dword [ebx + 0x40]
fld dword [esp + 0x20]
fstp dword [esp + 0xc]
fld dword [esp + 0x1c]
fst dword [esp + 0x10]
fld dword [esp + 0x24]
fst dword [esp + 0x14]
fmul dword [esp + 0x78]
fxch st(1)
fmul st(4)
faddp st(1)
fld dword [esp + 0xc]
fmul st(5)
faddp st(1)
fstp dword [ebx + 0x44]
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
fld dword [esp + 0x10]
fmul st(3)
faddp st(1)
fld dword [esp + 0xc]
fmul st(2)
faddp st(1)
fstp dword [ebx + 0x48]
fld dword [esp + 0x14]
fmul dword [esp + 0x80]
fld dword [esp + 0x10]
fmul st(7)
faddp st(1)
fld dword [esp + 0xc]
fmul st(6)
faddp st(1)
fstp dword [ebx + 0x4c]
fld dword [esp + 0x2c]
fstp dword [esp + 0xc]
fld dword [esp + 0x1c]
fst dword [esp + 0x10]
fld dword [esp + 0x24]
fst dword [esp + 0x14]
fmul dword [esp + 0x78]
fxch st(1)
fmul st(4)
faddp st(1)
fld dword [esp + 0xc]
fmul st(5)
faddp st(1)
fstp dword [ebx + 0x50]
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
fld dword [esp + 0x10]
fmul st(3)
faddp st(1)
fld dword [esp + 0xc]
fmul st(2)
faddp st(1)
fstp dword [ebx + 0x54]
fld dword [esp + 0x14]
fmul dword [esp + 0x80]
fld dword [esp + 0x10]
fmul st(7)
faddp st(1)
fld dword [esp + 0xc]
fmul st(6)
faddp st(1)
fstp dword [ebx + 0x58]
fld dword [esp + 0x2c]
fstp dword [esp + 0xc]
fld dword [esp + 0x1c]
fst dword [esp + 0x10]
cmp byte [ebp + 8], 0
fld dword [esp + 0x28]
fst dword [esp + 0x14]
fmul dword [esp + 0x78]
fxch st(1)
fmul st(4)
faddp st(1)
fld dword [esp + 0xc]
fmul st(5)
faddp st(1)
fstp dword [ebx + 0x5c]
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
fld dword [esp + 0x10]
fmul st(3)
faddp st(1)
fld dword [esp + 0xc]
fmul st(2)
faddp st(1)
fstp dword [ebx + 0x60]
fld dword [esp + 0x14]
fmul dword [esp + 0x80]
fld dword [esp + 0x10]
fmul st(7)
faddp st(1)
fld dword [esp + 0xc]
fmul st(6)
faddp st(1)
fstp dword [ebx + 0x64]
je 0x548c9d
fld qword [esp + 0x48]
fadd qword [esp + 0x38]
fld dword [0x5ad750]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0xc]
fld qword [esp + 0x50]
fadd qword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x10]
fld qword [esp + 0x40]
fadd qword [esp + 0xa0]
fmulp st(1)
fst dword [esp + 0x14]
fmul dword [esp + 0x78]
fld dword [esp + 0x10]
fmulp st(4)
faddp st(3)
fld dword [esp + 0xc]
fld st(0)
fmulp st(5)
fxch st(3)
faddp st(4)
fxch st(3)
fstp dword [ebx + 0xc8]
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
fld dword [esp + 0x10]
fld st(0)
fmulp st(3)
fxch st(1)
faddp st(2)
fld st(2)
fmulp st(4)
fxch st(1)
faddp st(3)
fxch st(2)
fstp dword [ebx + 0xcc]
fld dword [esp + 0x14]
fmul dword [esp + 0x80]
fxch st(2)
fmulp st(4)
fxch st(1)
faddp st(3)
fmulp st(1)
faddp st(1)
fstp dword [ebx + 0xd0]
mov eax, dword [ebx + 0x15c]
cmp eax, esi
je 0x548c77
fld dword [eax + 0xec]
fmul dword [ebx + 0xd0]
fld dword [eax + 0xdc]
fmul dword [ebx + 0xcc]
faddp st(1)
fld dword [ebx + 0xc8]
fmul dword [eax + 0xcc]
faddp st(1)
fadd dword [eax + 0xfc]
fstp dword [ebx + 0xd4]
fld dword [eax + 0xd0]
fmul dword [ebx + 0xc8]
fld dword [eax + 0xf0]
fmul dword [ebx + 0xd0]
faddp st(1)
fld dword [eax + 0xe0]
fmul dword [ebx + 0xcc]
faddp st(1)
fadd dword [eax + 0x100]
fstp dword [ebx + 0xd8]
fld dword [eax + 0xd4]
fmul dword [ebx + 0xc8]
fld dword [eax + 0xf4]
fmul dword [ebx + 0xd0]
faddp st(1)
fld dword [eax + 0xe4]
fmul dword [ebx + 0xcc]
faddp st(1)
fadd dword [eax + 0x104]
fstp dword [ebx + 0xdc]
jmp 0x548ca9
mov eax, dword [ebx + 0xc8]
mov ecx, dword [ebx + 0xcc]
mov edx, dword [ebx + 0xd0]
mov dword [ebx + 0xd4], eax
mov dword [ebx + 0xd8], ecx
mov dword [ebx + 0xdc], edx
jmp 0x548ca9
fstp st(3)
fstp st(2)
fstp st(2)
fstp st(1)
fstp st(0)
fstp st(0)
cmp dword [ebx + 0x170], esi
fld qword [esp + 0x98]
jle 0x548d96
mov eax, dword [ebx + 0x170]
mov ecx, dword [ebx + 0x174]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
cmp dword [ecx + 0x18], esi
jle 0x548d7d
mov eax, dword [ecx]
mov edx, dword [ebx + 0x174]
and eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov edx, dword [edx + eax + 0x18]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], esi
xor edi, edi
mov dword [esp + 0x30], edx
cmp dword [esp + 0x48], 0
je 0x548d0c
mov eax, dword [ecx + 4]
add eax, esi
jmp 0x548d2a
mov eax, dword [ecx]
test al, al
jns 0x548d19
mov eax, dword [ecx + 0x1c]
add eax, edi
jmp 0x548d2a
test al, 8
mov eax, dword [ecx + 0x1c]
je 0x548d26
add eax, dword [esp + 0x28]
jmp 0x548d2a
add eax, dword [esp + 0x1c]
fld dword [ebx + 0xc8]
fsub dword [eax]
fld dword [ebx + 0xcc]
fsub dword [eax + 4]
fld dword [ebx + 0xd0]
fsub dword [eax + 8]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fld st(1)
fmulp st(2)
faddp st(1)
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x548d5f
fstp st(1)
jmp 0x548d61
fstp st(0)
add dword [esp + 0x28], 0x58
add dword [esp + 0x1c], 0x40
add esi, 0x20
add edi, 0x80
sub dword [esp + 0x30], 1
jne 0x548cfe
xor esi, esi
add dword [esp + 0x20], 0x84
add ecx, 0x84
sub dword [esp + 0x24], 1
jne 0x548cd0
fsqrt
push esi
push 1
fstp dword [ebx + 4]
mov ecx, dword [0xa47b7c]
call fcn.00532da0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4