Function at 0x140001990
Capabilities:
Delete file

Disassembly:
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x150], rbx
mov rax, qword [0x1400190a0]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.1400015f0
nop
mov edx, 0x66
lea rcx, [rsp + 0x70]
call fcn.1400012b0
nop
mov edx, 0x67
lea rcx, [rbp - 0x10]
call fcn.1400012b0
nop
mov qword [rsp + 0x58], 7
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x40], bx
cmp word [section..sign], bx
jne 0x140001a0b
mov r8d, ebx
jmp 0x140001a20
lea rax, section..sign
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x140001a16
lea rcx, [rsp + 0x40]
call fcn.140002120
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x40]
call fcn.1400018b0
lea r8, str.p.exe
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.1400026b0
nop
lea r8, str.d1.exe
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.1400026b0
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rbx
mov byte [rsp + 0x40], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140001d10
nop
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x20]
call fcn.140001d10
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140001510
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x20]
call fcn.140001d10
lea rcx, [rsp + 0x20]
call fcn.140001410
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rbx
mov byte [rsp + 0x40], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140001d10
nop
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x20]
call fcn.140001d10
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140001510
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x20]
call fcn.140001d10
lea rcx, [rsp + 0x20]
call fcn.140001410
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dl, 1
lea rcx, [rbp - 0x70]
call fcn.1400015f0
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.140001710
cmp qword [rbp - 0x58], 0x10
jb 0x140001bfa
mov rcx, qword [rbp - 0x70]
call fcn.140002cb4
mov qword [rbp - 0x58], 0xf
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x70], 0
cmp qword [rbp - 0x38], 0x10
jb 0x140001c1a
mov rcx, qword [rbp - 0x50]
call fcn.140002cb4
mov qword [rbp - 0x38], 0xf
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x50], 0
cmp qword [rbp - 0x18], 0x10
jb 0x140001c3a
mov rcx, qword [rbp - 0x30]
call fcn.140002cb4
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x30], 0
cmp qword [rbp + 8], 0x10
jb 0x140001c5a
mov rcx, qword [rbp - 0x10]
call fcn.140002cb4
mov qword [rbp + 8], 0xf
mov qword [rbp], rbx
mov byte [rbp - 0x10], 0
cmp qword [rbp - 0x78], 0x10
jb 0x140001c7b
mov rcx, qword [rsp + 0x70]
call fcn.140002cb4
mov qword [rbp - 0x78], 0xf
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x70], 0
cmp qword [rbp + 0x28], 0x10
jb 0x140001c9c
mov rcx, qword [rbp + 0x10]
call fcn.140002cb4
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140002cd0
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rbp
ret