Function at 0x1400104b0
Capabilities:
Get common file path

Disassembly:
mov byte [rsp + 0x20], r9b
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x340
mov rax, qword [0x140090180]
xor rax, rsp
mov qword [rsp + 0x330], rax
movzx r14d, r9b
mov r13, r8
mov r12d, edx
mov r15, rcx
mov qword [rsp + 0x80], rcx
mov dword [rsp + 0x78], edx
mov qword [rsp + 0x88], r8
xor ebx, ebx
cmp byte [0x140093123], bl
jne 0x1400106f4
mov byte [0x140093123], 1
lea rdx, [rsp + 0x130]
mov ecx, 0xff
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rax, [rsp + 0x130]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], bx
jne 0x140010531
mov rax, qword [0x140090220]
lea rsi, [0x140090208]
cmp rdx, rax
ja 0x140010584
mov rdi, rsi
cmp rax, 7
cmova rdi, qword [0x140090208]
mov qword [0x140090218], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x130]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [rbx + rdi], ax
xor ebx, ebx
jmp 0x140010594
lea r9, [rsp + 0x130]
mov rcx, rsi
call fcn.1400109f0
mov r8d, Ordinal_19
lea rdx, str.EqualizerAPO.log
mov rcx, rsi
call fcn.14000f880
nop
lea rax, [rsp + 0x90]
mov qword [rsp + 0xb0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rbx
mov r8d, 0xb
lea rdx, str.EnableTrace
lea rcx, [rsp + 0x90]
call fcn.14000f930
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xe0], rbx
mov r8d, 0x28
lea rdx, str.HKEY_LOCAL_MACHINESOFTWAREEqualizerAPO
lea rcx, [rsp + 0xc8]
call fcn.14000f930
nop
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xf0]
call fcn.140017b30
mov r8, rax
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140010654
mov r8, qword [rax]
cmp rdx, 5
jne 0x14001067c
lea rcx, str.false
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14001067c
add rcx, 2
sub rdx, 1
jne 0x140010664
xor bl, bl
jmp 0x14001067e
mov bl, 1
mov rdx, qword [rsp + 0x108]
cmp rdx, 7
jbe 0x1400106c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400106c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400106c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140064fe8
test bl, bl
je 0x1400106d4
mov byte [0x140093122], 1
jmp 0x1400106fb
lea rsi, [0x140090208]
test r14b, r14b
je 0x14001070d
cmp byte [0x140093122], 0
je 0x1400108a1
mov rax, qword [0x140093128]
test rax, rax
jne 0x140010748
cmp qword [0x140090220], 7
cmova rsi, qword [0x140090208]
lea r8, [0x140075fd4]
mov rdx, rsi
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
test eax, eax
jne 0x1400108a1
jmp 0x14001074d
mov qword [rsp + 0x70], rax
cmp byte [0x140093120], 0
je 0x140010779
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
test r14b, r14b
mov edx, 2
jne 0x140010773
mov edx, 0xc
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp byte [0x140093121], 0
jne 0x140010810
lea rcx, [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0xc6]
movzx edx, word [rsp + 0xc4]
movzx r10d, word [rsp + 0xc2]
movzx r11d, word [rsp + 0xc0]
movzx ebx, word [rsp + 0xbe]
movzx r9d, word [rsp + 0xba]
movzx r8d, word [rsp + 0xb8]
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea rdx, str._04d__02d__02d__02d:_02d:_02d._03d__d__08X___S:_d_:
mov rcx, qword [rsp + 0x70]
call fcn.140010b60
test r14b, r14b
je 0x140010826
lea rdx, str._TRACE_
mov rcx, qword [rsp + 0x70]
call fcn.140010b60
lea rbx, [rsp + 0x3a8]
call fcn.14000faf0
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, qword [rsp + 0x3a0]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfwprintf]
lea rdx, [0x140076064]
mov rcx, qword [rsp + 0x70]
call fcn.140010b60
cmp byte [0x140093120], 0
je 0x140010884
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [rsp + 0x70]
cmp qword [0x140093128], 0
jne 0x14001089b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400108a1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.140064f60
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret