Function at 0x140013bd0
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x5b0
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
mov rax, qword [0x140024010]
xor rax, rsp
mov qword [rsp + 0x588], rax
mov r13, rcx
mov qword [rsp + 0xd0], rcx
mov qword [r11 - 0x388], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x320], xmm0
movdqa xmm1, xmmword [0x14001db70]
movdqu xmmword [rsp + 0x330], xmm1
mov word [r11 - 0x2b8], r12w
lea r9, [r11 - 0x380]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14001b620]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rcx, qword [rsp + 0x258]
mov qword [rsp + 0x120], rcx
mov r15, 0xffffffffffffffff
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140013c80
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x1c0]
call fcn.140017690
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x320]
call fcn.1400160f0
mov rdx, qword [rsp + 0x1d8]
cmp rdx, 8
jb 0x140013d04
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013cff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001502a
call fcn.140018b34
lea rsi, [rsp + 0x320]
cmp qword [rsp + 0x338], 8
cmovae rsi, qword [rsp + 0x320]
mov rdi, qword [rsp + 0x330]
call fcn.1400183dc
mov r14d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x14001db80]
movdqu xmmword [rsp + 0x80], xmm1
mov byte [rsp + 0x70], 0
mov dword [rsp + 0x30], 0xc0000
test rdi, rdi
je 0x140013dcd
cmp rdi, 0x7fffffff
ja 0x14001513a
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov ecx, r14d
call fcn.14001844c
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x140015140
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.140004cb0
lea r9, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae r9, qword [rsp + 0x70]
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rdx, rsi
mov ecx, r14d
call fcn.14001844c
shr rax, 0x20
test eax, eax
jne 0x140015148
mov esi, 0xb8000
mov r8d, 1
lea rdx, [0x14001d820]
lea rcx, [rsp + 0x70]
call fcn.140004d50
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xa0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], recv
mov byte [rax], 0
bts esi, 0xe
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x140013e38
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
lea rcx, [rsp + 0x90]
call fcn.140004d50
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xc0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xc0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], recv
mov byte [rax], 0
bts esi, 0xd
mov r8d, 1
lea rdx, [0x14001d820]
lea rcx, [rsp + 0xb0]
call fcn.140004d50
xorps xmm0, xmm0
movups xmmword [rsp + 0x280], xmm0
mov qword [rsp + 0x290], r12
mov qword [rsp + 0x298], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x280], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x290], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], recv
mov byte [rax], 0
bts esi, 0xc
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x140013f2f
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013f2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013f2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018b34
movdqa xmm0, xmmword [0x14001db80]
movdqu xmmword [rsp + 0xc0], xmm0
mov byte [rsp + 0xb0], 0
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140013f8e
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013f89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013f89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018b34
movdqa xmm0, xmmword [0x14001db80]
movdqu xmmword [rsp + 0xa0], xmm0
mov byte [rsp + 0x90], 0
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x140013fea
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013fe5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013fe5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018b34
xorps xmm0, xmm0
movups xmmword [rsp + 0x2a0], xmm0
mov qword [rsp + 0x2b0], r12
mov qword [rsp + 0x2b8], recv
mov byte [rsp + 0x2a0], 0
mov rdi, qword [rsp + 0x290]
lea rbx, [rsp + 0x280]
cmp qword [rsp + 0x298], 0x10
cmovae rbx, qword [rsp + 0x280]
call fcn.1400183dc
mov qword [rsp + 0x300], rbx
mov qword [rsp + 0x308], rdi
lea r8, [rsp + 0x300]
mov edx, eax
lea rcx, [rsp + 0xf8]
call fcn.140012520
or esi, 0xc00
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x270], xmm0
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x270]
call fcn.140016870
test eax, eax
jne 0x140015150
mov rdx, qword [rsp + 0x110]
cmp rdx, 8
jb 0x1400140e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400140dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400140dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018b34
xorps xmm0, xmm0
movups xmmword [rsp + 0x2f0], xmm0
mov rdi, qword [rsp + 0x278]
test rdi, rdi
je 0x14001410d
lock inc dword [rdi + 8]
mov rdi, qword [rsp + 0x278]
mov esi, dword [rsp + 0x30]
mov dword [rsp + 0x34], esi
movaps xmm0, xmmword [rsp + 0x270]
movdqa xmmword [rsp + 0x2f0], xmm0
test rdi, rdi
je 0x140014137
lock inc dword [rdi + 8]
mov rdi, qword [rsp + 0x278]
mov esi, dword [rsp + 0x30]
mov dword [rsp + 0x34], esi
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x350], xmm1
test rdi, rdi
je 0x140014195
mov eax, r15d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140014185
mov rbx, qword [rsp + 0x278]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140014185
mov rdi, qword [rsp + 0x278]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + htons]
jmp 0x14001418d
mov rdi, qword [rsp + 0x278]
mov esi, dword [rsp + 0x30]
mov dword [rsp + 0x34], esi
cmp qword [rsp + 0x270], 0
je 0x14001443f
mov rbx, qword [rsp + 0x2f0]
mov rax, qword [rsp + 0x350]
mov qword [rsp + 0x40], rax
nop dword [rax]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400135e0
mov edx, dword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
test edx, edx
je 0x1400141e9
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140015167
cmp eax, 3
jne 0x14001441f
lea rax, [rbx + 0x20]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x160]
mov rcx, rax
call fcn.140016560
bts esi, 7
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x30], esi
lea r14, [rsp + 0x160]
mov r13, qword [rsp + 0x178]
cmp r13, 0x10
setae byte [rsp + 0x38]
mov r12, qword [rsp + 0x160]
cmovae r14, r12
mov rax, qword [rsp + 0x170]
cmp rax, 4
jb 0x1400142ca
lea r15, [rax + r14]
lea r8, [r15 - 3]
sub r8, r14
mov edx, 0x61
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400142c3
nop
xor edx, edx
lea rax, str.app_
nop dword [rax]
movzx ecx, byte [rbx + rdx]
inc rdx
cmp cl, byte [rax + rdx - 1]
jne 0x140014297
cmp rdx, 4
jne 0x140014280
xor eax, eax
jmp 0x14001429c
sbb eax, eax
or eax, 1
test eax, eax
je 0x14001440d
inc rbx
lea r8, [r15 - 3]
sub r8, rbx
mov edx, 0x61
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140014270
mov r15, 0xffffffffffffffff
mov rbx, r15
cmp byte [rsp + 0x38], 0
je 0x140014306
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400142fe
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001452c
mov rcx, r12
call fcn.140018b34
cmp rbx, 0xffffffffffffffff
je 0x14001441c
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x48]
call fcn.140016560
bts esi, 9
mov r8d, 9
lea rdx, str._modules_
lea rcx, [rsp + 0x1a0]
call fcn.140004d50
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x210], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rsp + 0x220], xmm7
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], recv
mov byte [rax], r12b
bts esi, 8
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x298]
cmp rdx, 0x10
jb 0x1400143b8
inc rdx
mov rcx, qword [rsp + 0x280]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400143b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014533
call fcn.140018b34
movups xmmword [rsp + 0x280], xmm6
movups xmmword [rsp + 0x290], xmm7
mov rdx, qword [rsp + 0x1b8]
cmp rdx, 0x10
jb 0x14001441f
inc rdx
mov rcx, qword [rsp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014406
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001453a
call fcn.140018b34
jmp 0x14001441f
sub rbx, r14
mov r15, 0xffffffffffffffff
jmp 0x1400142cd
xor r12d, r12d
lea rcx, [rsp + 0x2f0]
call fcn.140013ad0
mov rbx, qword [rsp + 0x2f0]
cmp rbx, qword [rsp + 0x40]
jne 0x1400141c0
mov rcx, qword [rsp + 0x358]
test rcx, rcx
je 0x140014494
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140014484
mov rbx, qword [rsp + 0x358]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140014484
mov rcx, qword [rsp + 0x358]
mov rax, qword [rcx]
call qword [rax + htons]
mov ebx, dword [rsp + 0x30]
mov dword [rsp + 0x34], ebx
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x2f8]
test rcx, rcx
je 0x1400144e9
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400144d9
mov rbx, qword [rsp + 0x2f8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400144d9
mov rcx, qword [rsp + 0x2f8]
mov rax, qword [rcx]
call qword [rax + htons]
mov ebx, dword [rsp + 0x30]
mov dword [rsp + 0x34], ebx
mov rdi, qword [rsp + 0x278]
test rdi, rdi
je 0x140014541
mov eax, r15d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140014526
mov rbx, qword [rsp + 0x278]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140014526
mov rcx, qword [rsp + 0x278]
mov rax, qword [rcx]
call qword [rax + htons]
mov esi, dword [rsp + 0x30]
jmp 0x140014545
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov esi, dword [rsp + 0x34]
mov rdi, qword [rsp + 0x290]
lea rbx, [rsp + 0x280]
cmp qword [rsp + 0x298], 0x10
cmovae rbx, qword [rsp + 0x280]
call fcn.1400183dc
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x138], rdi
lea r8, [rsp + 0x130]
mov edx, eax
lea rcx, [rsp + 0xd8]
call fcn.140012520
or esi, 0x60
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x260], xmm0
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x260]
call fcn.140016870
test eax, eax
jne 0x140015178
mov rdx, qword [rsp + 0xf0]
cmp rdx, 8
jb 0x140014612
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001460d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001460d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018b34
xorps xmm0, xmm0
movups xmmword [rsp + 0x2e0], xmm0
mov rdi, qword [rsp + 0x268]
test rdi, rdi
je 0x14001463e
lock inc dword [rdi + 8]
mov rdi, qword [rsp + 0x268]
mov esi, dword [rsp + 0x30]
mov dword [rsp + 0x34], esi
movaps xmm0, xmmword [rsp + 0x260]
movdqa xmmword [rsp + 0x2e0], xmm0
test rdi, rdi
je 0x140014668
lock inc dword [rdi + 8]
mov rdi, qword [rsp + 0x268]
mov esi, dword [rsp + 0x30]
mov dword [rsp + 0x34], esi
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x340], xmm1
test rdi, rdi
je 0x1400146c6
mov eax, r15d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400146b6
mov rbx, qword [rsp + 0x268]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400146b6
mov rdi, qword [rsp + 0x268]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + htons]
jmp 0x1400146be
mov rdi, qword [rsp + 0x268]
mov esi, dword [rsp + 0x30]
mov dword [rsp + 0x34], esi
cmp qword [rsp + 0x260], 0
je 0x140014959
mov rbx, qword [rsp + 0x2e0]
mov rax, qword [rsp + 0x340]
mov qword [rsp + 0x40], rax
nop word [rax + rax]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400135e0
mov edx, dword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
test edx, edx
je 0x140014719
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14001518f
cmp eax, 3
jne 0x140014939
lea r14, [rbx + 0x20]
mov qword [rsp + 0x48], r14
lea rdx, [rsp + 0x140]
mov rcx, r14
call fcn.140016560
or esi, 4
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x30], esi
lea rsi, [rsp + 0x140]
mov r13, qword [rsp + 0x158]
cmp r13, 0x10
setae r12b
mov r15, qword [rsp + 0x140]
cmovae rsi, r15
mov rax, qword [rsp + 0x150]
cmp rax, 0x15
jb 0x1400147e1
lea r14, [rsi + rax]
lea r8, [r14 - 0x14]
sub r8, rsi
mov edx, 0x64
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400147dc
nop dword [rax + rax]
mov r8d, socket
lea rdx, str.discord_desktop_core_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140014925
inc rbx
lea r8, [r14 - 0x14]
sub r8, rbx
mov edx, 0x64
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400147a0
mov r14, qword [rsp + 0x48]
mov rbx, 0xffffffffffffffff
test r12b, r12b
je 0x14001481e
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140014816
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400149b1
mov rcx, r15
call fcn.140018b34
cmp rbx, 0xffffffffffffffff
je 0x140014932
lea rdx, [rsp + 0x180]
mov rcx, r14
call fcn.140016560
mov esi, dword [rsp + 0x34]
or esi, 0x10
mov r8d, 0x1e
lea rdx, str._discord_desktop_core_index.js
lea rcx, [rsp + 0x180]
call fcn.140004d50
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x230], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rsp + 0x240], xmm7
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], recv
mov byte [rax], r12b
or esi, 8
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x2b8]
cmp rdx, 0x10
jb 0x1400148d0
inc rdx
mov rcx, qword [rsp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400148cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400149b8
call fcn.140018b34
movups xmmword [rsp + 0x2a0], xmm6
movups xmmword [rsp + 0x2b0], xmm7
mov rdx, qword [rsp + 0x198]
cmp rdx, 0x10
jb 0x140014939
inc rdx
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001491e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400149bf
call fcn.140018b34
jmp 0x140014939
sub rbx, rsi
mov r14, qword [rsp + 0x48]
jmp 0x1400147e8
mov esi, dword [rsp + 0x34]
xor r12d, r12d
lea rcx, [rsp + 0x2e0]
call fcn.140013ad0
mov rbx, qword [rsp + 0x2e0]
cmp rbx, qword [rsp + 0x40]
jne 0x1400146f0
mov rcx, qword [rsp + 0x348]
mov rsi, 0xffffffffffffffff
test rcx, rcx
je 0x1400149c6
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400149a3
mov rbx, qword [rsp + 0x348]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400149a3
mov rcx, qword [rsp + 0x348]
mov rax, qword [rcx]
call qword [rax + htons]
mov rdi, qword [rsp + 0x268]
mov ebx, dword [rsp + 0x30]
jmp 0x1400149ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ebx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x2e8]
test rcx, rcx
je 0x140014a19
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140014a0d
mov rbx, qword [rsp + 0x2e8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140014a0d
mov rcx, qword [rsp + 0x2e8]
mov rax, qword [rcx]
call qword [rax + htons]
mov ebx, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x268]
test rdi, rdi
je 0x140014a56
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140014a52
mov rbx, qword [rsp + 0x268]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140014a52
mov rcx, qword [rsp + 0x268]
mov rax, qword [rcx]
call qword [rax + htons]
mov ebx, dword [rsp + 0x30]
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x360]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14001da20]
mov qword [rsp + 0x360], rax
lea rcx, [rsp + 0x410]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or ebx, 2
mov dword [rsp + 0x30], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x360]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x360], r14
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x35c], edx
lea rcx, [rsp + 0x370]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rdi, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x370], rdi
mov byte [rsp + 0x3ec], 0
mov byte [rsp + 0x3e1], 0
lea rcx, [rsp + 0x370]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x3f0], r12
mov rax, qword [0x140024f68]
mov qword [rsp + 0x3e4], rax
mov qword [rsp + 0x3d8], r12
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x470]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14001da00]
mov qword [rsp + 0x470], rax
lea rcx, [rsp + 0x518]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or ebx, 1
mov dword [rsp + 0x30], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x478]
lea rcx, [rsp + 0x470]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x470]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x470], rsi
mov rax, qword [rsp + 0x470]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x46c], edx
lea rcx, [rsp + 0x478]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rsp + 0x478], rdi
mov byte [rsp + 0x4f4], 0
mov byte [rsp + 0x4e9], 0
lea rcx, [rsp + 0x478]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x4f8], r12
mov rax, qword [0x140024f68]
mov qword [rsp + 0x4ec], rax
mov qword [rsp + 0x4e0], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x2c0], xmm0
mov qword [rsp + 0x2d0], r12
mov qword [rsp + 0x2d8], recv
mov byte [rsp + 0x2c0], 0
lea rdx, [rsp + 0x2a0]
cmp qword [rsp + 0x2b8], 0x10
cmovae rdx, qword [rsp + 0x2a0]
mov r8d, 0xa
lea rcx, [rsp + 0x478]
call fcn.140016400
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x470]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x470]
je 0x140014c96
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140014ca4
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, [rsp + 0x2a0]
cmp qword [rsp + 0x2b8], 0x10
cmovae rdx, qword [rsp + 0x2a0]
mov r8d, 1
lea rcx, [rsp + 0x370]
call fcn.140016400
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x360]
je 0x140014cfa
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140014d08
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xorps xmm0, xmm0
movups xmmword [rsp + 0x300], xmm0
mov qword [rsp + 0x310], r12
mov qword [rsp + 0x318], recv
mov byte [rsp + 0x300], 0
nop
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x360]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0x360]
call fcn.140017260
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
lea rcx, [rsp + 0x2c0]
test al, al
je 0x140014dad
lea rdx, [rsp + 0x300]
cmp qword [rsp + 0x318], 0x10
cmovae rdx, qword [rsp + 0x300]
mov r8, qword [rsp + 0x310]
call fcn.140004d50
jmp 0x140014d30
mov rdi, qword [rsp + 0x2d0]
mov rbx, qword [rsp + 0x2d8]
cmp rbx, 0x10
cmovae rcx, qword [rsp + 0x2c0]
mov r8, rdi
mov eax, 0x28
cmp rdi, rax
cmova r8, rax
lea rdx, str.module.exports__require_._core.asar__
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140014e22
cmp rdi, 0x28
jne 0x140014e22
lea rdx, [0x140024f48]
cmp qword [0x140024f60], 0x10
cmovae rdx, qword [0x140024f48]
mov r8, qword [0x140024f58]
lea rcx, [rsp + 0x470]
call fcn.140017400
mov rbx, qword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x318]
cmp rdx, 0x10
jb 0x140014e70
inc rdx
mov rcx, qword [rsp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014e63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014e63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018b34
mov rbx, qword [rsp + 0x2d8]
cmp rbx, 0x10
jb 0x140014eaf
lea rdx, [rbx + 1]
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014eaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014eaa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018b34
mov qword [rsp + 0x2d0], r12
mov qword [rsp + 0x2d8], recv
mov byte [rsp + 0x2c0], 0
mov rax, qword [rsp + 0x470]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x470], rsi
mov rax, qword [rsp + 0x470]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x46c], edx
lea rcx, [rsp + 0x478]
call fcn.140016010
lea rcx, [rsp + 0x480]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x518]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x360], r14
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x35c], edx
lea rcx, [rsp + 0x370]
call fcn.140016010
lea rcx, [rsp + 0x378]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x410]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rbx, qword [rsp + 0xd0]
jmp 0x140014f8e
mov rdx, qword [rsp + 0x2b8]
cmp rdx, 0x10
jb 0x140014fd4
inc rdx
mov rcx, qword [rsp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014fcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014fcf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018b34
mov qword [rsp + 0x2b0], r12
mov qword [rsp + 0x2b8], recv
mov byte [rsp + 0x2a0], 0
mov rdx, qword [rsp + 0x298]
cmp rdx, 0x10
jb 0x140015036
inc rdx
mov rcx, qword [rsp + 0x280]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015031
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015031
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018b34
mov qword [rsp + 0x290], r12
mov qword [rsp + 0x298], recv
mov byte [rsp + 0x280], 0
mov rdx, qword [rsp + 0x338]
cmp rdx, 8
jb 0x14001509d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015098
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015098
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018b34
movdqa xmm0, xmmword [0x14001db70]
movdqu xmmword [rsp + 0x330], xmm0
mov word [rsp + 0x320], r12w
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400150ed
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400150e8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140015133
mov rcx, r8
call fcn.140018b34
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
mov rcx, qword [rsp + 0x588]
xor rcx, rsp
call fcn.140018ad0
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140012180
nop
mov ecx, eax
call fcn.1400124e0
int3
mov ecx, eax
call fcn.1400124e0
nop
lea r8, [rsp + 0xf8]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140013570
nop
lea r8, [rbx + 0x20]
lea rcx, str.directory_entry::status
call fcn.140013570
nop
lea r8, [rsp + 0xd8]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140013570
nop
lea r8, [rbx + 0x20]
lea rcx, str.directory_entry::status
call fcn.140013570
int3