Function at 0x5e8d10
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 0x7af118
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3a0
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x230], edi
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x258]
mov edx, eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x1d4], 0
call fcn.005d93e0
mov esi, eax
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0xd0]
add ecx, 0x84
push ecx
lea ecx, [ebp - 0x1ec]
call fcn.00404120
mov eax, 1
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x1ec]
push 0x7cf384
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00408060
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 2
push eax
call fcn.00413490
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00404490
lea ecx, [ebp - 0x1ec]
call fcn.00404490
lea ecx, [ebp - 0x258]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x264]
call fcn.00403b80
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00418020
add esp, 8
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xb
call fcn.00404220
lea ecx, [ebp - 0x264]
call fcn.00404490
xorps xmm0, xmm0
lea ecx, [ebp - 0x78]
push 0
movups xmmword [ebp - 0x78], xmm0
movq qword [ebp - 0x68], xmm0
call fcn.007725c0
mov byte [ebp - 4], 0xc
push 0x74
lea eax, [ebp - 0x1d0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1d0]
call fcn.00774c70
push 1
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.007763c0
test al, al
je 0x5e9a9a
lea ecx, [ebp - 0x78]
call fcn.007740b0
test al, al
je 0x5e9a9a
xor eax, eax
mov dword [ebp - 0x24], 8
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0xc9c6c5c1
mov dword [ebp - 0x1c], 0xd5c8cfdd
mov byte [ebp - 0x18], 0xb1
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x78]
call fcn.00774040
test al, al
je 0x5e9201
xor eax, eax
mov dword [ebp - 0x24], 8
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0xc9c6c5c1
mov dword [ebp - 0x1c], 0xd5c8cfdd
mov byte [ebp - 0x18], 0xb1
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x78]
call fcn.00772ae0
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.007737d0
mov byte [ebp - 4], 0xe
call fcn.00451ae0
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.0058b550
test al, al
je 0x5e91f5
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.00404120
lea esi, [edi + 0x1c]
lea eax, [ebp - 0x1ec]
cmp esi, eax
je 0x5e8fc4
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x1ec]
xor eax, eax
mov word [ebp - 0x1ec], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1dc]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 7
lea ecx, [ebp - 0x1ec]
call fcn.00404490
lea ecx, [edi + 0xa0]
lea eax, [ebp - 0x44]
cmp ecx, eax
je 0x5e8fed
cmp dword [ebp - 0x30], 8
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.004044f0
push 0xb0
lea eax, [ebp - 0x128]
mov byte [edi + 0xc], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x128], 0x7d6f90
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x118], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov eax, 3
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x1f0], eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x110]
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], 0x10
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x128], 0x7c81a4
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x12c], eax
lea ecx, [ebp - 0x110]
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 - 0x110], 0x7c8164
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], 0x16
mov dword [ebp - 0x220], 0x880089
mov dword [ebp - 0x21c], 0xc300c3
mov dword [ebp - 0x218], 0xcb00c0
mov dword [ebp - 0x214], 0xd100df
mov dword [ebp - 0x210], 0xd700d6
mov dword [ebp - 0x20c], 0x940091
mov dword [ebp - 0x208], 0xd300d1
mov dword [ebp - 0x204], 0xdd00c3
mov dword [ebp - 0x200], 0xce00da
mov dword [ebp - 0x1fc], 0xd800de
mov dword [ebp - 0x1f8], 0x9e0087
mov dword [ebp - 0x1f4], 0xbf
call fcn.00403e20
mov edx, dword [ebp - 0x234]
lea ecx, [ebp - 0x1ec]
mov esi, eax
call fcn.005d93e0
push esi
push eax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x12
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 0x13
push ecx
push ecx
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00404930
add esp, 0xc
push eax
call fcn.00404930
add esp, 8
lea ecx, [ebp - 0x258]
call fcn.00404490
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1ec]
call fcn.00404490
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x308]
push eax
call fcn.005e9d60
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x3b0]
push eax
call fcn.005e0770
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x128]
push ecx
push esi
push 0x56f
push eax
push 1
mov ecx, edi
call fcn.00469f50
lea ecx, [ebp - 0x128]
call fcn.00406480
mov edi, dword [ebp - 0x230]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
call fcn.00404490
movaps xmm0, xmmword [0x7e5470]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0xd
movups xmmword [ebp - 0x24], xmm0
call fcn.004131e0
push eax
lea ecx, [ebp - 0x78]
call fcn.00774040
test al, al
je 0x5e951c
movaps xmm0, xmmword [0x7e5470]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0xd
movups xmmword [ebp - 0x24], xmm0
call fcn.004131e0
push eax
lea ecx, [ebp - 0x78]
call fcn.00772ae0
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.007737d0
mov byte [ebp - 4], 0x14
call fcn.00451ae0
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.0058b550
test al, al
je 0x5e9510
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.00404120
lea esi, [edi + 0x1c]
lea eax, [ebp - 0x1ec]
cmp esi, eax
je 0x5e92cd
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x1ec]
xor eax, eax
mov word [ebp - 0x1ec], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1dc]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 7
lea ecx, [ebp - 0x1ec]
call fcn.00404490
lea ecx, [edi + 0xa0]
lea eax, [ebp - 0x44]
cmp ecx, eax
je 0x5e92f6
cmp dword [ebp - 0x30], 8
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.004044f0
push 0xb0
lea eax, [ebp - 0x128]
mov byte [edi + 0xc], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x128], 0x7d6f90
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x118], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x128]
mov eax, dword [ebp - 0x1f0]
or eax, 4
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x110]
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], 0x16
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x128], 0x7c81a4
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x12c], eax
lea ecx, [ebp - 0x110]
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 - 0x110], 0x7c8164
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x1b
mov dword [ebp - 0x228], 0x880089
mov dword [ebp - 0x224], 0xd800d8
mov dword [ebp - 0x220], 0xdc00cc
mov dword [ebp - 0x21c], 0xc500db
mov dword [ebp - 0x218], 0xed00c1
mov dword [ebp - 0x214], 0xd500c3
mov dword [ebp - 0x210], 0xd300d2
mov dword [ebp - 0x20c], 0x9a00c4
mov dword [ebp - 0x208], 0xde0099
mov dword [ebp - 0x204], 0xc800de
mov dword [ebp - 0x200], 0xdd00d8
mov dword [ebp - 0x1fc], 0xa500cb
mov dword [ebp - 0x1f8], 0xf800a5
mov dword [ebp - 0x1f4], 0xc400e3
call fcn.00403e20
mov edx, dword [ebp - 0x234]
lea ecx, [ebp - 0x1ec]
mov esi, eax
call fcn.005d93e0
push esi
push eax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x18
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 0x19
push ecx
push ecx
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00404930
add esp, 0xc
push eax
call fcn.00404930
add esp, 8
lea ecx, [ebp - 0x258]
call fcn.00404490
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0x17
call fcn.00404490
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x308]
push eax
call fcn.005e9ea0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x3b0]
push eax
call fcn.005e0770
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x128]
push ecx
push esi
push 0x57c
push eax
push 1
mov ecx, edi
call fcn.00469f50
lea ecx, [ebp - 0x128]
call fcn.00406480
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
call fcn.00404490
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x1c], 0xdfd8cfda
mov dword [ebp - 0x18], 0xb0c1c1c4
call fcn.004131e0
push eax
lea ecx, [ebp - 0x78]
call fcn.00772ae0
mov esi, eax
mov ecx, esi
call fcn.007740a0
test al, al
jne 0x5e960a
movaps xmm0, xmmword [0x7e52d0]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0xc
movups xmmword [ebp - 0x3c], xmm0
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00772ae0
mov edi, eax
mov ecx, edi
call fcn.00774c60
cmp eax, 6
jne 0x5e960a
mov ecx, edi
xor esi, esi
call fcn.00774b70
test eax, eax
je 0x5e960a
mov eax, dword [ebp - 0x230]
add eax, 0xb8
mov dword [ebp - 0x238], eax
push esi
mov ecx, edi
call fcn.007729d0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.007737d0
mov ecx, dword [ebp - 0x238]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
cmp ecx, eax
je 0x5e95da
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004044f0
call fcn.00451ae0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.0058b550
test al, al
jne 0x5e9ae3
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.00404490
mov ecx, edi
inc esi
call fcn.00774b70
cmp esi, eax
jb 0x5e95a5
mov dword [ebp - 0x24], 0xb
xor ecx, ecx
mov dword [ebp - 0x20], 0xc2c5c3d9
mov dword [ebp - 0x1c], 0xc4f0cac8
mov dword [ebp - 0x18], 0xb4c0d0d0
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x20], al
inc ecx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jb 0x5e9628
mov byte [ebp + eax - 0x20], 0
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x20]
push eax
call fcn.00772ae0
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x268], edi
call fcn.00774c60
cmp eax, 6
jne 0x5e9a9a
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x238], esi
call fcn.00774b70
test eax, eax
je 0x5e9a9a
push esi
mov ecx, edi
call fcn.007729d0
push 0x7da6c4
mov ecx, eax
call fcn.00772ae0
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.007737d0
mov byte [ebp - 4], 0x20
call fcn.00451ae0
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.0058b550
test al, al
je 0x5e9a78
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.00404120
mov edi, dword [ebp - 0x230]
lea eax, [ebp - 0x1ec]
lea esi, [edi + 0x1c]
cmp esi, eax
je 0x5e9710
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x1ec]
xor eax, eax
mov word [ebp - 0x1ec], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1dc]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 7
lea ecx, [ebp - 0x1ec]
call fcn.00404490
lea ecx, [edi + 0xa0]
lea eax, [ebp - 0x44]
cmp ecx, eax
je 0x5e9739
cmp dword [ebp - 0x30], 8
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.004044f0
push 0xb0
lea eax, [ebp - 0x128]
mov byte [edi + 0xc], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x128], 0x7d6f90
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x118], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x128]
mov eax, dword [ebp - 0x1f0]
or eax, 0x10
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x110]
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], 0x22
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x128], 0x7c81a4
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x12c], eax
lea ecx, [ebp - 0x110]
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 - 0x110], 0x7c8164
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov byte [ebp - 4], 0x23
xor eax, eax
mov dword [ebp - 0x228], 0x19
mov dword [ebp - 0x224], 0x880089
mov dword [ebp - 0x220], 0xc500db
mov dword [ebp - 0x21c], 0xc000c3
mov dword [ebp - 0x218], 0xd400ca
mov dword [ebp - 0x214], 0xc600ee
mov dword [ebp - 0x210], 0xd600d2
mov dword [ebp - 0x20c], 0x9400c6
mov dword [ebp - 0x208], 0xdc0097
mov dword [ebp - 0x204], 0xce00dc
mov dword [ebp - 0x200], 0xdf00de
mov dword [ebp - 0x1fc], 0xdb00c9
mov dword [ebp - 0x1f8], 0xfa00db
mov dword [ebp - 0x1f4], 0xc200e1
nop dword [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x224], cx
inc eax
mov ecx, dword [ebp - 0x228]
cmp eax, ecx
jb 0x5e9890
mov edx, dword [ebp - 0x234]
xor eax, eax
mov word [ebp + ecx*2 - 0x224], ax
lea ecx, [ebp - 0x1ec]
call fcn.005d93e0
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0x24
push ecx
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00408060
add esp, 0xc
mov byte [ebp - 4], 0x25
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x5e98ee
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00404c80
mov ecx, dword [esi + 0x10]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x5e990a
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.00404c80
add esp, 0xc
lea ecx, [ebp - 0x258]
call fcn.00404490
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0x23
call fcn.00404490
mov edx, dword [0x83ff50]
mov dword [ebp - 0x1d4], edx
test edx, edx
jne 0x5e9980
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x1d4], edx
xor eax, eax
mov dword [ebp - 0x240], 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 - 0x308]
push eax
call fcn.005ea120
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x23c], eax
test esi, esi
je 0x5e99be
mov edx, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5e99a1
mov edx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x23c]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x3b0]
push eax
call fcn.005e0770
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x240], eax
test esi, esi
je 0x5e9a00
mov edx, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5e99e3
mov edx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x240]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x128]
push ecx
push dword [ebp - 0x23c]
mov ecx, edx
push 0x5a4
push eax
push 1
call fcn.00469f50
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x128], 0x7c81a4
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x12c], eax
lea ecx, [ebp - 0x110]
call fcn.004073e0
lea ecx, [ebp - 0x108]
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 - 0xc0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov esi, dword [ebp - 0x238]
mov edi, dword [ebp - 0x268]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
call fcn.00404490
inc esi
mov ecx, edi
mov dword [ebp - 0x238], esi
call fcn.00774b70
cmp esi, eax
jb 0x5e9678
lea ecx, [ebp - 0x1d0]
call fcn.00430850
lea ecx, [ebp - 0x78]
call fcn.007727c0
lea ecx, [ebp - 0x140]
call fcn.00407a10
lea ecx, [ebp - 0x158]
call fcn.00404490
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.0076eb7e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.00404120
mov esi, dword [ebp - 0x230]
lea eax, [ebp - 0x1ec]
lea edi, [esi + 0x1c]
cmp edi, eax
je 0x5e9b40
mov ecx, edi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x1ec]
xor eax, eax
mov word [ebp - 0x1ec], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1dc]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 7
lea ecx, [ebp - 0x1ec]
call fcn.00404490
lea ecx, [esi + 0xa0]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x5e9b69
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004044f0
push 0xb0
lea eax, [ebp - 0x128]
mov byte [esi + 0xc], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x128], 0x7d6f90
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x118], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x128]
mov eax, dword [ebp - 0x1f0]
or eax, 8
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x110]
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], 0x1c
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x128], 0x7c81a4
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x12c], eax
lea ecx, [ebp - 0x110]
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 - 0x110], 0x7c8164
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x15
mov dword [ebp - 0x58], 0x880089
mov dword [ebp - 0x54], 0xc900d8
mov dword [ebp - 0x50], 0xdd00de
mov dword [ebp - 0x4c], 0xdf00c6
mov dword [ebp - 0x48], 0x9000df
mov dword [ebp - 0x44], 0xd00093
mov dword [ebp - 0x40], 0xc200d0
mov dword [ebp - 0x3c], 0xdb00d2
mov dword [ebp - 0x38], 0xdf00cd
mov dword [ebp - 0x34], 0x8600df
mov dword [ebp - 0x30], 0xbe009d
call fcn.00403e20
mov edx, dword [ebp - 0x234]
lea ecx, [ebp - 0x1ec]
mov esi, eax
call fcn.005d93e0
push esi
push eax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x1e
push eax
call fcn.00408060
add esp, 0xc
mov byte [ebp - 4], 0x1f
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x5e9cba
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00404c80
mov ecx, dword [edi + 0x10]
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x5e9cd6
mov edi, dword [edi]
push ecx
push edi
push eax
call fcn.00404c80
add esp, 0xc
lea ecx, [ebp - 0x258]
call fcn.00404490
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0x1d
call fcn.00404490
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x308]
push eax
call fcn.005e9fe0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x3b0]
push eax
call fcn.005e0770
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x128]
push ecx
push esi
push 0x590
push eax
push 1
mov ecx, edi
call fcn.00469f50
lea ecx, [ebp - 0x128]
call fcn.00406480
lea ecx, [ebp - 0x2c]
call fcn.00404490
jmp 0x5e9a9a