Function at 0x18009c810
Capabilities:
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rbx, rdx
mov rdi, rcx
lea rdx, [rbp]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor esi, esi
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rsi
lea rax, [rbp]
mov byte [rsp + 0x20], sil
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x18009c864
lea rdx, [rbp]
lea rcx, [rsp + 0x20]
call fcn.1800bef90
mov r8d, 1
lea rdx, [0x180113be8]
lea rcx, [rsp + 0x20]
call fcn.1800be770
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18009c8ef
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009c8ea
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009cd70
call fcn.1800cb8d0
xor r8d, r8d
lea rdx, [0x1801090b0]
lea rcx, [0x1801277b8]
call fcn.1800bef90
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1800bea10
mov rcx, rax
call fcn.18009a1c0
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1800bea10
mov rcx, rax
call fcn.18009b840
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1800bea10
mov rcx, rax
call fcn.18009ad00
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1800bea10
mov rcx, rax
call fcn.18009c140
cmp qword [rsp + 0x78], 0x10
lea rcx, [rsp + 0x60]
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp qword [0x180127448], rsi
je 0x18009cca8
cmp qword [rbx + 0x18], 0x10
mov rax, rbx
jb 0x18009c98a
mov rax, qword [rbx]
cmp qword [rbx + 0x10], 1
jne 0x18009cca8
cmp byte [rax], 0x30
jne 0x18009cca8
mov ecx, dword [0x180129a20]
lea r9, [rbp - 0x2b]
test ecx, ecx
jns 0x18009c9f0
neg ecx
nop
dec r9
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r9], cl
mov ecx, edx
test edx, edx
jne 0x18009c9b0
dec r9
mov byte [r9], 0x2d
jmp 0x18009ca19
dec r9
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r9], cl
mov ecx, edx
test edx, edx
jne 0x18009c9f0
lea rax, [rbp - 0x2b]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], sil
cmp r9, rax
je 0x18009ca49
lea r8, [rbp - 0x2b]
mov rdx, r9
sub r8, r9
lea rcx, [rsp + 0x40]
call fcn.1800bef90
mov r9d, 0xd
lea r8, str.Thunderbird__
lea rcx, [rsp + 0x40]
call fcn.1800c34e0
mov r8d, 2
lea rdx, [0x180113c74]
lea rcx, [rsp + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
call fcn.1800be770
mov r8d, 2
lea rdx, [0x180113c70]
lea rcx, [rbp - 0x60]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
call fcn.1800be770
lea rdx, [0x180127438]
lea rcx, [rbp - 0x80]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
cmp qword [0x180127450], 0x10
mov r8, qword [0x180127448]
cmovae rdx, qword [0x180127438]
call fcn.1800be770
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov rdx, qword [0x180127450]
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm1
cmp rdx, 0x10
jb 0x18009cb77
mov rcx, qword [0x180127438]
inc rdx
cmp rdx, 0x1000
jb 0x18009cb6a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18009cd64
mov rcx, r8
call fcn.1800cb8d0
movups xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
mov rdx, qword [rbp - 0x68]
movups xmmword [0x180127438], xmm0
movups xmmword [0x180127448], xmm1
cmp rdx, 0x10
jb 0x18009cbc0
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009cbbb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009cd76
call fcn.1800cb8d0
mov rdx, qword [rbp - 0x48]
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], sil
cmp rdx, 0x10
jb 0x18009cc0b
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009cc06
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009cd76
call fcn.1800cb8d0
mov rdx, qword [rsp + 0x38]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], sil
cmp rdx, 0x10
jb 0x18009cc58
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009cc53
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009cd76
call fcn.1800cb8d0
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], sil
cmp rdx, 0x10
jb 0x18009cca8
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009cca3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009cd76
call fcn.1800cb8d0
lea rdx, [0x180127438]
mov rcx, rdi
call fcn.1800bea10
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x18009ccf0
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009cceb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009cd6a
call fcn.1800cb8d0
mov rdx, qword [rbx + 0x18]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], sil
cmp rdx, 0x10
jb 0x18009cd39
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18009cd34
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18009cd6a
mov rcx, r8
call fcn.1800cb8d0
lea r11, [rsp + 0x210]
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rax, rdi
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov qword [rbx + 0x18], 0xf
mov rbx, qword [r11 + 0x10]
mov rsp, r11
pop rbp
ret
call fcn.1800dab30
int3
call fcn.1800dab30
int3
call fcn.1800dab30
int3
call fcn.1800dab30
int3