Function at 0x405950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4655f5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x47e048]
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.0041bae0
mov edi, eax
xorps xmm0, xmm0
test edi, edi
jne 0x405a49
push 4
movups xmmword [esi], xmm0
push str.null
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.00408640
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x4059e6
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4059dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c93
push ecx
push edx
call fcn.0041abdb
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 0x405a2c
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405a22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c93
push ecx
push edx
call fcn.0041abdb
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.0041abe9
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.0041ff90
push 1
push 0x51
push edi
call fcn.0041ff90
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 0x405ab4
lea eax, [ebp - 0x50]
mov byte [ebp - 0x44], 0
push eax
push 0x27c1
push edi
call fcn.0041ff90
push 1
push 0x40
push edi
call fcn.0041ff90
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x271f
push edi
call fcn.0041ff90
push 0x404000
push 0x4e2b
push edi
call fcn.0041ff90
lea eax, [ebp - 0x28]
push eax
push 0x2711
push edi
call fcn.0041ff90
push 0x404060
push 0x4e6f
push edi
call fcn.0041ff90
add esp, 0x48
lea eax, [ebp - 0x40]
push eax
push 0x272d
push edi
call fcn.0041ff90
push edi
call fcn.0041bb20
add esp, 0x10
test eax, eax
je 0x405b59
push 0x10
push 0
push eax
call fcn.0041c580
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 0x405bc8
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405bbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c93
push ecx
push edx
call fcn.0041abdb
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 0x405c0d
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x405c03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c93
push ecx
push edx
call fcn.0041abdb
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 0x405c4f
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405c45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c93
push ecx
push edx
call fcn.0041abdb
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 0x405a2c
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405a22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405a22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3