Function at 0x180081cc4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x338]
sub rsp, 0x410
mov r14, r9
mov rbx, r8
mov rsi, rdx
mov r15, rcx
xor r12d, r12d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], r12b
lea rdx, [rbp - 0x58]
mov dil, byte [rbp + 0x398]
mov cl, dil
call fcn.180084e00
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rcx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x1800821e4
dec rax
or r13, 0xffffffffffffffff
mov r8, r13
cmp rax, r13
cmovb r8, rax
add r8, rcx
jmp 0x180081d5d
cmp r8, rcx
je 0x1800821e4
dec r8
cmp byte [r8], 0x5c
jne 0x180081d51
sub r8, rcx
cmp r8, r13
je 0x1800821e4
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
inc r8
mov r9, r13
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x38]
call fcn.18000764c
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x180081dcd
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081dc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800822a8
call fcn.18009d1f4
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rbp - 0x48], xmm1
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x100]
call fcn.1800a02d0
mov edx, 0x105
lea rcx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1800821e4
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r12w
lea rax, [rbp + 0x100]
mov r8, r13
inc r8
cmp word [rax + r8*2], r12w
jne 0x180081e2a
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x78]
call fcn.180005fd8
nop
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r12w
lea rax, str._system32
lea rdx, str._syswow64
test dil, dil
cmove rdx, rax
mov r8d, 9
lea rcx, [rbp - 0x78]
call fcn.180008a20
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x68]
sub rax, rcx
cmp rax, 0xe
jb 0x1800822ae
lea r9, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r9, qword [rbp - 0x78]
mov qword [rsp + 0x30], reloc.WS2_32.dll_ntohl
lea rax, str._rundll32.exe
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x78]
mov dl, byte [rsp + 0x60]
lea rcx, [rbp - 0x38]
call fcn.180008fd0
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x180081f16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081f11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800822b4
call fcn.18009d1f4
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rsp + 0x78], xmm1
movdqa xmm0, xmmword [0x1800d7150]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r12w
lea rcx, [rbp - 0x38]
call fcn.180006230
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
lea rax, [rbp - 8]
mov qword [rbp - 0x10], rax
mov r8d, 3
lea rcx, [rbp - 0x10]
call fcn.180070c30
nop
mov rdx, qword [rbp - 0x10]
mov r8, r13
inc r8
cmp word [rdx + r8*2], r12w
jne 0x180081f70
lea rcx, [rsp + 0x68]
call fcn.180008a20
nop
lea rax, [rbp - 8]
mov rcx, qword [rbp - 0x10]
cmp rcx, rax
je 0x180081f97
call fcn.1800a89bc
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._RunProcWithDll
lea rcx, [rsp + 0x68]
call fcn.180008a20
mov r8, r13
inc r8
cmp word [rbx + r8*2], r12w
jne 0x180081fb1
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180008a20
mov rcx, qword [rsp + 0x78]
inc rcx
mov eax, 2
mul rcx
cmovo rax, r13
lea rdx, [0x1800db740]
mov rcx, rax
call fcn.18009d8d0
mov rdi, rax
test rax, rax
jne 0x18008205c
mov rax, qword [rbp + 0x390]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x388]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x380]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x378]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x370]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x368]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x360]
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8, rbx
mov rdx, rsi
mov rcx, r15
call qword [0x18010ae20]
mov ebx, eax
jmp 0x180082140
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
inc rdx
mov rcx, rdi
call fcn.1800af140
call fcn.18000cdc4
test eax, eax
je 0x1800820cd
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.Wow64DisableWow64FsRedirection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.Wow64RevertWow64FsRedirection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rbx, rbx
je 0x1800820cd
lea rcx, [rbp - 0x18]
call rbx
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
mov rax, qword [rbp + 0x390]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x388]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rbp + 0x378]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x370]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x368]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x360]
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8, rdi
xor edx, edx
mov rcx, r15
call qword [0x18010ae20]
mov ebx, eax
mov rcx, rdi
call fcn.18009d1f4
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x180082181
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008217c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800822ba
call fcn.18009d1f4
mov qword [rsp + 0x78], r12
mov edi, 7
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x68], r12w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1800821d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800821d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800822c0
call fcn.18009d1f4
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], rdi
mov word [rbp - 0x78], r12w
jmp 0x180082248
mov rax, qword [rbp + 0x390]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x388]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x380]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x378]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x370]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x368]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x360]
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8, rbx
mov rdx, rsi
mov rcx, r15
call qword [0x18010ae20]
mov ebx, eax
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x18008227f
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008227a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800822a2
call fcn.18009d1f4
mov eax, ebx
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800a45b8
nop
call fcn.1800a45b8
nop
call fcn.180001e88
int3
call fcn.1800a45b8
nop
call fcn.1800a45b8
nop
call fcn.1800a45b8
int3