Function at 0x180060818
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x18015f100]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor esi, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x19], rax
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x19]
call fcn.180064f04
nop
lea rax, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0xf
cmova rax, qword [rbp + 0x27]
mov qword [rbp - 0x19], rax
mov rax, qword [rbp + 0x37]
mov qword [rbp - 0x11], rax
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.180035050
nop
lea rax, str..start
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], 6
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.180035050
nop
lea rdi, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rdi, qword [rbp - 0x41]
mov rax, qword [rbp - 0x31]
lea rdx, [rdi + rax*2]
mov rbx, rdx
mov rcx, rdi
call fcn.180039e10
jmp 0x1800608d9
cmp word [rax], 0x5c
je 0x1800608d5
cmp word [rax], 0x2f
jne 0x1800608de
add rax, 2
cmp rax, rdx
jne 0x1800608c9
cmp rax, rdx
je 0x1800608fb
lea rcx, [rbx - 2]
cmp word [rcx], 0x5c
je 0x1800608fb
cmp word [rcx], 0x2f
je 0x1800608fb
mov rbx, rcx
cmp rax, rcx
jne 0x1800608e3
mov r8d, 0x3a
mov rcx, rbx
call fcn.18009cb00
mov rcx, rax
mov r9d, 0x2e
cmp rbx, rax
je 0x18006093c
add rax, 0xfffffffffffffffe
cmp rbx, rax
je 0x18006093c
cmp word [rax], r9w
jne 0x1800609ab
lea rdx, [rax - 2]
cmp rbx, rdx
jne 0x180060939
cmp word [rdx], r9w
je 0x18006093c
mov rcx, rax
sub rcx, rdi
sar rcx, 1
cmp qword [rbp - 0x31], rcx
jb 0x180060ab8
mov qword [rbp - 0x31], rcx
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rax, qword [rbp - 0x41]
mov word [rax + rcx*2], si
cmp qword [rbp + 0x17], rsi
je 0x1800609c8
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rax, qword [rbp + 7]
cmp word [rax], r9w
je 0x1800609c8
mov rcx, qword [rbp - 0x31]
cmp rcx, qword [rbp - 0x29]
jae 0x1800609b6
lea rax, [rcx + 1]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rax, qword [rbp - 0x41]
mov dword [rax + rcx*2], gethostbyname
jmp 0x1800609c8
cmp word [rax], r9w
je 0x180060939
sub rax, 2
cmp rbx, rax
jne 0x1800609a5
jmp 0x18006093c
mov r8b, byte [rbp - 0x49]
mov edx, 1
lea rcx, [rbp - 0x41]
call fcn.1800562cc
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
lea rcx, [rbp - 0x41]
call fcn.18003a080
nop
lea rcx, [rbp + 7]
call fcn.180013b6c
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.180061860
cmp qword [rax + 0x18], 0xf
jbe 0x180060a04
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x180060a17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0x1000
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x180060a50
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, rbx
jb 0x180060a4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180060abe
call fcn.18009f350
nop
lea rcx, [rbp - 0x41]
call fcn.180013b6c
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x180060a8d
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, rbx
jb 0x180060a88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180060ab2
call fcn.18009f350
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18009f330
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1800a665c
nop
call fcn.180021b94
nop
call fcn.1800a665c
int3