Function at 0x140076cdc
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov rax, qword [0x1401e6f00]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x34], esi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x140076e03
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x140076d54
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.14000629c
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea r8, [rcx + rax*2]
lea rdx, [rsp + 0x40]
cmova rdx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140005b50
mov edi, 2
mov dword [rsp + 0x34], edi
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140076dee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076de9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140076de9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140179794
movdqa xmm0, xmmword [0x1401c8e20]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
jmp 0x140076e21
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1401c8e40]
movdqu xmmword [rbp - 0x70], xmm1
mov byte [rbp - 0x80], sil
mov edi, 2
mov dword [rsp + 0x34], edi
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.offroxysconfigs
lea rcx, [rbp - 0x80]
call fcn.1400056e0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], sil
or edi, 4
or edi, 1
mov dword [rsp + 0x34], edi
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140076eaa
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076ea5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140076ea5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140179794
movdqa xmm0, xmmword [0x1401c8e40]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], sil
mov r8b, sil
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140007190
nop
mov dword [rsp + 0x60], esi
lea rax, [0x1401e6f98]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140002c88
mov dil, al
cmp dword [rsp + 0x60], esi
jne 0x140076f7c
lea rcx, [rbp - 0x60]
call fcn.1400055fc
test dil, dil
jne 0x140076f3d
mov r8b, sil
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140007190
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
call fcn.14017ab98
shr rax, 0x20
test eax, eax
jne 0x140076f68
lea rcx, [rsp + 0x60]
call fcn.1400055fc
mov rax, rbx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1401794f0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002b50
nop
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.140002bb4
int3