Function at 0x4057e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480515
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x7a9080]
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.00436de0
mov edi, eax
xorps xmm0, xmm0
test edi, edi
jne 0x4058d9
push 4
movups xmmword [esi], xmm0
push str.null
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.00408700
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x405876
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40586c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b23
push ecx
push edx
call fcn.00435aee
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 0x4058bc
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4058b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b23
push ecx
push edx
call fcn.00435aee
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.004365e1
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.0043b280
push 1
push 0x51
push edi
call fcn.0043b280
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 0x405944
lea eax, [ebp - 0x50]
mov byte [ebp - 0x44], 0
push eax
push 0x27c1
push edi
call fcn.0043b280
push 1
push 0x40
push edi
call fcn.0043b280
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x271f
push edi
call fcn.0043b280
push 0x403f40
push 0x4e2b
push edi
call fcn.0043b280
lea eax, [ebp - 0x28]
push eax
push 0x2711
push edi
call fcn.0043b280
push 0x403fa0
push 0x4e6f
push edi
call fcn.0043b280
add esp, 0x48
lea eax, [ebp - 0x40]
push eax
push 0x272d
push edi
call fcn.0043b280
push edi
call fcn.00436e20
add esp, 0x10
test eax, eax
je 0x4059e9
push 0x10
push 0
push eax
call fcn.00437870
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 0x405a58
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405a4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b23
push ecx
push edx
call fcn.00435aee
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 0x405a9d
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x405a93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b23
push ecx
push edx
call fcn.00435aee
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 0x405adf
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405ad5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b23
push ecx
push edx
call fcn.00435aee
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 0x4058bc
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4058b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4058b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3