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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x164
push ebx
push esi
mov esi, ecx
fld dword [esi + 0x20]
mov eax, dword [esi + 0x20]
fsub dword [esi + 0xa0]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
lea ebx, [esi + 0x20]
fstp dword [esp + 0xec]
mov dword [esp + 0x5c], eax
fld dword [ebx + 4]
mov eax, dword [ebx + 0xc]
fsub dword [esi + 0xa4]
mov dword [esp + 0x64], edx
mov edx, dword [esi + 0xe4]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0xe8]
fstp dword [esp + 0xf0]
fld dword [ebx + 8]
mov dword [esp + 0x60], ecx
fsub dword [esi + 0xa8]
mov ecx, dword [esi + 0xe0]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov eax, dword [esi + 4]
fstp dword [esp + 0xf4]
fld dword [ebx + 0xc]
mov dword [esp + 0x9c], ecx
fsub dword [esi + 0xac]
mov ecx, dword [esi + 0xec]
mov edx, 3
cmp eax, edx
fstp dword [esp + 0xf8]
push edi
mov dword [esp + 0xe0], 4
mov dword [esp + 0xac], ecx
jl 0x523462
fld dword [ebx]
mov ecx, dword [ebx]
fsub dword [esi + 0xb0]
mov dword [esp + 0x70], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebx + 8]
fstp dword [esp + 0x100]
fld dword [ebx + 4]
mov dword [esp + 0x78], ecx
fsub dword [esi + 0xb4]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + 0xf0]
fstp dword [esp + 0x104]
mov dword [esp + 0xb0], ecx
fld dword [ebx + 8]
mov ecx, dword [esi + 0xf4]
fsub dword [esi + 0xb8]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esi + 0xf8]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esi + 0xfc]
fstp dword [esp + 0x108]
fld dword [ebx + 0xc]
mov dword [esp + 0xbc], ecx
fsub dword [esi + 0xbc]
mov ecx, dword [ebx]
mov dword [esp + 0x80], ecx
mov ecx, dword [ebx + 4]
fstp dword [esp + 0x10c]
mov dword [esp + 0x84], ecx
fld dword [ebx]
mov ecx, dword [ebx + 8]
fsub dword [esi + 0xc0]
mov dword [esp + 0x88], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esi + 0x100]
fstp dword [esp + 0x110]
fld dword [ebx + 4]
mov dword [esp + 0xc0], ecx
fsub dword [esi + 0xc4]
mov ecx, dword [esi + 0x104]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esi + 0x108]
fstp dword [esp + 0x114]
mov dword [esp + 0xc8], ecx
fld dword [ebx + 8]
mov ecx, dword [esi + 0x10c]
fsub dword [esi + 0xc8]
mov dword [esp + 0xcc], ecx
fstp dword [esp + 0x118]
fld dword [ebx + 0xc]
fsub dword [esi + 0xcc]
fstp dword [esp + 0x11c]
jle 0x5233ac
fld dword [ebx]
mov edx, dword [ebx]
fsub dword [esi + 0xd0]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x90], edx
mov edx, dword [ebx + 0xc]
fstp dword [esp + 0x120]
fld dword [ebx + 4]
mov dword [esp + 0x94], eax
fsub dword [esi + 0xd4]
mov eax, dword [esi + 0x110]
mov dword [esp + 0x98], ecx
mov ecx, dword [esi + 0x114]
fstp dword [esp + 0x124]
mov dword [esp + 0x9c], edx
fld dword [ebx + 8]
mov edx, dword [esi + 0x118]
fsub dword [esi + 0xd8]
mov dword [esp + 0xd0], eax
mov eax, dword [esi + 0x11c]
mov dword [esp + 0xd4], ecx
fstp dword [esp + 0x128]
mov dword [esp + 0xd8], edx
fld dword [ebx + 0xc]
mov dword [esp + 0xdc], eax
fsub dword [esi + 0xdc]
fstp dword [esp + 0x12c]
jmp 0x5236eb
cmp dword [esi], 1
jle 0x523456
fld dword [esi + 0x30]
mov ecx, dword [esi + 0x30]
fsub dword [esi + 0xa0]
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x90], ecx
mov ecx, dword [esi + 0x3c]
fstp dword [esp + 0x120]
fld dword [esi + 0x34]
mov dword [esp + 0x94], edx
fsub dword [esi + 0xa4]
mov edx, dword [esi + 0xe0]
mov dword [esp + 0x98], eax
mov eax, dword [esi + 0xe4]
fstp dword [esp + 0x124]
mov dword [esp + 0x9c], ecx
fld dword [esi + 0x38]
mov ecx, dword [esi + 0xe8]
fsub dword [esi + 0xa8]
mov dword [esp + 0xd0], edx
mov edx, dword [esi + 0xec]
mov dword [esp + 0xd4], eax
fstp dword [esp + 0x128]
mov dword [esp + 0xd8], ecx
fld dword [esi + 0x3c]
mov dword [esp + 0xdc], edx
fsub dword [esi + 0xac]
fstp dword [esp + 0x12c]
jmp 0x5236eb
mov dword [esp + 0xe0], edx
jmp 0x5236eb
mov ecx, dword [esi]
cmp ecx, edx
jl 0x5236e0
fld dword [esi + 0x30]
mov edi, dword [esi + 0x30]
fsub dword [esi + 0xa0]
mov dword [esp + 0x70], edi
mov edi, dword [esi + 0x34]
mov dword [esp + 0x74], edi
mov edi, dword [esi + 0x38]
fstp dword [esp + 0x100]
fld dword [esi + 0x34]
mov dword [esp + 0x78], edi
fsub dword [esi + 0xa4]
mov edi, dword [esi + 0x3c]
mov dword [esp + 0x7c], edi
mov edi, dword [esi + 0xe0]
fstp dword [esp + 0x104]
mov dword [esp + 0xb0], edi
fld dword [esi + 0x38]
mov edi, dword [esi + 0xe4]
fsub dword [esi + 0xa8]
mov dword [esp + 0xb4], edi
mov edi, dword [esi + 0xe8]
mov dword [esp + 0xb8], edi
mov edi, dword [esi + 0xec]
fstp dword [esp + 0x108]
fld dword [esi + 0x3c]
mov dword [esp + 0xbc], edi
fsub dword [esi + 0xac]
mov edi, dword [esi + 0x40]
mov dword [esp + 0x80], edi
mov edi, dword [esi + 0x44]
fstp dword [esp + 0x10c]
mov dword [esp + 0x84], edi
fld dword [esi + 0x40]
mov edi, dword [esi + 0x48]
fsub dword [esi + 0xa0]
mov dword [esp + 0x88], edi
mov edi, dword [esi + 0x4c]
mov dword [esp + 0x8c], edi
mov edi, dword [esi + 0xe0]
fstp dword [esp + 0x110]
fld dword [esi + 0x44]
mov dword [esp + 0xc0], edi
fsub dword [esi + 0xa4]
mov edi, dword [esi + 0xe4]
mov dword [esp + 0xc4], edi
mov edi, dword [esi + 0xe8]
fstp dword [esp + 0x114]
mov dword [esp + 0xc8], edi
fld dword [esi + 0x48]
mov edi, dword [esi + 0xec]
fsub dword [esi + 0xa8]
mov dword [esp + 0xcc], edi
fstp dword [esp + 0x118]
fld dword [esi + 0x4c]
fsub dword [esi + 0xac]
fstp dword [esp + 0x11c]
jle 0x52363b
fld dword [esi + 0x50]
mov eax, dword [esi + 0x50]
fsub dword [esi + 0xa0]
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x58]
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x5c]
fstp dword [esp + 0x120]
fld dword [esi + 0x54]
mov dword [esp + 0x94], ecx
fsub dword [esi + 0xa4]
mov ecx, dword [esi + 0xe0]
mov dword [esp + 0x98], edx
mov edx, dword [esi + 0xe4]
fstp dword [esp + 0x124]
mov dword [esp + 0x9c], eax
fld dword [esi + 0x58]
mov eax, dword [esi + 0xe8]
fsub dword [esi + 0xa8]
mov dword [esp + 0xd0], ecx
mov ecx, edi
mov dword [esp + 0xd4], edx
fstp dword [esp + 0x128]
mov dword [esp + 0xd8], eax
fld dword [esi + 0x5c]
mov dword [esp + 0xdc], ecx
fsub dword [esi + 0xac]
fstp dword [esp + 0x12c]
jmp 0x5236eb
cmp eax, 1
jle 0x523456
fld dword [ebx]
mov edx, dword [ebx]
fsub dword [esi + 0xb0]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x90], edx
mov edx, dword [ebx + 0xc]
fstp dword [esp + 0x120]
fld dword [ebx + 4]
mov dword [esp + 0x94], eax
fsub dword [esi + 0xb4]
mov eax, dword [esi + 0xf0]
mov dword [esp + 0x98], ecx
mov ecx, dword [esi + 0xf4]
fstp dword [esp + 0x124]
mov dword [esp + 0x9c], edx
fld dword [ebx + 8]
mov edx, dword [esi + 0xf8]
fsub dword [esi + 0xb8]
mov dword [esp + 0xd0], eax
mov eax, dword [esi + 0xfc]
mov dword [esp + 0xd4], ecx
fstp dword [esp + 0x128]
mov dword [esp + 0xd8], edx
fld dword [ebx + 0xc]
mov dword [esp + 0xdc], eax
fsub dword [esi + 0xbc]
fstp dword [esp + 0x12c]
jmp 0x5236eb
mov dword [esp + 0xe0], 1
mov edi, dword [ebp + 0x10]
lea ecx, [esp + 0x140]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0xf4]
push edx
mov edx, dword [ebp + 8]
lea eax, [esp + 0x68]
push eax
push edi
push ecx
push edx
call fcn.00533ea0
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x78]
mov dword [ebx], eax
mov eax, dword [esp + 0x84]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x90]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x94]
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x98]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x9c]
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esi + 0x40], edx
mov edx, dword [esp + 0xa4]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0xb8]
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esi + 0x4c], edx
mov edx, dword [esp + 0xc0]
mov dword [esi + 0xe0], eax
mov eax, dword [esp + 0xc4]
mov dword [esi + 0xe4], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esi + 0xec], eax
mov eax, dword [esp + 0xd0]
mov dword [esi + 0xe8], edx
mov edx, dword [esp + 0xcc]
mov dword [esi + 0xf0], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esi + 0xf8], eax
mov eax, dword [esp + 0xdc]
mov dword [esi + 0xf4], edx
mov edx, dword [esp + 0xd8]
mov dword [esi + 0xfc], ecx
mov ecx, dword [esp + 0xe0]
mov dword [esi + 0x104], eax
mov eax, dword [esp + 0xf8]
mov dword [esi + 0x100], edx
mov edx, dword [esp + 0xe4]
add esp, 0x18
cmp eax, 1
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], edx
jne 0x523869
xor eax, eax
mov dword [esi + 0x124], eax
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x120], 0x3f800000
mov dword [esi + 4], 1
mov dword [esi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esi + 0x40]
lea ecx, [esi + 0x30]
mov dword [esi + 4], 3
mov dword [esi], 3
call fcn.00522010
test eax, eax
je 0x523893
lea eax, [esi + 0x40]
mov ecx, ebx
call fcn.00522010
test eax, eax
jne 0x523899
mov dword [esi], 2
lea eax, [esi + 0x30]
mov ecx, ebx
call fcn.00522010
test eax, eax
jne 0x5238cb
mov eax, dword [esi]
dec eax
mov dword [esi], eax
add eax, 2
shl eax, 4
mov ecx, dword [eax + esi]
add eax, esi
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0xc], edx
lea eax, [esi + 0x100]
lea ecx, [esi + 0xf0]
call fcn.00522010
test eax, eax
je 0x5238f5
lea eax, [esi + 0x100]
lea ecx, [esi + 0xe0]
call fcn.00522010
test eax, eax
jne 0x5238f8
dec dword [esi + 4]
mov eax, dword [esi + 4]
cmp eax, 2
mov dword [esp + 0x34], eax
jl 0x52394d
lea eax, [esi + 0xf0]
lea ecx, [esi + 0xe0]
call fcn.00522010
test eax, eax
jne 0x52394d
mov eax, dword [esp + 0x34]
dec eax
mov dword [esi + 4], eax
add eax, 0xe
shl eax, 4
mov ecx, dword [eax + esi]
add eax, esi
mov dword [esi + 0xe0], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0xe4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0xe8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xec], edx
mov edx, dword [esi + 4]
dec edx
mov dword [esp + 0x3c], edx
inc edx
cmp edx, 4
lea ecx, [esi + 0xa0]
mov dword [esp + 0x38], ecx
lea eax, [esi + 0xe0]
jl 0x523afc
add ecx, 0x18
shr edx, 2
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], edx
neg edx
lea edx, [ecx + edx*4]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], edx
mov edi, edi
fld dword [eax]
mov edx, dword [esp + 0x38]
fld dword [eax + 4]
fld dword [eax + 8]
fld st(0)
fmul dword [edi + 0x20]
fld st(2)
fmul dword [edi + 0x10]
faddp st(1)
fld st(3)
fmul dword [edi]
faddp st(1)
fadd dword [edi + 0x30]
fstp dword [edx]
xor edx, edx
fld st(0)
fmul dword [edi + 0x24]
fld st(2)
fmul dword [edi + 0x14]
faddp st(1)
fld st(3)
fmul dword [edi + 4]
faddp st(1)
fadd dword [edi + 0x34]
fstp dword [ecx - 0x14]
fmul dword [edi + 0x28]
fxch st(1)
fmul dword [edi + 0x18]
faddp st(1)
fxch st(1)
fmul dword [edi + 8]
faddp st(1)
fadd dword [edi + 0x38]
fstp dword [ecx - 0x10]
mov dword [ecx - 0xc], edx
fld dword [eax + 0x10]
fld dword [eax + 0x14]
fld dword [eax + 0x18]
fld st(0)
fmul dword [edi + 0x20]
fld st(2)
fmul dword [edi + 0x10]
faddp st(1)
fld st(3)
fmul dword [edi]
faddp st(1)
fadd dword [edi + 0x30]
fstp dword [ecx - 8]
fld st(0)
fmul dword [edi + 0x24]
fld st(2)
fmul dword [edi + 0x14]
faddp st(1)
fld st(3)
fmul dword [edi + 4]
faddp st(1)
fadd dword [edi + 0x34]
fstp dword [ecx - 4]
fmul dword [edi + 0x28]
fxch st(1)
fmul dword [edi + 0x18]
faddp st(1)
fxch st(1)
fmul dword [edi + 8]
faddp st(1)
fadd dword [edi + 0x38]
fstp dword [ecx]
mov dword [ecx + 4], edx
fld dword [eax + 0x20]
fld dword [eax + 0x24]
fld dword [eax + 0x28]
fld st(0)
fmul dword [edi + 0x20]
fld st(2)
fmul dword [edi + 0x10]
faddp st(1)
fld st(3)
fmul dword [edi]
faddp st(1)
fadd dword [edi + 0x30]
fstp dword [ecx + 8]
fld st(0)
add ecx, 0x40
fmul dword [edi + 0x24]
add eax, 0x40
fld st(2)
fmul dword [edi + 0x14]
faddp st(1)
fld st(3)
fmul dword [edi + 4]
faddp st(1)
fadd dword [edi + 0x34]
fstp dword [ecx - 0x34]
fmul dword [edi + 0x28]
fxch st(1)
fmul dword [edi + 0x18]
faddp st(1)
fxch st(1)
fmul dword [edi + 8]
faddp st(1)
fadd dword [edi + 0x38]
fstp dword [ecx - 0x30]
mov dword [ecx - 0x2c], edx
fld dword [eax - 0x10]
fld dword [eax - 0xc]
fld dword [eax - 8]
fld st(0)
fmul dword [edi + 0x20]
fld st(2)
fmul dword [edi + 0x10]
faddp st(1)
fld st(3)
fmul dword [edi]
faddp st(1)
fadd dword [edi + 0x30]
fstp dword [ecx - 0x28]
fld st(0)
fmul dword [edi + 0x24]
fld st(2)
fmul dword [edi + 0x14]
faddp st(1)
fld st(3)
fmul dword [edi + 4]
faddp st(1)
fadd dword [edi + 0x34]
fstp dword [ecx - 0x24]
fmul dword [edi + 0x28]
fxch st(1)
fmul dword [edi + 0x18]
faddp st(1)
fxch st(1)
fmul dword [edi + 8]
faddp st(1)
fadd dword [edi + 0x38]
fstp dword [ecx - 0x20]
mov dword [ecx - 0x1c], edx
add dword [esp + 0x38], 0x40
dec dword [esp + 0x34]
jne 0x523990
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
test edx, edx
jl 0x523b65
inc edx
fld dword [eax]
add ecx, 0x10
fld dword [eax + 4]
add eax, 0x10
dec edx
fld dword [eax - 8]
fld st(0)
fmul dword [edi + 0x20]
fld st(2)
fmul dword [edi + 0x10]
faddp st(1)
fld st(3)
fmul dword [edi]
faddp st(1)
fadd dword [edi + 0x30]
fstp dword [ecx - 0x10]
fld st(0)
fmul dword [edi + 0x24]
fld st(2)
fmul dword [edi + 0x14]
faddp st(1)
fld st(3)
fmul dword [edi + 4]
faddp st(1)
fadd dword [edi + 0x34]
fstp dword [ecx - 0xc]
fmul dword [edi + 0x28]
fxch st(1)
fmul dword [edi + 0x18]
faddp st(1)
fxch st(1)
fmul dword [edi + 8]
faddp st(1)
fadd dword [edi + 0x38]
fstp dword [ecx - 8]
mov dword [ecx - 4], 0
jne 0x523b05
mov eax, dword [esi]
add eax, dword [esi + 4]
cmp eax, 4
jle 0x523b76
mov ecx, esi
call fcn.00522e10
mov eax, dword [esi]
mov edi, dword [esi + 4]
shl eax, 3
or eax, edi
sub eax, 9
cmp eax, 0x18
mov dword [esi + 0x10], 0
ja 0x5245f6
jmp 0x523ba0
movzx ecx, byte [eax + 0x52466c]
jmp dword [ecx*4 + 0x524640]
fld dword [esp + 0x140]
mov eax, dword [esp + 0x5c]
fchs
pop edi
fstp dword [esi + 0x120]
fld dword [esp + 0x140]
fchs
fstp dword [esi + 0x124]
fld dword [esp + 0x144]
fchs
fstp dword [esi + 0x128]
fld dword [esp + 0x148]
fchs
fstp dword [esi + 0x12c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10