Function at 0x140005030
Capabilities:
Delete file

Disassembly:
jmp 0x140005180
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140037038]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
cmp byte [rcx + 0x60], 0
jne 0x140005213
lea r14, section..data
mov rcx, qword [section..data]
cmp rcx, r14
je 0x14000520c
test dword [rcx + 0x1c], 0x80000
je 0x14000520c
cmp byte [rcx + 0x19], 4
jb 0x14000520c
add rsi, 8
cmp qword [rsi + 0x18], 8
jb 0x1400051eb
mov rsi, qword [rsi]
mov edx, 0x1c
mov qword [rsp + 0x20], rsi
lea r9, [0x14002497c]
lea r8, [0x140024b30]
mov rcx, qword [rcx + 0x10]
call fcn.140001c80
xor eax, eax
jmp 0x1400055fb
lea r14, section..data
mov rcx, qword [section..data]
cmp rcx, r14
je 0x140005264
test dword [rcx + 0x1c], 0x80000
je 0x140005264
cmp byte [rcx + 0x19], 4
jb 0x140005264
lea rax, [rsi + 8]
cmp qword [rax + 0x18], 8
jb 0x140005243
mov rax, qword [rax]
mov edx, 0x1d
mov qword [rsp + 0x20], rax
lea r9, [0x14002497c]
lea r8, [0x140024b30]
mov rcx, qword [rcx + 0x10]
call fcn.140001c80
mov edx, 0x4e20
mov rcx, qword [rsi + 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400052cf
mov rcx, qword [section..data]
cmp rcx, r14
je 0x1400052c5
test dword [rcx + 0x1c], 0x80000
je 0x1400052c5
cmp byte [rcx + 0x19], 3
jb 0x1400052c5
add rsi, 8
cmp qword [rsi + 0x18], 8
jb 0x1400052a0
mov rsi, qword [rsi]
mov edx, 0x1e
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
lea r9, [0x14002497c]
lea r8, [0x140024b30]
mov rcx, qword [rcx + 0x10]
call fcn.1400056e0
mov eax, 0x80004005
jmp 0x1400055fb
mov byte [rsi + 0x60], 0
lea r15, [rsi + 0x40]
mov r13, qword [r15 + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r13
cmp rax, 2
jb 0x14000562e
cmp qword [r15 + 0x18], 8
jb 0x1400052ff
mov r15, qword [r15]
xor edi, edi
mov qword [rbp - 0x19], rdi
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
lea rax, [r13 + 2]
mov ebx, 7
lea r12, [rbp - 0x19]
cmp rax, rbx
jbe 0x140005377
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x140005330
mov rbx, rcx
jmp 0x14000533c
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140005634
lfence
add rcx, rcx
call fcn.140001020
mov r12, rax
mov qword [rbp - 0x19], rax
lea rax, [r13 + 2]
mov qword [rbp - 9], rax
mov qword [rbp - 1], rbx
lea rbx, [r13*2]
mov r8, rbx
mov rdx, r15
mov rcx, r12
call fcn.1400125f0
mov dword [rbx + r12], 0x5c005c
mov word [r12 + r13*2 + 4], di
add rsi, 8
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400053b4
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x19]
call fcn.140005650
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x21]
mov rax, r8
sub rax, rdx
cmp rax, 4
jb 0x14000542c
lea rcx, [rdx + 4]
mov qword [rbp - 0x29], rcx
lea rax, [rbp - 0x39]
cmp r8, 8
cmovae rax, qword [rbp - 0x39]
movabs r8, 0x6b006e006c002e
mov qword [rax + rdx*2], r8
mov word [rax + rcx*2], di
lea rax, [rbp - 0x39]
jmp 0x14000544f
lfence
mov qword [rsp + 0x20], 4
lea r9, str..lnk
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp - 0x39]
call fcn.140004270
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x1400054ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000563a
call fcn.140010f9c
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], di
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x1400054fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005640
call fcn.140010f9c
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005577
mov rax, qword [section..data]
cmp rax, r14
je 0x140005570
test dword [rax + 0x1c], 0x80000
je 0x140005570
cmp byte [rax + 0x19], 4
jb 0x140005570
lea rbx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rbx, qword [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x1f
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
lea r9, [0x14002497c]
lea r8, [0x140024b30]
mov rcx, qword [section..data]
mov rcx, qword [rcx + 0x10]
call fcn.140001d40
mov edi, 0x80004005
jmp 0x1400055bd
mov rcx, qword [section..data]
cmp rcx, r14
je 0x1400055bd
test dword [rcx + 0x1c], 0x80000
je 0x1400055bd
cmp byte [rcx + 0x19], 4
jb 0x1400055bd
cmp qword [rsi + 0x18], 8
jb 0x14000559c
mov rsi, qword [rsi]
mov edx, 0x20
mov qword [rsp + 0x20], rsi
lea r9, [0x14002497c]
lea r8, [0x140024b30]
mov rcx, qword [rcx + 0x10]
call fcn.140001c80
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400055f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005628
call fcn.140010f9c
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140011030
lea r11, [rsp + 0xa0]
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
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call fcn.1400025c0
int3
call fcn.140001bd0
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3