Function at 0x140007b80
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x528]
sub rsp, 0x610
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003b3c0]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov rbx, rcx
lea rdx, [rbp - 0x40]
call fcn.1400134c0
xor esi, esi
test eax, eax
je 0x140007bd5
xor eax, eax
jmp 0x140007dd4
mov dword [rsp + 0x30], 0x103
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x40]
call qword [sym.imp.WS2_32.dll_WSCGetProviderPath]
or r15, 0xffffffffffffffff
cmp eax, r15d
je 0x140007bce
lea r14d, [r15 + 0x10]
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x70], rsi
mov byte [rbp - 0x80], sil
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], sil
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x50], rsi
mov byte [rbp - 0x60], sil
cmp byte [rbx], sil
jne 0x140007c36
mov r8, rsi
jmp 0x140007c42
mov r8, r15
inc r8
cmp byte [rbx + r8], sil
jne 0x140007c39
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140004d6c
nop
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
mov cl, 0x5c
call fcn.140013eec
test al, al
sete dil
cmp qword [rbp - 0x48], 0x10
jb 0x140007c79
mov rcx, qword [rbp - 0x60]
call fcn.140014150
test dil, dil
je 0x140007ca0
cmp byte [rbx], sil
jne 0x140007c88
mov r8, rsi
jmp 0x140007c94
mov r8, r15
inc r8
cmp byte [rbx + r8], sil
jne 0x140007c8b
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140004d6c
mov ebx, 0x104
mov edx, ebx
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x40], sil
cmp byte [rbp - 0x30], sil
jne 0x140007ccb
mov r8, rsi
jmp 0x140007cdb
lea rax, [rbp - 0x30]
mov r8, r15
inc r8
cmp byte [rax + r8], sil
jne 0x140007cd2
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.140004d6c
mov dl, 0x5c
lea rcx, [rsp + 0x40]
call fcn.14000b244
mov r9, r15
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.14000b5b0
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r8, qword [rsp + 0x40]
mov r9d, dword [rsp + 0x50]
inc r9d
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x2f0]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rbp + 0xe0]
call fcn.14001602c
lea rcx, [rbp + 0x2f0]
call fcn.14001602c
lea rax, [rbp + 0xe0]
lea r8, [rbp + 0x2f0]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x140007d79
add rax, 2
test edx, edx
jne 0x140007d65
mov ebx, esi
test ecx, ecx
sete bl
cmp qword [rsp + 0x58], 0x10
jb 0x140007d92
mov rcx, qword [rsp + 0x40]
call fcn.140014150
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x40], sil
cmp qword [rsp + 0x78], 0x10
jb 0x140007db3
mov rcx, qword [rsp + 0x60]
call fcn.140014150
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], sil
cmp qword [rbp - 0x68], 0x10
jb 0x140007dd2
mov rcx, qword [rbp - 0x80]
call fcn.140014150
mov eax, ebx
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.140014130
lea r11, [rsp + 0x610]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret