Function at 0x1402830b0
Capabilities:
Delete file
Move file

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0xe0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1403710d8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r12, r8
mov rbp, rcx
cmp word [rcx + 0x18], 0
jne 0x1402830f8
xor edx, edx
call fcn.140282b10
lea rax, vtable.CLogMutex.0
mov qword [rsp + 0x70], rax
mov rsi, qword [rbp + 8]
mov qword [rsp + 0x78], rsi
test rsi, rsi
je 0x140283121
mov edx, 0x1388
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
lea rax, vtable.CAhnI2s_File.0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0xffffffff
mov r8d, 1
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x50]
call fcn.140287690
test eax, eax
jne 0x14028316f
lea rcx, [rsp + 0x50]
call fcn.1402878b0
nop
test rsi, rsi
je 0x1402833f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1402833f0
lea rcx, [rsp + 0x50]
call fcn.140287740
test eax, eax
jns 0x14028319f
lea rcx, [rsp + 0x50]
call fcn.1402878b0
nop
test rsi, rsi
je 0x1402833f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1402833f0
cmp eax, dword [rbp + 0x438]
jl 0x140283245
lea rcx, [rsp + 0x50]
call fcn.140287710
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov r8d, 1
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x50]
call fcn.140287690
test eax, eax
jne 0x14028320d
lea rcx, [rsp + 0x50]
call fcn.1402878b0
nop
test rsi, rsi
je 0x1402833f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1402833f0
lea rcx, [rsp + 0x50]
call fcn.140287740
test eax, eax
js 0x140283223
cmp eax, dword [rbp + 0x438]
jl 0x140283245
lea rcx, [rsp + 0x50]
call fcn.1402878b0
nop
test rsi, rsi
je 0x1402833f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1402833f0
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rsp + 0x50]
call fcn.140287870
test eax, eax
jns 0x14028327b
lea rcx, [rsp + 0x50]
call fcn.1402878b0
nop
test rsi, rsi
je 0x1402833f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1402833f0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx r11d, word [rsp + 0x6e]
movzx ecx, word [rsp + 0x6c]
movzx r8d, word [rsp + 0x6a]
movzx r10d, word [rsp + 0x68]
movzx r9d, word [rsp + 0x66]
movzx ebx, word [rsp + 0x62]
movzx edi, word [rsp + 0x60]
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub edi, eax
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], ebx
mov r9d, edi
lea r8, str._d_x_02d._02d_02d_02d_03d.
mov edx, 0x40
lea rcx, [rsp + 0x90]
call fcn.140030340
mov edx, 0x40
lea rcx, [rsp + 0x90]
call fcn.140282340
mov r8, rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.140287840
mov r8d, dword [0x1403778f0]
lea rdx, [0x1403778e0]
lea rcx, [rsp + 0x50]
call fcn.140287840
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
lea r8, str._x:
mov edx, 0x40
lea rcx, [rsp + 0x90]
call fcn.140030340
mov edx, 0x40
lea rcx, [rsp + 0x90]
call fcn.140282340
mov r8, rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.140287840
mov edx, 0x7fffffff
mov rcx, r12
call fcn.140282340
mov r8, rax
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.140287840
mov r8d, 2
lea rdx, [0x140299f3c]
lea rcx, [rsp + 0x50]
call fcn.140287840
lea rcx, [rsp + 0x50]
call fcn.140287880
test byte [rbp + 0x434], 1
je 0x1402833d7
lea rcx, [rsp + 0x50]
call fcn.1402878a0
nop
lea rcx, [rsp + 0x50]
call fcn.1402878b0
nop
test rsi, rsi
je 0x1402833f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14028a900
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret