Function at 0x140020290
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x218]
sub rsp, 0x318
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400e5430]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r13, r9
mov r12, r8
mov r15, rdx
mov r14, rcx
mov rax, qword [rbp + 0x280]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x288]
mov qword [rsp + 0x38], rax
mov rbx, qword [rbp + 0x290]
mov qword [rbp - 0x78], 7
xor esi, esi
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
or rdi, 0xffffffffffffffff
mov r9, rdi
xor r8d, r8d
mov rdx, rcx
lea rcx, [rsp + 0x70]
call fcn.140009940
nop
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
lea r9d, [rsi + 1]
lea rcx, [rsp + 0x70]
call fcn.140020e80
cmp rax, rdi
je 0x1400203c7
lea r9, [rax + 1]
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.140020da0
mov rsi, rax
lea rax, [rsp + 0x50]
cmp rax, rsi
je 0x14002039a
cmp qword [rsp + 0x68], 8
jb 0x140020378
mov rcx, qword [rsp + 0x50]
call fcn.14007f05c
mov qword [rsp + 0x68], 7
xor eax, eax
mov qword [rsp + 0x60], rax
mov word [rsp + 0x50], ax
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400098d0
cmp qword [rbp - 0x58], 8
jb 0x1400203aa
mov rcx, qword [rbp - 0x70]
call fcn.14007f05c
mov qword [rbp - 0x58], 7
xor esi, esi
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x70], si
cmp qword [rsp + 0x60], rsi
jne 0x14002050e
mov eax, dword [0x1400ed5b0]
test al, 1
jne 0x1400203f0
or eax, 1
mov dword [0x1400ed5b0], eax
lea rcx, str.VebanaulGameNetlogs
call fcn.14036b37a
nop
mov qword [0x1400ed5a8], rax
jmp 0x1400203f7
mov rax, qword [0x1400ed5a8]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x801c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
test eax, eax
je 0x140020423
xor bl, bl
jmp 0x1400205d5
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x70], si
cmp word [rbp - 0x10], 0
jne 0x14002043f
mov rdi, rsi
jmp 0x14002044d
lea rax, [rbp - 0x10]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140020443
mov r8, rdi
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.14000bc90
nop
lea r8, [0x1400c83e4]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.14001abf0
nop
mov r8, r14
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140021070
mov rdi, rax
lea rax, [rsp + 0x70]
cmp rax, rdi
je 0x1400204be
cmp qword [rbp - 0x78], 8
jb 0x1400204a0
mov rcx, qword [rsp + 0x70]
call fcn.14007f05c
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400098d0
cmp qword [rbp - 0x38], 8
jb 0x1400204ce
mov rcx, qword [rbp - 0x50]
call fcn.14007f05c
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rsi
mov word [rbp - 0x50], si
cmp qword [rbp - 0x18], 8
jb 0x1400204ee
mov rcx, qword [rbp - 0x30]
call fcn.14007f05c
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
cmp qword [rbp - 0x58], 8
jb 0x14002050e
mov rcx, qword [rbp - 0x70]
call fcn.14007f05c
test rbx, rbx
jne 0x14002057c
lea ecx, [rbx + 0x18]
call fcn.14007f4ec
mov rbx, rax
test rax, rax
je 0x140020544
lea rax, vtable.Logger::AppLogOption.0
mov qword [rbx], rax
mov byte [rbx + 8], 0
mov qword [rbx + 0xc], 0x100000
mov eax, 0xffff
mov word [rbx + 0x14], ax
jmp 0x140020547
mov rbx, rsi
mov rax, qword [rbx]
mov edx, 0x1d
mov rcx, rbx
call qword [rax + gethostname]
mov rax, qword [rbx]
mov edx, 0x100000
mov rcx, rbx
call qword [rax + 0x18]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x28]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + htons]
mov ecx, 0x40
call fcn.14007f4ec
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400205ba
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9, r13
mov r8, r12
mov rdx, r15
mov rcx, rax
call fcn.140020190
mov rcx, rax
jmp 0x1400205bd
mov rcx, rsi
mov qword [0x1400ed4f0], rcx
mov rax, qword [rcx]
mov r8, rbx
lea rdx, [rsp + 0x70]
call qword [rax + htons]
movzx ebx, al
cmp qword [rsp + 0x68], 8
jb 0x1400205e7
mov rcx, qword [rsp + 0x50]
call fcn.14007f05c
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
cmp qword [rbp - 0x78], 8
jb 0x14002060b
mov rcx, qword [rsp + 0x70]
call fcn.14007f05c
movzx eax, bl
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14007e1c0
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret