Function at 0x407070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e005
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0xa57200]
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.00454890
mov edi, eax
xorps xmm0, xmm0
test edi, edi
jne 0x407169
push 4
movups xmmword [esi], xmm0
push str.null
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.0040a370
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x407106
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4070fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073b3
push ecx
push edx
call fcn.00452e8b
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 0x40714c
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407142
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073b3
push ecx
push edx
call fcn.00452e8b
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.00452bc2
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.00458d30
push 1
push 0x51
push edi
call fcn.00458d30
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 0x4071d4
lea eax, [ebp - 0x50]
mov byte [ebp - 0x44], 0
push eax
push 0x27c1
push edi
call fcn.00458d30
push 1
push 0x40
push edi
call fcn.00458d30
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x271f
push edi
call fcn.00458d30
push 0x4056c0
push 0x4e2b
push edi
call fcn.00458d30
lea eax, [ebp - 0x28]
push eax
push 0x2711
push edi
call fcn.00458d30
push 0x405720
push 0x4e6f
push edi
call fcn.00458d30
add esp, 0x48
lea eax, [ebp - 0x40]
push eax
push 0x272d
push edi
call fcn.00458d30
push edi
call fcn.004548d0
add esp, 0x10
test eax, eax
je 0x407279
push 0x10
push 0
push eax
call fcn.00455320
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 0x4072e8
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4072db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073b3
push ecx
push edx
call fcn.00452e8b
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 0x40732d
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x407323
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073b3
push ecx
push edx
call fcn.00452e8b
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 0x40736f
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407365
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073b3
push ecx
push edx
call fcn.00452e8b
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 0x40714c
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407142
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407142
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3