Function at 0x405a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467d95
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x7b2d00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], 1
call fcn.0041e6a0
mov edi, eax
xorps xmm0, xmm0
test edi, edi
jne 0x405b69
push 4
movups xmmword [esi], xmm0
push str.null
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.00408900
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x405b06
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405afc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405db3
push ecx
push edx
call fcn.0041d132
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x405b4c
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405b42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405db3
push ecx
push edx
call fcn.0041d132
add esp, 8
mov eax, esi
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.0041cef6
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
movups xmmword [ebp - 0x28], xmm0
cmovae eax, dword [ebp + 0x20]
push eax
push 0x2712
movups xmmword [ebp - 0x40], xmm0
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00422b40
push 1
push 0x51
push edi
call fcn.00422b40
add esp, 0x18
mov dword [ebp - 0x50], 0x91e030e
mov dword [ebp - 0x4c], 0x42031e1c
xor ecx, ecx
mov dword [ebp - 0x48], 0x1071a
mov byte [ebp - 0x44], 1
lea eax, [ecx + 0x65]
xor byte [ebp + ecx - 0x50], al
inc ecx
cmp ecx, 0xb
jb 0x405bd4
lea eax, [ebp - 0x50]
mov byte [ebp - 0x44], 0
push eax
push 0x27c1
push edi
call fcn.00422b40
push 1
push 0x40
push edi
call fcn.00422b40
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x271f
push edi
call fcn.00422b40
push 0x404140
push 0x4e2b
push edi
call fcn.00422b40
lea eax, [ebp - 0x28]
push eax
push 0x2711
push edi
call fcn.00422b40
push 0x4041a0
push 0x4e6f
push edi
call fcn.00422b40
add esp, 0x48
lea eax, [ebp - 0x40]
push eax
push 0x272d
push edi
call fcn.00422b40
push edi
call fcn.0041e6e0
add esp, 0x10
test eax, eax
je 0x405c79
push 0x10
push 0
push eax
call fcn.0041f130
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x2c]
xorps xmm0, xmm0
mov eax, 0xf
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x28], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x405ce8
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405cdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405db3
push ecx
push edx
call fcn.0041d132
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x405d2d
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x405d23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405db3
push ecx
push edx
call fcn.0041d132
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x405d6f
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405d65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405db3
push ecx
push edx
call fcn.0041d132
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x405b4c
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405b42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405b42
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3