Function at 0x15030f77c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x150012098]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x49]
call fcn.1503d43d4
nop
lea rax, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rax, qword [rbp - 0x19]
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 9]
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x39]
call fcn.1502c732c
nop
lea rax, [0x150174e28]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rdi
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.1502c732c
nop
lea rcx, [rbp - 0x39]
call fcn.1502d454c
cmp qword [rbp + 0x17], rdi
je 0x15030f861
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rax, qword [rbp + 7]
lea r9d, [rdi + 0x2e]
cmp word [rax], r9w
je 0x15030f861
mov rcx, qword [rbp - 0x29]
cmp rcx, qword [rbp - 0x21]
jae 0x15030f84f
lea rax, [rcx + 1]
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rax, qword [rbp - 0x39]
mov dword [rax + rcx*2], r9d
jmp 0x15030f861
mov r8b, byte [rbp - 0x59]
mov edx, 1
lea rcx, [rbp - 0x39]
call fcn.1502c7c38
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
lea rcx, [rbp - 0x39]
call fcn.1502c7f38
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x39]
call fcn.1502c78bc
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.1502ab584
mov ebx, 0x1000
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x15030f8d1
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, rbx
jb 0x15030f8cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x15030facf
call fcn.15040acc0
movdqa xmm0, xmmword [0x150270450]
movdqu xmmword [rbp + 0x37], xmm0
mov byte [rbp + 0x27], dil
lea rcx, [rbp + 7]
call fcn.1502c8328
nop
lea rcx, [rbp - 0x39]
call fcn.1502c8328
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 9]
sub rax, rcx
cmp rax, 2
jb 0x15030fad5
lea rax, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rax, qword [rbp - 0x19]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 2
lea r9, [0x15017ea1c]
lea rcx, [rbp - 0x39]
call fcn.1502d6494
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x15030f98c
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, rbx
jb 0x15030f987
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x15030fadb
call fcn.15040acc0
mov word [rbp - 0x2b], di
mov qword [rbp - 0x29], SafeArrayGetDim
mov qword [rbp - 0x21], reloc.OLEAUT32.dll_SafeArrayDestroy
movsd xmm0, qword [0x15017ea88]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x15017ea90]
mov dword [rbp - 0x31], eax
movzx eax, word [0x15017ea94]
mov word [rbp - 0x2d], ax
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x15030fa02
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, rbx
jb 0x15030f9fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x15030fae1
call fcn.15040acc0
mov word [rbp - 0x2b], di
mov qword [rbp - 0x29], SafeArrayGetDim
mov qword [rbp - 0x21], reloc.OLEAUT32.dll_SafeArrayDestroy
movsd xmm0, qword [0x15017ea78]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x15017ea80]
mov dword [rbp - 0x31], eax
movzx eax, word [0x15017ea84]
mov word [rbp - 0x2d], ax
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x15030fa75
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, rbx
jb 0x15030fa6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x15030fae7
call fcn.15040acc0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x15030faa8
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, rbx
jb 0x15030faa3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x15030fac9
call fcn.15040acc0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.15040aca0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.150419d24
nop
call fcn.150419d24
nop
call fcn.1502a7488
int3
call fcn.150419d24
int3
call fcn.150419d24
int3
call fcn.150419d24
int3