Function at 0x5c3a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ab535
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd0], ecx
push 0xb0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x7d6f90
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc4], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], 0x7c81a4
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xa8], 0x7c8164
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x120], 0x25
mov dword [ebp - 0x11c], 0xc300e4
mov dword [ebp - 0x118], 0xde00c8
mov dword [ebp - 0x114], 0xdd00c2
mov dword [ebp - 0x110], 0xd600c0
mov dword [ebp - 0x10c], 0x9200c5
mov dword [ebp - 0x108], 0xd000f6
mov dword [ebp - 0x104], 0xd300d2
mov dword [ebp - 0x100], 0xcb0097
mov dword [ebp - 0xfc], 0xdb00da
mov dword [ebp - 0xf8], 0xd200d5
mov dword [ebp - 0xf4], 0xd000d4
mov dword [ebp - 0xf0], 0xe000d8
mov dword [ebp - 0xec], 0xad0089
mov dword [ebp - 0xe8], 0xa100ae
mov dword [ebp - 0xe4], 0xb600e5
mov dword [ebp - 0xe0], 0xaf00a6
mov dword [ebp - 0xdc], 0xea00ac
mov dword [ebp - 0xd8], 0xe200e5
mov dword [ebp - 0xd4], 0xce00e3
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x11c], ax
inc ecx
mov eax, dword [ebp - 0x120]
cmp ecx, eax
jb 0x5c3c10
xor ecx, ecx
mov word [ebp + eax*2 - 0x11c], cx
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
mov edx, dword [0x83ff50]
add esp, 8
mov dword [ebp - 0xc8], edx
test edx, edx
jne 0x5c3c9a
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0xc8], edx
xor eax, eax
mov dword [ebp - 0xcc], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [0x83ff50], edx
lea eax, [ebp - 0x17c]
push eax
call fcn.005c4680
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xc4], eax
test esi, esi
je 0x5c3cdd
mov edx, eax
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5c3cc0
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x24c]
push eax
call fcn.005c44e0
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xcc], eax
test esi, esi
je 0x5c3d1f
mov edx, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5c3d02
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xcc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xc0]
push ecx
push dword [ebp - 0xc4]
mov ecx, edx
push 0xdc
push eax
push 1
call fcn.00469f50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], 0x7c81a4
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call fcn.004073e0
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov edi, dword [ebp - 0xd0]
mov esi, dword [edi + 0x1c4]
mov dword [esi + 0xc], 0
lea ecx, [esi + 0x64]
cmp dword [esi + 0x78], 8
jb 0x5c3dae
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x74], 0
xor eax, eax
mov word [ecx], ax
mov edx, dword [esi + 0x80]
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.00413a10
mov eax, dword [esi + 0x7c]
add esp, 4
mov dword [esi + 0x80], eax
mov ecx, dword [edi + 0x1c4]
mov eax, dword [ecx]
call dword [eax + 4]
push 0xb0
lea eax, [ebp - 0xc0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x7d6f90
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc4], 3
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], 0x7c81a4
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xa8], 0x7c8164
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 5
xor ecx, ecx
mov dword [ebp - 0x128], 0x29
mov dword [ebp - 0x124], 0xc300e4
mov dword [ebp - 0x120], 0xde00c8
mov dword [ebp - 0x11c], 0xdd00c2
mov dword [ebp - 0x118], 0xd600c0
mov dword [ebp - 0x114], 0x9200c5
mov dword [ebp - 0x110], 0xd000f6
mov dword [ebp - 0x10c], 0xd300d2
mov dword [ebp - 0x108], 0xcb0097
mov dword [ebp - 0x104], 0xdb00da
mov dword [ebp - 0x100], 0xd200d5
mov dword [ebp - 0xfc], 0xd000d4
mov dword [ebp - 0xf8], 0xe000d8
mov dword [ebp - 0xf4], 0xa70092
mov dword [ebp - 0xf0], 0xb600a2
mov dword [ebp - 0xec], 0xae00a6
mov dword [ebp - 0xe8], 0xbb00e7
mov dword [ebp - 0xe4], 0xb900b0
mov dword [ebp - 0xe0], 0xa900bf
mov dword [ebp - 0xdc], 0xee00a0
mov dword [ebp - 0xd8], 0xfe00e1
mov dword [ebp - 0xd4], 0xd200ff
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x124], ax
inc ecx
mov eax, dword [ebp - 0x128]
cmp ecx, eax
jb 0x5c3f70
xor ecx, ecx
mov word [ebp + eax*2 - 0x124], cx
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
mov edx, dword [0x83ff50]
add esp, 8
mov dword [ebp - 0xc4], edx
test edx, edx
jne 0x5c3ffa
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0xc4], edx
xor eax, eax
mov dword [ebp - 0xcc], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [0x83ff50], edx
lea eax, [ebp - 0x17c]
push eax
call fcn.005c47e0
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xc8], eax
test esi, esi
je 0x5c403d
mov edx, eax
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5c4020
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x24c]
push eax
call fcn.005c44e0
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xcc], eax
test esi, esi
je 0x5c407f
mov edx, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5c4062
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xcc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xc0]
push ecx
push dword [ebp - 0xc8]
mov ecx, edx
push 0xe0
push eax
push 1
call fcn.00469f50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], 0x7c81a4
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call fcn.004073e0
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov edi, dword [ebp - 0xd0]
mov esi, dword [edi + 0x1cc]
mov dword [esi + 0xc], 0
lea ecx, [esi + 0x64]
cmp dword [esi + 0x78], 8
jb 0x5c410e
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x74], 0
xor eax, eax
mov word [ecx], ax
mov edx, dword [esi + 0x80]
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.00413a10
mov eax, dword [esi + 0x7c]
add esp, 4
mov dword [esi + 0x80], eax
mov ecx, dword [edi + 0x1cc]
mov eax, dword [ecx]
call dword [eax + 4]
push 0xb0
lea eax, [ebp - 0xc0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x7d6f90
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc4], 7
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], 0x7c81a4
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xa8], 0x7c8164
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 8
xor ecx, ecx
mov dword [ebp - 0x12c], 0x2b
mov dword [ebp - 0x128], 0xc300e4
mov dword [ebp - 0x124], 0xde00c8
mov dword [ebp - 0x120], 0xdd00c2
mov dword [ebp - 0x11c], 0xd600c0
mov dword [ebp - 0x118], 0x9200c5
mov dword [ebp - 0x114], 0xd000f6
mov dword [ebp - 0x110], 0xd300d2
mov dword [ebp - 0x10c], 0xcb0097
mov dword [ebp - 0x108], 0xdb00da
mov dword [ebp - 0x104], 0xd200d5
mov dword [ebp - 0x100], 0xd000d4
mov dword [ebp - 0xfc], 0xe000d8
mov dword [ebp - 0xf8], 0xb60092
mov dword [ebp - 0xf4], 0xb600a2
mov dword [ebp - 0xf0], 0xe600b1
mov dword [ebp - 0xec], 0xa900b7
mov dword [ebp - 0xe8], 0xab00bb
mov dword [ebp - 0xe4], 0xa900a6
mov dword [ebp - 0xe0], 0xab00b9
mov dword [ebp - 0xdc], 0xf000bd
mov dword [ebp - 0xd8], 0xfc00ff
mov dword [ebp - 0xd4], 0xd400fd
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x128], ax
inc ecx
mov eax, dword [ebp - 0x12c]
cmp ecx, eax
jb 0x5c42e0
xor ecx, ecx
mov word [ebp + eax*2 - 0x128], cx
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
mov edx, dword [0x83ff50]
add esp, 8
mov dword [ebp - 0xc4], edx
test edx, edx
jne 0x5c436a
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0xc4], edx
xor eax, eax
mov dword [ebp - 0xcc], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [0x83ff50], edx
lea eax, [ebp - 0x17c]
push eax
call fcn.005c4940
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xc8], eax
test esi, esi
je 0x5c43ad
mov edx, eax
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5c4390
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x24c]
push eax
call fcn.005c44e0
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xcc], eax
test esi, esi
je 0x5c43ef
mov edx, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5c43d2
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xcc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xc0]
push ecx
push dword [ebp - 0xc8]
mov ecx, edx
push 0xe4
push eax
push 1
call fcn.00469f50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], 0x7c81a4
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call fcn.004073e0
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov edi, dword [ebp - 0xd0]
mov esi, dword [edi + 0x1d4]
mov dword [esi + 0xc], 0
lea ecx, [esi + 0x64]
cmp dword [esi + 0x78], 8
jb 0x5c447e
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x74], 0
xor eax, eax
mov word [ecx], ax
mov edx, dword [esi + 0x80]
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.00413a10
mov eax, dword [esi + 0x7c]
add esp, 4
mov dword [esi + 0x80], eax
lea eax, [ebp - 0x188]
mov ecx, dword [edi + 0x1d4]
push eax
call fcn.0064e6c0
lea ecx, [ebp - 0x188]
call fcn.00420a90
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.0076eb7e
mov esp, ebp
pop ebp
ret