Function at 0x1400442a0
Capabilities:
Get common file path

Disassembly:
push rbp
mov eax, 0x10210
call fcn.140076cc0
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rcx
mov rax, r9
mov qword [rbp + 0x40], rax
mov rax, r8
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x58], r9
mov qword [rbp + 0x50], r8
lea rcx, [rbp + 0x62]
mov edx, 0xaa
mov r8d, 0xfffe
call fcn.14008be80
lea rax, [rbp + 0x62]
mov qword [rbp + 0x10060], 0x4d430001
mov qword [rbp + 0x10068], rax
mov qword [rbp + 0x10070], 0xfffe
mov qword [rbp + 0x10078], 0
mov qword [rbp + 0x10080], 0
mov qword [rbp + 0x10088], 0
lea rax, [rbp + 0x10060]
xor ecx, ecx
mov edx, ecx
rol rdi, 3
rol rdi, 0xd
rol rdi, 0x3d
rol rdi, 0x33
xchg rbx, rbx
lea rax, [rbp + 0x62]
cmp rax, 0
je 0x140044358
jmp 0x140044375
lea rcx, [0x1400c87d8]
mov edx, 0x1e
xor eax, eax
mov r8d, eax
lea r9, [0x1400c87f8]
call fcn.140001260
mov ecx, 0x7fff
lea rdx, [rbp + 0x62]
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x10090], eax
cmp eax, 0
jne 0x1400443e0
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rbp + 0x28]
mov dx, ax
mov word [rbp + 0x10096], dx
call fcn.140007b10
mov cx, ax
mov rax, qword [rbp + 0x30]
mov word [rbp + 0x100a8], cx
mov rcx, qword [rbp + 0x10098]
mov qword [rax], rcx
mov rcx, qword [rbp + 0x100a0]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x100a8]
mov qword [rax + 0x10], rcx
cmp word [rax + 0x10], 0
je 0x1400443e2
jmp 0x1400443ef
jmp 0x140044405
mov rax, qword [rbp + 0x38]
add rsp, 0x10210
pop rbp
ret
mov rcx, qword [rbp + 0x28]
call fcn.140001e50
mov rax, qword [rbp + 0x38]
add rsp, 0x10210
pop rbp
ret
mov eax, dword [rbp + 0x24]
cmp eax, 0x7fff
setbe cl
call fcn.140004370
mov eax, dword [rbp + 0x24]
lea rcx, [rbp + 0x62]
mov qword [rbp + 0x10], rcx
mov eax, eax
mov qword [rbp + 0x18], rax
cmp rax, 0x7fff
ja 0x140044430
jmp 0x14004443e
mov rcx, qword [rbp + 0x18]
mov edx, 0x7fff
call fcn.140001140
mov rcx, qword [rbp + 0x18]
xor eax, eax
cmp rax, rcx
ja 0x14004444b
jmp 0x140044458
mov rdx, qword [rbp + 0x18]
xor eax, eax
mov ecx, eax
call fcn.140001140
mov rax, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x18]
mov qword [rbp + 0x100b8], rcx
mov qword [rbp + 0x100b0], rax
mov qword [rbp + 0x100c0], 0
mov qword [rbp + 0x100e8], rcx
mov qword [rbp + 0x100e0], rax
mov rdx, qword [rbp + 0x100e0]
mov r8, qword [rbp + 0x100e8]
lea rcx, [rbp + 0x100f0]
call fcn.14003bd80
mov rax, qword [rbp + 0x100f0]
mov qword [rbp + 0x100c8], rax
mov rax, qword [rbp + 0x100f8]
mov qword [rbp + 0x100d0], rax
mov rax, qword [rbp + 0x10100]
mov qword [rbp + 0x100d8], rax
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x10108]
lea r8, [rbp + 0x100c8]
call fcn.14003aa00
cmp word [rbp + 0x10110], 0
jne 0x1400444f9
lea rax, [rbp + 0x10108]
mov qword [rbp + 8], rax
jmp 0x140044509
mov rcx, qword [rbp + 0x28]
mov dx, word [rbp + 0x10110]
call fcn.140003d50
mov rax, qword [rbp + 8]
mov qword [rbp], rax
cmp byte [rax + 4], 0
je 0x14004455f
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp]
movzx ecx, word [rax]
movzx eax, byte [rax + 2]
mov r9d, eax
shl r9d, 0x10
mov r8d, ecx
or r8d, r9d
mov dword [rbp - 4], r8d
mov word [rbp + 0x10114], cx
and eax, 0x1f
mov byte [rbp + 0x10116], al
lea rcx, [rbp + 0x10118]
call fcn.14003afd0
cmp word [rbp + 0x10118], 0
je 0x140044564
jmp 0x14004456f
jmp 0x140044790
mov al, byte [rbp + 0x1011a]
mov byte [rbp - 5], al
jmp 0x14004457f
mov rcx, qword [rbp + 0x28]
mov dx, word [rbp + 0x10118]
call fcn.140003d50
mov cl, byte [rbp - 5]
mov al, cl
and al, 7
mov byte [rbp + 0x1011f], al
mov rax, qword [rbp + 0x100c0]
movzx ecx, cl
and ecx, 7
add rax, rcx
mov qword [rbp + 0x10120], rax
setb byte [rbp + 0x10128]
mov al, byte [rbp + 0x10128]
test al, al
jne 0x1400445b8
jmp 0x1400445b6
jmp 0x1400445d5
lea rcx, [0x1400c8808]
mov edx, 0x10
xor eax, eax
mov r8d, eax
lea r9, [0x1400c8818]
call fcn.140001260
mov rcx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x10120]
cmp rax, rcx
jb 0x14004461f
mov rcx, qword [rbp + 0x28]
call fcn.140001e50
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x38]
mov rdx, qword [0x1400c8828]
mov qword [rcx], rdx
mov rdx, qword [0x1400c8830]
mov qword [rcx + 8], rdx
mov rdx, qword [0x1400c8838]
mov qword [rcx + 0x10], rdx
add rsp, 0x10210
pop rbp
ret
jmp 0x140044621
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x100c0]
mov qword [rbp - 0x30], rdx
mov qword [rbp + 0x10130], rcx
mov qword [rbp + 0x10138], rax
mov rcx, qword [rbp + 0x100c0]
mov qword [rbp - 0x28], rcx
mov rdx, qword [rbp + 0x10130]
mov rax, qword [rbp + 0x10138]
mov qword [rbp - 0x20], rax
add rdx, rcx
mov qword [rbp - 0x18], rdx
mov rdx, rax
mov qword [rbp - 0x10], rdx
sub rax, rcx
mov qword [rbp + 0x10140], rax
setb byte [rbp + 0x10148]
mov al, byte [rbp + 0x10148]
test al, al
jne 0x14004468c
jmp 0x14004468a
jmp 0x1400446a9
lea rcx, [0x1400c8840]
mov edx, 0x10
xor eax, eax
mov r8d, eax
lea r9, [0x1400c8850]
call fcn.140001260
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp + 0x10140]
mov qword [rbp - 0x38], rdx
cmp rax, rcx
ja 0x1400446c3
jmp 0x1400446d0
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x10]
call fcn.140001140
mov rax, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x10]
cmp rax, rcx
ja 0x1400446df
jmp 0x1400446ec
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x28]
call fcn.140001140
mov r8d, dword [rbp - 4]
mov rdx, qword [rbp + 0x28]
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x38]
mov rax, rsp
mov qword [rax + 0x20], rcx
lea rcx, [rbp + 0x10150]
call fcn.14003b0c0
cmp word [rbp + 0x10150], 0
jne 0x140044724
mov al, byte [rbp + 0x10152]
mov byte [rbp - 0x39], al
jmp 0x140044734
mov rcx, qword [rbp + 0x28]
mov dx, word [rbp + 0x10150]
call fcn.140003d50
mov rax, qword [rbp - 0x30]
mov cl, byte [rbp - 0x39]
movzx ecx, cl
and ecx, 7
add rax, rcx
mov qword [rbp + 0x10158], rax
setb byte [rbp + 0x10160]
mov al, byte [rbp + 0x10160]
test al, al
jne 0x140044760
jmp 0x14004475e
jmp 0x14004477d
lea rcx, [0x1400c8860]
mov edx, 0x10
xor eax, eax
mov r8d, eax
lea r9, [0x1400c8870]
call fcn.140001260
mov rax, qword [rbp + 0x10158]
mov qword [rbp + 0x100c0], rax
jmp 0x1400444cb
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x48]
mov qword [rbp + 0x10168], rcx
mov qword [rbp + 0x10170], rax
mov rax, qword [rbp + 0x100c0]
mov qword [rbp - 0x58], rax
mov rcx, qword [rbp + 0x10168]
mov qword [rbp - 0x50], rcx
mov rcx, qword [rbp + 0x10170]
mov qword [rbp - 0x48], rcx
cmp rax, rcx
ja 0x1400447ce
jmp 0x1400447db
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x58]
call fcn.140001140
mov rcx, qword [rbp - 0x58]
xor eax, eax
cmp rax, rcx
ja 0x1400447e8
jmp 0x1400447f5
mov rdx, qword [rbp - 0x58]
xor eax, eax
mov ecx, eax
call fcn.140001140
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x58]
mov word [rbp + 0x10188], 0
mov qword [rbp + 0x10180], r8
mov qword [rbp + 0x10178], rdx
mov rdx, qword [rbp + 0x10178]
mov qword [rcx], rdx
mov rdx, qword [rbp + 0x10180]
mov qword [rcx + 8], rdx
mov rdx, qword [rbp + 0x10188]
mov qword [rcx + 0x10], rdx
add rsp, 0x10210
pop rbp
ret