Function at 0x5e2540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ace0d
mov eax, dword fs:[0]
push eax
sub esp, 0x394
mov eax, dword [0x82f184]
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 - 0x208], ecx
xor eax, eax
mov dword [ebp - 0x198], eax
mov esi, dword [ecx + 4]
mov dword [ebp - 0x1a4], eax
cmp esi, dword [ecx + 8]
je 0x5e262b
nop dword [eax]
mov edi, dword [esi + 4]
test edi, edi
je 0x5e259e
lock inc dword [edi + 4]
mov edi, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x19c], eax
mov dword [eax + 0xc], 0
lea edx, [eax + 0x64]
cmp dword [eax + 0x78], 8
jb 0x5e25b9
mov edx, dword [eax + 0x64]
xor ecx, ecx
mov dword [eax + 0x74], 0
mov word [edx], cx
mov edx, dword [eax + 0x80]
push ecx
mov ecx, dword [eax + 0x7c]
call fcn.00413a10
mov ecx, dword [ebp - 0x19c]
add esp, 4
mov eax, dword [ecx + 0x7c]
mov dword [ecx + 0x80], eax
mov dword [ebp - 4], 0
test edi, edi
je 0x5e2612
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x5e2612
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x5e2612
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x208]
add esi, 8
mov dword [ebp - 4], 0xffffffff
cmp esi, dword [ecx + 8]
jne 0x5e2590
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push edx
movq qword [ebp - 0x24], xmm0
call dword [eax + 0xc]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1d4], eax
cmp ecx, eax
je 0x5e2b9d
add ecx, 4
mov dword [ebp - 0x19c], ecx
nop word [eax + eax]
mov edi, dword [ecx]
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1a8], edi
test edi, edi
je 0x5e2690
lock inc dword [edi + 4]
mov edi, dword [ecx]
mov dword [ebp - 0x1a8], edi
mov eax, dword [ecx - 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edi
add eax, 0x4c
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x228]
movlpd qword [ebp - 0x18], xmm0
call fcn.00404120
mov esi, dword [ebp - 0x1a4]
or esi, 1
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x1a0], esi
mov ecx, dword [ebp - 0x208]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.005d4840
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 5
call fcn.00404490
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5e2b23
push 0xb0
mov byte [eax + 0xc], 1
lea eax, [ebp - 0x194]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x194], 0x7d4f80
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x184], 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 - 0x17c]
mov byte [ebp - 4], 8
or esi, 2
lea ecx, [ebp - 0x194]
push eax
mov dword [ebp - 0x198], esi
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 - 0x194]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x198], eax
lea ecx, [ebp - 0x17c]
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 - 0x17c], 0x7c6164
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov byte [ebp - 4], 0xa
xor ecx, ecx
mov dword [ebp - 0x1b8], 5
mov dword [ebp - 0x1b4], 0xc100fd
mov dword [ebp - 0x1b0], 0x8100ce
mov dword [ebp - 0x1ac], 0xbd009c
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1b4], ax
inc ecx
mov eax, dword [ebp - 0x1b8]
cmp ecx, eax
jb 0x5e27e0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1b4], cx
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.00404740
mov ecx, dword [ebp - 0x18]
add esp, 8
add ecx, 0x1c
mov esi, eax
push ecx
lea ecx, [ebp - 0x228]
call fcn.00404120
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x228]
cmp dword [ebp - 0x214], 8
push dword [ebp - 0x218]
cmovae ecx, dword [ebp - 0x228]
push ecx
push esi
call fcn.00404c80
mov edx, 6
mov dword [ebp - 0x1c8], 0x990094
add esp, 0xc
mov dword [ebp - 0x1cc], edx
mov esi, eax
mov dword [ebp - 0x1c4], 0xdf00d3
mov dword [ebp - 0x1c0], 0x9d0086
xor ecx, ecx
mov dword [ebp - 0x1bc], 0xbe
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1c8], ax
inc ecx
mov edx, dword [ebp - 0x1cc]
cmp ecx, edx
jb 0x5e2890
xor eax, eax
mov word [ebp + edx*2 - 0x1c8], ax
lea eax, [ebp - 0x1c8]
push eax
push esi
call fcn.00404740
mov ecx, dword [ebp - 0x18]
add esp, 8
add ecx, 0x4c
mov esi, eax
push ecx
lea ecx, [ebp - 0x240]
call fcn.00404120
mov eax, dword [ebp - 0x1a0]
or eax, 0xe
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x240]
cmp dword [ebp - 0x22c], 8
push dword [ebp - 0x230]
cmovae eax, dword [ebp - 0x240]
push eax
push esi
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0x1f8], 0xf
mov edx, eax
mov dword [ebp - 0x1f4], 0xdd0098
mov dword [ebp - 0x1f0], 0xcf00df
xor ecx, ecx
mov dword [ebp - 0x1ec], 0xde00d9
mov dword [ebp - 0x1e8], 0xda00ca
mov dword [ebp - 0x1e4], 0xe100a4
mov dword [ebp - 0x1e0], 0xba00a0
mov dword [ebp - 0x1dc], 0x8c00e4
mov dword [ebp - 0x1d8], 0xc70082
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1f4], ax
inc ecx
mov eax, dword [ebp - 0x1f8]
cmp ecx, eax
jb 0x5e2970
xor ecx, ecx
mov word [ebp + eax*2 - 0x1f4], cx
lea eax, [ebp - 0x1f4]
push eax
push edx
call fcn.00404740
add esp, 8
lea ecx, [ebp - 0x240]
call fcn.00404490
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0xa
call fcn.00404490
mov edx, dword [0x83df60]
mov dword [ebp - 0x210], edx
test edx, edx
jne 0x5e2a0e
push 0x20
call fcn.0076d2e3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x210], edx
xor eax, eax
mov dword [ebp - 0x20c], 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 [0x83df60], edx
lea eax, [ebp - 0xe4]
push eax
call fcn.005e3670
mov dword [ebp - 0x1a0], eax
mov esi, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x198], ecx
xor ecx, ecx
test esi, esi
je 0x5e2a5d
mov edx, dword [ebp - 0x198]
mov edi, eax
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5e2a40
mov edx, dword [ebp - 0x210]
mov edi, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x198]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x2e8]
push eax
call fcn.005df700
mov dword [ebp - 0x20c], eax
mov esi, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x1a0], ecx
xor ecx, ecx
test esi, esi
je 0x5e2ab1
mov edx, dword [ebp - 0x1a0]
mov edi, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5e2a94
mov edx, dword [ebp - 0x210]
mov edi, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1a0]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x194]
push ecx
push dword [ebp - 0x198]
mov ecx, edx
push 0x2b8
push eax
push 1
call fcn.00469240
mov eax, dword [ebp - 0x194]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x198], eax
lea ecx, [ebp - 0x17c]
call fcn.004073e0
lea ecx, [ebp - 0x174]
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 - 0x12c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x5e2b4f
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5e2b4f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5e2b4f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0xe
test edi, edi
je 0x5e2b78
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x5e2b78
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x5e2b78
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x19c]
add ecx, 8
mov dword [ebp - 0x19c], ecx
lea eax, [ecx - 4]
cmp eax, dword [ebp - 0x1d4]
jne 0x5e2670
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20c], eax
cmp ecx, eax
je 0x5e30d9
add ecx, 4
mov dword [ebp - 0x1a0], ecx
nop word [eax + eax]
mov edi, dword [ecx]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test edi, edi
je 0x5e2bd4
lock inc dword [edi + 4]
mov edi, dword [ecx]
mov eax, dword [ecx - 4]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0xf
call fcn.00451010
mov ecx, dword [ebp - 0x19c]
mov esi, eax
add ecx, 0x1c
push ecx
lea ecx, [ebp - 0x228]
call fcn.00404120
mov eax, dword [ebp - 0x1a4]
or eax, 0x10
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0x10
push eax
mov ecx, esi
call fcn.0058a5c0
lea ecx, [ebp - 0x228]
mov byte [ebp - 0x1cd], al
mov byte [ebp - 4], 0xf
call fcn.00404490
cmp byte [ebp - 0x1cd], 0
je 0x5e308b
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x208]
push 0xffffffffffffffff
mov byte [eax + 0xc], 1
lea eax, [ebp - 0x18]
push eax
call fcn.005e3af0
push 0xb0
lea eax, [ebp - 0xdc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xdc], 0x7d4f80
lea ecx, [ebp - 0x74]
mov dword [ebp - 0xcc], 0x7d5218
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], 0x11
lea ecx, [ebp - 0xdc]
mov eax, dword [ebp - 0x1a4]
or eax, 0x20
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0xc4]
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], 0x12
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable..7.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xc4]
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 - 0xc4], 0x7c6164
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 0x13
xor ecx, ecx
mov dword [ebp - 0x1b8], 5
mov dword [ebp - 0x1b4], 0xc100fd
mov dword [ebp - 0x1b0], 0x8100ce
mov dword [ebp - 0x1ac], 0xbd009c
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1b4], ax
inc ecx
mov eax, dword [ebp - 0x1b8]
cmp ecx, eax
jb 0x5e2d50
xor ecx, ecx
mov word [ebp + eax*2 - 0x1b4], cx
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00404740
mov edi, dword [ebp - 0x18]
add esp, 8
mov esi, eax
lea ecx, [edi + 0x1c]
push ecx
lea ecx, [ebp - 0x240]
call fcn.00404120
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x240]
cmp dword [ebp - 0x22c], 8
push dword [ebp - 0x230]
cmovae ecx, dword [ebp - 0x240]
push ecx
push esi
call fcn.00404c80
mov edx, 6
mov dword [ebp - 0x1c8], 0x990094
add esp, 0xc
mov dword [ebp - 0x1cc], edx
mov esi, eax
mov dword [ebp - 0x1c4], 0xdf00d3
mov dword [ebp - 0x1c0], 0x9d0086
xor ecx, ecx
mov dword [ebp - 0x1bc], 0xbe
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1c8], ax
inc ecx
mov edx, dword [ebp - 0x1cc]
cmp ecx, edx
jb 0x5e2e00
xor eax, eax
mov word [ebp + edx*2 - 0x1c8], ax
lea eax, [ebp - 0x1c8]
push eax
push esi
call fcn.00404740
add esp, 8
lea ecx, [edi + 0x4c]
mov esi, eax
push ecx
lea ecx, [ebp - 0x228]
call fcn.00404120
mov eax, dword [ebp - 0x1d4]
or eax, 0xe0
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 8
push dword [ebp - 0x218]
cmovae eax, dword [ebp - 0x228]
push eax
push esi
call fcn.00404c80
mov edx, 0x14
mov dword [ebp - 0x200], 0xdd0098
add esp, 0xc
mov dword [ebp - 0x204], edx
mov esi, eax
mov dword [ebp - 0x1fc], 0xcf00df
mov dword [ebp - 0x1f8], 0xde00d9
xor ecx, ecx
mov dword [ebp - 0x1f4], 0xda00ca
mov dword [ebp - 0x1f0], 0xe100a4
mov dword [ebp - 0x1ec], 0xba00a0
mov dword [ebp - 0x1e8], 0x8e00e4
mov dword [ebp - 0x1e4], 0xbe00a3
mov dword [ebp - 0x1e0], 0xa600bf
mov dword [ebp - 0x1dc], 0xaf00b8
mov dword [ebp - 0x1d8], 0xcc
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x200], ax
inc ecx
mov edx, dword [ebp - 0x204]
cmp ecx, edx
jb 0x5e2f00
xor eax, eax
mov word [ebp + edx*2 - 0x200], ax
lea eax, [ebp - 0x200]
push eax
push esi
call fcn.00404740
add esp, 8
lea ecx, [ebp - 0x228]
call fcn.00404490
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x13
call fcn.00404490
mov esi, dword [0x83df60]
mov dword [ebp - 0x198], esi
test esi, esi
jne 0x5e2f9e
push 0x20
call fcn.0076d2e3
mov esi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x198], esi
xor eax, eax
mov dword [ebp - 0x1d4], esi
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [0x83df60], esi
lea eax, [ebp - 0x3a0]
push eax
call fcn.005e37f0
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1a8], eax
test edx, edx
je 0x5e2fdd
mov esi, eax
nop
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5e2fc0
mov esi, dword [ebp - 0x198]
mov eax, dword [ebp - 0x1a8]
xor ecx, ecx
mov word [eax + edx*2], cx
lea eax, [ebp - 0x2e8]
push eax
call fcn.005df700
mov edi, eax
mov edx, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x19c], eax
test edx, edx
je 0x5e301f
mov esi, eax
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x5e3002
mov esi, dword [ebp - 0x198]
mov eax, dword [ebp - 0x19c]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0xdc]
push ecx
push dword [ebp - 0x1a8]
mov ecx, esi
push 0x2c4
push eax
push 1
call fcn.00469240
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable..7.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xc4]
call fcn.004073e0
lea ecx, [ebp - 0xbc]
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 - 0x74]
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 - 0x14]
mov byte [ebp - 4], 0x16
test edi, edi
je 0x5e30b4
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x5e30b4
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x5e30b4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x1a0]
add ecx, 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x1a0], ecx
lea eax, [ecx - 4]
cmp eax, dword [ebp - 0x20c]
jne 0x5e2bc0
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x208]
mov eax, dword [esi + 0x44]
cmp dword [eax + 8], 1
jne 0x5e3609
mov edx, dword [0x83df68]
test edx, edx
jne 0x5e3131
push 0x10
call fcn.0076d2e3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x1d4], edx
mov dword [0x83df68], edx
movups xmmword [edx], xmm0
mov word [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov ecx, dword [ebp - 0x24]
cmp byte [edx], 0
je 0x5e3609
mov eax, dword [esi + 0x44]
mov ecx, edx
push dword [eax + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.0058e230
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1d4], eax
cmp ecx, eax
je 0x5e3609
lea edi, [ecx + 4]
mov dword [ebp - 0x1a0], edi
nop dword [eax + eax]
mov esi, dword [edi]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test esi, esi
je 0x5e3184
lock inc dword [esi + 4]
mov esi, dword [edi]
mov eax, dword [edi - 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x22
mov al, byte [eax + 0xc]
test al, al
je 0x5e35c1
mov ecx, dword [ebp - 0x208]
lea eax, [ebp - 0x18]
push 0xfffffffffffffffd
push eax
call fcn.005e3af0
push 0xb0
lea eax, [ebp - 0xdc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xdc], 0x7d4f80
lea ecx, [ebp - 0x74]
mov dword [ebp - 0xcc], 0x7d5218
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], 0x23
lea ecx, [ebp - 0xdc]
mov eax, dword [ebp - 0x1a4]
or eax, 0x1000
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0xc4]
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], 0x24
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable..7.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xc4]
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 - 0xc4], 0x7c6164
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 0x25
xor eax, eax
mov dword [ebp - 0x1b8], 5
mov dword [ebp - 0x1b4], 0xc100fd
mov dword [ebp - 0x1b0], 0x8100ce
mov dword [ebp - 0x1ac], 0xbd009c
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x1b4], cx
inc eax
mov ecx, dword [ebp - 0x1b8]
cmp eax, ecx
jb 0x5e32a0
xor eax, eax
mov word [ebp + ecx*2 - 0x1b4], ax
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00404740
mov edi, dword [ebp - 0x18]
add esp, 8
mov esi, eax
lea ecx, [edi + 0x1c]
push ecx
lea ecx, [ebp - 0x240]
call fcn.00404120
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x240]
cmp dword [ebp - 0x22c], 8
push dword [ebp - 0x230]
cmovae ecx, dword [ebp - 0x240]
push ecx
push esi
call fcn.00404c80
mov edx, 6
mov dword [ebp - 0x1c8], 0x990094
add esp, 0xc
mov dword [ebp - 0x1cc], edx
mov esi, eax
mov dword [ebp - 0x1c4], 0xdf00d3
mov dword [ebp - 0x1c0], 0x9d0086
xor ecx, ecx
mov dword [ebp - 0x1bc], 0xbe
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1c8], ax
inc ecx
mov edx, dword [ebp - 0x1cc]
cmp ecx, edx
jb 0x5e3350
xor eax, eax
mov word [ebp + edx*2 - 0x1c8], ax
lea eax, [ebp - 0x1c8]
push eax
push esi
call fcn.00404740
add esp, 8
lea ecx, [edi + 0x4c]
mov esi, eax
push ecx
lea ecx, [ebp - 0x228]
call fcn.00404120
or dword [ebp - 0x1a4], 0x6000
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 8
push dword [ebp - 0x218]
cmovae eax, dword [ebp - 0x228]
push eax
push esi
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0x1fc], 0x11
mov edx, eax
mov dword [ebp - 0x1f8], 0xdd0098
mov dword [ebp - 0x1f4], 0xcf00df
xor ecx, ecx
mov dword [ebp - 0x1f0], 0xde00d9
mov dword [ebp - 0x1ec], 0xda00ca
mov dword [ebp - 0x1e8], 0xe100a4
mov dword [ebp - 0x1e4], 0xba00a0
mov dword [ebp - 0x1e0], 0x8600e4
mov dword [ebp - 0x1dc], 0xa300a9
mov dword [ebp - 0x1d8], 0xc900ad
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1f8], ax
inc ecx
mov eax, dword [ebp - 0x1fc]
cmp ecx, eax
jb 0x5e3430
xor ecx, ecx
mov word [ebp + eax*2 - 0x1f8], cx
lea eax, [ebp - 0x1f8]
push eax
push edx
call fcn.00404740
add esp, 8
lea ecx, [ebp - 0x228]
call fcn.00404490
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x25
call fcn.00404490
mov edx, dword [0x83df60]
mov dword [ebp - 0x198], edx
test edx, edx
jne 0x5e34ce
push 0x20
call fcn.0076d2e3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x198], edx
xor eax, eax
mov dword [ebp - 0x20c], 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 [0x83df60], edx
lea eax, [ebp - 0x3a0]
push eax
call fcn.005e3970
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x1a8], eax
test esi, esi
je 0x5e350d
mov edx, eax
nop
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5e34f0
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp - 0x1a8]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x2e8]
push eax
call fcn.005df700
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x19c], eax
test esi, esi
je 0x5e354f
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5e3532
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp - 0x19c]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xdc]
push ecx
push dword [ebp - 0x1a8]
mov ecx, edx
push 0x2ec
push eax
push 1
call fcn.00469240
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable..7.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xc4]
call fcn.004073e0
lea ecx, [ebp - 0xbc]
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 - 0x74]
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 - 0x14]
mov edi, dword [ebp - 0x1a0]
mov byte [ebp - 4], 0x28
test esi, esi
je 0x5e35ea
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5e35ea
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5e35ea
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
add edi, 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x1a0], edi
lea eax, [edi - 4]
cmp eax, dword [ebp - 0x1d4]
jne 0x5e3170
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x5e364e
mov edx, dword [ebp - 0x20]
push ecx
call fcn.00413a10
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov edx, dword [ebp - 0x24]
sub ecx, edx
and ecx, 0xfffffff8
mov eax, edx
cmp ecx, 0x1000
jb 0x5e3644
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5e3644
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0076d313
add esp, 8
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.0076d59e
mov esp, ebp
pop ebp
ret