Function at 0x678db240
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6793f32d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x67ad7034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x67b38cbc], 0
jne 0x678db297
cmp byte [0x67b38cb3], 0
je 0x678db971
movss xmm0, dword [0x67b723d8]
mov eax, dword [0x67b38b68]
cvtps2pd xmm0, xmm0
mov dword [ebp - 0x7c], eax
subsd xmm0, qword [0x67ac4428]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x67ac4728]
comiss xmm0, xmm1
movss dword [0x67b723d8], xmm1
jbe 0x678db2db
addss xmm1, dword [0x67ac4418]
movss dword [0x67b723d8], xmm1
mov eax, dword [0x67b6c1b4]
mov dword [ebp - 0x50], 0
mov edi, dword [eax + 4]
push 0
push 0x6794f528
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
call fcn.677d7ac0
mov dword [ebp - 4], 1
cmp byte [0x67b38cb3], 0
je 0x678db3d5
mov eax, dword [0x67b38b68]
sub esp, 0x10
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x67ac4164
movss xmm0, dword [eax + 0x9c]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
movss dword [ebp - 0x58], xmm0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, esp
push 0x1b
push 0x67ac4198
mov dword [eax], 0x9c
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x30]
push eax
call fcn.678eabd7
add esp, 0x1c
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x50]
push eax
call fcn.67877c80
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x678db3be
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x678db3b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x678db3b4
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.67934867
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
jmp 0x678db4f4
mov edx, dword [0x67b38b68]
xor ecx, ecx
mov dword [ebp - 0x58], 0xbda7bfa3
mov word [ebp - 0x54], 0xa4
mov byte [ebp - 0x52], 1
nop
mov al, cl
sub al, 0x70
xor byte [ebp + ecx - 0x58], al
inc ecx
cmp ecx, 5
jb 0x678db3f0
mov byte [ebp - 0x52], 0
xor ecx, ecx
mov dword [ebp - 0x68], 0xb2a880
mov byte [ebp - 0x64], 1
nop
mov al, cl
sub al, 0x38
xor byte [ebp + ecx - 0x68], al
inc ecx
cmp ecx, 3
jb 0x678db410
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x68]
movss xmm0, dword [edx + 0x9c]
lea esi, [ebp - 0x58]
mov dword [ebp - 0x34], eax
sub esp, 0x10
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x5c]
movss dword [ebp - 0x60], xmm0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, esp
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x38], 0x67ac41b4
mov dword [ebp - 0x28], esi
push 0x18
mov dword [eax], 0x9ccc
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x98]
push 0x67ac4170
push eax
call fcn.678eabd7
add esp, 0x1c
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x50]
push eax
call fcn.67877c80
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x678db4d9
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x678db4cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x678db4cf
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.67934867
add esp, 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
mov esi, dword [0x67b38b68]
cmovae eax, dword [ebp - 0x50]
movss xmm4, dword [esi + 0x3bb4]
movss dword [ebp - 0x78], xmm4
test eax, eax
jne 0x678db51b
xorps xmm3, xmm3
jmp 0x678db564
movss xmm3, dword [0x67ac46f4]
movaps xmm2, xmm4
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 0x3bb0]
lea eax, [ebp - 0x60]
mov dword [esp], 0xbf800000
push eax
call fcn.67834b70
movss xmm0, dword [ebp - 0x60]
addss xmm0, dword [0x67ac4410]
movss xmm4, dword [ebp - 0x5c]
movss dword [ebp - 0x78], xmm4
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov edx, dword [ebp - 0x7c]
mov ecx, 0x67ac418c
mov eax, dword [0x67b72258]
push 0xbb
movss dword [ebp - 0x74], xmm3
movss xmm0, dword [edx + 0x37a4]
movss xmm1, dword [edx + 0x37a0]
addss xmm0, xmm0
or dword [esi + 0x46d8], 2
addss xmm1, xmm1
mov dword [esi + 0x46e0], 1
addss xmm0, xmm4
addss xmm1, xmm3
movss dword [esi + 0x46fc], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movss dword [esi + 0x46f8], xmm1
addsd xmm0, qword [eax*8 + 0x67ac5420]
movss xmm1, dword [edx + 0x37a0]
mov eax, dword [0x67b72254]
addss xmm1, xmm1
cvtpd2ps xmm2, xmm0
movd xmm0, eax
addss xmm1, xmm3
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
subss xmm2, xmm1
movss xmm1, dword [edx + 0x37a4]
addsd xmm0, qword [eax*8 + 0x67ac5420]
or dword [esi + 0x46d8], 1
addss xmm1, xmm1
xor edx, edx
mov dword [esi + 0x46f0], 0
mov dword [esi + 0x46f4], 0
subss xmm2, dword [0x67ac4584]
cvtpd2ps xmm0, xmm0
mov dword [esi + 0x46dc], 1
addss xmm1, xmm4
movss dword [esi + 0x46e8], xmm2
subss xmm0, xmm1
subss xmm0, dword [0x67ac4584]
movss dword [esi + 0x46ec], xmm0
call fcn.677e8f10
mov eax, dword [0x67b38b68]
add esp, 4
movaps xmm0, xmmword [0x67ac4c50]
movups xmmword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x3e28]
push 0
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x58], ecx
movss xmm0, dword [ebp - 0x58]
addss xmm0, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [esp], 0
addss xmm0, dword [0x67ac4584]
movss dword [ebp - 0x5c], xmm0
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x78]
mulss xmm0, dword [0x67ac44c0]
addss xmm0, dword [ebp - 0x54]
subss xmm0, dword [0x67ac4564]
movss dword [ebp - 0x64], xmm0
call fcn.677df220
push eax
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.67830710
movss xmm0, dword [0x67b723d8]
xorps xmm1, xmm1
addss xmm0, dword [0x67ac4334]
comiss xmm1, xmm0
movss xmm1, dword [0x67ac4418]
jbe 0x678db70b
addss xmm0, xmm1
lea eax, [ebp - 0x64]
movaps xmm2, xmm1
push eax
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x7c]
call fcn.677df2d0
movss xmm0, dword [ebp - 0x7c]
add esp, 4
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x74]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x64]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x54]
addss xmm0, dword [0x67ac44c0]
push 0
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], 0x3f800000
mov dword [esp], 0
movss dword [ebp - 0x5c], xmm0
call fcn.677df220
push eax
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.67830710
cmp dword [ebp - 0x3c], 0x10
lea esi, [ebp - 0x50]
movaps xmm0, xmmword [0x67ac5400]
lea ecx, [ebp - 0x28]
cmovae esi, dword [ebp - 0x50]
movups xmmword [ebp - 0x28], xmm0
call fcn.677df220
movss xmm0, dword [ebp - 0x58]
mov edx, eax
addss xmm0, dword [0x67ac4558]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x78]
mulss xmm0, dword [0x67ac43bc]
addss xmm0, dword [ebp - 0x54]
subss xmm0, dword [0x67ac44c0]
movss dword [ebp - 0x64], xmm0
test edx, 0xff000000
je 0x678db822
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x678db7e4
sub ecx, dword [ebp - 0x5c]
add ecx, esi
cmp esi, ecx
je 0x678db822
mov eax, dword [edi + 0x2c]
movups xmm0, xmmword [edi + 0x60]
push 0
push ecx
movss xmm2, dword [eax + 0xc]
mov dword [esp], 0
push ecx
push esi
lea ecx, [ebp - 0x28]
push ecx
push edx
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [eax + 8]
push edi
movups xmmword [ebp - 0x28], xmm0
call fcn.67834e70
cmp byte [0x67b38cb3], 0
jne 0x678db936
mov edi, dword [0x67b38b68]
mov esi, dword [edi + 0x3e2c]
test esi, esi
je 0x678db936
cmp esi, dword [edi + 0x3e28]
jne 0x678db936
xor edx, edx
mov ecx, esi
call fcn.677e2f60
test al, al
je 0x678db936
mov eax, dword [edi + 0x3e74]
test eax, eax
je 0x678db87b
cmp byte [edi + 0x3e81], dl
jne 0x678db87b
cmp eax, dword [esi + 0x6c]
jne 0x678db936
xor ecx, ecx
call fcn.677efbe0
mov eax, dword [0x67b38b68]
movss xmm0, dword [eax + 0x3bb4]
mulss xmm0, dword [0x67ac45ec]
call fcn.677ebec0
movaps xmm0, xmmword [0x67ac5bb0]
xor ecx, ecx
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x88], 0xcd98c0d9
movaps xmm0, xmmword [0x67ac5cf0]
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x84], 0xcfd2d2
mov byte [ebp - 0x80], 1
mov al, cl
sub al, 0x6a
xor byte [ebp + ecx - 0xa8], al
inc ecx
cmp ecx, 0x27
jb 0x678db8d2
push 1
xor edx, edx
mov byte [ebp - 0x80], 0
lea ecx, [ebp - 0xa8]
call fcn.67843d10
mov ecx, dword [0x67b38b68]
add esp, 4
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
mov edx, dword [ecx + 0x3e28]
mov ecx, dword [edx + 0x1b0]
mov eax, dword [edx + 0x1b8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1a0], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1b0], eax
call fcn.677eb7b0
call fcn.677eb7b0
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x678db971
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x678db967
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x678db967
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.67934867
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.679343f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret