Function at 0x5c3aa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9e89
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1b0], ebx
xor edi, edi
mov dword [ebp - 0x174], edi
mov eax, dword [ebx + 0x1c4]
mov dword [ebp - 0x1ac], edi
mov al, byte [eax + 0xd]
test al, al
je 0x5c3d9c
push 0xb0
lea eax, [ebp - 0xc0]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x7d4f80
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push edi
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x174], 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], vtable..7.0
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], 0x7c6164
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x1a4], 0x15
mov dword [ebp - 0x1a0], 0xd500fb
mov dword [ebp - 0x19c], 0xda00df
mov dword [ebp - 0x198], 0x9d00d2
mov dword [ebp - 0x194], 0xda00ed
mov dword [ebp - 0x190], 0xb300a1
mov dword [ebp - 0x18c], 0xab00a1
mov dword [ebp - 0x188], 0x9600e4
mov dword [ebp - 0x184], 0xb400bf
mov dword [ebp - 0x180], 0xac00bc
mov dword [ebp - 0x17c], 0xf100a7
mov dword [ebp - 0x178], 0xcd00ec
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1a0], ax
inc ecx
mov eax, dword [ebp - 0x1a4]
cmp ecx, eax
jb 0x5c3c20
xor ecx, ecx
mov word [ebp + eax*2 - 0x1a0], cx
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
mov ecx, dword [ebx + 0x1cc]
add esp, 8
add ecx, 0x1c
mov esi, eax
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00404120
mov eax, 3
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x1c8]
cmp dword [ebp - 0x1b4], 8
push dword [ebp - 0x1b8]
cmovae ecx, dword [ebp - 0x1c8]
push ecx
push esi
call fcn.00404c80
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c8]
call fcn.00404490
call fcn.00434600
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x278]
push eax
call fcn.005c4340
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea ebx, [esi + 4]
test edx, edx
je 0x5c3ce6
lea eax, [ecx + 0xb8]
xor word [ebx + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5c3cd5
xor eax, eax
mov word [ebx + edx*2], ax
lea eax, [ebp - 0x33c]
push eax
call fcn.005c34e0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5c3d16
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5c3d05
mov ecx, dword [ebp - 0x174]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xc0]
push eax
push ebx
push 0xed
push edi
push 1
call fcn.00469240
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
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 ebx, dword [ebp - 0x1b0]
mov ecx, dword [ebx + 0x1c4]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [ebp - 0x1ac]
mov eax, dword [ebx + 0x1cc]
mov al, byte [eax + 0xd]
test al, al
je 0x5c4055
push 0xb0
lea eax, [ebp - 0xc0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x7d4f80
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 0x7d5218
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], 4
or edi, 4
lea ecx, [ebp - 0xc0]
push eax
mov dword [ebp - 0x174], edi
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], 5
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
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], 0x7c6164
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0x1a4], 0x15
mov dword [ebp - 0x1a0], 0xd500fb
mov dword [ebp - 0x19c], 0xda00df
mov dword [ebp - 0x198], 0x9d00d2
mov dword [ebp - 0x194], 0xda00ed
mov dword [ebp - 0x190], 0xb300a1
mov dword [ebp - 0x18c], 0xab00a1
mov dword [ebp - 0x188], 0x9600e4
mov dword [ebp - 0x184], 0xb400bf
mov dword [ebp - 0x180], 0xac00bc
mov dword [ebp - 0x17c], 0xf100a7
mov dword [ebp - 0x178], 0xcd00ec
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1a0], ax
inc ecx
mov eax, dword [ebp - 0x1a4]
cmp ecx, eax
jb 0x5c3ee0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1a0], cx
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
mov ecx, dword [ebx + 0x1cc]
add esp, 8
add ecx, 0x1c
mov esi, eax
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00404120
or edi, 8
mov dword [ebp - 0x1ac], edi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c8]
cmp dword [ebp - 0x1b4], 8
push dword [ebp - 0x1b8]
cmovae ecx, dword [ebp - 0x1c8]
push ecx
push esi
call fcn.00404c80
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c8]
call fcn.00404490
call fcn.00434600
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x278]
push eax
call fcn.005c44b0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea ebx, [esi + 4]
test edx, edx
je 0x5c3fa5
lea eax, [ecx + 0xb8]
xor word [ebx + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5c3f94
xor eax, eax
mov word [ebx + edx*2], ax
lea eax, [ebp - 0x33c]
push eax
call fcn.005c34e0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5c3fd5
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5c3fc4
mov ecx, dword [ebp - 0x174]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xc0]
push eax
push ebx
push 0xf3
push edi
push 1
call fcn.00469240
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
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 ebx, dword [ebp - 0x1b0]
mov ecx, dword [ebx + 0x1cc]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebx + 0x1d4]
mov al, byte [eax + 0xd]
test al, al
je 0x5c4324
push 0xb0
lea eax, [ebp - 0x170]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x170], 0x7d4f80
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x160], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x170]
mov eax, dword [ebp - 0x1ac]
or eax, 0x10
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x158]
push 0
push eax
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], 9
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x158]
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 - 0x158], 0x7c6164
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 4], 0xa
xor ecx, ecx
mov dword [ebp - 0x1a8], 0x17
mov dword [ebp - 0x1a4], 0xd500fb
mov dword [ebp - 0x1a0], 0xda00df
mov dword [ebp - 0x19c], 0x9d00d2
mov dword [ebp - 0x198], 0xcb00ed
mov dword [ebp - 0x194], 0xb300a1
mov dword [ebp - 0x190], 0xe300b6
mov dword [ebp - 0x18c], 0xa40094
mov dword [ebp - 0x188], 0xa600b4
mov dword [ebp - 0x184], 0xac00a5
mov dword [ebp - 0x180], 0xae00be
mov dword [ebp - 0x17c], 0xf700be
mov dword [ebp - 0x178], 0xcf00ee
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1a4], ax
inc ecx
mov eax, dword [ebp - 0x1a8]
cmp ecx, eax
jb 0x5c41b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1a4], cx
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00404740
mov ecx, dword [ebx + 0x1d4]
add esp, 8
add ecx, 0x1c
mov esi, eax
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00404120
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c8]
cmp dword [ebp - 0x1b4], 8
push dword [ebp - 0x1b8]
cmovae ecx, dword [ebp - 0x1c8]
push ecx
push esi
call fcn.00404c80
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c8]
call fcn.00404490
call fcn.00434600
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.005c4620
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea ebx, [esi + 4]
test edx, edx
je 0x5c4271
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebx + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5c4260
xor eax, eax
mov word [ebx + edx*2], ax
lea eax, [ebp - 0x4b0]
push eax
call fcn.005c34e0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x5c42a1
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5c4290
mov ecx, dword [ebp - 0x174]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x170]
push eax
push ebx
push 0xf9
push edi
push 1
call fcn.00469240
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x158]
call fcn.004073e0
lea ecx, [ebp - 0x150]
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 - 0x108]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0x1b0]
mov ecx, dword [ecx + 0x1d4]
call fcn.0064ebb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret