Function at 0x1000b069c
Capabilities:
Delete file

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x308
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov ebx, r9d
mov r12, r8
mov rdi, rdx
mov rsi, rcx
xor r13d, r13d
mov word [rsp + 0x60], r13w
xor edx, edx
mov r8d, 0x286
lea rcx, [rsp + 0x62]
call sub.msvcrt.dll_memset
lea r11, [0x10000bb18]
mov qword [rsp + 0x30], r11
or r14, 0xffffffffffffffff
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r13
cmp r12, r13
jne 0x1000b0726
lea r8, [0x10000b310]
mov edx, 0x599
lea rcx, [0x10000b150]
call fcn.100099ad8
mov rdx, rdi
mov rcx, rsi
call fcn.1000b16c4
nop
mov dword [rsp + 0x20], ebx
mov r9d, 0x144
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, rsi
call fcn.1000b1ab0
mov rbx, rax
cmp rax, r14
jne 0x1000b076c
lea r8, [0x10000bae8]
mov edx, 0x3a1
lea rcx, [0x10000b108]
call fcn.100099ad8
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.1000aa340
mov ebx, eax
cmp eax, r13d
jge 0x1000b07cd
lea rax, [0x1001653b8]
mov rcx, qword [0x1001653b8]
cmp rcx, rax
je 0x1000b091f
test byte [rcx + 0x1c], 1
je 0x1000b091f
cmp byte [rcx + 0x19], 2
jb 0x1000b091f
mov edx, 0x36
mov r9d, ebx
lea r8, [0x1000036e8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7dc
jmp 0x1000b091f
lea rcx, [rsp + 0x30]
call fcn.1000b2ff0
mov ebx, eax
cmp eax, r13d
jge 0x1000b0826
lea rax, [0x1001653b8]
mov rcx, qword [0x1001653b8]
cmp rcx, rax
je 0x1000b091f
test byte [rcx + 0x1c], 1
je 0x1000b091f
cmp byte [rcx + 0x19], 2
jb 0x1000b091f
mov edx, 0x37
mov r9d, ebx
lea r8, [0x1000036e8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7dc
jmp 0x1000b091f
mov rcx, qword [rsp + 0x38]
cmp rcx, r14
je 0x1000b085d
cmp rcx, r13
jne 0x1000b0852
lea r8, [0x10000bb08]
mov edx, 0x3ad
lea rcx, [0x10000b108]
call fcn.100099ad8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], r14
lea r9, [rsp + 0x48]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call fcn.1000b217c
mov ebx, eax
cmp eax, r13d
jge 0x1000b08bf
lea rax, [0x1001653b8]
mov rcx, qword [0x1001653b8]
cmp rcx, rax
je 0x1000b091f
test byte [rcx + 0x1c], 1
je 0x1000b091f
cmp byte [rcx + 0x19], 2
jb 0x1000b091f
mov edx, 0x38
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, [0x1000036e8]
mov rcx, qword [rcx + 0x10]
call fcn.10001daa4
jmp 0x1000b091f
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, rsi
call fcn.1000b2884
mov ebx, eax
cmp eax, r13d
jge 0x1000b0978
lea rax, [0x1001653b8]
mov rcx, qword [0x1001653b8]
cmp rcx, rax
je 0x1000b091f
test byte [rcx + 0x1c], 1
je 0x1000b091f
cmp byte [rcx + 0x19], 2
jb 0x1000b091f
mov edx, 0x39
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x1000036e8]
mov rcx, qword [rcx + 0x10]
call fcn.10001e360
cmp word [rsp + 0x60], r13w
je 0x1000b096a
mov rcx, qword [rsp + 0x38]
cmp rcx, r14
je 0x1000b095e
cmp rcx, r13
jne 0x1000b0953
lea r8, [0x10000bb08]
mov edx, 0x3ad
lea rcx, [0x10000b108]
call fcn.100099ad8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], r14
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x30]
call fcn.1000b3ec4
mov eax, ebx
jmp 0x1000b09ad
mov word [rsp + 0x60], r13w
cmp dword [rsp + 0x48], r13d
jne 0x1000b0991
mov rdx, rdi
mov rcx, rsi
call fcn.1000b255c
nop
lea rcx, [rsp + 0x30]
call fcn.1000b3ec4
xor eax, eax
jmp 0x1000b09ad
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.10014e480
add rsp, 0x308
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret