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

Disassembly:
sub esp, 0x60
fld dword [0x4a8f78]
push ebp
fidiv dword [esp + 0x68]
mov ebp, dword [esp + 0x70]
push esi
push edi
mov esi, eax
mov edi, ecx
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
call fcn.00452fc0
fstp dword [esp + 0x54]
fld dword [esp + 0x4c]
call fcn.004534b0
fstp dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
lea eax, [ecx + 1]
sar eax, 1
mov dword [esp + 0x14], eax
lea eax, [ebx - 1]
sar eax, 1
mov dword [esp + 0x4c], eax
mov eax, ebx
imul eax, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov eax, ebx
imul eax, ecx
cmp ebx, 1
mov dword [esp + 0x20], eax
je 0x474b7e
xor edx, edx
cmp ebp, 4
jl 0x474452
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
lea ecx, [edx + 0xc]
sub edx, dword [esp + 0x84]
add eax, 4
mov dword [esp + 0x44], edx
lea edx, [ebp - 4]
shr edx, 2
add edx, 1
mov dword [esp + 0x48], edx
add edx, edx
add edx, edx
mov dword [esp + 0x40], edx
fld dword [ecx - 0xc]
mov edx, dword [esp + 0x44]
fstp dword [eax - 4]
add eax, 0x10
fld dword [edx + eax - 0x10]
add ecx, 0x10
sub dword [esp + 0x48], 1
fstp dword [eax - 0x10]
fld dword [ecx - 0x14]
fstp dword [eax - 0xc]
fld dword [ecx - 0x10]
fstp dword [eax - 8]
jne 0x474424
mov edx, dword [esp + 0x40]
cmp edx, ebp
jge 0x47448e
mov ecx, dword [esp + 0x80]
sub ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x44], ecx
mov ecx, ebp
lea eax, [eax + edx*4]
sub ecx, edx
mov edx, dword [esp + 0x44]
lea ebx, [ebx]
fld dword [eax + edx]
add eax, 4
sub ecx, 1
fstp dword [eax - 4]
jne 0x474480
mov ecx, dword [esp + 0x70]
xor eax, eax
cmp ecx, 1
jle 0x474548
add ecx, 0xffffffff
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x74]
jmp 0x4744b4
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x1c]
cmp ecx, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
jl 0x474509
lea edx, [ecx - 4]
shr edx, 2
add edx, 1
lea ecx, [edx*4]
mov dword [esp + 0xc], ecx
lea ecx, [ecx]
fld dword [edi + eax*4]
fstp dword [esi + eax*4]
add eax, ebx
fld dword [edi + eax*4]
fstp dword [esi + eax*4]
add eax, ebx
fld dword [edi + eax*4]
fstp dword [esi + eax*4]
add eax, ebx
fld dword [edi + eax*4]
fstp dword [esi + eax*4]
add eax, ebx
sub edx, 1
jne 0x4744e0
mov ecx, dword [esp + 0x74]
cmp dword [esp + 0xc], ecx
jge 0x47453b
mov edx, edi
sub edx, esi
sub ecx, dword [esp + 0xc]
lea eax, [esi + eax*4]
mov dword [esp + 0x24], edx
jmp 0x474524
mov edx, dword [esp + 0x24]
fld dword [edx + eax]
lea edx, [ebx*4]
fstp dword [eax]
add eax, edx
sub ecx, 1
jne 0x474520
mov ecx, dword [esp + 0x74]
sub dword [esp + 0x48], 1
jne 0x4744b0
jmp 0x47454c
mov ecx, dword [esp + 0x74]
mov eax, ebx
neg eax
xor edx, edx
cmp dword [esp + 0x4c], ecx
mov dword [esp + 0x58], eax
jle 0x47466f
cmp dword [esp + 0x70], 1
jle 0x474844
mov edx, dword [esp + 0x88]
lea eax, [edx + eax*4 - 4]
mov dword [esp + 0x44], eax
lea ecx, [ebx*4]
mov edx, esi
mov eax, edi
sub eax, ecx
sub edx, ecx
mov ecx, dword [esp + 0x70]
sub eax, 4
add ecx, 0xffffffff
mov dword [esp + 0x30], ecx
jmp 0x4745a4
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
add ecx, ecx
add ecx, ecx
add edx, ecx
add eax, ecx
lea ecx, [ebx*4]
add dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x74]
test ecx, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x5c], eax
jle 0x47465f
mov dword [esp + 0x34], ecx
lea ecx, [ebx*4]
add edx, ecx
add eax, ecx
cmp ebx, 2
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], eax
jle 0x474650
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x40], edx
mov edx, esi
sub edx, edi
mov dword [esp + 0x3c], edx
lea edx, [ebx - 3]
shr edx, 1
add edx, 1
mov dword [esp + 0x38], edx
jmp 0x474610
fld dword [eax + 0xc]
mov edx, dword [esp + 0x3c]
fmul dword [ecx + 8]
add dword [esp + 0x40], 8
fld dword [ecx + 4]
add eax, 8
fmul dword [eax]
add ecx, 8
sub dword [esp + 0x38], 1
faddp st(1)
fstp dword [edx + eax]
mov edx, dword [esp + 0x40]
fld dword [eax + 4]
fmul dword [ecx - 4]
fld dword [ecx]
fmul dword [eax]
fsubp st(1)
fstp dword [edx]
jne 0x474610
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
sub dword [esp + 0x34], 1
jne 0x4745d3
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x30], 1
jne 0x4745a0
jmp 0x474844
cmp dword [esp + 0x70], 1
jle 0x474844
lea ecx, [eax - 1]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x88]
lea ecx, [ecx + eax*4 - 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x70]
add ecx, 0xffffffff
mov dword [esp + 0x2c], ecx
jmp 0x4746a8
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
add edx, dword [esp + 0x1c]
add dword [esp + 0x44], ebx
add eax, ebx
mov dword [esp + 0x48], eax
lea eax, [ebx*4]
add dword [esp + 0x40], eax
cmp ebx, 2
mov dword [esp + 0x10], edx
jle 0x474839
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
lea ecx, [edx + eax + 1]
mov edx, dword [esp + 0x74]
lea eax, [ebx - 3]
shr eax, 1
add eax, 1
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
add eax, 2
add ecx, 8
cmp edx, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], 0
jl 0x4747d1
add edx, 0xfffffffc
shr edx, 2
add edx, 1
mov dword [esp + 0x68], edx
add edx, edx
add edx, edx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x68]
mov edi, edi
fld dword [ecx - 4]
fmul dword [edi + eax*4 - 4]
fld dword [edi + eax*4]
fmul dword [ecx]
faddp st(1)
fstp dword [esi + eax*4 - 4]
fld dword [ecx - 4]
fmul dword [edi + eax*4]
fld dword [edi + eax*4 - 4]
fmul dword [ecx]
fsubp st(1)
fstp dword [esi + eax*4]
add eax, ebx
fld dword [ecx - 4]
fmul dword [edi + eax*4 - 4]
fld dword [edi + eax*4]
fmul dword [ecx]
faddp st(1)
fstp dword [esi + eax*4 - 4]
fld dword [ecx - 4]
fmul dword [edi + eax*4]
fld dword [edi + eax*4 - 4]
fmul dword [ecx]
fsubp st(1)
fstp dword [esi + eax*4]
add eax, ebx
fld dword [ecx - 4]
fmul dword [edi + eax*4 - 4]
fld dword [edi + eax*4]
fmul dword [ecx]
faddp st(1)
fstp dword [esi + eax*4 - 4]
fld dword [ecx - 4]
fmul dword [edi + eax*4]
fld dword [edi + eax*4 - 4]
fmul dword [ecx]
fsubp st(1)
fstp dword [esi + eax*4]
add eax, ebx
fld dword [ecx - 4]
fmul dword [edi + eax*4 - 4]
fld dword [edi + eax*4]
fmul dword [ecx]
faddp st(1)
fstp dword [esi + eax*4 - 4]
fld dword [ecx - 4]
fmul dword [edi + eax*4]
fld dword [edi + eax*4 - 4]
fmul dword [ecx]
fsubp st(1)
fstp dword [esi + eax*4]
add eax, ebx
sub edx, 1
jne 0x474730
mov edx, dword [esp + 0x74]
cmp dword [esp + 0xc], edx
jge 0x47482e
mov edx, esi
sub edx, edi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x74]
sub edx, dword [esp + 0xc]
lea ebp, [esi + eax*4]
lea eax, [edi + eax*4 - 4]
mov dword [esp + 0x34], edx
fld dword [ecx - 4]
mov edx, dword [esp + 0x3c]
fmul dword [eax]
fld dword [eax + 4]
fmul dword [ecx]
faddp st(1)
fstp dword [edx + eax]
lea edx, [ebx*4]
fld dword [ecx - 4]
fmul dword [eax + 4]
fld dword [ecx]
fmul dword [eax]
add eax, edx
fsubp st(1)
fstp dword [ebp]
add ebp, edx
sub dword [esp + 0x34], 1
jne 0x4747f2
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
sub dword [esp + 0x30], 1
jne 0x4746f6
sub dword [esp + 0x2c], 1
jne 0x4746a0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x74]
imul edx, dword [esp + 0x70]
cmp dword [esp + 0x4c], eax
mov dword [esp + 0x10], 0
jge 0x474a58
cmp dword [esp + 0x14], 1
jle 0x474b7e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
add eax, 0xffffffff
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
add dword [esp + 0x10], eax
add dword [esp + 0x44], eax
sub edx, eax
cmp ebx, 2
mov dword [esp + 0x18], edx
jle 0x474a48
sub edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
lea ecx, [ebx - 3]
shr ecx, 1
add ecx, 1
mov dword [esp + 0x68], edx
mov dword [esp + 0x34], ecx
jmp 0x4748ba
mov edx, dword [esp + 0x68]
add eax, 2
lea ecx, [eax + edx]
mov edx, dword [esp + 0x74]
cmp edx, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], 0
jl 0x4749b7
add edx, 0xfffffffc
shr edx, 2
add edx, 1
mov dword [esp + 0x60], edx
add edx, edx
add edx, edx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x60]
add ecx, ebx
fld dword [esi + ecx*4 - 4]
add eax, ebx
fadd dword [esi + eax*4 - 4]
fstp dword [edi + eax*4 - 4]
fld dword [esi + eax*4]
fsub dword [esi + ecx*4]
fstp dword [edi + ecx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4 - 4]
fsub dword [esi + eax*4 - 4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, ebx
fld dword [esi + ecx*4 - 4]
fadd dword [esi + eax*4 - 4]
fstp dword [edi + eax*4 - 4]
fld dword [esi + eax*4]
fsub dword [esi + ecx*4]
fstp dword [edi + ecx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4 - 4]
fsub dword [esi + eax*4 - 4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, ebx
fld dword [esi + ecx*4 - 4]
fadd dword [esi + eax*4 - 4]
fstp dword [edi + eax*4 - 4]
fld dword [esi + eax*4]
fsub dword [esi + ecx*4]
fstp dword [edi + ecx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4 - 4]
fsub dword [esi + eax*4 - 4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, ebx
sub edx, 1
fld dword [esi + ecx*4 - 4]
fadd dword [esi + eax*4 - 4]
fstp dword [edi + eax*4 - 4]
fld dword [esi + eax*4]
fsub dword [esi + ecx*4]
fstp dword [edi + ecx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4 - 4]
fsub dword [esi + eax*4 - 4]
fstp dword [edi + ecx*4]
jne 0x4748f2
mov edx, dword [esp + 0x74]
cmp dword [esp + 0xc], edx
jge 0x474a35
lea ebp, [edi + ecx*4]
mov dword [esp + 0x3c], ebp
lea ebp, [edi + eax*4]
mov dword [esp + 0x40], ebp
mov ebp, edi
sub ebp, esi
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x74]
sub ebp, dword [esp + 0xc]
lea edx, [ebx*4]
lea eax, [esi + eax*4 - 4]
lea ecx, [esi + ecx*4 - 4]
mov dword [esp + 0x48], ebp
mov edi, edi
fld dword [eax + edx]
mov ebp, dword [esp + 0x24]
fadd dword [ecx + edx]
add dword [esp + 0x40], edx
add dword [esp + 0x3c], edx
add eax, edx
add ecx, edx
fstp dword [eax + ebp]
sub dword [esp + 0x48], 1
fld dword [eax + 4]
fsub dword [ecx + 4]
fstp dword [ecx + ebp]
mov ebp, dword [esp + 0x40]
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [ebp]
mov ebp, dword [esp + 0x3c]
fld dword [ecx]
fsub dword [eax]
fstp dword [ebp]
jne 0x4749f0
mov ebp, dword [esp + 0x78]
sub dword [esp + 0x34], 1
mov eax, dword [esp + 0x38]
jne 0x4748b6
mov edx, dword [esp + 0x18]
sub dword [esp + 0x30], 1
jne 0x474881
jmp 0x474b7e
cmp dword [esp + 0x14], 1
jle 0x474b7e
lea eax, [edi + edx*4]
lea edx, [esi + edx*4 - 4]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
lea eax, [esi - 4]
add edx, 0xffffffff
mov ecx, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x1c]
add eax, eax
add eax, eax
add dword [esp + 0x44], eax
sub dword [esp + 0x40], eax
sub dword [esp + 0x3c], eax
add ecx, eax
cmp dword [esp + 0x74], 0
mov dword [esp + 0x68], ecx
jle 0x474b73
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x18], edx
nop
cmp ebx, 2
jle 0x474b47
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], edx
mov edx, edi
sub edx, esi
mov dword [esp + 0x24], edx
lea edx, [ebx - 3]
shr edx, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
add edx, 1
lea esp, [esp]
fld dword [ecx + 8]
mov ebp, dword [esp + 0x24]
fadd dword [eax + 8]
add dword [esp + 0x38], 8
add dword [esp + 0x34], 8
add ecx, 8
add eax, 8
sub edx, 1
fstp dword [eax + ebp]
fld dword [eax + 4]
fsub dword [ecx + 4]
fstp dword [ecx + ebp]
mov ebp, dword [esp + 0x38]
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [ebp]
mov ebp, dword [esp + 0x34]
fld dword [ecx]
fsub dword [eax]
fstp dword [ebp]
jne 0x474b00
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
lea eax, [ebx*4]
add dword [esp + 0x30], eax
add dword [esp + 0x2c], eax
add dword [esp + 0x28], eax
add ecx, eax
sub dword [esp + 0x18], 1
mov dword [esp + 0x48], ecx
jne 0x474ad0
mov ecx, dword [esp + 0x68]
sub dword [esp + 0x10], 1
jne 0x474a86
xor edx, edx
cmp ebp, 4
jl 0x474bee
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
lea ecx, [edx + 0xc]
sub edx, dword [esp + 0x80]
add eax, 4
mov dword [esp + 0x44], edx
lea edx, [ebp - 4]
shr edx, 2
add edx, 1
mov dword [esp + 0x48], edx
add edx, edx
add edx, edx
mov dword [esp + 0x40], edx
lea esp, [esp]
fld dword [ecx - 0xc]
mov edx, dword [esp + 0x44]
fstp dword [eax - 4]
add eax, 0x10
fld dword [edx + eax - 0x10]
add ecx, 0x10
sub dword [esp + 0x48], 1
fstp dword [eax - 0x10]
fld dword [ecx - 0x14]
fstp dword [eax - 0xc]
fld dword [ecx - 0x10]
fstp dword [eax - 8]
jne 0x474bc0
mov edx, dword [esp + 0x40]
cmp edx, ebp
jge 0x474c24
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x44], ecx
mov ecx, ebp
lea eax, [eax + edx*4]
sub ecx, edx
mov edx, dword [esp + 0x44]
fld dword [edx + eax]
add eax, 4
sub ecx, 1
fstp dword [eax - 4]
jne 0x474c16
mov ecx, dword [esp + 0x70]
imul ecx, ebp
cmp dword [esp + 0x14], 1
mov dword [esp + 0x58], ecx
jle 0x474d4d
mov edx, dword [esp + 0x14]
mov eax, ebx
sub ecx, ebx
neg eax
add edx, 0xffffffff
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x74]
jmp 0x474c59
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
add eax, dword [esp + 0x1c]
sub ecx, dword [esp + 0x1c]
cmp edx, 4
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0xc], 0
jl 0x474cf4
add edx, 0xfffffffc
shr edx, 2
add edx, 1
mov dword [esp + 0x5c], edx
add edx, edx
add edx, edx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x5c]
add eax, ebx
fld dword [esi + eax*4]
add ecx, ebx
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4]
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, ebx
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4]
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, ebx
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4]
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, ebx
sub edx, 1
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4]
fsub dword [esi + eax*4]
fstp dword [edi + ecx*4]
jne 0x474c93
mov edx, dword [esp + 0x74]
cmp dword [esp + 0xc], edx
jge 0x474d3e
mov edx, edi
sub edx, esi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x74]
sub edx, dword [esp + 0xc]
lea eax, [esi + eax*4]
lea ecx, [esi + ecx*4]
mov dword [esp + 0x48], edx
lea edx, [ebx*4]
fld dword [ecx + edx]
add ecx, edx
fadd dword [eax + edx]
add eax, edx
sub dword [esp + 0x48], 1
mov edx, dword [esp + 0x24]
fstp dword [edx + eax]
fld dword [ecx]
fsub dword [eax]
fstp dword [edx + ecx]
jne 0x474d14
mov edx, dword [esp + 0x74]
sub dword [esp + 0x44], 1
jne 0x474c51
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x70]
fld1
add eax, 0xffffffff
fstp dword [esp + 0x50]
fldz
imul eax, ebp
fstp dword [esp + 0x38]
cmp dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov edx, ecx
mov dword [esp + 0x48], eax
jle 0x4751c4
mov eax, dword [esp + 0x84]
fld dword [esp + 0x54]
fld dword [esp + 0x64]
lea ecx, [eax + 8]
fld dword [esp + 0x38]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x14]
lea eax, [eax + edx*4 + 8]
add ecx, 0xffffffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x68], ecx
jmp 0x474daf
mov edx, dword [esp + 0x18]
fld dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
fld st(0)
mov edi, dword [esp + 0x48]
fmul st(4)
lea eax, [ebp*4]
add dword [esp + 0x40], eax
fld st(2)
sub dword [esp + 0x3c], eax
fmul st(4)
sub edx, ebp
add ecx, ebp
fsubp st(1)
mov dword [esp + 0x18], edx
mov eax, edx
xor edx, edx
cmp ebp, 4
fstp dword [esp + 0x60]
mov dword [esp + 0x10], ecx
fmul st(2)
mov dword [esp + 0x44], edi
fld st(3)
mov dword [esp + 0x28], ebp
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x60]
fst dword [esp + 0x50]
fld dword [esp + 0x38]
jl 0x474f1e
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x80]
lea eax, [edx + edi*4 + 8]
lea edi, [edx + 8]
mov dword [esp + 0x30], edi
lea edi, [ebp - 4]
shr edi, 2
lea edx, [edx + ebp*4 + 8]
add edi, 1
mov dword [esp + 0x2c], edx
lea edx, [edi*4]
add ecx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
add ecx, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x48]
add ecx, edx
mov dword [esp + 0x44], ecx
lea ecx, [edx + ebp]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
fld dword [ecx - 8]
mov ecx, dword [esp + 0x30]
fmul st(2)
add eax, 0x10
fadd dword [ecx - 8]
mov ecx, dword [esp + 0xc]
fstp dword [eax - 0x18]
fld dword [ecx - 8]
mov ecx, dword [esp + 0x38]
fmul st(1)
fstp dword [ecx - 8]
mov ecx, dword [esp + 0x2c]
fld dword [ecx - 4]
mov ecx, dword [esp + 0x30]
fmul st(2)
fadd dword [ecx - 4]
mov ecx, dword [esp + 0xc]
fstp dword [eax - 0x14]
fld dword [ecx - 4]
mov ecx, dword [esp + 0x38]
fmul st(1)
fstp dword [ecx - 4]
mov ecx, dword [esp + 0x2c]
fld dword [ecx]
mov ecx, dword [esp + 0x30]
fmul st(2)
fadd dword [ecx]
mov ecx, dword [esp + 0xc]
fstp dword [eax - 0x10]
fld dword [ecx]
mov ecx, dword [esp + 0x38]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esp + 0x2c]
fld dword [ecx + 4]
mov ecx, dword [esp + 0x30]
add dword [esp + 0x2c], 0x10
fmul st(2)
add dword [esp + 0x30], 0x10
fadd dword [ecx + 4]
mov ecx, dword [esp + 0xc]
add dword [esp + 0xc], 0x10
fstp dword [eax - 0xc]
fld dword [ecx + 4]
mov ecx, dword [esp + 0x38]
fmul st(1)
add ecx, 0x10
sub edi, 1
mov dword [esp + 0x38], ecx
fstp dword [ecx - 0xc]
jne 0x474e6c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
cmp edx, ebp
jge 0x474f8f
mov edi, dword [esp + 0x84]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
lea eax, [edi + eax*4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x84]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x28]
lea ecx, [edi + ecx*4]
jmp 0x474f5c
mov edi, dword [esp + 0x80]
fld dword [ecx]
add edx, 1
fmul st(2)
add eax, 4
add ecx, 4
fadd dword [edi + edx*4 - 4]
mov edi, dword [esp + 0x44]
add dword [esp + 0x44], 4
fstp dword [eax - 4]
fld st(0)
fmul dword [edi]
mov edi, dword [esp + 0x38]
add edi, 4
cmp edx, ebp
fstp dword [edi - 4]
mov dword [esp + 0x38], edi
jl 0x474f55
cmp dword [esp + 0x14], 2
fxch st(1)
mov edx, dword [esp + 0x48]
fst dword [esp + 0x54]
fxch st(1)
mov edi, ebp
fst dword [esp + 0x44]
jle 0x475343
mov eax, dword [esp + 0x80]
fstp st(2)
fld dword [esp + 0x44]
lea ecx, [eax + ebp*4 + 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x14]
lea eax, [eax + edx*4 + 8]
add ecx, 0xfffffffe
mov dword [esp + 0x38], eax
mov dword [esp + 0x60], ecx
jmp 0x474fde
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
fld dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
fld st(0)
sub edx, ebp
fmul st(3)
lea eax, [ebp*4]
add dword [esp + 0xc], eax
fld st(2)
sub dword [esp + 0x38], eax
fmul st(5)
mov eax, dword [esp + 0x10]
add edi, ebp
fsubp st(1)
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], edx
xor edx, edx
cmp ebp, 4
fstp dword [esp + 0x5c]
fld st(2)
mov dword [esp + 0x24], edi
fmulp st(2)
fmul st(3)
faddp st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x5c]
mov dword [esp + 0x5c], edi
fst dword [esp + 0x54]
fld dword [esp + 0x44]
jl 0x47512b
mov edx, dword [esp + 0x38]
lea edi, [ebp - 4]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0xc]
shr edi, 2
add edi, 1
mov dword [esp + 0x30], edx
lea edx, [edi*4]
add ebp, edx
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x18]
add ebp, edx
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x24]
add ebp, edx
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x34]
add ebp, edx
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x30]
fld dword [ebp - 8]
mov ebp, dword [esp + 0x2c]
fmul st(2)
add eax, 0x10
add ecx, 0x10
fadd dword [eax - 0x18]
fstp dword [eax - 0x18]
fld dword [ebp - 8]
mov ebp, dword [esp + 0x30]
fmul st(1)
fadd dword [ecx - 0x18]
fstp dword [ecx - 0x18]
fld dword [ebp - 4]
mov ebp, dword [esp + 0x2c]
fmul st(2)
fadd dword [eax - 0x14]
fstp dword [eax - 0x14]
fld dword [ebp - 4]
mov ebp, dword [esp + 0x30]
fmul st(1)
fadd dword [ecx - 0x14]
fstp dword [ecx - 0x14]
fld dword [ebp]
mov ebp, dword [esp + 0x2c]
fmul st(2)
fadd dword [eax - 0x10]
fstp dword [eax - 0x10]
fld dword [ebp]
mov ebp, dword [esp + 0x30]
fmul st(1)
add dword [esp + 0x30], 0x10
fadd dword [ecx - 0x10]
fstp dword [ecx - 0x10]
fld dword [ebp + 4]
mov ebp, dword [esp + 0x2c]
add dword [esp + 0x2c], 0x10
fmul st(2)
sub edi, 1
fadd dword [eax - 0xc]
fstp dword [eax - 0xc]
fld dword [ebp + 4]
fmul st(1)
fadd dword [ecx - 0xc]
fstp dword [ecx - 0xc]
jne 0x47508e
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x78]
cmp edx, ebp
jge 0x47519c
mov edi, dword [esp + 0x84]
lea ecx, [edi + ecx*4]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x58]
lea ecx, [edi + ecx*4]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x84]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x5c]
lea eax, [edi + eax*4]
mov dword [esp + 0x44], eax
mov eax, ebp
sub eax, edx
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
fld st(1)
fmul dword [edi]
mov edi, dword [esp + 0x30]
add dword [esp + 0x44], 4
add dword [esp + 0x30], 4
fadd dword [ecx]
add ecx, 4
add edx, 4
sub eax, 1
fstp dword [ecx - 4]
fld st(0)
fmul dword [edi]
fadd dword [edx - 4]
fstp dword [edx - 4]
jne 0x47516c
sub dword [esp + 0x60], 1
fstp st(1)
jne 0x474fd6
fstp st(0)
fstp st(0)
fld dword [esp + 0x64]
fxch st(1)
sub dword [esp + 0x68], 1
jne 0x474dab
fstp st(1)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, 1
jle 0x4752a2
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
add ecx, 8
add eax, 0xffffffff
mov dword [esp + 0x78], ecx
mov dword [esp + 0x68], eax
nop
lea eax, [ebp*4]
add dword [esp + 0x78], eax
add edi, ebp
xor ecx, ecx
cmp ebp, 4
mov dword [esp + 0x10], edi
mov eax, edi
jl 0x47526e
lea ecx, [ebp - 4]
shr ecx, 2
add ecx, 1
mov dword [esp + 0x64], ecx
add ecx, ecx
add ecx, ecx
add edi, ecx
lea eax, [edx + 8]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x64]
lea esp, [esp]
fld dword [edx - 8]
add edx, 0x10
fadd dword [eax - 8]
add eax, 0x10
sub edi, 1
fstp dword [eax - 0x18]
fld dword [edx - 0x14]
fadd dword [eax - 0x14]
fstp dword [eax - 0x14]
fld dword [eax - 0x10]
fadd dword [edx - 0x10]
fstp dword [eax - 0x10]
fld dword [edx - 0xc]
fadd dword [eax - 0xc]
fstp dword [eax - 0xc]
jne 0x475230
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
cmp ecx, ebp
jge 0x475297
mov edi, dword [esp + 0x80]
lea eax, [edi + eax*4]
lea esp, [esp]
fld dword [edx + ecx*4]
add ecx, 1
fadd dword [eax]
add eax, 4
cmp ecx, ebp
fstp dword [edx + ecx*4 - 4]
jl 0x475280
mov edi, dword [esp + 0x10]
sub dword [esp + 0x68], 1
jne 0x4751f0
mov ebp, dword [esp + 0x74]
xor eax, eax
cmp ebx, ebp
jge 0x475396
test ebx, ebx
mov dword [esp + 0x44], eax
jle 0x475479
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x7c]
jmp 0x4752d0
cmp ebp, 4
mov ecx, eax
mov dword [esp + 0xc], 0
jl 0x475329
add ebp, 0xfffffffc
shr ebp, 2
add ebp, 1
mov dword [esp + 0x78], ebp
add ebp, ebp
add ebp, ebp
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x78]
fld dword [esi + eax*4]
add eax, ebx
fstp dword [edx + ecx*4]
add ecx, edi
fld dword [esi + eax*4]
add eax, ebx
fstp dword [edx + ecx*4]
add ecx, edi
fld dword [esi + eax*4]
add eax, ebx
fstp dword [edx + ecx*4]
add ecx, edi
fld dword [esi + eax*4]
add eax, ebx
fstp dword [edx + ecx*4]
add ecx, edi
sub ebp, 1
jne 0x4752f8
mov ebp, dword [esp + 0x74]
cmp dword [esp + 0xc], ebp
jge 0x47537e
lea ecx, [edx + ecx*4]
mov dword [esp + 0x78], ecx
lea ecx, [esi + eax*4]
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0xc]
jmp 0x475354
fstp st(1)
jmp 0x4751b3
mov ecx, dword [esp + 0x68]
fld dword [ecx]
mov ebp, dword [esp + 0x78]
fstp dword [ebp]
lea ebp, [ebx*4]
add ecx, ebp
mov dword [esp + 0x68], ecx
lea ecx, [edi*4]
add dword [esp + 0x78], ecx
sub eax, 1
jne 0x475350
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x44]
add eax, 1
cmp eax, ebx
mov dword [esp + 0x44], eax
jl 0x4752d0
jmp 0x475479
cmp ebp, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
jle 0x475479
mov eax, dword [esp + 0x7c]
lea edx, [esi + 8]
add eax, 8
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], ebp
lea esp, [esp]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
xor ebp, ebp
cmp ebx, 4
jl 0x47542b
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
lea eax, [ebx - 4]
shr eax, 2
add eax, 1
lea edi, [eax*4]
add ebp, edi
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x44], edi
add edi, ebp
jmp 0x475400
fld dword [ecx - 8]
add ecx, 0x10
fstp dword [edx - 8]
add edx, 0x10
sub eax, 1
fld dword [ecx - 0x14]
fstp dword [edx - 0x14]
fld dword [ecx - 0x10]
fstp dword [edx - 0x10]
fld dword [ecx - 0xc]
fstp dword [edx - 0xc]
jne 0x475400
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x78]
cmp ebp, ebx
jge 0x47544f
mov ecx, dword [esp + 0x7c]
lea edx, [ecx + edi*4]
lea ecx, [esi + eax*4]
mov eax, ebx
sub eax, ebp
lea ecx, [ecx]
fld dword [ecx]
add ecx, 4
fstp dword [edx]
add edx, 4
sub eax, 1
jne 0x475440
add dword [esp + 0x10], ebx
lea eax, [ebx*4]
add dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], eax
add eax, eax
add eax, eax
add dword [esp + 0x40], eax
sub dword [esp + 0x68], 1
jne 0x4753c0
mov eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x70]
xor ecx, ecx
xor edx, edx
cmp dword [esp + 0x14], 1
mov dword [esp + 0x60], eax
mov ebp, eax
jle 0x4755c1
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x7c]
add eax, 0xffffffff
mov dword [esp + 0x68], eax
jmp 0x4754bc
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
add edx, dword [esp + 0x1c]
sub ebp, dword [esp + 0x1c]
lea eax, [ebx + ebx]
add ecx, eax
mov dword [esp + 0x10], ecx
mov eax, ecx
mov dword [esp + 0x78], edx
mov ecx, edx
mov dword [esp + 0x24], ebp
mov edx, ebp
mov ebp, dword [esp + 0x74]
cmp ebp, 4
mov dword [esp + 0xc], 0
jl 0x47555c
add ebp, 0xfffffffc
shr ebp, 2
add ebp, 1
mov dword [esp + 0x70], ebp
add ebp, ebp
add ebp, ebp
mov dword [esp + 0xc], ebp
fld dword [esi + ecx*4]
mov ebp, dword [esp + 0x20]
fstp dword [edi + eax*4 - 4]
add ecx, ebx
fld dword [esi + edx*4]
add edx, ebx
fstp dword [edi + eax*4]
add eax, ebp
fld dword [esi + ecx*4]
add ecx, ebx
fstp dword [edi + eax*4 - 4]
fld dword [esi + edx*4]
add edx, ebx
fstp dword [edi + eax*4]
add eax, ebp
fld dword [esi + ecx*4]
add ecx, ebx
fstp dword [edi + eax*4 - 4]
fld dword [esi + edx*4]
add edx, ebx
fstp dword [edi + eax*4]
add eax, ebp
fld dword [esi + ecx*4]
add ecx, ebx
fstp dword [edi + eax*4 - 4]
fld dword [esi + edx*4]
add edx, ebx
fstp dword [edi + eax*4]
add eax, ebp
sub dword [esp + 0x70], 1
jne 0x475501
mov ebp, dword [esp + 0x74]
cmp dword [esp + 0xc], ebp
jge 0x4755b2
lea edx, [esi + edx*4]
mov dword [esp + 0x70], edx
lea edx, [esi + ecx*4]
mov ecx, dword [esp + 0x74]
sub ecx, dword [esp + 0xc]
lea eax, [edi + eax*4]
jmp 0x475584
mov edx, dword [esp + 0x64]
fld dword [edx]
mov ebp, dword [esp + 0x70]
fstp dword [eax - 4]
fld dword [ebp]
mov ebp, dword [esp + 0x20]
add ebp, ebp
fstp dword [eax]
add ebp, ebp
add eax, ebp
lea ebp, [ebx*4]
add dword [esp + 0x70], ebp
add edx, ebp
sub ecx, 1
mov dword [esp + 0x64], edx
jne 0x475580
sub dword [esp + 0x68], 1
jne 0x4754b0
mov eax, dword [esp + 0x60]
cmp ebx, 1
je 0x475976
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x74]
jge 0x475854
mov ebp, ebx
mov ecx, eax
mov eax, dword [esp + 0x14]
neg ebp
xor edi, edi
xor edx, edx
cmp eax, 1
jle 0x475976
add eax, 0xffffffff
lea ebp, [ebx + ebp - 2]
mov dword [esp + 0x58], eax
lea ebx, [ebx]
lea eax, [ebx + ebx]
add ebp, eax
add edi, eax
mov eax, dword [esp + 0x1c]
add edx, eax
sub ecx, eax
cmp ebx, 2
mov dword [esp + 0x48], ebp
mov dword [esp + 0x78], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ecx
jle 0x475842
lea eax, [edx + 2]
sub edi, edx
sub ecx, edx
lea edx, [ebx - 3]
shr edx, 1
add edx, 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edx
jmp 0x475658
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
add edi, eax
add ecx, eax
cmp ebp, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0xc], 0
jl 0x475793
add ebp, 0xfffffffc
shr ebp, 2
add ebp, 1
mov dword [esp + 0x68], ebp
add ebp, ebp
add ebp, ebp
mov dword [esp + 0xc], ebp
mov edi, edi
fld dword [esi + ecx*4 - 4]
mov ebp, dword [esp + 0x7c]
fadd dword [esi + eax*4 - 4]
fstp dword [ebp + edi*4 - 4]
fld dword [esi + eax*4 - 4]
fsub dword [esi + ecx*4 - 4]
fstp dword [ebp + edx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [ebp + edi*4]
fld dword [esi + ecx*4]
add ecx, ebx
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [ebp + edx*4]
mov ebp, dword [esp + 0x20]
fld dword [esi + ecx*4 - 4]
add edx, ebp
fadd dword [esi + eax*4 - 4]
add edi, ebp
mov ebp, dword [esp + 0x7c]
fstp dword [ebp + edi*4 - 4]
fld dword [esi + eax*4 - 4]
fsub dword [esi + ecx*4 - 4]
fstp dword [ebp + edx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [ebp + edi*4]
fld dword [esi + ecx*4]
add ecx, ebx
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [ebp + edx*4]
mov ebp, dword [esp + 0x20]
fld dword [esi + ecx*4 - 4]
add edx, ebp
fadd dword [esi + eax*4 - 4]
add edi, ebp
mov ebp, dword [esp + 0x7c]
fstp dword [ebp + edi*4 - 4]
fld dword [esi + eax*4 - 4]
fsub dword [esi + ecx*4 - 4]
fstp dword [ebp + edx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [ebp + edi*4]
fld dword [esi + ecx*4]
add ecx, ebx
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [ebp + edx*4]
mov ebp, dword [esp + 0x20]
fld dword [esi + ecx*4 - 4]
add edx, ebp
fadd dword [esi + eax*4 - 4]
add edi, ebp
mov ebp, dword [esp + 0x7c]
fstp dword [ebp + edi*4 - 4]
fld dword [esi + eax*4 - 4]
fsub dword [esi + ecx*4 - 4]
fstp dword [ebp + edx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [ebp + edi*4]
fld dword [esi + ecx*4]
add ecx, ebx
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [ebp + edx*4]
mov ebp, dword [esp + 0x20]
add edx, ebp
add edi, ebp
sub dword [esp + 0x68], 1
jne 0x475690
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x28], edi
cmp dword [esp + 0xc], ebp
jge 0x475817
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
add edi, edi
add edi, edi
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x7c]
lea ebp, [edi + ebp*4]
lea edx, [edi + edx*4]
mov edi, dword [esp + 0x74]
sub edi, dword [esp + 0xc]
lea eax, [esi + eax*4]
lea ecx, [esi + ecx*4]
mov dword [esp + 0x64], ebp
jmp 0x4757d4
mov edx, dword [esp + 0x4c]
fld dword [ecx - 4]
fadd dword [eax - 4]
fstp dword [ebp - 4]
fld dword [eax - 4]
fsub dword [ecx - 4]
fstp dword [edx - 4]
fld dword [eax]
fadd dword [ecx]
fstp dword [ebp]
mov ebp, dword [esp + 0x64]
fld dword [ecx]
add ebp, dword [esp + 0x68]
fsub dword [eax]
mov dword [esp + 0x64], ebp
fstp dword [edx]
add edx, dword [esp + 0x68]
mov dword [esp + 0x4c], edx
lea edx, [ebx*4]
add eax, edx
add ecx, edx
sub edi, 1
jne 0x4757d0
mov eax, dword [esp + 0x60]
sub dword [esp + 0x70], 2
add eax, 2
sub dword [esp + 0x5c], 1
mov dword [esp + 0x60], eax
jne 0x475650
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x78]
sub dword [esp + 0x58], 1
jne 0x475600
pop edi
pop esi
pop ebp
add esp, 0x60
ret
mov edi, ebx
neg edi
cmp dword [esp + 0x14], 1
jle 0x475976
mov ecx, dword [esp + 0x1c]
lea eax, [esi + eax*4 + 8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x7c]
lea ebp, [eax + 8]
add edi, ebx
lea eax, [eax + edi*4 - 8]
lea edx, [ebx + ebx]
add ecx, ecx
add edx, edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
add ecx, ecx
add edx, edx
add esi, 8
add eax, 0xffffffff
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x64], eax
jmp 0x4758b8
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
add dword [esp + 0x78], edx
add dword [esp + 0x4c], edx
add dword [esp + 0x70], ecx
sub dword [esp + 0x48], ecx
cmp dword [esp + 0x74], 0
jle 0x47596b
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x68], ecx
cmp ebx, 2
jle 0x475947
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
lea edx, [ebx - 3]
shr edx, 1
mov edi, ebp
add edx, 1
fld dword [eax - 4]
add edi, 8
fadd dword [ecx - 4]
add eax, 8
add ecx, 8
sub esi, 8
sub edx, 1
fstp dword [edi - 0xc]
fld dword [ecx - 0xc]
fsub dword [eax - 0xc]
fstp dword [esi + 4]
fld dword [eax - 8]
fadd dword [ecx - 8]
fstp dword [edi - 8]
fld dword [eax - 8]
fsub dword [ecx - 8]
fstp dword [esi + 8]
jne 0x475912
mov eax, dword [esp + 0x20]
add eax, eax
add eax, eax
add dword [esp + 0x44], eax
add ebp, eax
lea eax, [ebx*4]
add dword [esp + 0x40], eax
add dword [esp + 0x3c], eax
sub dword [esp + 0x68], 1
jne 0x4758f7
sub dword [esp + 0x64], 1
jne 0x4758b0
pop edi
pop esi
pop ebp
add esp, 0x60
ret