Function at 0x18002e380
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2c0
mov rax, qword [0x18018a280]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdi, rdx
mov qword [rsp + 0x28], rdx
xor ebx, ebx
mov edx, 0x104
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x18002e61e
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0xa0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x18002e3f0
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x58]
call fcn.18000acd0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rbx
mov r8, qword [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.18000acd0
nop
lea rsi, [rsp + 0x78]
cmp qword [rsp + 0x90], 7
cmova rsi, qword [rsp + 0x78]
mov rax, qword [rsp + 0x88]
lea rdx, [rsi + rax*2]
mov rcx, rsi
call fcn.180020420
cmp rax, rdx
je 0x18002e4de
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18002e482
cmp cx, 0x2f
jne 0x18002e48b
add rax, 2
cmp rax, rdx
jne 0x18002e473
cmp rax, rdx
je 0x18002e4de
lea rcx, [rdx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x18002e4b0
cmp r8w, 0x2f
je 0x18002e4b0
mov rdx, rcx
cmp rax, rcx
jne 0x18002e490
jmp 0x18002e4de
cmp rax, rdx
je 0x18002e4de
nop word [rax + rax]
lea rcx, [rdx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x18002e4d6
cmp r8w, 0x2f
jne 0x18002e4de
mov rdx, rcx
cmp rax, rcx
jne 0x18002e4c0
sub rdx, rsi
sar rdx, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov r8, rdx
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.18000acd0
nop
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.180006650
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x18002e558
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002e552
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002e669
call fcn.18008ed30
nop
mov rdx, qword [rsp + 0x90]
cmp rdx, 7
jbe 0x18002e59d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002e598
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002e66f
call fcn.18008ed30
movdqa xmm0, xmmword [0x18016fc30]
movdqu xmmword [rsp + 0x88], xmm0
mov word [rsp + 0x78], bx
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x18002e5f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002e5f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002e675
call fcn.18008ed30
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], bx
mov rax, rdi
jmp 0x18002e644
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
mov r8d, 3
lea rdx, [0x1801033e8]
mov rcx, rdi
call fcn.18000acd0
mov rax, rdi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.18008ed10
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1800a4178
nop
call fcn.1800a4178
nop
call fcn.1800a4178
int3