Function at 0x5440a0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
push esi
push edi
mov edi, dword [ebp + 0x14]
mov eax, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0x20]
cmp ecx, 1
mov dword [esp + 0x20], edx
sete al
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x50], eax
mov eax, edi
cdq
idiv ecx
mov dword [esp + 0x18], esi
mov edx, eax
mov dword [esp + 0x40], 0
xor eax, eax
mov dword [esp + 0x34], 0
test esi, esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x60], 0
setne al
mov dword [esp + 0x24], edx
mov dword [esp + 0x58], eax
cmp edi, 1
jne 0x5441f3
mov ecx, dword [ebp + 0xc]
xor eax, eax
movss xmm1, dword [0x5f7ce4]
xor edx, edx
movss xmm2, dword [0x5f7b88]
test esi, esi
mov dword [esp + 0x50], ecx
xorps xmm3, xmm3
setne al
mov dword [esp + 0x4c], edx
inc eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x34]
xor edi, edi
cmp dword [esi], 8
mov esi, dword [ebp + 0x10]
jl 0x5441b1
test eax, eax
je 0x544190
comiss xmm3, dword [ecx]
jbe 0x54417d
mov ecx, dword [ebp + 0x30]
mov edi, 1
push edi
mov edx, edi
call fcn.00537d50
add esp, 4
jmp 0x54419f
mov ecx, dword [ebp + 0x30]
xor edi, edi
push 1
mov edx, edi
call fcn.00537d50
add esp, 4
jmp 0x54419f
mov ecx, dword [ebp + 0x30]
mov edx, 1
call fcn.0053ee90
mov edi, eax
mov eax, dword [ebp + 0x34]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
add dword [eax], 0xfffffff8
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5441c5
test edi, edi
je 0x5441be
movaps xmm0, xmm1
jmp 0x5441c1
movaps xmm0, xmm2
movss dword [ecx], xmm0
inc edx
mov ecx, esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edx
cmp edx, dword [esp + 0x60]
jl 0x544152
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x5441e8
mov ecx, dword [ebp + 0xc]
fld dword [ecx]
fstp dword [eax]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
mov esi, dword [ebp + 0xc]
jne 0x5444eb
cmp dword [ebp + 0x44], 0
jne 0x5444eb
mov eax, dword [ebp + 0x28]
test eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], 0
cmovle eax, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x28], eax
test eax, eax
je 0x5442e6
cmp dword [esp + 0x30], 0
jne 0x54424c
test dl, 1
jne 0x544243
cmp dword [ebp + 0x28], 0
jl 0x54424c
cmp ecx, 1
jle 0x5442e6
xor ecx, ecx
mov dword [esp + 0x48], ecx
cmp edi, 4
jl 0x5442ae
mov ecx, dword [ebp + 0x50]
mov edx, eax
sub edx, dword [ebp + 0x50]
add ecx, 4
mov dword [esp + 0x5c], edx
lea edx, [edi - 4]
mov edi, dword [esp + 0x5c]
shr edx, 2
inc edx
mov dword [esp + 0x4c], edx
shl edx, 2
mov dword [esp + 0x48], edx
lea edx, [eax + 0xc]
nop
fld dword [edx - 0xc]
fstp dword [ecx - 4]
fld dword [edi + ecx]
fstp dword [ecx]
fld dword [edx - 4]
fstp dword [ecx + 4]
fld dword [edx]
add edx, 0x10
fstp dword [ecx + 8]
add ecx, 0x10
sub dword [esp + 0x4c], 1
jne 0x544280
mov edi, dword [ebp + 0x14]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
cmp ecx, edi
jge 0x5442df
mov edx, dword [ebp + 0x50]
sub eax, edx
mov dword [esp + 0x34], edi
lea ecx, [edx + ecx*4]
mov edx, dword [esp + 0x48]
sub dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
lea ebx, [ebx]
fld dword [ecx + eax]
fstp dword [ecx]
add ecx, 4
sub dword [esp + 0x34], 1
jne 0x5442d0
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x30], 0
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x14], eax
jle 0x544385
mov dword [esp + 0x48], 1
mov eax, 1
xor ecx, ecx
nop
mov edx, edi
sar edx, cl
cmp dword [esp + 0x10], 0
mov dword [esp + 0x5c], edx
je 0x54432e
push eax
mov ecx, esi
call fcn.00544010
mov edx, dword [esp + 0x60]
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x544345
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, eax
call fcn.00544010
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, edx
sar eax, 4
and edx, 0xf
movzx ecx, byte [eax + 0x5e8f20]
movzx eax, byte [edx + 0x5e8f20]
shl ecx, 2
or ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x4c]
inc ecx
rol eax, 1
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
cmp ecx, dword [esp + 0x30]
jl 0x544310
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov ecx, eax
sar dword [ebp + 0x20], cl
shl edx, cl
mov dword [esp + 0x24], edx
test dl, 1
jne 0x544405
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x28]
nop
test eax, eax
jns 0x5443fb
cmp dword [esp + 0x10], 0
je 0x5443ba
push edi
mov ecx, esi
call fcn.00544010
mov edx, dword [esp + 0x28]
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5443cd
push edi
mov ecx, eax
call fcn.00544010
add esp, 4
mov edx, dword [esp + 0x14]
mov ecx, edi
inc dword [esp + 0x40]
mov eax, edx
shl eax, cl
add edi, edi
or edx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
inc eax
mov edx, dword [esp + 0x24]
sar edx, 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], eax
test dl, 1
je 0x5443a0
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x20], edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], eax
cmp ecx, 1
jle 0x54446c
mov dword [esp + 0x44], ecx
mov ecx, eax
shl dword [esp + 0x44], cl
sar edx, cl
cmp dword [esp + 0x10], 0
mov dword [esp + 0x5c], edx
je 0x544446
push dword [esp + 0x50]
mov ecx, esi
push dword [esp + 0x48]
call fcn.00543a80
mov eax, dword [esp + 0x38]
add esp, 8
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x54446c
push dword [esp + 0x50]
mov ecx, eax
push dword [esp + 0x48]
call fcn.00543a80
mov eax, dword [esp + 0x38]
add esp, 8
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x14]
cmp dword [ebp + 0x10], 0
mov eax, dword [esp + 0x20]
movss xmm6, dword [0x5f7d30]
mov ecx, dword [eax + 0x60]
mov eax, dword [ebp + 0x38]
jne 0x544505
cmp eax, 0xffffffff
je 0x544505
mov edi, dword [esp + 0x20]
inc eax
imul eax, dword [edi + 8]
add eax, dword [ebp + 8]
movsx ecx, word [ecx + eax*2]
add ecx, dword [edi + 0x64]
mov edi, dword [ebp + 0x14]
movzx eax, byte [ecx]
movzx eax, byte [eax + ecx]
mov ecx, dword [ebp + 0x18]
add eax, 0xc
cmp ecx, eax
jle 0x54450a
cmp edi, 2
jle 0x54450a
dec dword [ebp + 0x38]
sar edi, 1
mov dword [ebp + 0x14], edi
lea eax, [esi + edi*4]
mov esi, dword [ebp + 0x20]
mov dword [ebp + 0x10], eax
cmp esi, 1
jne 0x5444e3
mov ecx, edx
lea eax, [edx + edx]
and ecx, esi
or ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x18]
inc esi
sar esi, 1
mov dword [ebp + 0x20], esi
jmp 0x544517
mov eax, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x54]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], eax
jmp 0x544470
mov ecx, dword [ebp + 0x18]
jmp 0x54450d
mov eax, dword [ebp + 0x38]
cmp dword [ebp + 0x10], 0
je 0x545116
mov eax, dword [esp + 0x20]
xor esi, esi
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], esi
mov eax, dword [eax + 0x38]
movsx eax, word [eax + edx*2]
mov edx, dword [ebp + 0x38]
lea edx, [eax + edx*8]
mov dword [esp + 0x60], edx
cmp dword [esp + 0x18], esi
je 0x544543
lea eax, [esi + 0x10]
cmp edi, 2
je 0x544548
mov eax, 4
sar edx, 1
sub edx, eax
lea eax, [edi*2 - 1]
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x18], esi
je 0x544567
cmp edi, 2
jne 0x544567
dec eax
mov dword [esp + 0x4c], eax
imul eax, edx
add eax, ecx
cdq
idiv dword [esp + 0x4c]
mov edx, dword [ebp + 0x18]
sub edx, dword [esp + 0x60]
mov ecx, eax
add edx, 0xffffffe0
mov eax, 0x40
cmp edx, ecx
cmovge edx, ecx
cmp edx, eax
cmovg edx, eax
cmp edx, 4
jge 0x544598
mov eax, 1
jmp 0x5445b5
mov eax, edx
mov ecx, 0xe
sar eax, 3
and edx, 7
sub cl, al
movsx eax, word [edx*2 + 0x5e8f10]
sar eax, cl
inc eax
and eax, 0xfffffffe
mov dword [esp + 0x30], eax
cmp dword [esp + 0x18], esi
je 0x5445d1
mov ecx, dword [ebp + 0x24]
cmp dword [ebp + 8], ecx
mov ecx, 1
cmovge eax, ecx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x10], esi
je 0x5445f8
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edi
push dword [esp + 0x5c]
call fcn.00547530
movss xmm6, dword [0x5f7d30]
mov esi, eax
add esp, 8
mov dword [esp + 0xc], esi
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x1c]
bsr eax, edx
shl ecx, 3
mov dword [esp + 0x4c], ecx
lea ecx, [eax - 0xf]
shr edx, cl
lea eax, [eax*2 + 2]
imul edx, edx
shr edx, 0xf
mov ecx, edx
shr ecx, 0x10
shr edx, cl
or eax, ecx
imul edx, edx
add eax, eax
shr edx, 0xf
mov ecx, edx
shr ecx, 0x10
shr edx, cl
or eax, ecx
imul edx, edx
add eax, eax
shr edx, 0x1f
or edx, eax
mov eax, dword [esp + 0x30]
sub dword [esp + 0x4c], edx
cmp eax, 1
je 0x544906
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x544666
imul esi, eax
add esi, 0x2000
sar esi, 0xe
mov edx, dword [esp + 0x18]
test edx, edx
je 0x54474a
cmp edi, 2
jle 0x54474a
cdq
sub eax, edx
mov edx, eax
sar edx, 1
mov dword [esp + 0x44], edx
lea eax, [edx + 1]
lea eax, [eax + eax*2]
mov dword [esp + 0x48], eax
add eax, edx
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x5446dd
mov eax, esi
lea ecx, [edx + 1]
sub eax, edx
lea ecx, [ecx + ecx*2]
add eax, ecx
lea ecx, [esi + esi*2]
cmp esi, edx
jg 0x5446b9
lea edi, [ecx + 3]
mov dword [esp + 0x48], edi
mov edi, dword [ebp + 0x14]
jmp 0x5446bd
mov dword [esp + 0x48], eax
push dword [esp + 0xc]
dec eax
cmp esi, edx
push dword [esp + 0x4c]
cmovg ecx, eax
mov edx, ecx
mov ecx, dword [ebp + 0x30]
call fcn.00537ba0
add esp, 8
jmp 0x544865
mov ecx, dword [ebp + 0x30]
mov edx, eax
call fcn.0053ec80
mov ecx, dword [esp + 0x44]
mov edx, eax
mov eax, dword [esp + 0x48]
cmp edx, eax
jge 0x544707
mov eax, 0x55555556
imul edx
mov eax, dword [esp + 0x48]
mov esi, edx
shr esi, 0x1f
jmp 0x54470c
sub edx, eax
lea esi, [ecx + 1]
add esi, edx
sub eax, ecx
add eax, esi
mov dword [esp + 0x48], eax
lea edx, [esi + esi*2]
cmp esi, ecx
jg 0x54472b
lea edi, [edx + 3]
mov dword [esp + 0x60], edi
mov edi, dword [ebp + 0x14]
mov eax, dword [esp + 0x60]
push dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x50]
dec eax
cmp esi, ecx
mov ecx, dword [ebp + 0x30]
cmovg edx, eax
call fcn.0053ecb0
add esp, 8
jmp 0x544865
cmp dword [esp + 0x1c], 1
jg 0x544847
test edx, edx
jne 0x544847
mov edx, eax
sar edx, 1
mov dword [esp + 0xc], edx
inc edx
mov dword [esp + 0x48], edx
imul edx, edx
mov dword [esp + 0x44], edx
test ecx, ecx
je 0x5447c6
mov ecx, eax
mov edi, esi
sub ecx, esi
sub eax, esi
cmp esi, dword [esp + 0xc]
mov dword [esp + 0x60], ecx
cmovg edi, eax
mov dword [esp + 0x5c], edi
jg 0x544798
lea edx, [esi + 1]
imul edx, esi
sar edx, 1
jmp 0x5447a7
mov eax, dword [esp + 0x60]
lea ecx, [eax + 2]
inc eax
imul ecx, eax
sar ecx, 1
sub edx, ecx
mov eax, dword [esp + 0x5c]
push dword [esp + 0x44]
mov ecx, dword [ebp + 0x30]
inc eax
add eax, edx
push eax
call fcn.00537ba0
mov edi, dword [ebp + 0x14]
add esp, 8
jmp 0x544865
mov ecx, dword [ebp + 0x30]
call fcn.0053ec80
mov edx, eax
mov eax, dword [esp + 0x48]
imul eax, dword [esp + 0xc]
sar eax, 1
cmp edx, eax
jge 0x5447fc
lea ecx, [edx*8 + 1]
call fcn.0054f360
lea esi, [eax - 1]
shr esi, 1
lea ecx, [esi + 1]
mov edx, ecx
imul edx, esi
sar edx, 1
jmp 0x544832
mov ecx, dword [esp + 0x44]
sub ecx, edx
lea ecx, [ecx*8 - 7]
call fcn.0054f360
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
lea esi, [ecx*2 + 2]
sub esi, eax
mov eax, ecx
shr esi, 1
sub eax, esi
lea ecx, [eax + 1]
add eax, 2
imul eax, ecx
sar eax, 1
sub edx, eax
push dword [esp + 0x44]
lea eax, [edx + ecx]
mov ecx, dword [ebp + 0x30]
push eax
call fcn.0053ecb0
add esp, 8
jmp 0x544865
test ecx, ecx
lea edx, [eax + 1]
mov ecx, dword [ebp + 0x30]
je 0x54485e
push edx
mov edx, esi
call fcn.00537c80
add esp, 4
jmp 0x544865
call fcn.0053ed90
mov esi, eax
shl esi, 0xe
mov eax, esi
cdq
idiv dword [esp + 0x30]
cmp dword [esp + 0x10], 0
mov esi, eax
mov dword [esp + 0xc], esi
je 0x544a14
cmp dword [esp + 0x18], 0
je 0x544a14
test esi, esi
jne 0x5448ad
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
push edi
push dword [ebp + 8]
push dword [ebp + 0x40]
push dword [ebp + 0x10]
call fcn.00543590
add esp, 0x10
jmp 0x544a14
test edi, edi
jle 0x544a14
mov edx, dword [ebp + 0xc]
mov eax, edi
mov ecx, dword [ebp + 0x10]
sub edx, ecx
movss xmm3, dword [0x5f7b40]
jmp 0x5448d0
movss xmm2, dword [edx + ecx]
movss xmm1, dword [ecx]
movaps xmm0, xmm2
addss xmm0, xmm1
mulss xmm2, xmm3
mulss xmm1, xmm3
mulss xmm0, xmm3
subss xmm1, xmm2
movss dword [edx + ecx], xmm0
movss dword [ecx], xmm1
add ecx, 4
sub eax, 1
jne 0x5448d0
jmp 0x544a14
cmp dword [esp + 0x18], 0
je 0x544a10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5449bf
xor eax, eax
cmp esi, 0x2000
setg al
mov dword [esp + 0x3c], eax
jle 0x5449a2
mov ecx, dword [ebp + 0x10]
xor edx, edx
cmp edi, 4
jl 0x54498c
lea esi, [edi - 4]
shr esi, 2
lea eax, [ecx + 8]
inc esi
lea edx, [esi*4]
lea esp, [esp]
movss xmm0, dword [eax - 8]
lea eax, [eax + 0x10]
xorps xmm0, xmm6
movss dword [eax - 0x18], xmm0
movss xmm0, dword [eax - 0x14]
xorps xmm0, xmm6
movss dword [eax - 0x14], xmm0
movss xmm0, dword [eax - 0x10]
xorps xmm0, xmm6
movss dword [eax - 0x10], xmm0
movss xmm0, dword [eax - 0xc]
xorps xmm0, xmm6
movss dword [eax - 0xc], xmm0
sub esi, 1
jne 0x544950
cmp edx, edi
jge 0x5449a2
movss xmm0, dword [ecx + edx*4]
xorps xmm0, xmm6
movss dword [ecx + edx*4], xmm0
inc edx
cmp edx, edi
jl 0x544990
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
push edi
push dword [ebp + 8]
push dword [ebp + 0x40]
push dword [ebp + 0x10]
call fcn.00543590
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp dword [ebp + 0x18], 0x10
jle 0x544a00
mov ecx, dword [ebp + 0x34]
cmp dword [ecx], 0x10
jle 0x544a00
mov ecx, dword [ebp + 0x30]
test eax, eax
je 0x5449ea
mov edx, dword [esp + 0x3c]
push 2
call fcn.00537bf0
add esp, 4
xor esi, esi
mov dword [esp + 0xc], esi
jmp 0x544a14
mov edx, 2
call fcn.0053ecf0
xor esi, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], esi
jmp 0x544a14
xor esi, esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], esi
jmp 0x544a14
mov esi, dword [esp + 0xc]
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x1c]
bsr eax, edx
shl ecx, 3
mov dword [esp + 0x48], ecx
lea ecx, [eax - 0xf]
shr edx, cl
lea eax, [eax*2 + 2]
imul edx, edx
shr edx, 0xf
mov ecx, edx
shr ecx, 0x10
shr edx, cl
or eax, ecx
imul edx, edx
add eax, eax
shr edx, 0xf
mov ecx, edx
shr ecx, 0x10
shr edx, cl
or eax, ecx
imul edx, edx
add eax, eax
shr edx, 0x1f
or edx, eax
mov eax, dword [esp + 0x48]
sub eax, edx
mov edx, dword [esp + 0x14]
sub eax, dword [esp + 0x4c]
sub dword [ebp + 0x18], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], edx
test esi, esi
jne 0x544aa1
mov ecx, dword [ebp + 0x20]
mov eax, 1
shl eax, cl
dec eax
mov dword [esp + 0x30], 0x7fff
and edx, eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x14], edx
mov edx, 0xffffc000
jmp 0x544c28
cmp esi, 0x4000
jne 0x544ad3
mov ecx, dword [ebp + 0x20]
mov eax, 1
shl eax, cl
dec eax
mov dword [esp + 0x30], 0
shl eax, cl
and edx, eax
mov dword [esp + 0x44], 0x7fff
mov dword [esp + 0x14], edx
mov edx, esi
jmp 0x544c28
movzx edi, si
mov ecx, 0x4000
movsx eax, di
imul eax, eax
add eax, 0x1000
sar eax, 0xd
movzx esi, ax
movsx edx, si
imul eax, edx, 0x272
sub ecx, eax
sar ecx, 0xf
add ecx, 0x2055
movsx eax, cx
mov ecx, 0x4000
imul eax, edx
add eax, 0x4000
sar eax, 0xf
sub eax, 0x1de3
cwde
imul eax, edx
add eax, 0x4000
sar eax, 0xf
sub eax, esi
sub eax, 0x8000
cwde
mov dword [esp + 0x30], eax
mov eax, ecx
sub eax, edi
cwde
imul eax, eax
add eax, 0x1000
sar eax, 0xd
movzx esi, ax
movsx edx, si
imul eax, edx, 0x272
sub ecx, eax
sar ecx, 0xf
add ecx, 0x2055
movsx eax, cx
imul eax, edx
add eax, 0x4000
sar eax, 0xf
sub eax, 0x1de3
cwde
imul eax, edx
mov edx, 0xf
add eax, 0x4000
sar eax, 0xf
sub eax, esi
sub eax, 0x8000
movsx ecx, ax
mov eax, dword [esp + 0x30]
bsr edi, ecx
bsr esi, eax
mov dword [esp + 0x44], ecx
inc edi
mov ecx, edx
movzx eax, ax
inc esi
sub edx, edi
sub ecx, esi
mov dword [esp + 0x60], esi
shl ax, cl
mov ecx, edx
movsx esi, ax
movzx eax, word [esp + 0x44]
shl ax, cl
mov ecx, 0x4000
movsx edx, ax
imul eax, edx, 0xa25
sub ecx, eax
imul eax, esi, 0xa25
sar ecx, 0xf
add ecx, 0x1efc
movsx ecx, cx
imul ecx, edx
mov edx, 0x4000
sub edx, eax
add ecx, 0x4000
sar ecx, 0xf
sar edx, 0xf
sub edi, dword [esp + 0x60]
add edx, 0x1efc
movsx eax, dx
imul eax, esi
mov esi, dword [esp + 0xc]
shl edi, 0xb
add eax, 0x4000
sar eax, 0xf
sub ecx, eax
add ecx, edi
mov edi, dword [ebp + 0x14]
mov eax, edi
movsx edx, cx
shl eax, 7
add eax, 0xffffff80
cwde
imul edx, eax
add edx, 0x4000
sar edx, 0xf
mov eax, dword [esp + 0x18]
cvtsi2ss xmm1, dword [esp + 0x30]
cvtsi2ss xmm2, dword [esp + 0x44]
mulss xmm1, dword [0x5f7a68]
mulss xmm2, dword [0x5f7a68]
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x54], xmm2
cmp edi, 2
jne 0x544e25
test eax, eax
je 0x544e25
xor edx, edx
test esi, esi
je 0x544c7f
cmp esi, 0x4000
mov eax, 8
cmovne edx, eax
mov ecx, dword [ebp + 0x34]
mov eax, dword [esp + 0x48]
sub dword [ebp + 0x18], edx
add eax, edx
sub dword [ecx], eax
cmp esi, 0x2000
mov eax, dword [ebp + 0xc]
mov edi, eax
mov ecx, dword [ebp + 0x10]
cmovg edi, ecx
cmovg ecx, eax
mov dword [esp + 0x30], edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x48], ecx
test edx, edx
je 0x544d0a
cmp dword [esp + 0x10], 0
je 0x544cfb
mov eax, dword [esp + 0x30]
movss xmm1, dword [ecx + 4]
movss xmm0, dword [eax + 4]
mulss xmm0, dword [ecx]
mulss xmm1, dword [eax]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x544ce0
mov eax, 1
jmp 0x544ce2
xor eax, eax
mov ecx, dword [ebp + 0x30]
mov edx, eax
push 1
mov dword [esp + 0x50], eax
call fcn.00537d50
mov eax, dword [esp + 0x50]
add esp, 4
jmp 0x544d0c
mov ecx, dword [ebp + 0x30]
mov edx, 1
call fcn.0053ee90
jmp 0x544d0c
xor eax, eax
push dword [esp + 0x58]
fld dword [ebp + 0x4c]
add eax, eax
push dword [ebp + 0x50]
mov edx, dword [esp + 0x28]
mov esi, 1
push ecx
mov ecx, dword [ebp + 0x34]
sub esi, eax
fstp dword [esp]
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push 0
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push ecx
push dword [ebp + 0x30]
mov ecx, dword [esp + 0x38]
push dword [esp + 0x50]
push dword [esp + 0x58]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 2
push 0
push dword [esp + 0x78]
push dword [ebp + 8]
call fcn.005440a0
mov ecx, esi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x80]
neg ecx
add esp, 0x50
cmp dword [esp + 0x10], 0
cvtsi2ss xmm0, ecx
mov ecx, dword [esp + 0x48]
mulss xmm0, dword [eax + 4]
movss dword [ecx], xmm0
cvtsi2ss xmm0, esi
mulss xmm0, dword [eax]
movss dword [ecx + 4], xmm0
jne 0x545512
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
movss xmm6, dword [0x5f7d30]
movss xmm0, dword [esi]
mulss xmm0, dword [esp + 0x5c]
movss dword [esi], xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, dword [esp + 0x5c]
movss dword [esi + 4], xmm0
movss xmm0, dword [eax + 4]
movss xmm2, dword [eax]
mulss xmm0, dword [esp + 0x54]
mulss xmm2, dword [esp + 0x54]
movss dword [eax + 4], xmm0
movss dword [eax], xmm2
movss xmm1, dword [esi]
movaps xmm0, xmm1
subss xmm0, xmm2
movss dword [esi], xmm0
addss xmm1, dword [eax]
movss dword [eax], xmm1
movss xmm1, dword [esi + 4]
movaps xmm0, xmm1
subss xmm0, dword [eax + 4]
movss dword [esi + 4], xmm0
movss xmm0, dword [eax + 4]
addss xmm0, xmm1
movss dword [eax + 4], xmm0
jmp 0x545473
cmp dword [esp + 0x1c], 1
mov dword [esp + 0x4c], 0
jle 0x544e74
test eax, eax
jne 0x544e74
test esi, 0x3fff
je 0x544e74
cmp esi, 0x2000
jle 0x544e58
mov ecx, 4
mov eax, edx
sub ecx, dword [ebp + 0x38]
sar eax, cl
sub edx, eax
jmp 0x544e74
mov ecx, 5
lea eax, [edi*8]
sub ecx, dword [ebp + 0x38]
sar eax, cl
xor ecx, ecx
add eax, edx
test eax, eax
mov edx, eax
cmovg edx, ecx
mov eax, dword [ebp + 0x18]
sub eax, edx
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp + 0x18]
sar edx, 1
mov ecx, eax
cmp eax, edx
cmovge ecx, edx
test ecx, ecx
jns 0x544e92
xor edx, edx
jmp 0x544e97
cmp eax, edx
cmovl edx, eax
mov ecx, dword [ebp + 0x34]
sub eax, edx
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x30], edx
mov eax, dword [eax]
sub eax, dword [esp + 0x48]
mov dword [ecx], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], eax
test ecx, ecx
je 0x544ec8
cmp dword [esp + 0x18], 0
jne 0x544ec8
lea eax, [ecx + edi*4]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x44]
xor esi, esi
inc eax
cmp dword [esp + 0x18], esi
cmove esi, eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x48], esi
xor esi, esi
cmp dword [esp + 0x18], esi
cmove eax, esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x44], eax
cmp edx, dword [ebp + 0x18]
jl 0x545002
cmp dword [esp + 0x18], 0
je 0x544f07
mov dword [esp + 0x44], 0x3f800000
jmp 0x544f12
mulss xmm1, dword [ebp + 0x4c]
movss dword [esp + 0x44], xmm1
push dword [esp + 0x14]
fld dword [esp + 0x48]
push dword [ebp + 0x50]
push ecx
fstp dword [esp]
push dword [ebp + 0x48]
push dword [esp + 0x58]
push 0
push eax
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push ecx
push dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edx
mov edx, dword [esp + 0x60]
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005440a0
mov edx, dword [ebp + 0x34]
add esp, 0x50
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x58]
add eax, dword [edx]
cmp eax, 0x18
jle 0x544f81
test esi, esi
je 0x544f81
mov ecx, dword [ebp + 0x18]
add ecx, 0xffffffe8
add ecx, eax
mov dword [ebp + 0x18], ecx
mov ecx, dword [ebp + 0x20]
mov eax, dword [esp + 0x14]
movss xmm1, dword [esp + 0x54]
mulss xmm1, dword [ebp + 0x4c]
sar eax, cl
push eax
push 0
push ecx
movss dword [esp], xmm1
push dword [ebp + 0x48]
push dword [esp + 0x58]
push 0
push 0
push dword [ebp + 0x38]
push edx
push dword [ebp + 0x30]
mov edx, dword [esp + 0x48]
push dword [esp + 0x74]
push dword [esp + 0x58]
push dword [ebp + 0x24]
push ecx
push dword [ebp + 0x1c]
mov ecx, dword [esp + 0x4c]
push dword [ebp + 0x18]
push edi
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.005440a0
mov ecx, dword [esp + 0x68]
add esp, 0x50
mov edx, dword [esp + 0x1c]
neg ecx
mov esi, dword [ebp + 0xc]
sbb ecx, ecx
sar edx, 1
neg ecx
dec ecx
and ecx, edx
shl eax, cl
mov ecx, dword [esp + 0xc]
or ecx, eax
mov dword [esp + 0xc], ecx
jmp 0x545290
mov ecx, dword [ebp + 0x20]
mov eax, dword [esp + 0x14]
mulss xmm2, dword [ebp + 0x4c]
sar eax, cl
push eax
push 0
push ecx
movss dword [esp], xmm2
push dword [ebp + 0x48]
mov edx, dword [esp + 0x30]
push dword [esp + 0x58]
push 0
push 0
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [esp + 0x74]
push dword [esp + 0x58]
push dword [ebp + 0x24]
push ecx
push dword [ebp + 0x1c]
mov ecx, dword [esp + 0x4c]
push dword [ebp + 0x18]
push edi
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.005440a0
mov ecx, dword [esp + 0x68]
add esp, 0x50
neg ecx
mov edx, eax
mov eax, dword [esp + 0x1c]
sbb ecx, ecx
sar eax, 1
neg ecx
dec ecx
and ecx, eax
mov eax, dword [esp + 0x30]
shl edx, cl
mov ecx, dword [ebp + 0x18]
sub ecx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0x34]
add ecx, dword [edx]
cmp ecx, 0x18
jle 0x545095
cmp esi, 0x4000
je 0x545095
add eax, 0xffffffe8
add eax, ecx
cmp dword [esp + 0x18], 0
je 0x5450a6
mov dword [esp + 0x5c], 0x3f800000
jmp 0x5450b7
movss xmm1, dword [esp + 0x5c]
mulss xmm1, dword [ebp + 0x4c]
movss dword [esp + 0x5c], xmm1
push dword [esp + 0x14]
fld dword [esp + 0x60]
push dword [ebp + 0x50]
mov esi, dword [ebp + 0xc]
push ecx
fstp dword [esp]
push dword [ebp + 0x48]
mov ecx, dword [ebp + 0x24]
push dword [esp + 0x58]
push 0
push dword [esp + 0x5c]
push dword [ebp + 0x38]
push edx
push dword [ebp + 0x30]
mov edx, dword [esp + 0x48]
push dword [esp + 0x50]
push dword [esp + 0x58]
push ecx
push dword [ebp + 0x20]
mov ecx, dword [esp + 0x48]
push dword [ebp + 0x1c]
push eax
push edi
push 0
push esi
push dword [ebp + 8]
call fcn.005440a0
mov ecx, dword [esp + 0x5c]
add esp, 0x50
or ecx, eax
mov dword [esp + 0xc], ecx
jmp 0x545290
mov edx, dword [esp + 0x20]
inc eax
mov edi, dword [ebp + 0x18]
dec edi
imul eax, dword [edx + 8]
mov ecx, dword [edx + 0x60]
add eax, dword [ebp + 8]
movsx esi, word [ecx + eax*2]
add esi, dword [edx + 0x64]
mov dword [esp + 0x2c], esi
movzx ecx, byte [esi]
lea edx, [ecx + 1]
shr edx, 1
movzx eax, byte [edx + esi]
mov esi, edx
cmp eax, edi
cmovl esi, ecx
xor ecx, ecx
cmp eax, edi
mov eax, dword [esp + 0x2c]
cmovl ecx, edx
mov dword [esp + 0x30], ecx
inc ecx
add ecx, esi
shr ecx, 1
mov edx, ecx
movzx eax, byte [eax + ecx]
cmp eax, edi
mov eax, dword [esp + 0x30]
cmovl eax, ecx
cmovl edx, esi
mov dword [esp + 0x30], eax
lea ecx, [eax + 1]
mov eax, dword [esp + 0x2c]
add ecx, edx
shr ecx, 1
mov esi, ecx
movzx eax, byte [eax + ecx]
cmp eax, edi
mov eax, dword [esp + 0x30]
cmovl eax, ecx
cmovl esi, edx
mov dword [esp + 0x30], eax
lea ecx, [eax + 1]
mov eax, dword [esp + 0x2c]
add ecx, esi
shr ecx, 1
mov edx, ecx
movzx eax, byte [eax + ecx]
cmp eax, edi
mov eax, dword [esp + 0x30]
cmovl eax, ecx
cmovl edx, esi
mov dword [esp + 0x30], eax
lea ecx, [eax + 1]
mov eax, dword [esp + 0x2c]
add ecx, edx
sar ecx, 1
mov esi, ecx
movzx eax, byte [eax + ecx]
cmp eax, edi
mov eax, dword [esp + 0x2c]
cmovl esi, edx
mov edx, dword [esp + 0x30]
cmovl edx, ecx
lea ecx, [esi + 1]
add ecx, edx
sar ecx, 1
movzx eax, byte [eax + ecx]
cmp eax, edi
cmovl edx, ecx
cmovl ecx, esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x5c], ecx
test edx, edx
jne 0x5451f8
or ecx, 0xffffffff
jmp 0x5451fc
movzx ecx, byte [edx + esi]
mov eax, dword [esp + 0x5c]
movzx eax, byte [eax + esi]
sub eax, edi
sub edi, ecx
cmp edi, eax
cmovg edx, dword [esp + 0x5c]
test edx, edx
jne 0x545217
xor eax, eax
jmp 0x54521c
movzx eax, byte [esi + edx]
inc eax
mov ecx, dword [ebp + 0x34]
mov edi, dword [ebp + 0x34]
mov ecx, dword [ecx]
sub ecx, eax
mov dword [edi], ecx
mov edi, dword [ebp + 0x14]
jns 0x54524d
mov edi, dword [ebp + 0x34]
test edx, edx
jle 0x54524a
add ecx, eax
sub edx, 1
jne 0x54523f
xor eax, eax
jmp 0x545244
movzx eax, byte [esi + edx]
inc eax
sub ecx, eax
mov dword [edi], ecx
js 0x545230
mov edi, dword [ebp + 0x14]
test edx, edx
je 0x5452d6
cmp edx, 8
jl 0x54526c
mov eax, edx
sar edx, 3
and eax, 7
add eax, 8
lea ecx, [edx - 1]
shl eax, cl
mov edx, eax
cmp dword [esp + 0x10], 0
mov esi, dword [ebp + 0xc]
je 0x5452a8
push dword [ebp + 0x30]
mov ecx, esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edx
mov edx, edi
call fcn.00547030
add esp, 0x10
mov dword [esp + 0xc], eax
cmp dword [esp + 0x10], 0
jne 0x545512
movss xmm6, dword [0x5f7d30]
jmp 0x545470
fld dword [ebp + 0x4c]
push ecx
fstp dword [esp]
push dword [ebp + 0x30]
mov ecx, esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edx
mov edx, edi
call fcn.00547370
movss xmm6, dword [0x5f7d30]
add esp, 0x14
mov dword [esp + 0xc], eax
jmp 0x545470
cmp dword [esp + 0x10], 0
jne 0x5456ea
mov ecx, dword [ebp + 0x20]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x14]
dec eax
and ecx, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], ecx
jne 0x545317
mov esi, dword [ebp + 0xc]
test edi, edi
jle 0x545470
mov ecx, edi
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x14]
jmp 0x545470
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x5453f8
mov edx, dword [ebp + 0x48]
xor esi, esi
mov ecx, dword [ebp + 0xc]
cmp edi, 4
jl 0x5453c3
lea eax, [edi - 4]
shr eax, 2
lea esi, [ecx + 8]
inc eax
mov dword [esp + 0x5c], eax
mov edi, eax
shl eax, 2
mov dword [esp + 0x58], eax
jmp 0x545350
imul eax, dword [edx], 0x19660d
lea esi, [esi + 0x10]
add eax, 0x3c6ef35f
mov dword [edx], eax
sar eax, 0x14
cvtsi2ss xmm0, eax
movss dword [esi - 0x18], xmm0
imul eax, dword [edx], 0x19660d
add eax, 0x3c6ef35f
mov dword [edx], eax
sar eax, 0x14
cvtsi2ss xmm0, eax
movss dword [esi - 0x14], xmm0
imul eax, dword [edx], 0x19660d
add eax, 0x3c6ef35f
mov dword [edx], eax
sar eax, 0x14
cvtsi2ss xmm0, eax
movss dword [esi - 0x10], xmm0
imul eax, dword [edx], 0x19660d
add eax, 0x3c6ef35f
mov dword [edx], eax
sar eax, 0x14
cvtsi2ss xmm0, eax
movss dword [esi - 0xc], xmm0
sub edi, 1
jne 0x545350
mov edi, dword [ebp + 0x14]
mov esi, dword [esp + 0x58]
cmp esi, edi
jge 0x5453ee
jmp 0x5453d0
imul eax, dword [edx], 0x19660d
add eax, 0x3c6ef35f
mov dword [edx], eax
sar eax, 0x14
cvtsi2ss xmm0, eax
movss dword [ecx + esi*4], xmm0
inc esi
cmp esi, edi
jl 0x5453d0
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
jmp 0x54545a
test edi, edi
jle 0x545456
mov esi, dword [ebp + 0xc]
sub edx, esi
movss xmm3, dword [0x5f7a98]
movss xmm2, dword [0x5f7cd0]
mov ecx, dword [ebp + 0x48]
mov dword [esp + 0x5c], edi
jmp 0x545420
imul eax, dword [ecx], 0x19660d
movaps xmm1, xmm3
add eax, 0x3c6ef35f
mov dword [ecx], eax
test eax, 0x8000
jne 0x54543a
movaps xmm1, xmm2
movss xmm0, dword [edx + esi]
addss xmm0, xmm1
movss dword [esi], xmm0
add esi, 4
sub edi, 1
jne 0x545420
mov edi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
fld dword [ebp + 0x4c]
mov edx, edi
mov esi, dword [ebp + 0xc]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00547430
add esp, 4
mov eax, dword [ebp + 0x10]
cmp dword [esp + 0x18], 0
je 0x54551e
cmp edi, 2
je 0x545498
fld dword [esp + 0x60]
mov edx, eax
push edi
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.005436d0
add esp, 8
cmp dword [esp + 0x3c], 0
je 0x545512
mov ecx, dword [ebp + 0x10]
xor edx, edx
cmp edi, 4
jl 0x5454fc
lea esi, [edi - 4]
shr esi, 2
lea eax, [ecx + 8]
inc esi
lea edx, [esi*4]
lea ebx, [ebx]
movss xmm0, dword [eax - 8]
lea eax, [eax + 0x10]
xorps xmm0, xmm6
movss dword [eax - 0x18], xmm0
movss xmm0, dword [eax - 0x14]
xorps xmm0, xmm6
movss dword [eax - 0x14], xmm0
movss xmm0, dword [eax - 0x10]
xorps xmm0, xmm6
movss dword [eax - 0x10], xmm0
movss xmm0, dword [eax - 0xc]
xorps xmm0, xmm6
movss dword [eax - 0xc], xmm0
sub esi, 1
jne 0x5454c0
cmp edx, edi
jge 0x545512
movss xmm0, dword [ecx + edx*4]
xorps xmm0, xmm6
movss dword [ecx + edx*4], xmm0
inc edx
cmp edx, edi
jl 0x545500
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x44], 0
jne 0x545512
mov ecx, dword [esp + 0x1c]
cmp ecx, 1
jle 0x54554e
push dword [esp + 0x50]
mov edx, dword [esp + 0x28]
mov eax, ecx
mov ecx, dword [esp + 0x38]
shl eax, cl
sar edx, cl
mov ecx, esi
push eax
call fcn.00543d50
mov ecx, dword [esp + 0x24]
add esp, 8
cmp dword [esp + 0x40], 0
mov edi, dword [esp + 0xc]
jle 0x545590
lea esp, [esp]
mov edx, dword [esp + 0x24]
mov eax, edi
sar ecx, 1
add edx, edx
shr eax, cl
mov dword [esp + 0x1c], ecx
or edi, eax
push ecx
mov ecx, esi
mov dword [esp + 0x28], edx
call fcn.00544010
mov ecx, dword [esp + 0x20]
add esp, 4
sub dword [esp + 0x40], 1
jne 0x545560
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x60], ecx
test eax, eax
jle 0x5455e9
mov eax, 1
mov dword [esp + 0x5c], eax
jmp 0x5455b0
mov edx, dword [esp + 0x38]
movzx edi, byte [edi + 0x5e8f00]
sar edx, cl
mov ecx, esi
push eax
call fcn.00544010
mov ecx, dword [esp + 0x64]
add esp, 4
mov eax, dword [esp + 0x5c]
inc ecx
rol eax, 1
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], eax
cmp ecx, dword [esp + 0x34]
jl 0x5455b0
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x1c]
mov ecx, eax
shl edx, cl
cmp dword [ebp + 0x3c], 0
mov dword [esp + 0x1c], edx
je 0x5456d6
fild dword [esp + 0x64]
mov eax, dword [esp + 0x38]
xor ecx, ecx
fsqrt
fstp dword [esp + 0x64]
movss xmm1, dword [esp + 0x64]
cmp eax, 4
jl 0x5456a1
mov edi, dword [ebp + 0x3c]
lea ecx, [esi + 0xc]
mov edx, esi
sub edx, edi
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x38]
lea eax, [edi + 4]
mov edi, dword [esp + 0x64]
add edx, 0xfffffffc
shr edx, 2
inc edx
mov dword [esp + 0x60], edx
shl edx, 2
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x1c]
lea ecx, [ecx]
sub dword [esp + 0x60], 1
lea eax, [eax + 0x10]
movss xmm0, dword [ecx - 0xc]
lea ecx, [ecx + 0x10]
mulss xmm0, xmm1
movss dword [eax - 0x14], xmm0
movss xmm0, dword [edi + eax - 0x10]
mulss xmm0, xmm1
movss dword [eax - 0x10], xmm0
movss xmm0, dword [ecx - 0x14]
mulss xmm0, xmm1
movss dword [eax - 0xc], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ecx - 0x10]
movss dword [eax - 8], xmm0
jne 0x545650
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jge 0x5456d6
mov eax, dword [ebp + 0x3c]
sub esi, dword [ebp + 0x3c]
sub dword [esp + 0x38], ecx
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x38]
jmp 0x5456c0
movss xmm0, dword [eax + esi]
lea eax, [eax + 4]
mulss xmm0, xmm1
movss dword [eax - 4], xmm0
sub ecx, 1
jne 0x5456c0
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor edi, edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret