Function at 0x405770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x45500c]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
push ebx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x405862
movaps xmm0, xmmword [0x44a120]
xor edx, edx
movups xmmword [esp + 0x20], xmm0
mov word [esp + 0x40], 0x3c58
movaps xmm0, xmmword [0x44a070]
movups xmmword [esp + 0x30], xmm0
mov byte [esp + 0x42], al
nop
mov al, byte [esp + 0x20]
xor byte [esp + edx + 0x21], al
inc edx
cmp edx, 0x21
jb 0x4057d0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea edx, [esp + 0x21]
mov byte [esp + 0x42], 0
call fcn.00401fc0
push ebx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
movaps xmm0, xmmword [0x449fa0]
xor edx, edx
movups xmmword [esp + 0x10], xmm0
nop dword [eax]
mov cl, byte [esp + 0x10]
xor byte [esp + edx + 0x11], cl
inc edx
cmp edx, 0xe
jb 0x405810
lea edx, [esp + 0x11]
mov byte [esp + 0x1f], 0
mov ecx, eax
call fcn.00401fc0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov edx, 0x446918
mov ecx, eax
call fcn.00401fc0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0043f497
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x78]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x4058b2
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0043f497
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x44a100]
xor edx, edx
movups xmmword [esp + 0x20], xmm0
mov byte [esp + 0x60], 0
movaps xmm0, xmmword [0x449fd0]
movups xmmword [esp + 0x30], xmm0
movaps xmm0, xmmword [0x44a110]
movups xmmword [esp + 0x40], xmm0
movaps xmm0, xmmword [0x449fc0]
movups xmmword [esp + 0x50], xmm0
nop dword [eax]
mov al, byte [esp + 0x20]
xor byte [esp + edx + 0x21], al
inc edx
cmp edx, 0x3f
jb 0x4058f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea edx, [esp + 0x21]
mov byte [esp + 0x60], 0
call fcn.00401fc0
push ebx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
movaps xmm0, xmmword [0x449f90]
xor edx, edx
movups xmmword [esp + 0x10], xmm0
nop dword [eax]
mov cl, byte [esp + 0x10]
xor byte [esp + edx + 0x11], cl
inc edx
cmp edx, 0xe
jb 0x405930
lea edx, [esp + 0x11]
mov byte [esp + 0x1f], 0
mov ecx, eax
call fcn.00401fc0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov edx, 0x446918
mov ecx, eax
call fcn.00401fc0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x8c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043f497
mov esp, ebp
pop ebp
ret