Function at 0x14010f530
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2e8]
sub rsp, 0x3c0
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov r14, rcx
lea rdi, [0x140005df0]
mov qword [rsp + 0x58], rdi
lea r15, [0x14003fbe0]
mov qword [rsp + 0x60], r15
lea r12, [0x140005d90]
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], 0x107
mov ebx, 4
mov dword [rsp + 0x74], ebx
mov dword [rsp + 0x78], 0xff
xor r13d, r13d
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x74]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x30]
call fcn.140052e50
nop
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rbp + 0x18], r13
lea rax, [0x140001b68]
mov qword [rbp + 0x10], rax
mov qword [rbp + 8], r13
mov qword [rbp], 0x20019
mov esi, r13d
mov rcx, r14
call fcn.140111ba4
bt eax, 0x16
jb 0x14010f668
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], VarUI4FromDisp
mov dword [rsp + 0x74], ebx
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x74]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea r8, [0x14003fb70]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x30]
call fcn.1400510b0
jmp 0x14010f9b9
mov rcx, r14
call fcn.140111ba4
mov edi, 0x7530
bt eax, 0x18
jae 0x14010f684
mov ebx, 1
mov eax, edi
jmp 0x14010f68c
mov ebx, r13d
mov eax, 0x2710
mov r12d, eax
mov r15d, 0xc350
lea r8, [0x1400408e0]
mov rdx, 0xffffffff80000002
lea rcx, [rbp]
call fcn.140050870
test al, al
je 0x14010f739
mov dword [rsp + 0x30], r13d
lea r8, [rsp + 0x30]
lea rcx, [rbp]
test ebx, ebx
lea rdx, [0x140040940]
jne 0x14010f6d4
lea rdx, [0x140040888]
call fcn.14004d450
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14010f6e8
imul r12d, eax, 0x3e8
mov dword [rsp + 0x30], r13d
lea r8, [rsp + 0x30]
lea rdx, [0x1400408a8]
lea rcx, [rbp]
call fcn.14004d450
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14010f710
imul edi, eax, 0x3e8
mov dword [rsp + 0x30], r13d
lea r8, [rsp + 0x30]
lea rdx, [0x140040858]
lea rcx, [rbp]
call fcn.14004d450
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14010f739
imul r15d, eax, 0x3e8
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
mov r9b, 1
lea r8, [rsp + 0x38]
mov dl, r9b
mov rcx, r14
call fcn.14010fa68
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
sub r8, rcx
movabs rax, 0xe38e38e38e38e39
imul r8
sar rdx, 2
mov r8, rdx
shr r8, 0x3f
add r8, rdx
lea r9, [0x14010f510]
mov rdx, qword [rsp + 0x48]
call fcn.14010e924
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount64]
mov r14, rax
mov rbx, qword [rsp + 0x40]
add rbx, 0x10
mov r15d, 4
lea rcx, [rbx - 0x10]
cmp rcx, qword [rsp + 0x48]
je 0x14010f9b9
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp esi, ecx
jne 0x14010f7e3
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount64]
lea rcx, [r12 + r14]
cmp rax, rcx
ja 0x14010f953
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx]
lea r8, [0x140002e98]
mov edx, 0x104
lea rcx, [rbp + 0xa0]
call fcn.14004af20
mov edi, eax
mov dword [rbp + 0x38], eax
mov dword [rsp + 0x74], r15d
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
test eax, eax
jns 0x14010f87c
lea rax, [0x140005df0]
mov qword [rsp + 0x58], rax
lea rax, [0x14003fbe0]
mov qword [rsp + 0x60], rax
lea rax, [0x140005d90]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x16c
call sub.msvcrt.dll_memset
mov r9d, edi
lea r8, [0x14003fc60]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x30]
call fcn.1400510b0
jmp 0x14010f948
lea rdi, [0x140005df0]
mov qword [rsp + 0x58], rdi
lea rax, [0x14003fbe0]
mov qword [rsp + 0x60], rax
lea rax, [0x140005d90]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x171
call sub.msvcrt.dll_memset
lea r9, [rbp + 0xa0]
lea r8, [0x14003fc38]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x30]
call fcn.1400510b0
lea rcx, [rbp + 0xa0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_DeleteFileW]
test eax, eax
jne 0x14010f948
mov qword [rsp + 0x58], rdi
lea rax, [0x14003fbe0]
mov qword [rsp + 0x60], rax
lea rax, [0x140005d90]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x175
mov dword [rsp + 0x74], r15d
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0xa0]
lea r8, [0x14003fcf0]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x30]
call fcn.1400510b0
add rbx, 0x48
inc esi
jmp 0x14010f7a7
lea rax, [0x140005df0]
mov qword [rsp + 0x58], rax
lea rax, [0x14003fbe0]
mov qword [rsp + 0x60], rax
lea rax, [0x140005d90]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x15c
mov dword [rsp + 0x74], r15d
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
mov r9d, r15d
lea r8, [rsp + 0x58]
mov edx, 0x201c
lea rcx, [rbp + 0x30]
call fcn.14004a830
nop
lea rcx, [rbp]
call fcn.140113894
nop
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14010f9f5
mov rdi, qword [rsp + 0x48]
cmp rbx, rdi
je 0x14010f9ed
mov rcx, rbx
call fcn.14010f348
add rbx, 0x48
cmp rbx, rdi
jne 0x14010f9d7
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14005d774
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
lea rcx, [rbp + 0x30]
call fcn.140050f50
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.14005dc70
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret