Function at 0x401330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402e95
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x406040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
mov edx, dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
test edx, edx
jne 0x40140f
mov esi, 0x404209
sub edx, 4
jb 0x401391
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x401396
add ecx, 4
add esi, 4
sub edx, 4
jae 0x401380
cmp edx, 0xfffffffc
je 0x4013ca
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x4013c3
cmp edx, 0xfffffffd
je 0x4013ca
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x4013c3
cmp edx, 0xfffffffe
je 0x4013ca
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x4013c3
cmp edx, 0xffffffff
je 0x4013ca
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x4013ca
sbb eax, eax
or eax, 1
jmp 0x4013cc
xor eax, eax
test eax, eax
jne 0x40140f
movaps xmm0, xmmword [0x404250]
xor edx, edx
movups xmmword [ebp - 0x4c], xmm0
mov byte [ebp - 0x2c], 1
movaps xmm0, xmmword [0x404220]
movups xmmword [ebp - 0x3c], xmm0
nop dword [eax]
lea eax, [edx - 0x5c]
xor byte [ebp + edx - 0x4c], al
inc edx
cmp edx, 0x1f
jb 0x4013f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea edx, [ebp - 0x4c]
mov byte [ebp - 0x2c], 0
jmp 0x40158b
push 0x4064bc
lea ecx, [ebp - 0x44]
call fcn.004016f0
push 0x4064d4
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.004016f0
push 0x4064a4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.004016f0
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.004016f0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x401486
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40147c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401546
push ecx
push edx
call fcn.004023b0
add esp, 8
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x4014cc
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4014c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401546
push ecx
push edx
call fcn.004023b0
add esp, 8
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0xf
jbe 0x40150e
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401504
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401546
push ecx
push edx
call fcn.004023b0
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0xf
jbe 0x401556
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40154c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40154c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004023b0
add esp, 8
movaps xmm0, xmmword [0x404240]
xor edx, edx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x99c4d0c2
mov dword [ebp - 0x14], 0x1009796
lea eax, [edx - 0x5c]
xor byte [ebp + edx - 0x28], al
inc edx
cmp edx, 0x16
jb 0x401571
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x28]
mov byte [ebp - 0x11], 0
call fcn.004018f0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x4015c6
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4015bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4015bc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004023b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402121
mov esp, ebp
pop ebp
ret