Function at 0x1400336ac
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x448]
sub rsp, 0x540
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x140729900]
xor rax, rsp
mov qword [rbp + 0x430], rax
lea rdx, [rbp + 0x220]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor ebx, ebx
test eax, eax
jne 0x14003370e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [rbx + 3]
jmp 0x140033920
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov r14d, 7
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x80], r14
mov qword [rsp + 0x78], rbx
mov word [rsp + 0x68], bx
cmp word [rbp + 0x220], bx
jne 0x140033752
mov rax, rbx
jmp 0x14003375e
lea rcx, [rbp + 0x220]
call fcn.140288ad0
mov r8, rax
lea rdx, [rbp + 0x220]
lea rcx, [rsp + 0x68]
call fcn.140009ed0
nop
lea rcx, [0x1405e63e8]
call fcn.140288ad0
mov r9, rax
xor r8d, r8d
lea rdx, [0x1405e63e8]
lea rcx, [rsp + 0x68]
call fcn.140014110
lea r9, [rax - 1]
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x68]
call fcn.140013f90
nop
lea rdi, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdi, qword [rbp - 0x58]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x48], bx
cmp word [rdi], bx
jne 0x1400337dd
mov rax, rbx
jmp 0x1400337e5
mov rcx, rdi
call fcn.140288ad0
mov r8, rax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140009ed0
nop
lea rcx, str.config.ini
call fcn.140288ad0
mov r8, rax
lea rdx, str.config.ini
lea rcx, [rbp - 0x58]
call fcn.14000af30
lea rcx, [rsp + 0x28]
cmp rcx, rax
je 0x140033833
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000a070
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14003385f
lea ebx, [rax + 3]
jmp 0x1400338e0
lea rdi, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdi, qword [rsp + 0x48]
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x68], rbx
mov word [rbp - 0x78], bx
cmp word [rdi], bx
je 0x140033894
mov rcx, rdi
call fcn.140288ad0
mov rbx, rax
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.140009ed0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [0x14072af00]
call fcn.14000a070
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.140009e10
call fcn.140017fe8
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
call fcn.140017b64
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.140009e10
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.140009e10
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x68]
call fcn.140009e10
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x28]
call fcn.140009e10
mov eax, ebx
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1402812e0
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret