Function at 0x765f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7c31fb
mov eax, dword fs:[0]
push eax
sub esp, 0x300
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
push 0x544c4d4e
mov dword [ebp - 0x184], 0
call fcn.00429170
add esp, 4
mov dword [ebp - 0x17c], eax
lea ecx, [ebp - 0x174]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0xb0
mov esi, eax
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_]
mov eax, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x184], eax
lea ecx, [ebp - 0xc0]
push 0
lea eax, [ebp - 0xa8]
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 eax, dword [ebp - 0xc0]
mov dword [ebp - 4], 1
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 eax, 0x18
mov dword [ebp - 4], 2
mov dword [ebp - 0x208], eax
xor ecx, ecx
mov dword [ebp - 0x204], 0xc900f2
mov dword [ebp - 0x200], 0xc300c7
mov dword [ebp - 0x1fc], 0xcb00de
mov dword [ebp - 0x1f8], 0xc500fd
mov dword [ebp - 0x1f4], 0xdc00df
mov dword [ebp - 0x1f0], 0xda00da
mov dword [ebp - 0x1ec], 0xff00d2
mov dword [ebp - 0x1e8], 0xcb00d9
mov dword [ebp - 0x1e4], 0xdb00cd
mov dword [ebp - 0x1e0], 0xdf00d5
mov dword [ebp - 0x1dc], 0xe300d8
mov dword [ebp - 0x1d8], 0xe00085
mov dword [ebp - 0x1d4], 0xc1
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x204], ax
inc ecx
mov eax, dword [ebp - 0x208]
cmp ecx, eax
jb 0x7660e0
xor ecx, ecx
mov word [ebp + eax*2 - 0x204], cx
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
add esp, 8
mov ecx, eax
push 0x7d8574
push dword [ebp - 0x174]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
push eax
call fcn.00413580
add esp, 8
mov ecx, eax
push esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov eax, dword [0x83ff50]
mov dword [ebp - 0x18c], eax
test eax, eax
jne 0x766189
push 0x20
call fcn.0076e8c3
add esp, 4
mov dword [ebp - 0x180], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x766178
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
call fcn.00469f30
jmp 0x76617a
xor eax, eax
mov dword [ebp - 0x18c], eax
mov byte [ebp - 4], 2
mov dword [0x83ff50], eax
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x175]
call fcn.00763b10
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x180], edi
test edx, edx
je 0x7661c1
nop
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x7661b0
xor eax, eax
lea ecx, [ebp - 0x175]
mov word [edi + edx*2], ax
lea eax, [ebp - 0x254]
push eax
call fcn.00762f90
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x188], eax
test edx, edx
je 0x76620d
mov edi, eax
nop
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x7661f0
mov edi, dword [ebp - 0x180]
mov eax, dword [ebp - 0x188]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0x18c]
push edi
push 0x414
push eax
push 1
call fcn.00469f50
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
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_]
push dword [ebp - 0x174]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x18c], eax
test eax, eax
jne 0x7664a5
push 0xb0
push eax
lea eax, [ebp - 0xc0]
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_]
mov eax, 3
mov dword [ebp - 4], 4
mov dword [ebp - 0x184], eax
lea ecx, [ebp - 0xc0]
push 0
lea eax, [ebp - 0xa8]
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 eax, dword [ebp - 0xc0]
mov dword [ebp - 4], 5
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
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x175]
call fcn.00764320
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x766381
nop
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x766370
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xb0]
push edi
push eax
call fcn.00404740
add esp, 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
call fcn.004345f0
mov dword [ebp - 0x188], eax
lea ecx, [ebp - 0x175]
lea eax, [ebp - 0x30c]
push eax
call fcn.007643f0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x180], edi
test edx, edx
je 0x7663f1
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x7663e0
xor eax, eax
lea ecx, [ebp - 0x175]
mov word [edi + edx*2], ax
lea eax, [ebp - 0x254]
push eax
call fcn.00762f90
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x766431
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x766420
mov ecx, dword [ebp - 0x188]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0x180]
push 0x418
push edi
push 1
call fcn.00469f50
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
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_]
push 0
push 0
push 0x4bd
push dword [ebp - 0x17c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push dword [ebp - 0x174]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xb0
mov dword [ebp - 0x17c], eax
test eax, eax
push 0
lea eax, [ebp - 0xc0]
push eax
jne 0x7666a3
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_]
or dword [ebp - 0x184], 4
lea eax, [ebp - 0xa8]
push 0
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 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 eax, dword [ebp - 0xc0]
mov dword [ebp - 4], 8
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
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 9
push eax
lea ecx, [ebp - 0x175]
call fcn.00764670
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x7665b5
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x7665a4
xor eax, eax
mov word [esi + edx*2], ax
lea eax, [ebp - 0xb0]
push esi
push eax
call fcn.00404740
add esp, 8
call fcn.004345f0
mov dword [ebp - 0x180], eax
lea ecx, [ebp - 0x175]
lea eax, [ebp - 0x30c]
push eax
call fcn.00764530
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x17c], edi
test edx, edx
je 0x766611
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x766600
xor eax, eax
lea ecx, [ebp - 0x175]
mov word [edi + edx*2], ax
lea eax, [ebp - 0x254]
push eax
call fcn.00762f90
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x766651
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x766640
mov ecx, dword [ebp - 0x180]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0x17c]
push 0x41f
push edi
push 1
call fcn.00469f50
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
jmp 0x766a3e
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_]
or dword [ebp - 0x184], 8
lea eax, [ebp - 0xa8]
push 0
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0xa
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 eax, dword [ebp - 0xc0]
mov dword [ebp - 4], 0xb
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
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x175]
call fcn.00764290
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x766774
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x766763
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xb0]
push edi
push eax
call fcn.00404740
mov edx, 8
mov dword [ebp - 0x1b4], 0xcf00fb
add esp, 8
mov dword [ebp - 0x1b8], edx
mov esi, eax
mov dword [ebp - 0x1b0], 0xd900df
mov dword [ebp - 0x1ac], 0xc000df
xor ecx, ecx
mov dword [ebp - 0x1a8], 0x900095
mov dword [ebp - 0x1a4], 0xb1
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1b4], ax
inc ecx
mov edx, dword [ebp - 0x1b8]
cmp ecx, edx
jb 0x7667d0
xor eax, eax
mov word [ebp + edx*2 - 0x1b4], ax
lea eax, [ebp - 0x1b4]
push eax
push esi
call fcn.00404740
push dword [ebp - 0x17c]
mov esi, eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0041dbf0
push eax
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 0xd
push eax
call fcn.004057b0
add esp, 0x18
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 0xe
jb 0x766837
mov eax, dword [eax]
push ecx
push eax
push esi
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0x1a0], 7
mov edx, eax
mov dword [ebp - 0x19c], 0xd800ec
mov dword [ebp - 0x198], 0xc300d9
xor ecx, ecx
mov dword [ebp - 0x194], 0x9400df
mov dword [ebp - 0x190], 0xb0008f
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x19c], ax
inc ecx
mov eax, dword [ebp - 0x1a0]
cmp ecx, eax
jb 0x766880
xor ecx, ecx
mov word [ebp + eax*2 - 0x19c], cx
lea eax, [ebp - 0x19c]
push eax
push edx
call fcn.00404740
add esp, 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov edx, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0xd
cmp edx, 8
jb 0x76690a
mov ecx, dword [ebp - 0x1d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x766900
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x766900
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
add esp, 8
mov edx, dword [ebp - 0x258]
xor eax, eax
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 7
mov word [ebp - 0x1d0], ax
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x766967
mov ecx, dword [ebp - 0x26c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x76695d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x76695d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
add esp, 8
call fcn.004345f0
mov dword [ebp - 0x180], eax
lea ecx, [ebp - 0x175]
lea eax, [ebp - 0x30c]
push eax
call fcn.00763530
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x17c], edi
test edx, edx
je 0x7669b1
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x7669a0
xor eax, eax
lea ecx, [ebp - 0x175]
mov word [edi + edx*2], ax
lea eax, [ebp - 0x254]
push eax
call fcn.00762f90
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x7669f1
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x7669e0
mov ecx, dword [ebp - 0x180]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0x17c]
push 0x424
push edi
push 1
call fcn.00469f50
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]
mov dword [ebp - 4], 0xffffffff
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_]
push 0xffffffffffffffff
push dword [ebp - 0x18c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x17c], eax
push 0xb0
push 0
test eax, eax
jne 0x766c6d
lea eax, [ebp - 0xc0]
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_]
or dword [ebp - 0x184], 0x10
lea eax, [ebp - 0xa8]
push 0
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0xf
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 eax, dword [ebp - 0xc0]
mov dword [ebp - 4], 0x10
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
lea eax, [ebp - 0x238]
mov dword [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x175]
call fcn.00763670
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
test edx, edx
je 0x766b61
nop
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x766b50
xor eax, eax
mov word [esi + edx*2], ax
lea eax, [ebp - 0xb0]
push esi
push eax
call fcn.00404740
add esp, 8
call fcn.004345f0
mov dword [ebp - 0x180], eax
lea ecx, [ebp - 0x175]
lea eax, [ebp - 0x30c]
push eax
call fcn.00764900
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x17c], edi
test edx, edx
je 0x766bc1
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x766bb0
xor eax, eax
lea ecx, [ebp - 0x175]
mov word [edi + edx*2], ax
lea eax, [ebp - 0x254]
push eax
call fcn.00762f90
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x766c01
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x766bf0
mov ecx, dword [ebp - 0x180]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0x17c]
push 0x429
push edi
push 1
call fcn.00469f50
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]
jmp 0x767042
lea eax, [ebp - 0x170]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x170], 0x7d6f90
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x160], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
or dword [ebp - 0x184], 0x20
lea eax, [ebp - 0x158]
push 0
push eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], 0x12
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 eax, dword [ebp - 0x170]
mov dword [ebp - 4], 0x13
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x170], 0x7c81a4
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], 0x7c8164
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x175]
call fcn.007641e0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x766d51
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x766d40
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x160]
push edi
push eax
call fcn.00404740
mov edx, 8
mov dword [ebp - 0x1b4], 0xcf00fb
add esp, 8
mov dword [ebp - 0x1b8], edx
mov esi, eax
mov dword [ebp - 0x1b0], 0xd900df
mov dword [ebp - 0x1ac], 0xc000df
xor ecx, ecx
mov dword [ebp - 0x1a8], 0x900095
mov dword [ebp - 0x1a4], 0xb1
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1b4], ax
inc ecx
mov edx, dword [ebp - 0x1b8]
cmp ecx, edx
jb 0x766db0
xor eax, eax
mov word [ebp + edx*2 - 0x1b4], ax
lea eax, [ebp - 0x1b4]
push eax
push esi
call fcn.00404740
push dword [ebp - 0x17c]
mov esi, eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0041dbf0
push eax
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 0x15
push eax
call fcn.004057b0
add esp, 0x18
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 0x16
jb 0x766e17
mov eax, dword [eax]
push ecx
push eax
push esi
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0x1a0], 7
mov edx, eax
mov dword [ebp - 0x19c], 0xd800ec
mov dword [ebp - 0x198], 0xc300d9
xor ecx, ecx
mov dword [ebp - 0x194], 0x9400df
mov dword [ebp - 0x190], 0xb0008f
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x19c], ax
inc ecx
mov eax, dword [ebp - 0x1a0]
cmp ecx, eax
jb 0x766e60
xor ecx, ecx
mov word [ebp + eax*2 - 0x19c], cx
lea eax, [ebp - 0x19c]
push eax
push edx
call fcn.00404740
add esp, 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov edx, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x766eea
mov ecx, dword [ebp - 0x1d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x766ee0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x766ee0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
add esp, 8
mov edx, dword [ebp - 0x258]
xor eax, eax
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 7
mov word [ebp - 0x1d0], ax
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x766f47
mov ecx, dword [ebp - 0x26c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x766f3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x766f3d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
add esp, 8
call fcn.004345f0
mov dword [ebp - 0x180], eax
lea ecx, [ebp - 0x175]
lea eax, [ebp - 0x30c]
push eax
call fcn.00763090
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x17c], edi
test edx, edx
je 0x766f91
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x766f80
xor eax, eax
lea ecx, [ebp - 0x175]
mov word [edi + edx*2], ax
lea eax, [ebp - 0x254]
push eax
call fcn.00762f90
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x188], eax
test edx, edx
je 0x766fdd
mov edi, eax
nop
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x766fc0
mov edi, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x188]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x180]
push edi
push 0x42e
push eax
push 1
call fcn.00469f50
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x170], 0x7c81a4
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 - 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