Function at 0x404ba0
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 0x404c16
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 0x404c08
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x404c32
mov eax, dword [esi]
mov ecx, dword [edi]
cmp byte [ecx + eax], 0x7d
jne 0x404c58
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 0x404f90
push edi
mov edx, esi
lea ecx, [ebp - 0x48]
call fcn.004065a0
add esp, 4
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov ecx, dword [edi]
jb 0x404c76
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 0x404c8c
inc dword [edi]
jmp 0x404c6a
mov edx, dword [esi + 0x14]
mov ecx, esi
cmp edx, 0x10
jb 0x404c98
mov ecx, dword [esi]
mov eax, dword [edi]
cmp byte [eax + ecx], 0x3a
jne 0x404f0e
lea ecx, [eax + 1]
mov dword [edi], ecx
nop dword [eax]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x404cba
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 0x404cd2
inc dword [edi]
mov ecx, dword [edi]
jmp 0x404cb0
push edi
mov edx, esi
lea ecx, [ebp - 0x38]
call fcn.004065a0
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 0x404dbe
sub ecx, 1
je 0x404d51
sub ecx, 1
je 0x404d2e
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [edx + 4], ecx
jmp 0x404deb
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 0x404de8
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 0x404de8
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 0x404e27
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404e1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404e79
push edx
push ecx
call fcn.00466a5c
add esp, 8
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x404e31
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 0x404e49
inc dword [edi]
jmp 0x404e27
mov edx, dword [esi + 0x14]
mov ecx, esi
cmp edx, 0x10
jb 0x404e55
mov ecx, dword [esi]
mov eax, dword [edi]
cmp byte [ecx + eax], 0x2c
jne 0x404e7f
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 0x404c58
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, esi
cmp edx, 0x10
jb 0x404e88
mov ecx, dword [esi]
cmp byte [eax + ecx], 0x7d
jne 0x404e9e
inc eax
lea ecx, [ebp - 0x38]
mov dword [edi], eax
call fcn.004043a0
jmp 0x404f74
cmp edx, 0x10
jb 0x404ea5
mov esi, dword [esi]
movaps xmm0, xmmword [0x46f760]
add esi, eax
movups xmmword [ebp - 0x74], xmm0
xor ecx, ecx
mov dword [ebp - 0x54], 0x51e040d
movaps xmm0, xmmword [0x46f750]
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0x4c4b0f
nop dword [eax]
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0x26
jb 0x404ed0
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 0x404f74
cmp edx, 0x10
jb 0x404f15
mov esi, dword [esi]
movaps xmm0, xmmword [0x46fd60]
add esi, eax
movups xmmword [ebp - 0x74], xmm0
xor ecx, ecx
mov dword [ebp - 0x54], 0x3d263c35
movaps xmm0, xmmword [0x46fd80]
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0x747337
nop dword [eax]
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0x26
jb 0x404f40
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