Function at 0x456eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d28b5
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x659bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor edx, edx
movq xmm0, qword [str.DAVF_WZ_9]
mov al, byte [0x649c2c]
movq qword [ebp - 0x2c], xmm0
mov byte [ebp - 0x24], al
mov dword [ebp - 0x18], edx
nop
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 0x18]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x18]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x2c], cl
inc edx
mov dword [ebp - 0x18], edx
cmp edx, 9
jl 0x456f00
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x456f50
sub ecx, edx
lea eax, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00472730
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp + 8]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.00471420
push eax
mov ecx, 0x664c58
call fcn.004779c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x456fc1
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x456fb7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4578ae
push ecx
push edx
call fcn.005ce06a
add esp, 8
mov ax, word [0x6492dc]
xor edx, edx
mov word [ebp - 0x18], ax
mov al, byte [0x6492de]
mov byte [ebp - 0x16], al
mov dword [ebp - 0x28], edx
nop dword [eax + eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 0x28]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x28]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x18], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 3
jl 0x456fe0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457030
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00472730
mov byte [ebp - 4], 2
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp + 8]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.00471420
push eax
mov ecx, 0x664c70
call fcn.004779c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x4570a1
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x457097
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4578ae
push ecx
push edx
call fcn.005ce06a
add esp, 8
mov eax, dword [str.YEZP5]
xor edx, edx
mov dword [ebp - 0x18], eax
mov al, byte [0x6491c0]
mov byte [ebp - 0x14], al
mov dword [ebp - 0x28], edx
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 0x28]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x28]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x18], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 5
jl 0x4570b6
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457101
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00472730
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp + 8]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.00471420
push eax
mov ecx, 0x664c88
call fcn.004779c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x457172
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x457168
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4578ae
push ecx
push edx
call fcn.005ce06a
add esp, 8
mov eax, dword [0x649378]
movq xmm0, qword [str.BGQGVDHMSTRN_]
mov edi, dword [0x6647f8]
mov dword [ebp - 0x18], eax
mov ax, word [0x64937c]
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x14], ax
test ah, ah
je 0x4572ce
xor edx, edx
mov dword [ebp - 0x28], edx
cmp edi, 2
jl 0x4572a0
movaps xmm2, xmmword [0x64a4a0]
mov edx, 8
movaps xmm3, xmmword [0x64a550]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov dword [ebp - 0x28], edx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a4c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x64a4b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a530]
movd xmm0, dword [str.BGQGVDHMSTRN_]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.1111111111111111]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x20], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a4c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a530]
movd xmm0, dword [ebp - 0x1c]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.1111111111111111]
xorps xmm1, xmm0
movd dword [ebp - 0x1c], xmm1
nop
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x20], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 0xe
jl 0x4572a0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x74], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4572f0
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00472730
mov byte [ebp - 4], 4
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0xf
lea ecx, [ebp + 8]
jbe 0x45731b
push dword [ebp - 0x74]
jmp 0x45731c
push eax
call fcn.00471420
push ecx
mov ecx, eax
call fcn.0046cf40
mov esi, eax
xor edx, edx
mov eax, dword [str.TJC_GO7]
mov dword [ebp - 0x1c], eax
mov ax, word [0x6491b0]
mov word [ebp - 0x18], ax
mov al, byte [0x6491b2]
mov byte [ebp - 0x16], al
mov dword [ebp - 0x28], edx
nop word [eax + eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 0x28]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x28]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 7
jl 0x457350
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4573a0
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00472730
mov byte [ebp - 4], 5
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
mov ecx, esi
cmova eax, dword [ebp - 0x5c]
push eax
call fcn.00471420
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.00471610
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
push 0xa
cmova eax, dword [ebp - 0x44]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov ecx, dword [ebp - 0x30]
add esp, 0xc
cdq
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], edx
cmp ecx, 0xf
jbe 0x45742f
mov esi, dword [ebp - 0x44]
inc ecx
mov eax, esi
cmp ecx, 0x1000
jb 0x457422
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4574e0
push ecx
push esi
call fcn.005ce06a
mov eax, dword [ebp - 0x28]
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
movups xmm0, xmmword [ebp - 0x98]
mov eax, dword [ebp - 0x78]
add esp, 8
mov dword [0x664cc0], eax
movups xmmword [0x664ca0], xmm0
movups xmm0, xmmword [ebp - 0x88]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
movups xmmword [0x664cb0], xmm0
cmp ecx, 0xf
jbe 0x4574b6
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4574ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4574e0
push ecx
push edx
call fcn.005ce06a
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x4574f0
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4574e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4574e6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005ce06a
add esp, 8
mov eax, dword [0x649378]
movq xmm0, qword [str.BGQGVDHMSTRN_]
mov dword [ebp - 0x18], eax
mov ax, word [0x64937c]
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x14], ax
test ah, ah
je 0x45764e
xor edx, edx
mov dword [ebp - 0x28], edx
cmp edi, 2
jl 0x457620
movaps xmm2, xmmword [0x64a4a0]
mov edx, 8
movaps xmm4, xmmword [0x64a550]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [str.1111111111111111]
movaps xmm0, xmm1
mov dword [ebp - 0x28], edx
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a4c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x64a4b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a530]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.BGQGVDHMSTRN_]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a4c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a530]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x1c]
xorps xmm1, xmm0
movd dword [ebp - 0x1c], xmm1
nop dword [eax]
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x20], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 0xe
jl 0x457620
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457670
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00472730
mov byte [ebp - 4], 6
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
lea ecx, [ebp + 8]
jbe 0x45769b
push dword [ebp - 0x5c]
jmp 0x45769c
push eax
call fcn.00471420
push ecx
mov ecx, eax
call fcn.0046cf40
movq xmm0, qword [str.BGQGVDHMSTR]
mov esi, eax
mov eax, dword [0x64a010]
xor edx, edx
mov dword [ebp - 0x18], eax
mov al, byte [0x64a014]
mov byte [ebp - 0x14], al
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x28], edx
cmp edi, 2
jl 0x4577d0
movaps xmm2, xmmword [0x64a4a0]
mov edx, 8
movaps xmm4, xmmword [0x64a550]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [str.1111111111111111]
movaps xmm0, xmm1
mov dword [ebp - 0x28], edx
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a4c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x64a4b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a530]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.BGQGVDHMSTR]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x20], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a4c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a530]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x1c]
xorps xmm1, xmm0
movd dword [ebp - 0x1c], xmm1
nop dword [eax]
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x28]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x20], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 0xd
jl 0x4577d0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x74], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457820
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00472730
mov byte [ebp - 4], 7
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0xf
mov ecx, esi
cmova eax, dword [ebp - 0x74]
push eax
call fcn.00471420
push eax
mov ecx, 0x664cc4
call fcn.004779c0
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x457888
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45787e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4578ae
push ecx
push edx
call fcn.005ce06a
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x4578be
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4578b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4578b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005ce06a
add esp, 8
lea ecx, [ebp + 8]
call fcn.0046d060
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cdcb6
mov esp, ebp
pop ebp
ret 0x10