Function at 0x40e4b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4684cb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x47400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x4c], eax
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x7c], eax
mov edx, 1
mov dword [ebp - 0x7c], edi
call fcn.00404470
mov dword [ebp - 4], 0
inc dword [edi]
mov eax, esi
cmp dword [esi + 0x14], 0x10
mov ecx, dword [edi]
jb 0x40e526
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 0x40e518
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40e542
mov eax, dword [esi]
mov ecx, dword [edi]
cmp byte [ecx + eax], 0x7d
jne 0x40e568
mov esi, dword [ebp - 0x78]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [edi], eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
jmp 0x40e8a0
push edi
mov edx, esi
lea ecx, [ebp - 0x48]
call fcn.0040feb0
add esp, 4
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov ecx, dword [edi]
jb 0x40e586
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 0x40e59c
inc dword [edi]
jmp 0x40e57a
mov edx, dword [esi + 0x14]
mov ecx, esi
cmp edx, 0x10
jb 0x40e5a8
mov ecx, dword [esi]
mov eax, dword [edi]
cmp byte [eax + ecx], 0x3a
jne 0x40e81e
lea ecx, [eax + 1]
mov dword [edi], ecx
nop dword [eax]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40e5ca
mov eax, dword [esi]
movsx eax, byte [eax + ecx]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
add esp, 4
test eax, eax
je 0x40e5e2
inc dword [edi]
mov ecx, dword [edi]
jmp 0x40e5c0
push edi
mov edx, esi
lea ecx, [ebp - 0x38]
call fcn.0040feb0
add esp, 4
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x48]
call fcn.004047f0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004044e0
mov ecx, eax
mov dword [ebp - 0x4c], eax
call fcn.004043a0
mov ecx, dword [ebp - 0x30]
sub ecx, 1
je 0x40e6ce
sub ecx, 1
je 0x40e661
sub ecx, 1
je 0x40e63e
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [edx + 4], ecx
jmp 0x40e6fb
push 0x18
call fcn.00466a92
add esp, 4
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 6
mov ecx, eax
push dword [ebp - 0x38]
call fcn.00402a90
jmp 0x40e6f8
push 0x14
call fcn.00466a92
mov edi, eax
mov dword [ebp - 0x88], edi
mov byte [ebp - 4], 5
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
sub esp, 8
mov ecx, dword [ebp - 0x38]
mov edx, esp
sub esp, 0xc
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 0xc]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], eax
mov eax, dword [ecx]
mov dword [edx], eax
mov edx, esp
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0xc]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], eax
mov eax, dword [ecx]
mov ecx, edi
mov dword [edx], eax
call fcn.0040da50
mov edi, dword [ebp - 0x7c]
jmp 0x40e6f8
push 8
call fcn.00466a92
add esp, 4
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 4
xorps xmm0, xmm0
movq qword [eax], xmm0
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
push ecx
push dword [ecx]
mov ecx, eax
call fcn.0040d970
mov edx, dword [ebp - 0x4c]
mov dword [edx], eax
mov eax, dword [ebp - 0x30]
mov dword [edx + 8], eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x40e737
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e72d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e789
push edx
push ecx
call fcn.00466a5c
add esp, 8
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40e741
mov ecx, dword [esi]
mov eax, dword [edi]
movsx eax, byte [eax + ecx]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
add esp, 4
test eax, eax
je 0x40e759
inc dword [edi]
jmp 0x40e737
mov edx, dword [esi + 0x14]
mov ecx, esi
cmp edx, 0x10
jb 0x40e765
mov ecx, dword [esi]
mov eax, dword [edi]
cmp byte [ecx + eax], 0x2c
jne 0x40e78f
inc eax
lea ecx, [ebp - 0x38]
mov dword [edi], eax
call fcn.004043a0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.004043a0
jmp 0x40e568
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, esi
cmp edx, 0x10
jb 0x40e798
mov ecx, dword [esi]
cmp byte [eax + ecx], 0x7d
jne 0x40e7ae
inc eax
lea ecx, [ebp - 0x38]
mov dword [edi], eax
call fcn.004043a0
jmp 0x40e884
cmp edx, 0x10
jb 0x40e7b5
mov esi, dword [esi]
movaps xmm0, xmmword [0x46f840]
add esi, eax
movups xmmword [ebp - 0x74], xmm0
xor ecx, ecx
mov dword [ebp - 0x54], 0x1c071d14
movaps xmm0, xmmword [0x46f870]
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0x555216
nop dword [eax]
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0x26
jb 0x40e7e0
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 - 0x4d], 0
call fcn.00402d70
mov dl, byte [esi]
mov ecx, eax
call fcn.00402fb0
mov edx, 0x46e064
mov ecx, eax
call fcn.00402d70
lea ecx, [ebp - 0x38]
call fcn.004043a0
jmp 0x40e884
cmp edx, 0x10
jb 0x40e825
mov esi, dword [esi]
movaps xmm0, xmmword [0x46edd0]
add esi, eax
movups xmmword [ebp - 0x74], xmm0
xor ecx, ecx
mov dword [ebp - 0x54], 0x68736960
movaps xmm0, xmmword [0x46edb0]
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0x212662
nop dword [eax]
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0x26
jb 0x40e850
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 - 0x4d], 0
call fcn.00402d70
mov dl, byte [esi]
mov ecx, eax
call fcn.00402fb0
mov edx, 0x46e064
mov ecx, eax
call fcn.00402d70
lea ecx, [ebp - 0x48]
call fcn.004043a0
mov esi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [esi], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
call fcn.004043a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00466a4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret