Function at 0x1000b078c
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, [0x10000ba88]
mov qword [rsp + 0x30], r11
or r14, 0xffffffffffffffff
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r13
cmp r12, r13
jne 0x1000b0816
lea r8, [0x10000b280]
mov edx, 0x599
lea rcx, [0x10000b0c0]
call fcn.10009a050
mov rdx, rdi
mov rcx, rsi
call fcn.1000b17b4
nop
mov dword [rsp + 0x20], ebx
mov r9d, 0x144
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, rsi
call fcn.1000b1ba0
mov rbx, rax
cmp rax, r14
jne 0x1000b085c
lea r8, [0x10000ba58]
mov edx, 0x3a1
lea rcx, [0x10000b078]
call fcn.10009a050
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.1000aa714
mov ebx, eax
cmp eax, r13d
jge 0x1000b08bd
lea rax, [0x1001653b8]
mov rcx, qword [0x1001653b8]
cmp rcx, rax
je 0x1000b0a0f
test byte [rcx + 0x1c], 1
je 0x1000b0a0f
cmp byte [rcx + 0x19], 2
jb 0x1000b0a0f
mov edx, 0x36
mov r9d, ebx
lea r8, [0x1000036a8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c878
jmp 0x1000b0a0f
lea rcx, [rsp + 0x30]
call fcn.1000b30e0
mov ebx, eax
cmp eax, r13d
jge 0x1000b0916
lea rax, [0x1001653b8]
mov rcx, qword [0x1001653b8]
cmp rcx, rax
je 0x1000b0a0f
test byte [rcx + 0x1c], 1
je 0x1000b0a0f
cmp byte [rcx + 0x19], 2
jb 0x1000b0a0f
mov edx, 0x37
mov r9d, ebx
lea r8, [0x1000036a8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c878
jmp 0x1000b0a0f
mov rcx, qword [rsp + 0x38]
cmp rcx, r14
je 0x1000b094d
cmp rcx, r13
jne 0x1000b0942
lea r8, [0x10000ba78]
mov edx, 0x3ad
lea rcx, [0x10000b078]
call fcn.10009a050
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.1000b226c
mov ebx, eax
cmp eax, r13d
jge 0x1000b09af
lea rax, [0x1001653b8]
mov rcx, qword [0x1001653b8]
cmp rcx, rax
je 0x1000b0a0f
test byte [rcx + 0x1c], 1
je 0x1000b0a0f
cmp byte [rcx + 0x19], 2
jb 0x1000b0a0f
mov edx, 0x38
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, [0x1000036a8]
mov rcx, qword [rcx + 0x10]
call fcn.10001ddb0
jmp 0x1000b0a0f
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, rsi
call fcn.1000b2974
mov ebx, eax
cmp eax, r13d
jge 0x1000b0a68
lea rax, [0x1001653b8]
mov rcx, qword [0x1001653b8]
cmp rcx, rax
je 0x1000b0a0f
test byte [rcx + 0x1c], 1
je 0x1000b0a0f
cmp byte [rcx + 0x19], 2
jb 0x1000b0a0f
mov edx, 0x39
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x1000036a8]
mov rcx, qword [rcx + 0x10]
call fcn.10001e39c
cmp word [rsp + 0x60], r13w
je 0x1000b0a5a
mov rcx, qword [rsp + 0x38]
cmp rcx, r14
je 0x1000b0a4e
cmp rcx, r13
jne 0x1000b0a43
lea r8, [0x10000ba78]
mov edx, 0x3ad
lea rcx, [0x10000b078]
call fcn.10009a050
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.1000b3fb4
mov eax, ebx
jmp 0x1000b0a9d
mov word [rsp + 0x60], r13w
cmp dword [rsp + 0x48], r13d
jne 0x1000b0a81
mov rdx, rdi
mov rcx, rsi
call fcn.1000b264c
nop
lea rcx, [rsp + 0x30]
call fcn.1000b3fb4
xor eax, eax
jmp 0x1000b0a9d
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.10014e600
add rsp, 0x308
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret