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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
push ebx
push esi
push edi
mov esi, ecx
mov byte [0x911092], 1
call fcn.0057d0f0
mov eax, dword [esi + 0x1c]
fld dword [eax + 0x44]
add eax, 0x40
fld dword [eax + 8]
mov eax, dword [eax]
mov dword [esi + 0x170], eax
fxch st(1)
fstp dword [esi + 0x174]
xor ecx, ecx
mov dword [esi + 0x17c], ecx
fstp dword [esi + 0x178]
mov eax, dword [esi + 0x1c]
fld dword [eax + 0x44]
mov edx, dword [eax + 0x40]
fld dword [eax + 0x48]
mov dword [esi + 0x180], edx
mov dword [esi + 0x18c], ecx
fxch st(1)
fstp dword [esi + 0x184]
add eax, 0x40
lea edi, [esi + 0x170]
fstp dword [esi + 0x188]
mov eax, dword [esi + 0x1c]
fld dword [eax + 0x44]
add eax, 0x40
fld dword [eax + 8]
mov eax, dword [eax]
mov dword [esi + 0x190], eax
fxch st(1)
fstp dword [esi + 0x194]
mov dword [esi + 0x19c], ecx
lea ebx, [esi + 0x210]
fstp dword [esi + 0x198]
mov eax, dword [esi + 0x1c]
fld dword [eax + 0x44]
mov edx, dword [eax + 0x40]
fld dword [eax + 0x48]
mov dword [esi + 0x1a0], edx
mov dword [esi + 0x1ac], ecx
fxch st(1)
fstp dword [esi + 0x1a4]
add eax, 0x40
fstp dword [esi + 0x1a8]
mov eax, dword [esi + 0x1c]
fld dword [eax + 0x64]
add eax, 0x60
fld dword [eax + 8]
mov eax, dword [eax]
mov dword [ebx], eax
fxch st(1)
fstp dword [ebx + 4]
mov dword [ebx + 0xc], ecx
fstp dword [ebx + 8]
mov eax, dword [esi + 0x1c]
fld dword [eax + 0x64]
mov edx, dword [eax + 0x60]
fld dword [eax + 0x68]
add eax, 0x60
mov dword [esi + 0x220], edx
fxch st(1)
fstp dword [esi + 0x224]
mov dword [esi + 0x22c], ecx
fstp dword [esi + 0x228]
mov eax, dword [esi + 0x1c]
fld dword [eax + 0x64]
add eax, 0x60
fld dword [eax + 8]
mov eax, dword [eax]
fxch st(1)
mov dword [esi + 0x230], eax
fstp dword [esi + 0x234]
mov dword [esi + 0x23c], ecx
fstp dword [esi + 0x238]
mov eax, dword [esi + 0x1c]
add eax, 0x60
fld dword [eax + 4]
mov edx, dword [eax]
fld dword [eax + 8]
lea eax, [esp + 0x50]
fxch st(1)
mov dword [esi + 0x24c], ecx
fstp dword [esi + 0x244]
push eax
mov ecx, esi
fstp dword [esi + 0x248]
mov dword [esi + 0x240], edx
call fcn.00475170
test al, al
mov byte [esp + 0x1b], al
je 0x475780
mov edx, dword [esi + 0x1c]
fld dword [edx + 0x40]
lea ecx, [edx + 0x60]
fsub dword [ecx]
fld dword [edx + 0x44]
fsub dword [ecx + 4]
fstp dword [esp + 0x44]
fld dword [edx + 0x48]
fsub dword [ecx + 8]
fld st(1)
fmul st(2)
fld st(1)
fmul st(2)
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
faddp st(1)
fsqrt
fstp dword [esp + 0x1c]
fld dword [ecx]
fsub dword [esp + 0x50]
fstp dword [esp + 0x30]
fld dword [ecx + 4]
fsub dword [esp + 0x54]
fld dword [ecx + 8]
fsub dword [esp + 0x58]
fstp dword [esp + 0x38]
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fcom dword [0x890cd4]
fnstsw ax
test ah, 5
jp 0x47553c
fstp st(0)
fld dword [0x890cd4]
fdivr dword [0x89096c]
fld dword [esp + 0x30]
fmul st(1)
fxch st(2)
fmul st(1)
fstp dword [esp + 0x24]
fxch st(1)
fmul dword [0x894820]
fstp dword [esp + 0x20]
fstp st(0)
fld dword [esp + 0x24]
fmul dword [0x894820]
fstp dword [esp + 0x24]
fld dword [esp + 0x38]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x47557f
fld dword [esp + 0x38]
jmp 0x475581
fld st(0)
fld dword [0x8947b0]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x475598
fstp st(0)
fld dword [0x8947b0]
fadd dword [0x8910f0]
fld dword [esp + 0x20]
fadd dword [ecx]
fstp dword [esp + 0x30]
fld dword [esp + 0x24]
fadd dword [ecx + 4]
fstp dword [esp + 0x34]
fld st(0)
fadd dword [ecx + 8]
fstp dword [esp + 0x38]
fld dword [esp + 0x44]
fmul dword [esp + 0x24]
fxch st(2)
fmul st(1)
faddp st(2)
fld st(2)
fmul dword [esp + 0x20]
faddp st(2)
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fxch st(2)
fxch st(2)
fmul dword [esp + 0x1c]
fdivp st(2)
fstp st(0)
fcom dword [0x890968]
fnstsw ax
test ah, 5
jp 0x475756
fsubr dword [0x89096c]
fmul dword [0x894594]
fld st(1)
fmul dword [esp + 0x24]
fld dword [esp + 0x44]
fmul dword [esp + 0x20]
fsubp st(1)
fcomp dword [0x890968]
fnstsw ax
test ah, 5
jp 0x475634
fchs
fld dword [esp + 0x44]
push ecx
fmul st(1)
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
fchs
fxch st(2)
fmul st(1)
fstp dword [esp + 0x7c]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x28]
fmul st(1)
fchs
fstp dword [esp + 0x6c]
fxch st(1)
fadd dword [edx + 0x40]
fst dword [esp + 0x28]
fstp st(1)
fld dword [esp + 0x7c]
fadd dword [edx + 0x44]
mov edx, dword [edx + 0x48]
mov eax, edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x40]
fst dword [esp + 0x2c]
fxch st(1)
mov dword [esp + 0x80], eax
fstp dword [esp + 0x78]
mov eax, edx
mov dword [esp + 0x50], edx
fstp dword [esp + 0x7c]
mov dword [esp + 0x70], eax
fld dword [esp + 0x68]
fadd dword [esp + 0x38]
fst dword [esp + 0x48]
fld dword [esp + 0x6c]
fadd dword [esp + 0x3c]
fst dword [esp + 0x4c]
fxch st(1)
fstp dword [esp + 0x68]
fstp dword [esp + 0x6c]
call fcn.00468a90
test al, al
jne 0x47575a
mov edx, dword [esi + 0x1c]
add edx, 0x60
push edx
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.00468a90
test al, al
jne 0x47575a
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x180], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x184], edx
mov edx, dword [esp + 0x44]
mov dword [esi + 0x188], eax
xor eax, eax
mov dword [esi + 0x18c], eax
mov dword [esi + 0x190], ecx
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x194], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x198], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x19c], eax
mov dword [esi + 0x1a0], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x1a4], ecx
mov dword [esi + 0x1a8], edx
mov dword [esi + 0x1ac], eax
jmp 0x47575c
fstp st(0)
fstp st(0)
xor eax, eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esi + 0x240], ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x244], edx
mov dword [esi + 0x248], ecx
mov dword [esi + 0x24c], eax
mov dword [esi + 0x120], edi
mov dword [esi + 0x1c0], ebx
fld dword [esi + 0x1a0]
fsub dword [esi + 0x240]
fld dword [esi + 0x1a4]
fsub dword [esi + 0x244]
fld dword [esi + 0x1a8]
fsub dword [esi + 0x248]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fst dword [esp + 0x1c]
fcomp dword [0x89096c]
fnstsw ax
test ah, 5
jp 0x4757e1
mov dword [esp + 0x1c], 0x3f800000
mov edx, dword [esp + 0x1c]
push 0x40400000
push edx
call fcn.0045ded0
xor ebx, ebx
add esp, 8
shl eax, 1
cmp ax, bx
jbe 0x475898
movzx eax, ax
cmp eax, 0x3e8
jle 0x475891
cmp eax, 0x332c
mov ecx, eax
jle 0x47581c
mov ecx, 0x332c
mov eax, dword [esi + 0x1c]
movzx edx, word [eax + 0xc4]
mov dword [esp + 0x1c], edx
movzx ecx, cx
fild dword [esp + 0x1c]
lea eax, [esi + 0xd0]
mov dword [esp + 0x1c], ecx
fmul dword [0x894958]
fst dword [esi + 0xf8]
fst dword [esi + 0xf4]
fst dword [esi + 0xf0]
fst dword [esi + 0xe8]
fst dword [esi + 0xe4]
fst dword [esi + 0xe0]
fst dword [esi + 0xd8]
fst dword [esi + 0xd4]
fstp dword [eax]
fild dword [esp + 0x1c]
fmul dword [0x894958]
fst dword [esi + 0x108]
fst dword [esi + 0x104]
fstp dword [esi + 0x100]
jmp 0x4758fa
mov ecx, 0x3e8
jmp 0x47581c
mov edx, dword [esi + 0x1c]
movzx eax, word [edx + 0xc4]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0xd0]
fild dword [esp + 0x1c]
fmul dword [0x894958]
fst dword [esi + 0x108]
fst dword [esi + 0x104]
fst dword [esi + 0x100]
fst dword [esi + 0xf8]
fst dword [esi + 0xf4]
fst dword [esi + 0xf0]
fst dword [esi + 0xe8]
fst dword [esi + 0xe4]
fst dword [esi + 0xe0]
fst dword [esi + 0xd8]
fst dword [esi + 0xd4]
fstp dword [eax]
push 0x13
mov dword [esi + 0x10c], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0x80], eax
mov dword [esi + 0x27c], 0x3ed70a3d
mov word [esi + 0x282], 1
call fcn.0045da30
mov edi, eax
add edi, 0x1a
push 2
mov dword [esp + 0x24], edi
call fcn.0045da30
add esp, 8
test eax, eax
je 0x47594f
neg edi
mov dword [esp + 0x1c], edi
fild dword [esp + 0x1c]
fst dword [esi + 0x258]
fld dword [esi + 0x260]
fxch st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x475973
mov word [esi + 0x280], 2
fld dword [esi + 0x258]
mov dword [esi + 0x260], ebx
fld dword [0x890968]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x475997
mov word [esi + 0x280], 2
mov al, byte [esi + 0x284]
test al, al
jne 0x4759c3
cmp dword [0x911020], ebx
jne 0x4759c3
mov ecx, dword [esi + 0x1c]
mov dword [ecx + 0xb4], ebx
cmp dword [0x911020], ebx
jne 0x4759c3
mov edx, dword [esi + 0x1c]
mov dword [edx + 0xb8], ebx
mov al, byte [esp + 0x1b]
test al, al
jne 0x475a03
mov eax, dword [esi + 0x254]
mov eax, dword [eax + 0x94]
push eax
call fcn.00471a70
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x475a03
fld dword [ecx + 0x2b4]
fcomp dword [0x890d3c]
fnstsw ax
test ah, 5
jp 0x475a03
mov dword [ecx + 0x2b4], 0xbf800000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret