Function at 0x18005f150
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 [0x180163140]
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.180063f0c
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
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.180032de0
nop
lea rax, str..start
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], 6
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.180032de0
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.180037b94
jmp 0x18005f223
cmp word [rax], 0x5c
je 0x18005f21f
cmp word [rax], 0x2f
jne 0x18005f228
add rax, 2
cmp rax, rdx
jne 0x18005f213
cmp rax, rdx
je 0x18005f245
lea rcx, [rbx - 2]
cmp word [rcx], 0x5c
je 0x18005f245
cmp word [rcx], 0x2f
je 0x18005f245
mov rbx, rcx
cmp rax, rcx
jne 0x18005f22d
mov r8d, 0x3a
mov rcx, rbx
call fcn.1800a1310
mov rcx, rax
mov r9d, 0x2e
cmp rbx, rax
je 0x18005f286
add rax, 0xfffffffffffffffe
cmp rbx, rax
je 0x18005f286
cmp word [rax], r9w
jne 0x18005f2f5
lea rdx, [rax - 2]
cmp rbx, rdx
jne 0x18005f283
cmp word [rdx], r9w
je 0x18005f286
mov rcx, rax
sub rcx, rdi
sar rcx, 1
cmp qword [rbp - 0x31], rcx
jb 0x18005f402
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 0x18005f312
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rax, qword [rbp + 7]
cmp word [rax], r9w
je 0x18005f312
mov rcx, qword [rbp - 0x31]
cmp rcx, qword [rbp - 0x29]
jae 0x18005f300
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 0x18005f312
cmp word [rax], r9w
je 0x18005f283
sub rax, 2
cmp rbx, rax
jne 0x18005f2ef
jmp 0x18005f286
mov r8b, byte [rbp - 0x49]
mov edx, 1
lea rcx, [rbp - 0x41]
call fcn.18004e23c
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.180037e00
nop
lea rcx, [rbp + 7]
call fcn.180013d98
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.180060198
cmp qword [rax + 0x18], 0xf
jbe 0x18005f34e
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x18005f361
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0x1000
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x18005f39a
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, rbx
jb 0x18005f394
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005f408
call fcn.1800a40c0
nop
lea rcx, [rbp - 0x41]
call fcn.180013d98
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x18005f3d7
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, rbx
jb 0x18005f3d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005f3fc
call fcn.1800a40c0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800a40a0
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.1800aa574
nop
call fcn.180020ed0
nop
call fcn.1800aa574
int3