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

Disassembly:
push esi
push edi
push ebx
sub esp, 0x84
mov edx, 1
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
test eax, eax
mov ebx, dword [esp + 0xb8]
mov ecx, dword [ecx]
cmovle eax, edx
test ecx, ecx
mov edi, dword [esp + 0xc0]
cmovle ecx, edx
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx]
mov ebx, dword [esp + 0xbc]
mov esi, dword [esp + 0xa0]
mov edi, dword [edi]
mov ebx, dword [ebx]
test ebx, ebx
mov esi, dword [esi]
cmovle ebx, edx
test edi, edi
mov dword [esp + 0x38], eax
cmovle edi, edx
cmp esi, ecx
mov edx, ecx
cmovl edx, esi
cmp eax, ebx
mov dword [esp + 0x4c], edx
mov edx, ebx
cmovl edx, eax
mov eax, dword [esp + 0x60]
cmp eax, edi
mov dword [esp + 0x34], edi
cmovl edi, eax
mov dword [esp + 0x70], edx
test edi, edi
mov dword [esp + 0x1c], edi
jle 0x45fafb
mov edi, dword [esp + 0x38]
lea eax, [esi*8]
mov edx, edi
imul edx, eax
mov dword [esp + 0x50], eax
lea eax, [ecx*8]
mov dword [esp + 0x28], edx
mov edx, ebx
mov dword [esp + 0x48], eax
imul edx, eax
neg eax
imul eax, ebx
add eax, dword [esp + 0xac]
add eax, edx
mov dword [esp + 0x20], eax
mov eax, esi
mov dword [esp + 0x24], edx
mov edx, esi
neg eax
imul edx, edi
imul eax, edi
mov dword [esp + 0x18], edx
add eax, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], 0
add eax, dword [edx]
mov edx, ecx
mov dword [esp + 0xc], eax
mov eax, ecx
neg edx
imul eax, ebx
imul edx, ebx
mov dword [esp + 8], eax
add edx, eax
mov eax, dword [esp + 0xb4]
add edx, dword [eax]
mov eax, 0x2aaaaaab
mov dword [esp + 4], edx
mov edx, dword [esp + 0x50]
neg edx
imul edx, edi
add edx, dword [esp + 0x10]
add edx, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
mov dword [esp], edx
imul edi
mov eax, edi
sar edx, 2
sar eax, 0x1f
sub edx, eax
lea eax, [edi + 1]
cmp dword [esp + 0x70], 0
jle 0x45f4cf
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], esi
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
imul edx, edi
imul eax, edi
imul esi, edi
mov ebx, dword [esp + 8]
imul ebx, edi
add edx, dword [esp + 0xc]
add eax, dword [esp]
add esi, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], edx
add ebx, dword [esp + 4]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x44], esi
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
imul esi, ecx
imul edi, ecx
add esi, dword [esp + 0x5c]
add edi, ebx
cmp esi, edi
jle 0x45f4a6
mov esi, dword [esp + 0x50]
mov edi, 1
imul esi, ecx
add esi, dword [esp + 0x40]
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x48]
imul esi, ecx
add esi, dword [esp + 0x44]
mov dword [0x5e1560], edx
test edx, edx
mov dword [0x5e1564], edi
mov dword [0x5e1568], edx
mov dword [0x5e156c], edi
jle 0x45f49c
cmp dword [esp + 0x54], 0
je 0x45fc09
xor edi, edi
mov dword [esp + 0x30], ecx
mov eax, edi
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
movsd xmm0, qword [eax + edx]
inc edi
movsd xmm1, qword [eax + edx + 8]
movsd xmm2, qword [eax + edx + 0x10]
movsd xmm3, qword [eax + edx + 0x18]
movsd xmm4, qword [eax + edx + 0x20]
movsd xmm5, qword [eax + edx + 0x28]
movsd xmm6, qword [eax + edx + 0x30]
movsd xmm7, qword [eax + edx + 0x38]
movsd qword [eax + esi], xmm0
movsd qword [eax + esi + 8], xmm1
movsd qword [eax + esi + 0x10], xmm2
movsd qword [eax + esi + 0x18], xmm3
movsd qword [eax + esi + 0x20], xmm4
movsd qword [eax + esi + 0x28], xmm5
movsd qword [eax + esi + 0x30], xmm6
movsd qword [eax + esi + 0x38], xmm7
movsd xmm0, qword [eax + edx + 0x40]
movsd xmm1, qword [eax + edx + 0x48]
movsd xmm2, qword [eax + edx + 0x50]
movsd xmm3, qword [eax + edx + 0x58]
movsd xmm4, qword [eax + edx + 0x60]
movsd xmm5, qword [eax + edx + 0x68]
movsd xmm6, qword [eax + edx + 0x70]
movsd xmm7, qword [eax + edx + 0x78]
movsd qword [eax + esi + 0x40], xmm0
movsd qword [eax + esi + 0x48], xmm1
movsd qword [eax + esi + 0x50], xmm2
movsd qword [eax + esi + 0x58], xmm3
movsd qword [eax + esi + 0x60], xmm4
movsd qword [eax + esi + 0x68], xmm5
movsd qword [eax + esi + 0x70], xmm6
movsd qword [eax + esi + 0x78], xmm7
movsd xmm0, qword [eax + edx + 0x80]
movsd xmm1, qword [eax + edx + 0x88]
movsd xmm2, qword [eax + edx + 0x90]
movsd xmm3, qword [eax + edx + 0x98]
movsd xmm4, qword [eax + edx + 0xa0]
movsd xmm5, qword [eax + edx + 0xa8]
movsd xmm6, qword [eax + edx + 0xb0]
movsd xmm7, qword [eax + edx + 0xb8]
movsd qword [eax + esi + 0x80], xmm0
movsd qword [eax + esi + 0x88], xmm1
movsd qword [eax + esi + 0x90], xmm2
movsd qword [eax + esi + 0x98], xmm3
movsd qword [eax + esi + 0xa0], xmm4
movsd qword [eax + esi + 0xa8], xmm5
movsd qword [eax + esi + 0xb0], xmm6
movsd qword [eax + esi + 0xb8], xmm7
add eax, 0xc0
cmp edi, ecx
jb 0x45f2fe
mov dword [esp + 0x54], ecx
lea edi, [edi + edi*2]
mov ecx, dword [esp + 0x30]
lea edi, [edi*8 + 1]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x70]
dec edi
cmp edi, edx
jae 0x45f490
mov eax, dword [esp + 0x58]
movsd xmm0, qword [eax + edi*8]
movsd qword [esi + edi*8], xmm0
inc edi
cmp edi, edx
jb 0x45f47d
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
mov dword [0x5e1570], esi
jmp 0x45f4a6
mov dword [0x5e1570], 1
inc ecx
cmp ecx, eax
jb 0x45f288
nop
lea esi, [esi]
mov edi, dword [esp + 0x2c]
inc edi
cmp edi, dword [esp + 0x1c]
jb 0x45f243
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x68], ecx
shl ecx, 3
mov dword [esp + 8], ecx
neg ecx
mov edx, dword [eax]
lea eax, [esi*8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], ebx
imul ebx, ecx
mov dword [esp], edx
lea eax, [eax + 1]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x54], ecx
mov ecx, edx
imul edx, eax
mov dword [esp + 0x44], ebx
mov ebx, esi
mov dword [esp + 0xc], eax
neg ebx
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x14]
imul ecx, ebx
mov edi, dword [edi]
lea edx, [edx + eax + 1]
mov eax, esi
sub edi, esi
imul eax, edx
add edi, ebx
add edi, ecx
mov dword [esp + 0x6c], esi
add edi, ecx
mov esi, dword [esp + 0x64]
add eax, edi
mov dword [esp + 0x78], ebx
mov ebx, esi
mov edi, dword [esp + 0xc]
imul ebx, edi
imul edi, esi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
lea edx, [ebx + edx + 1]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 8]
imul edx, eax
neg eax
add eax, dword [esp + 0xac]
add ecx, ebx
add eax, ecx
add eax, ebx
mov ebx, dword [esp + 0x68]
mov ecx, ebx
add edx, eax
neg ecx
mov dword [esp + 0x30], edx
mov edx, esi
mov esi, dword [esp + 0x70]
imul edx, ecx
mov dword [esp + 0x74], ecx
lea eax, [edi + esi + 1]
imul eax, ebx
mov edi, dword [esp]
sub edi, ebx
add edi, ecx
add edi, edx
mov ebx, dword [esp + 4]
mov ecx, ebx
add edi, edx
neg ecx
add eax, edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
imul eax, ecx
mov edi, dword [esp + 0x20]
imul edi, ebx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x10]
sub edx, ebx
lea ebx, [ecx + eax]
add edx, ebx
mov dword [esp + 0x24], eax
add edx, eax
mov eax, 0x2aaaaaab
add edi, edx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x4c]
imul ecx
sar edx, 2
sar ecx, 0x1f
sub edx, ecx
mov ebx, dword [esp + 0x64]
test esi, esi
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x48], 0
jle 0x45fafb
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], esi
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
xor edx, edx
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
imul ebx, edi
imul esi, edi
imul ecx, edi
imul eax, edi
add ebx, dword [esp + 0x30]
add esi, dword [esp + 0x3c]
add ecx, dword [esp + 0x28]
add eax, dword [esp + 0x20]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], esi
mov dword [esp + 0x48], edi
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
imul eax, edx
imul ecx, edx
add eax, dword [esp + 0x80]
add ecx, dword [esp + 0x7c]
cmp eax, ecx
jge 0x45fad0
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
imul ecx, edx
imul eax, edx
add ecx, dword [esp + 0x58]
add eax, dword [esp + 0x5c]
mov dword [0x5e1560], ebx
test ebx, ebx
mov dword [0x5e1564], ebx
mov dword [0x5e1568], 1
mov dword [0x5e156c], 0xffffffff
jle 0x45faca
cmp ebx, 6
jle 0x45f8f8
lea edi, [ecx + ebx*8 - 8]
mov dword [esp + 4], edi
lea esi, [eax + ebx*8 - 8]
mov dword [esp], esi
cmp esi, edi
jbe 0x45f704
mov edi, esi
lea esi, [ebx*8]
sub edi, dword [esp + 4]
cmp esi, edi
jl 0x45f723
mov esi, dword [esp + 4]
cmp esi, dword [esp]
jbe 0x45f8f8
lea edi, [ebx*8]
sub esi, dword [esp]
cmp esi, edi
jle 0x45f8f8
cmp dword [esp + 0x18], 0
je 0x45fc13
xor esi, esi
lea edi, [eax + ebx*8]
mov dword [esp + 8], edi
lea edi, [ecx + ebx*8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edx, esi
mov ecx, edi
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x18]
movsd xmm0, qword [edx + ecx - 8]
inc esi
movsd xmm1, qword [edx + ecx - 0x10]
movsd xmm2, qword [edx + ecx - 0x18]
movsd xmm3, qword [edx + ecx - 0x20]
movsd xmm4, qword [edx + ecx - 0x28]
movsd xmm5, qword [edx + ecx - 0x30]
movsd xmm6, qword [edx + ecx - 0x38]
movsd xmm7, qword [edx + ecx - 0x40]
movsd qword [edx + ebx - 8], xmm0
movsd qword [edx + ebx - 0x10], xmm1
movsd qword [edx + ebx - 0x18], xmm2
movsd qword [edx + ebx - 0x20], xmm3
movsd qword [edx + ebx - 0x28], xmm4
movsd qword [edx + ebx - 0x30], xmm5
movsd qword [edx + ebx - 0x38], xmm6
movsd qword [edx + ebx - 0x40], xmm7
movsd xmm0, qword [edx + ecx - 0x48]
movsd xmm1, qword [edx + ecx - 0x50]
movsd xmm2, qword [edx + ecx - 0x58]
movsd xmm3, qword [edx + ecx - 0x60]
movsd xmm4, qword [edx + ecx - 0x68]
movsd xmm5, qword [edx + ecx - 0x70]
movsd xmm6, qword [edx + ecx - 0x78]
movsd xmm7, qword [edx + ecx - 0x80]
movsd qword [edx + ebx - 0x48], xmm0
movsd qword [edx + ebx - 0x50], xmm1
movsd qword [edx + ebx - 0x58], xmm2
movsd qword [edx + ebx - 0x60], xmm3
movsd qword [edx + ebx - 0x68], xmm4
movsd qword [edx + ebx - 0x70], xmm5
movsd qword [edx + ebx - 0x78], xmm6
movsd qword [edx + ebx - 0x80], xmm7
movsd xmm0, qword [edx + ecx - 0x88]
movsd xmm1, qword [edx + ecx - 0x90]
movsd xmm2, qword [edx + ecx - 0x98]
movsd xmm3, qword [edx + ecx - 0xa0]
movsd xmm4, qword [edx + ecx - 0xa8]
movsd xmm5, qword [edx + ecx - 0xb0]
movsd xmm6, qword [edx + ecx - 0xb8]
nop
movsd xmm7, qword [edx + ecx - 0xc0]
movsd qword [edx + ebx - 0x88], xmm0
movsd qword [edx + ebx - 0x90], xmm1
movsd qword [edx + ebx - 0x98], xmm2
movsd qword [edx + ebx - 0xa0], xmm3
movsd qword [edx + ebx - 0xa8], xmm4
movsd qword [edx + ebx - 0xb0], xmm5
movsd qword [edx + ebx - 0xb8], xmm6
movsd qword [edx + ebx - 0xc0], xmm7
add edx, 0xffffff40
cmp esi, edi
jb 0x45f74e
mov dword [esp + 0x18], edi
lea esi, [esi + esi*2]
mov ecx, dword [esp + 0x10]
lea esi, [esi*8 + 1]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x4c]
dec esi
mov edi, esi
neg edi
cmp esi, ebx
jae 0x45f8e9
lea eax, [eax + ebx*8]
lea ecx, [ecx + ebx*8]
movsd xmm0, qword [ecx + edi*8 - 8]
inc esi
movsd qword [eax + edi*8 - 8], xmm0
dec edi
cmp esi, ebx
jb 0x45f8d7
mov dword [0x5e1570], 0
jmp 0x45fad0
cmp dword [esp + 0x18], 0
je 0x45fc1d
xor esi, esi
lea edi, [eax + ebx*8]
mov dword [esp + 0xc], edi
lea edi, [ecx + ebx*8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edx, esi
mov ecx, edi
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
movsd xmm0, qword [edx + ecx - 8]
inc esi
movsd xmm1, qword [edx + ecx - 0x10]
movsd xmm2, qword [edx + ecx - 0x18]
movsd xmm3, qword [edx + ecx - 0x20]
movsd xmm4, qword [edx + ecx - 0x28]
movsd xmm5, qword [edx + ecx - 0x30]
movsd xmm6, qword [edx + ecx - 0x38]
movsd xmm7, qword [edx + ecx - 0x40]
movsd qword [edx + ebx - 8], xmm0
movsd qword [edx + ebx - 0x10], xmm1
movsd qword [edx + ebx - 0x18], xmm2
movsd qword [edx + ebx - 0x20], xmm3
movsd qword [edx + ebx - 0x28], xmm4
movsd qword [edx + ebx - 0x30], xmm5
movsd qword [edx + ebx - 0x38], xmm6
movsd qword [edx + ebx - 0x40], xmm7
movsd xmm0, qword [edx + ecx - 0x48]
movsd xmm1, qword [edx + ecx - 0x50]
movsd xmm2, qword [edx + ecx - 0x58]
movsd xmm3, qword [edx + ecx - 0x60]
movsd xmm4, qword [edx + ecx - 0x68]
movsd xmm5, qword [edx + ecx - 0x70]
movsd xmm6, qword [edx + ecx - 0x78]
movsd xmm7, qword [edx + ecx - 0x80]
movsd qword [edx + ebx - 0x48], xmm0
movsd qword [edx + ebx - 0x50], xmm1
movsd qword [edx + ebx - 0x58], xmm2
movsd qword [edx + ebx - 0x60], xmm3
movsd qword [edx + ebx - 0x68], xmm4
movsd qword [edx + ebx - 0x70], xmm5
movsd qword [edx + ebx - 0x78], xmm6
movsd qword [edx + ebx - 0x80], xmm7
movsd xmm0, qword [edx + ecx - 0x88]
movsd xmm1, qword [edx + ecx - 0x90]
movsd xmm2, qword [edx + ecx - 0x98]
movsd xmm3, qword [edx + ecx - 0xa0]
movsd xmm4, qword [edx + ecx - 0xa8]
movsd xmm5, qword [edx + ecx - 0xb0]
movsd xmm6, qword [edx + ecx - 0xb8]
nop
movsd xmm7, qword [edx + ecx - 0xc0]
movsd qword [edx + ebx - 0x88], xmm0
movsd qword [edx + ebx - 0x90], xmm1
movsd qword [edx + ebx - 0x98], xmm2
movsd qword [edx + ebx - 0xa0], xmm3
movsd qword [edx + ebx - 0xa8], xmm4
movsd qword [edx + ebx - 0xb0], xmm5
movsd qword [edx + ebx - 0xb8], xmm6
movsd qword [edx + ebx - 0xc0], xmm7
add edx, 0xffffff40
cmp esi, edi
jb 0x45f923
mov dword [esp + 0x18], edi
lea esi, [esi + esi*2]
mov ecx, dword [esp + 0x10]
lea esi, [esi*8 + 1]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x4c]
dec esi
mov edi, esi
neg edi
cmp esi, ebx
jae 0x45fabe
lea eax, [eax + ebx*8]
lea ecx, [ecx + ebx*8]
movsd xmm0, qword [ecx + edi*8 - 8]
inc esi
movsd qword [eax + edi*8 - 8], xmm0
dec edi
cmp esi, ebx
jb 0x45faac
mov dword [0x5e1570], 0
jmp 0x45fad0
mov dword [0x5e1570], ebx
inc edx
cmp edx, dword [esp + 0x70]
jb 0x45f678
nop
lea esi, [esi]
mov edi, dword [esp + 0x48]
inc edi
cmp edi, dword [esp + 0x1c]
jb 0x45f62f
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
cmp dword [esp + 0x34], 0
jle 0x45fbfd
mov edi, dword [esp + 0xc4]
lea edx, [ecx*8]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x58], 0
pxor xmm1, xmm1
mov eax, dword [edi]
pxor xmm0, xmm0
mov dword [esp + 0x48], eax
mov eax, edx
neg eax
imul eax, ebx
imul edx, ebx
mov edi, dword [esp + 0xac]
mov dword [esp + 0x54], edx
lea ebx, [edi + eax]
add ebx, edx
mov dword [esp + 0x4c], ebx
lea ebx, [edi + esi*8]
add ebx, eax
mov eax, ecx
sub eax, esi
add ebx, edx
mov edi, dword [esp + 0x58]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x64]
test ebx, ebx
mov dword [esp + 0x44], edi
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
jle 0x45fbfd
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], esi
mov ebx, edi
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov eax, dword [esp + 0x50]
inc edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x58], edi
add ecx, ebx
mov dword [esp + 0x40], ecx
lea esi, [eax + ebx]
mov dword [esp + 0x3c], esi
xor eax, eax
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
inc edx
cmp ecx, edx
jl 0x45fbcc
mov edi, dword [esp + 0x60]
cmp edi, dword [esp + 0x58]
jge 0x45fbd3
cmp esi, 1
je 0x45fc27
jmp 0x45fbe2
cmp ebx, dword [esp + 0x6c]
jle 0x45fbe2
cmp esi, 1
je 0x45fd1f
cmp edx, dword [esp + 0x64]
lea eax, [eax + ebx*8]
jb 0x45fbbd
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x58]
add ebx, dword [esp + 0x54]
cmp edi, dword [esp + 0x34]
jb 0x45fb8f
add esp, 0x84
pop ebx
pop edi
pop esi
ret 0x34
mov edi, 1
jmp 0x45f474
mov esi, 1
jmp 0x45f8c8
mov esi, 1
jmp 0x45fa9d
mov edi, dword [esp + 0x40]
test ebx, ebx
mov dword [0x5e15a0], ebx
lea edi, [edi + eax]
mov dword [esp + 0x10], edi
jle 0x45fd10
and edi, 0xf
mov dword [esp + 8], edi
je 0x45fc5d
test byte [esp + 8], 7
jne 0x45fd07
mov edi, 1
mov dword [esp + 8], edi
lea edi, [edi + 8]
cmp ebx, edi
jl 0x45fd07
mov dword [esp + 0x2c], eax
mov eax, ebx
mov edi, dword [esp + 8]
sub eax, edi
and eax, 7
neg eax
add eax, ebx
mov dword [esp], eax
test edi, edi
mov eax, dword [esp + 0x2c]
jbe 0x45fcae
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
mov ebx, edi
mov edi, dword [esp + 0x10]
movsd qword [edi + ecx*8], xmm0
inc ecx
cmp ecx, ebx
jb 0x45fc98
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
mov ecx, dword [esp]
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x10]
movaps xmmword [edi + ebx*8], xmm1
movaps xmmword [edi + ebx*8 + 0x10], xmm1
movaps xmmword [edi + ebx*8 + 0x20], xmm1
movaps xmmword [edi + ebx*8 + 0x30], xmm1
add ebx, 8
cmp ebx, ecx
jb 0x45fcb9
mov dword [esp], ecx
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
cmp ebx, dword [esp]
jbe 0x45fcf8
mov ecx, dword [esp]
mov edi, dword [esp + 0x10]
movsd qword [edi + ecx*8], xmm0
inc ecx
cmp ecx, ebx
jb 0x45fcea
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0xc]
mov dword [0x5e15a4], edi
jmp 0x45fbe2
mov dword [esp], 0
jmp 0x45fcde
mov dword [0x5e15a4], 1
jmp 0x45fbe2
mov edi, dword [esp + 0x3c]
add edi, eax
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x1c]
test edi, edi
mov dword [0x5e15a0], edi
jle 0x45fd10
mov edi, dword [esp + 0x24]
and edi, 0xf
mov dword [esp + 0x28], edi
je 0x45fd58
test byte [esp + 0x28], 7
jne 0x45fe1f
mov edi, 1
mov dword [esp + 0x28], edi
lea edi, [edi + 8]
cmp edi, dword [esp + 0x1c]
jg 0x45fe1f
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov edx, eax
mov edi, dword [esp + 0x28]
sub edx, edi
and edx, 7
neg edx
add edx, eax
mov dword [esp + 0x20], edx
test edi, edi
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
jbe 0x45fdb8
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
mov ebx, edi
mov edi, dword [esp + 0x24]
movsd qword [edi + ecx*8], xmm0
inc ecx
cmp ecx, ebx
jb 0x45fda2
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
movaps xmmword [edi + ebx*8], xmm1
movaps xmmword [edi + ebx*8 + 0x10], xmm1
movaps xmmword [edi + ebx*8 + 0x20], xmm1
movaps xmmword [edi + ebx*8 + 0x30], xmm1
add ebx, 8
cmp ebx, ecx
jb 0x45fdc4
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x1c]
jae 0x45fe10
mov ecx, edi
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
movsd qword [ebx + ecx*8], xmm0
inc ecx
cmp ecx, edi
jb 0x45fdfe
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
mov dword [0x5e15a4], edi
jmp 0x45fbe2
mov dword [esp + 0x20], 0
jmp 0x45fdea