Function at 0x140014134
Capabilities:
Get common file path
Move file
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x14d0
call fcn.140013f60
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x14c0], rax
xor edi, edi
mov qword [0x1400a4010], rdi
cmp dword [0x1400a4008], edi
je 0x140014706
mov ebx, 0x20a
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, rbx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0xe90]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0xa70]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x650]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x440]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x230]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x860]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0xc80]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x10a0]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x12b0]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov ebx, 0x104
lea rdx, [rsp + 0x20]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, edi
je 0x140016ce6
lea r8, [rsp + 0x20]
lea rax, [rsp + 0xe90]
mov rdx, rbx
lea rcx, [rsp + 0xe90]
lea esi, [rdi + 1]
lea r9d, [rdi + 2]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rdi
je 0x140014286
movzx eax, word [r8 + rcx]
cmp ax, di
je 0x140014286
mov word [rcx], ax
add rcx, r9
sub rdx, rsi
jne 0x140014265
cmp rdx, rdi
je 0x140016c8c
lea r8, [rsp + 0x20]
lea rax, [rsp + 0xa70]
mov word [rcx], di
mov rdx, rbx
lea rcx, [rsp + 0xa70]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rdi
je 0x1400142ce
movzx eax, word [r8 + rcx]
cmp ax, di
je 0x1400142ce
mov word [rcx], ax
add rcx, r9
sub rdx, rsi
jne 0x1400142ad
cmp rdx, rdi
je 0x140016c94
lea r8, [rsp + 0x20]
lea rax, [rsp + 0x650]
mov word [rcx], di
mov rdx, rbx
lea rcx, [rsp + 0x650]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rdi
je 0x140014316
movzx eax, word [r8 + rcx]
cmp ax, di
je 0x140014316
mov word [rcx], ax
add rcx, r9
sub rdx, rsi
jne 0x1400142f5
cmp rdx, rdi
je 0x140016c9c
lea r8, [rsp + 0x20]
lea rax, [rsp + 0x440]
mov word [rcx], di
mov rdx, rbx
lea rcx, [rsp + 0x440]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rdi
je 0x14001435e
movzx eax, word [r8 + rcx]
cmp ax, di
je 0x14001435e
mov word [rcx], ax
add rcx, r9
sub rdx, rsi
jne 0x14001433d
cmp rdx, rdi
je 0x140016ca4
lea r8, [rsp + 0x20]
lea rax, [rsp + 0x230]
mov word [rcx], di
mov rdx, rbx
lea rcx, [rsp + 0x230]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rdi
je 0x1400143a6
movzx eax, word [r8 + rcx]
cmp ax, di
je 0x1400143a6
mov word [rcx], ax
add rcx, r9
sub rdx, rsi
jne 0x140014385
cmp rdx, rdi
je 0x140016cac
lea r8, [rsp + 0x20]
lea rax, [rsp + 0x860]
mov word [rcx], di
mov rdx, rbx
lea rcx, [rsp + 0x860]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rdi
je 0x1400143ee
movzx eax, word [r8 + rcx]
cmp ax, di
je 0x1400143ee
mov word [rcx], ax
add rcx, r9
sub rdx, rsi
jne 0x1400143cd
cmp rdx, rdi
je 0x140016cb4
lea r8, [rsp + 0x20]
lea rax, [rsp + 0xc80]
mov word [rcx], di
mov rdx, rbx
lea rcx, [rsp + 0xc80]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rdi
je 0x140014436
movzx eax, word [r8 + rcx]
cmp ax, di
je 0x140014436
mov word [rcx], ax
add rcx, r9
sub rdx, rsi
jne 0x140014415
cmp rdx, rdi
je 0x140016cbc
lea r8, [rsp + 0x20]
lea rax, [rsp + 0x10a0]
mov word [rcx], di
mov rdx, rbx
lea rcx, [rsp + 0x10a0]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rdi
je 0x14001447e
movzx eax, word [r8 + rcx]
cmp ax, di
je 0x14001447e
mov word [rcx], ax
add rcx, r9
sub rdx, rsi
jne 0x14001445d
cmp rdx, rdi
je 0x140016cc4
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x12b0]
mov word [rcx], di
sub rdx, rax
lea rcx, [rsp + 0x12b0]
lea rax, [rbx + 0x7ffffefa]
cmp rax, rdi
je 0x1400144c2
movzx eax, word [rcx + rdx]
cmp ax, di
je 0x1400144c2
mov word [rcx], ax
add rcx, r9
sub rbx, rsi
jne 0x1400144a2
cmp rbx, rdi
je 0x140016ccc
mov word [rcx], di
mov ebx, 0x105
lea r8, str.ehRecvr.log
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.1400119d0
cmp eax, edi
jl 0x140016cd4
lea r8, str.ehRecvr1.log
lea rcx, [rsp + 0xe90]
mov rdx, rbx
call fcn.1400119d0
cmp eax, edi
jl 0x140016cd4
lea r8, str.ehRecvr2.log
lea rcx, [rsp + 0xa70]
mov rdx, rbx
call fcn.1400119d0
cmp eax, edi
jl 0x140016cd4
lea r8, str.ehRecvr3.log
lea rcx, [rsp + 0x650]
mov rdx, rbx
call fcn.1400119d0
cmp eax, edi
jl 0x140016cd4
lea r8, str.ehRecvr4.log
lea rcx, [rsp + 0x440]
mov rdx, rbx
call fcn.1400119d0
cmp eax, edi
jl 0x140016cd4
lea r8, str.ehRecvr5.log
lea rcx, [rsp + 0x230]
mov rdx, rbx
call fcn.1400119d0
cmp eax, edi
jl 0x140016cd4
lea r8, str.ehRecvr6.log
lea rcx, [rsp + 0x860]
mov rdx, rbx
call fcn.1400119d0
cmp eax, edi
jl 0x140016cd4
lea r8, str.ehRecvr7.log
lea rcx, [rsp + 0xc80]
mov rdx, rbx
call fcn.1400119d0
cmp eax, edi
jl 0x140016cd4
lea r8, str.ehRecvr8.log
lea rcx, [rsp + 0x10a0]
mov rdx, rbx
call fcn.1400119d0
cmp eax, edi
jl 0x140016cd4
lea r8, str.ehRecvr9.log
lea rcx, [rsp + 0x12b0]
mov rdx, rbx
call fcn.1400119d0
cmp eax, edi
jl 0x140016cd4
lea rdx, [rsp + 0x12b0]
lea rcx, [rsp + 0x10a0]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rdx, [rsp + 0x10a0]
lea rcx, [rsp + 0xc80]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rdx, [rsp + 0xc80]
lea rcx, [rsp + 0x860]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rdx, [rsp + 0x860]
lea rcx, [rsp + 0x230]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x440]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rdx, [rsp + 0x440]
lea rcx, [rsp + 0x650]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rdx, [rsp + 0x650]
lea rcx, [rsp + 0xa70]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rdx, [rsp + 0xa70]
lea rcx, [rsp + 0xe90]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rdx, [rsp + 0xe90]
lea rcx, [rsp + 0x20]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rdx, [0x14005b2b4]
lea rcx, [rsp + 0x20]
call qword [sym.imp.msvcrt.dll__wfopen]
mov qword [0x1400a4010], rax
cmp rax, rdi
je 0x140016cdd
mov rcx, qword [rsp + 0x14c0]
xor rcx, rsp
call fcn.140001170
lea r11, [rsp + 0x14d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
sub rcx, r9
jmp 0x14001428f
sub rcx, r9
jmp 0x1400142d7
sub rcx, r9
jmp 0x14001431f
sub rcx, r9
jmp 0x140014367
sub rcx, r9
jmp 0x1400143af
sub rcx, r9
jmp 0x1400143f7
sub rcx, r9
jmp 0x14001443f
sub rcx, r9
jmp 0x140014487
sub rcx, r9
jmp 0x1400144cb
lea rcx, str.InitDbgFile_____fatal_tracing_error:_StringCchCat___failed
jmp 0x140016ced
lea rcx, str.InitDbgFile_____fatal_tracing_error:__wfopen___failed
jmp 0x140016ced
lea rcx, str.InitDbgFile_____fatal_tracing_error:_GetTempPath___returned_0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
jmp 0x140014706