Function at 0x140017c9c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x490]
sub rsp, 0x590
mov rax, qword [0x14002c010]
xor rax, rsp
mov qword [rbp + 0x480], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov qword [rbp + 0x190], r12
mov qword [rbp + 0x1a0], r12
lea edi, [r12 + 7]
mov qword [rbp + 0x1a8], rdi
mov word [rbp + 0x190], r12w
mov byte [rbp + 0x1b0], 0x49
mov byte [rbp + 0x1b1], 0x40
mov byte [rbp + 0x1b2], 0x62
mov byte [rbp + 0x1b3], 0x56
mov byte [rbp + 0x1b4], 0x78
mov byte [rbp + 0x1b5], 0x75
mov byte [rbp + 0x1b6], WSAStartup
mov byte [rbp + 0x1b7], 0x78
mov byte [rbp + 0x1b8], 0x67
mov byte [rbp + 0x1b9], reloc.WS2_32.dll_WSAStartup
mov byte [rbp + 0x1ba], 0x26
mov byte [rbp + 0x1bb], 0x4c
mov byte [rbp + 0x1bc], WSACleanup
mov byte [rbp + 0x1bd], WSACleanup
mov byte [rbp + 0x1be], 0x6b
mov byte [rbp + 0x1bf], 0x79
mov byte [rbp + 0x1c0], 0x26
mov byte [rbp + 0x1c1], 0x2e
mov byte [rbp + 0x1c2], 0x7e
mov byte [rbp + 0x1c3], 0x3e
mov byte [rbp + 0x1c4], 0x3c
mov byte [rbp + 0x1c5], 0x2f
mov byte [rbp + 0x1c6], 0x62
mov byte [rbp + 0x1c7], 0x5d
mov byte [rbp + 0x1c8], 0x6b
mov byte [rbp + 0x1c9], WSAStartup
mov byte [rbp + 0x1ca], 0x67
mov byte [rbp + 0x1cb], reloc.WS2_32.dll_WSAStartup
mov byte [rbp + 0x1cc], 0x6b
mov byte [rbp + 0x1cd], 0x62
mov byte [rbp + 0x1ce], 0x7b
mov byte [rbp + 0x1cf], 0x79
mov byte [rbp + 0x1d0], 0x6b
mov byte [rbp + 0x1d1], 0x78
mov byte [rbp + 0x1d2], 0x34
mov byte [rbp + 0x1d3], 0x6a
mov byte [rbp + 0x1d4], 0x67
mov byte [rbp + 0x1d5], 0x7a
mov byte [rbp + 0x1d6], r12b
mov al, byte [rbp + 0x1b0]
mov ecx, r12d
mov al, byte [rbp + rcx + 0x1b0]
sub al, 6
mov byte [rbp + rcx + 0x1b0], al
inc rcx
cmp rcx, 0x26
jb 0x140017e1a
lea rax, [0x140026968]
mov qword [rsp + 0x50], rax
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + 0x60], rax
mov byte [rbp - 0x24], r12b
mov byte [rbp - 0x2e], r12b
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void____ptr64]
mov qword [rbp - 0x20], r12
mov rax, qword [0x14002d420]
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x38], r12
mov r8d, 1
lea rdx, [rbp + 0x1b0]
lea rcx, [rsp + 0x60]
call fcn.14001b95c
test rax, rax
jne 0x140017f14
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x60], 6
jne 0x14001800d
lea rax, [rsp + 0x50]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const___ptr64]
movzx r8d, ax
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x50]
call fcn.14001c38c
lea rcx, [rbp + 0x190]
call fcn.140017b00
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x1a0]
sub rax, rcx
cmp rax, 0x18
jb 0x140018605
lea rax, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 8
cmovae rax, qword [rbp + 0x190]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x18
lea r9, str.username_file_cache_hit
lea rcx, [rbp + 0x60]
call fcn.140016c74
lea rcx, [rbp + 0x60]
call fcn.1400171f8
movups xmm0, xmmword [rbp + 0x190]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x1a0]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp + 0x1a0], r12
mov qword [rbp + 0x1a8], rdi
mov word [rbp + 0x190], r12w
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rsi
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rsp + rdx + 0x4c], r8d
jmp 0x1400185a5
lea rdx, [0x140026740]
lea rcx, str._C:Program_Files__x86_Wegamequeryex_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wpopen]
mov r15, rax
test rax, rax
jne 0x140018059
movups xmm0, xmmword [rbp + 0x190]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x1a0]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp + 0x1a0], r12
mov qword [rbp + 0x1a8], rdi
mov word [rbp + 0x190], r12w
jmp 0x140018584
mov r8, r15
mov edx, 0x200
lea rcx, [rbp + 0x280]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
test rax, rax
je 0x140018370
or r13, 0xffffffffffffffff
mov qword [rbp + 0x200], r12
mov qword [rbp + 0x210], r12
mov qword [rbp + 0x218], rdi
mov word [rbp + 0x200], r12w
lea rax, [rbp + 0x280]
mov r8, r13
inc r8
cmp word [rax + r8*2], r12w
jne 0x1400180a2
lea rdx, [rbp + 0x280]
lea rcx, [rbp + 0x200]
call fcn.14000cc9c
nop
lea rdx, [0x140026794]
lea rcx, [rbp + 0x200]
call fcn.14001afe8
cmp rax, r13
je 0x14001815e
lea rax, [rbp + 0x200]
mov rsi, qword [rbp + 0x200]
cmp qword [rbp + 0x218], 8
cmovae rax, rsi
mov rdi, qword [rbp + 0x210]
test rdi, rdi
je 0x140018119
mov rcx, rdi
mov r8, rax
cmp word [r8], 0x20
je 0x14001818d
add r8, 2
sub rcx, 1
jne 0x140018108
mov r8, r13
cmp r8, r13
jne 0x1400182d7
lea rdx, [0x140026800]
lea rcx, [rbp + 0x200]
call fcn.14001afe8
cmp rax, r13
jne 0x140018214
lea rdx, [0x1400267f0]
lea rcx, [rbp + 0x200]
call fcn.14001afe8
cmp rax, r13
jne 0x14001819a
mov edi, 7
lea rcx, [rbp + 0x200]
call fcn.14000c584
mov r8, r15
mov edx, 0x200
lea rcx, [rbp + 0x280]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
test rax, rax
je 0x140018369
jmp 0x14001807b
test r8, r8
je 0x140018119
sub r8, rax
sar r8, 1
jmp 0x14001811c
mov qword [rbp + 0x220], r12
movdqa xmm0, xmmword [0x140026aa0]
movdqu xmmword [rbp + 0x230], xmm0
cmp rdi, 1
jb 0x1400185ff
lea r8, [rax - 1]
lea rax, [rdi - 1]
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x200]
cmp qword [rbp + 0x218], 8
cmovae rdx, rsi
add rdx, 2
lea rcx, [rbp + 0x220]
call fcn.14000cc9c
mov dword [rsp + 0x40], 0x22
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x190]
call fcn.14001b0b4
lea rcx, [rbp + 0x220]
jmp 0x14001834b
lea rax, [rbp + 0x200]
cmp qword [rbp + 0x218], 8
cmovae rax, rsi
test rdi, rdi
je 0x140018247
mov rcx, rdi
mov r8, rax
cmp word [r8], 0x63
je 0x1400182c3
add r8, 2
sub rcx, 1
jne 0x140018232
mov r8, r13
mov qword [rbp + 0x240], r12
movdqa xmm0, xmmword [0x140026aa0]
movdqu xmmword [rbp + 0x250], xmm0
cmp rdi, 1
jb 0x1400185ff
dec r8
lea rax, [rdi - 1]
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x200]
cmp qword [rbp + 0x218], 8
cmovae rdx, rsi
add rdx, 2
lea rcx, [rbp + 0x240]
call fcn.14000cc9c
mov dword [rsp + 0x40], 0x12
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x190]
call fcn.14001b0b4
lea rcx, [rbp + 0x240]
jmp 0x14001834b
test r8, r8
je 0x140018247
sub r8, rax
sar r8, 1
jmp 0x14001824a
mov qword [rbp + 0x260], r12
movdqa xmm0, xmmword [0x140026aa0]
movdqu xmmword [rbp + 0x270], xmm0
cmp rdi, 1
jb 0x1400185ff
dec r8
lea rax, [rdi - 1]
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x200]
cmp qword [rbp + 0x218], 8
cmovae rdx, rsi
add rdx, 2
lea rcx, [rbp + 0x260]
call fcn.14000cc9c
mov dword [rsp + 0x40], 0xa
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x190]
call fcn.14001b0b4
lea rcx, [rbp + 0x260]
call fcn.14000c584
lea rcx, [rbp + 0x190]
call fcn.140017b00
nop
lea rcx, [rbp + 0x200]
call fcn.14000c584
lea rsi, vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
mov byte [rbp + 0x1d8], 0x47
mov byte [rbp + 0x1d9], 0x3e
mov byte [rbp + 0x1da], 0x60
mov byte [rbp + 0x1db], 0x54
mov byte [rbp + 0x1dc], 0x76
mov byte [rbp + 0x1dd], reloc.WS2_32.dll_WSAStartup
mov byte [rbp + 0x1de], 0x6b
mov byte [rbp + 0x1df], 0x76
mov byte [rbp + 0x1e0], 0x65
mov byte [rbp + 0x1e1], WSACleanup
mov byte [rbp + 0x1e2], 0x24
mov byte [rbp + 0x1e3], 0x4a
mov byte [rbp + 0x1e4], WSAStartup
mov byte [rbp + 0x1e5], WSACleanup
mov byte [rbp + 0x1e6], 0x69
mov byte [rbp + 0x1e7], 0x77
mov byte [rbp + 0x1e8], 0x24
mov byte [rbp + 0x1e9], 0x2c
mov byte [rbp + 0x1ea], 0x7c
mov byte [rbp + 0x1eb], 0x3c
mov byte [rbp + 0x1ec], 0x3a
mov byte [rbp + 0x1ed], 0x2d
mov byte [rbp + 0x1ee], 0x60
mov byte [rbp + 0x1ef], 0x5b
mov byte [rbp + 0x1f0], 0x69
mov byte [rbp + 0x1f1], 0x6b
mov byte [rbp + 0x1f2], 0x65
mov byte [rbp + 0x1f3], WSACleanup
mov byte [rbp + 0x1f4], 0x69
mov byte [rbp + 0x1f5], 0x60
mov byte [rbp + 0x1f6], 0x79
mov byte [rbp + 0x1f7], 0x77
mov byte [rbp + 0x1f8], 0x69
mov byte [rbp + 0x1f9], 0x76
mov byte [rbp + 0x1fa], 0x32
mov byte [rbp + 0x1fb], 0x68
mov byte [rbp + 0x1fc], 0x65
mov byte [rbp + 0x1fd], 0x78
mov byte [rbp + 0x1fe], r12b
mov al, byte [rbp + 0x1d8]
mov rcx, r12
mov al, byte [rbp + rcx + 0x1d8]
sub al, 4
mov byte [rbp + rcx + 0x1d8], al
inc rcx
cmp rcx, 0x26
jb 0x140018493
lea rdx, [rbp + 0x1d8]
lea rcx, [rbp + 0x80]
call fcn.14001a20c
nop
mov rcx, qword [rbp + 0x80]
movsxd rax, dword [rcx + 4]
test byte [rbp + rax + 0x90], 6
jne 0x140018506
lea rdx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 8
cmovae rdx, qword [rbp + 0x190]
mov r8, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x80]
call fcn.14001c214
mov rcx, qword [rbp + 0x80]
movups xmm0, xmmword [rbp + 0x190]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x1a0]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp + 0x1a0], r12
mov qword [rbp + 0x1a8], 7
mov word [rbp + 0x190], r12w
movsxd rax, dword [rcx + 4]
lea rcx, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rax + 0x80], rcx
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x88]
call fcn.14001ab18
lea rcx, [rbp + 0x90]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x128]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.14001ab18
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x190]
call fcn.14000c584
mov rax, rbx
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.140020140
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.140013580
nop
call fcn.140004bbc
int3