Function at 0x1400a4380
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1401ac580]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov byte [rsp + 0x30], r8b
mov r13, r9
mov r15, rdx
mov r14, rcx
test rdx, rdx
je 0x1400a52e3
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp byte [rdx + rax], 0
jne 0x1400a43c5
test rax, rax
je 0x1400a52e3
xor ebx, ebx
mov qword [rsp + 0x130], r12
xorps xmm0, xmm0
mov qword [rbp - 8], rbx
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp], rbx
mov r8, rsi
inc r8
cmp byte [rdx + r8], bl
jne 0x1400a43f3
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x180], rdi
call fcn.140007960
cmp qword [rbp], 0x10
lea rax, [rbp - 0x18]
mov r12, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
cmovae rax, r12
mov qword [rsp + 0x38], rax
test r8, r8
je 0x1400a4448
mov edx, 0x5c
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x1400a4448
sub rdi, qword [rsp + 0x38]
jmp 0x1400a444b
mov rdi, rsi
mov rax, qword [rbp]
cmp rax, 0x10
jb 0x1400a4487
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400a447f
mov r12, qword [r12 - 8]
add rdx, 0x27
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a5038
mov rcx, r12
call fcn.1400e7420
cmp rdi, rsi
je 0x1400a44af
test r13, r13
je 0x1400a4730
mov r8d, 0x3f
lea rdx, str.AppDataDir_failed:_app_name_should_not_contain_backward_slashes
mov rcx, r13
call fcn.140018520
jmp 0x1400a4730
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
xor r8d, r8d
lea rcx, [0x14015d2d8]
xor edx, edx
call sub.SHELL32.dll_SHGetKnownFolderPath
mov edi, eax
test eax, eax
jns 0x1400a4776
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r13, r13
je 0x1400a4730
lea r8, [rbp + 0x1d]
neg edi
nop
mov eax, 0xcccccccd
lea r8, [r8 - 1]
mul edi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub dil, cl
add dil, 0x30
mov byte [r8], dil
mov edi, edx
test edx, edx
jne 0x1400a44f0
lea r12, [r8 - 1]
xorps xmm0, xmm0
lea rax, [rbp + 0x1d]
mov byte [r12], 0x2d
mov qword [rsp + 0x58], rbx
movups xmmword [rsp + 0x48], xmm0
cmp r12, rax
jne 0x1400a454a
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], bl
jmp 0x1400a45da
lea rsi, [rbp + 0x1d]
movabs r15, 0x7fffffffffffffff
sub rsi, r12
cmp rsi, r15
ja 0x1400a5320
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
cmp rsi, 0x10
jae 0x1400a458e
mov r8, rsi
mov qword [rsp + 0x58], rsi
mov rdx, r12
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rsi + 0x48], bl
jmp 0x1400a45da
mov rax, rsi
or rax, 0xf
cmp rax, r15
ja 0x1400a45a9
mov ecx, socket
mov r15, rax
cmp rax, rcx
cmovb r15, rcx
lea rdx, [r15 + 1]
lea rcx, [rsp + 0x48]
call fcn.14003f760
mov r8, rsi
mov qword [rsp + 0x48], rax
mov rdx, r12
mov qword [rsp + 0x58], rsi
mov rcx, rax
mov qword [rsp + 0x60], r15
mov rdi, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], bl
lea r8, [rsp + 0x48]
lea rdx, str.Failed_to_find_the_local_application_data_directory__error_code:
lea rcx, [rbp - 0x38]
call fcn.140053fa0
mov rcx, rax
mov rdi, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
mov rax, rdi
sub rax, rdx
cmp rax, 1
jb 0x1400a4622
lea rax, [rdx + 1]
mov qword [rcx + 0x10], rax
mov rax, rcx
cmp rdi, 0x10
jb 0x1400a461a
mov rax, qword [rcx]
mov word [rax + rdx], 0x29
jmp 0x1400a4641
xor r8d, r8d
mov qword [rsp + 0x20], 1
lea r9, [0x140151834]
lea edx, [r8 + 1]
call fcn.140008a40
mov rcx, rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x68]
movups xmm1, xmmword [rcx + 0x10]
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bl
mov rcx, r13
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm1
call fcn.14001d5c0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400a46a9
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a46a4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4724
call fcn.1400e7420
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400a46e0
mov rcx, qword [rbp - 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a46db
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4724
call fcn.1400e7420
mov rdx, qword [rsp + 0x60]
movdqa xmm0, xmmword [0x14014c160]
mov byte [rbp - 0x38], bl
movdqu xmmword [rbp - 0x28], xmm0
cmp rdx, 0x10
jb 0x1400a4730
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a472b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a472b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7420
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], bl
mov rdi, qword [rsp + 0x180]
mov r12, qword [rsp + 0x130]
mov rax, r14
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400e74c0
add rsp, 0x138
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret
mov rdx, qword [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rbx
mov r8, rsi
mov qword [rbp - 0x20], rbx
nop dword [rax]
inc r8
cmp word [rdx + r8*2], bx
jne 0x1400a4790
lea rcx, [rbp - 0x38]
call fcn.140002600
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rbp - 0x28]
xorps xmm0, xmm0
test rax, rax
jne 0x1400a481a
mov rdx, qword [rbp - 0x20]
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], bl
cmp rdx, 8
jb 0x1400a4746
mov rcx, qword [rbp - 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4c04
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a5038
call fcn.1400e7420
jmp 0x1400a4746
cmp qword [rbp - 0x20], 8
lea rcx, [rbp - 0x38]
mov r12, qword [rbp - 0x38]
movabs rdx, 0x7ffffffffffffffe
cmovae rcx, r12
mov qword [rbp - 0x68], rbx
mov qword [rsp + 0x38], rcx
movups xmmword [rbp - 0x78], xmm0
cmp rax, rdx
ja 0x1400a5326
mov qword [rbp - 0x60], 7
mov r8d, 0xa
cmp rax, 8
jae 0x1400a4877
mov rdx, rcx
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x78]
mov r8d, reloc.WS2_32.dll_recv
call sub.VCRUNTIME140.dll_memmove
jmp 0x1400a48c1
mov rdi, rax
or rdi, 7
cmp rdi, rdx
jbe 0x1400a4888
mov rdi, rdx
jmp 0x1400a488f
cmp rdi, r8
cmovb rdi, r8
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x78]
call fcn.14003f7c0
mov r8, qword [rbp - 0x28]
mov rcx, rax
mov rdx, qword [rsp + 0x38]
mov qword [rbp - 0x68], r8
mov qword [rbp - 0x78], rax
lea r8, [r8*2 + 2]
mov qword [rbp - 0x60], rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, rsi
inc r8
cmp byte [r15 + r8], bl
jne 0x1400a48c4
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
xorps xmm1, xmm1
mov rdx, r15
movups xmmword [rsp + 0x68], xmm0
movdqu xmmword [rsp + 0x78], xmm1
call fcn.140007960
cmp byte [rsp + 0x30], bl
je 0x1400a4cd0
mov r8b, 0x2f
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x58]
call fcn.1400904a0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400a4945
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4940
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4940
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7420
mov rdi, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x50]
cmp rdi, rsi
je 0x1400a4a0a
nop word [rax + rax]
mov r8d, 1
lea rdx, [0x1401549f0]
lea rcx, [rbp - 0x78]
call fcn.1400a6000
xor r8d, r8d
lea rcx, [rsp + 0x68]
mov rdx, rdi
call fcn.1400a5d40
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x1400a4993
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x78]
call fcn.1400a6000
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400a49e1
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a49dc
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4aac
call fcn.1400e7420
mov rdx, r13
lea rcx, [rbp - 0x78]
call fcn.1400a5330
test al, al
je 0x1400a4ab3
add rdi, 0x20
cmp rdi, rsi
jne 0x1400a4960
mov rsi, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x58]
test rdi, rdi
je 0x1400a4c16
cmp rdi, rsi
je 0x1400a4a71
nop dword [rax + rax]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400a4a56
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400a4a51
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a4aa5
mov rcx, r8
call fcn.1400e7420
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bl
add rdi, 0x20
cmp rdi, rsi
jne 0x1400a4a20
mov rdi, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x48]
mov rax, rdi
sub rdx, rdi
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x1400a4c0e
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4c0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdi, qword [rbp - 0x58]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], bl
test rdi, rdi
je 0x1400a4b75
mov rsi, qword [rbp - 0x50]
cmp rdi, rsi
je 0x1400a4b31
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400a4b16
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400a4b11
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a4aa5
mov rcx, r8
call fcn.1400e7420
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bl
add rdi, 0x20
cmp rdi, rsi
jne 0x1400a4ae0
mov rdi, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x48]
mov rax, rdi
sub rdx, rdi
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x1400a4b61
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4aa5
mov rcx, rdi
call fcn.1400e7420
xorps xmm0, xmm0
mov qword [rbp - 0x48], rbx
movdqu xmmword [rbp - 0x58], xmm0
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400a4bb5
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4bb0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4aa5
call fcn.1400e7420
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], bx
cmp rax, 8
jb 0x1400a4746
lea rdx, [rax*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400a4c01
mov r12, qword [r12 - 8]
add rdx, 0x27
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4aa5
mov rcx, r12
call fcn.1400e7420
jmp 0x1400a4746
mov rcx, rdi
call fcn.1400e7420
cmp qword [rbp - 0x60], 8
lea rdx, [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov r9, r13
cmovae rdx, qword [rbp - 0x78]
mov rcx, r14
call fcn.1400a5940
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400a4c73
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4c6e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a5038
call fcn.1400e7420
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], bx
cmp rax, 8
jb 0x1400a4746
lea rdx, [rax*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400a4c01
mov r12, qword [r12 - 8]
add rdx, 0x27
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a5038
mov rcx, r12
call fcn.1400e7420
jmp 0x1400a4746
mov rdi, qword [rsp + 0x78]
test edi, edi
je 0x1400a4d37
cmp qword [rbp - 0x80], 0x10
lea r8, [rsp + 0x68]
mov dword [rsp + 0x28], ebx
mov r9d, edi
cmovae r8, qword [rsp + 0x68]
mov ecx, 0xfde9
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd r15, eax
test eax, eax
jg 0x1400a4d9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r13, r13
je 0x1400a4d37
mov edx, eax
lea rax, str.Utf8ToNative_failed_with_code
add rdx, rax
inc rsi
cmp byte [rdx + rsi], bl
jne 0x1400a4d24
mov r8, rsi
mov rcx, r13
call fcn.140018520
xorps xmm0, xmm0
mov qword [rbp - 0x48], rbx
xor r8d, r8d
mov qword [rbp - 0x40], rbx
lea rdx, [0x140154838]
lea rcx, [rbp - 0x58]
movups xmmword [rbp - 0x58], xmm0
call fcn.140002600
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400a4f4c
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4f47
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4f47
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea eax, [r15 + 1]
xor r8d, r8d
movsxd rdx, eax
lea rcx, [rsp + 0x48]
call fcn.1400a4280
cmp qword [rsp + 0x60], 8
lea rax, [rsp + 0x48]
lea r8, [rsp + 0x68]
mov dword [rsp + 0x28], r15d
cmovae rax, qword [rsp + 0x48]
mov r9d, edi
cmp qword [rbp - 0x80], 0x10
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
cmovae r8, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdx, eax
test eax, eax
jle 0x1400a4eb5
lea eax, [r15 + 1]
cmp edx, eax
jge 0x1400a4eb5
mov rdi, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
mov r10, qword [rsp + 0x48]
cmp rdi, 8
cmovae rcx, r10
cmp word [rcx + r15*2], bx
jne 0x1400a4eb5
mov r8, qword [rsp + 0x58]
mov rcx, rdx
cmp rdx, r8
ja 0x1400a4e4c
cmp rdi, 8
mov qword [rsp + 0x58], rdx
lea rax, [rsp + 0x48]
cmovae rax, r10
mov word [rax + rdx*2], bx
jmp 0x1400a4e9e
mov rax, rdi
sub rdx, r8
sub rax, r8
cmp rdx, rax
ja 0x1400a4e89
cmp rdi, 8
mov qword [rsp + 0x58], rcx
lea r9, [rsp + 0x48]
cmovae r9, r10
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1400a4e7e
movzx eax, bx
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], bx
jmp 0x1400a4e9e
mov r9, rdx
mov word [rsp + 0x20], bx
xor r8d, r8d
lea rcx, [rsp + 0x48]
call fcn.1400a4050
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm1
jmp 0x1400a4d59
test r13, r13
je 0x1400a4ed7
lea rax, str.Utf8ToNative_failed:_MultiByteToWideChar_returned
add rdx, rax
inc rsi
cmp byte [rdx + rsi], bl
jne 0x1400a4ec4
mov r8, rsi
mov rcx, r13
call fcn.140018520
xorps xmm0, xmm0
mov qword [rbp - 0x48], rbx
xor r8d, r8d
mov qword [rbp - 0x40], rbx
lea rdx, [0x140154838]
lea rcx, [rbp - 0x58]
movups xmmword [rbp - 0x58], xmm0
call fcn.140002600
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400a4d59
mov rcx, qword [rsp + 0x48]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4f3d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4f3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7420
jmp 0x1400a4d59
call fcn.1400e7420
cmp qword [rbp - 0x48], rbx
jne 0x1400a503f
mov rdx, qword [rbp - 0x40]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], bl
cmp rdx, 8
jb 0x1400a4fac
mov rcx, qword [rbp - 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4fa7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a5038
call fcn.1400e7420
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400a4fe8
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4fe3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a5038
call fcn.1400e7420
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], bx
cmp rax, 8
jb 0x1400a4746
lea rdx, [rax*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400a4c01
mov r12, qword [r12 - 8]
add rdx, 0x27
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4c01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rsi, qword [rbp - 0x28]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, rsi
cmp rax, 1
jb 0x1400a531a
cmp qword [rbp - 0x20], 8
lea rax, [rbp - 0x38]
mov edi, 7
lea r15, [rsp + 0x68]
cmovae rax, r12
xorps xmm0, xmm0
mov qword [rsp + 0x38], rax
xorps xmm1, xmm1
lea rax, [rsi + 1]
movups xmmword [rsp + 0x68], xmm0
movdqu xmmword [rsp + 0x78], xmm1
cmp rax, rdi
jbe 0x1400a50cb
mov rdi, rax
or rdi, 7
cmp rdi, rcx
jbe 0x1400a50a4
mov rdi, rcx
jmp 0x1400a50b1
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x68]
call fcn.14003f7c0
mov r15, rax
mov qword [rsp + 0x68], rax
lea rax, [rsi + 1]
mov rdx, qword [rsp + 0x38]
mov rcx, r15
mov qword [rbp - 0x80], rdi
lea rdi, [rsi + rsi]
mov r8, rdi
mov qword [rsp + 0x78], rax
call sub.VCRUNTIME140.dll_memcpy
cmp qword [rbp - 0x40], 8
lea rdx, [rbp - 0x58]
mov r8, qword [rbp - 0x48]
lea rcx, [rsp + 0x68]
cmovae rdx, qword [rbp - 0x58]
mov eax, 0x2f
mov word [rdi + r15], ax
mov word [r15 + rsi*2 + 2], bx
call fcn.1400a6000
mov qword [rsp + 0x58], rbx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov r9, r13
mov rcx, r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
cmp qword [rsp + 0x60], 8
mov r8, qword [rsp + 0x58]
cmovae rdx, qword [rsp + 0x48]
call fcn.1400a5940
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400a51a9
mov rcx, qword [rsp + 0x48]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a51a4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a52dc
call fcn.1400e7420
mov rdx, qword [rbp - 0x80]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
cmp rdx, 8
jb 0x1400a51fd
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a51f8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a52dc
call fcn.1400e7420
mov rdx, qword [rbp - 0x40]
movdqa xmm0, xmmword [0x1401506c0]
mov word [rsp + 0x68], bx
movdqu xmmword [rsp + 0x78], xmm0
cmp rdx, 8
jb 0x1400a5250
mov rcx, qword [rbp - 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a524b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a52dc
call fcn.1400e7420
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400a528c
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a5287
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a52dc
call fcn.1400e7420
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], bx
cmp rax, 8
jb 0x1400a4746
lea rdx, [rax*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400a4c01
mov r12, qword [r12 - 8]
add rdx, 0x27
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4c01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test r13, r13
je 0x1400a52fd
mov r8d, 0x27
lea rdx, str.AppDataDir_failed:_no_app_name_provided
mov rcx, r13
call fcn.140018520
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], bl
jmp 0x1400a4756
call fcn.140002420
int3
call fcn.140002420
int3
call fcn.140002420
int3