Function at 0x40e8e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468526
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x47400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], ebx
mov edx, 2
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x48], 0
call fcn.00404470
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
inc dword [edi]
mov eax, esi
cmp dword [esi + 0x14], 0x10
mov ecx, dword [edi]
jb 0x40e94e
mov eax, dword [esi]
movsx eax, byte [ecx + eax]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
add esp, 4
test eax, eax
jne 0x40e940
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40e96a
mov eax, dword [esi]
mov ecx, dword [edi]
cmp byte [ecx + eax], 0x5d
jne 0x40e9a5
mov edx, dword [ebp - 0x20]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x24]
mov dword [edi], eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 8], ecx
lea ecx, [ebp - 0x24]
mov dword [ebx + 4], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
call fcn.004043a0
mov eax, ebx
jmp 0x40eb2c
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.00404650
inc dword [ebp - 0x28]
lea ecx, [ebp - 0x44]
push edi
mov edx, esi
mov ebx, eax
call fcn.0040feb0
add esp, 4
mov ecx, ebx
mov edi, eax
call fcn.004043a0
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov ecx, dword [edi + 8]
mov dword [ebx + 8], ecx
lea ecx, [ebp - 0x44]
mov dword [edi], 0
mov dword [edi + 8], 0
call fcn.004043a0
mov edi, dword [ebp - 0x30]
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov ecx, dword [edi]
jb 0x40ea00
mov eax, dword [esi]
movsx eax, byte [ecx + eax]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
add esp, 4
test eax, eax
je 0x40ea16
inc dword [edi]
jmp 0x40e9f4
mov edx, dword [esi + 0x14]
mov ecx, esi
cmp edx, 0x10
jb 0x40ea22
mov ecx, dword [esi]
mov eax, dword [edi]
cmp byte [eax + ecx], 0x2c
jne 0x40ea32
inc eax
mov dword [edi], eax
jmp 0x40e9a5
mov ecx, esi
cmp edx, 0x10
jb 0x40ea3b
mov ecx, dword [esi]
cmp byte [eax + ecx], 0x5d
jne 0x40ea6b
mov esi, dword [ebp - 0x2c]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
jmp 0x40eb22
cmp edx, 0x10
jb 0x40ea72
mov esi, dword [esi]
movaps xmm0, xmmword [0x46fce0]
add esi, eax
movups xmmword [ebp - 0x74], xmm0
xor ecx, ecx
mov dword [ebp - 0x54], 0x15191268
movaps xmm0, xmmword [str.MEPVAPQ]
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0x5b405a53
mov dword [ebp - 0x4c], 0x121551
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0x2a
jb 0x40eaa1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea edx, [ebp - 0x73]
mov byte [ebp - 0x49], 0
call fcn.00402d70
mov dl, byte [esi]
mov ecx, eax
call fcn.00402fb0
mov edx, 0x46e064
mov ecx, eax
call fcn.00402d70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
push 2
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], 4
call fcn.00404a40
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 4], ecx
lea ecx, [ebp - 0x44]
mov dword [esi + 8], eax
mov dword [ebp - 0x3c], 0
call fcn.004043a0
lea ecx, [ebp - 0x24]
call fcn.004043a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00466a4b
mov esp, ebp
pop ebp
ret