Function at 0x180074410
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 [0x1801850b8]
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.18007cbe0
nop
lea rax, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae 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.18003a28c
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.18003a28c
nop
lea rdi, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rdi, qword [rbp - 0x41]
mov rax, qword [rbp - 0x31]
lea rdx, [rdi + rax*2]
mov rbx, rdx
mov rcx, rdi
call fcn.18003f0b0
jmp 0x1800744d1
cmp word [rax], 0x5c
je 0x1800744cd
cmp word [rax], 0x2f
jne 0x1800744d6
add rax, 2
cmp rax, rdx
jne 0x1800744c1
cmp rax, rdx
je 0x1800744f3
lea rcx, [rbx - 2]
cmp word [rcx], 0x5c
je 0x1800744f3
cmp word [rcx], 0x2f
je 0x1800744f3
mov rbx, rcx
cmp rax, rcx
jne 0x1800744db
mov r8d, 0x3a
mov rcx, rbx
call fcn.1800b9470
mov rcx, rax
mov r9d, 0x2e
cmp rbx, rax
je 0x180074534
add rax, 0xfffffffffffffffe
cmp rbx, rax
je 0x180074534
cmp word [rax], r9w
jne 0x1800745a3
lea rdx, [rax - 2]
cmp rbx, rdx
jne 0x180074531
cmp word [rdx], r9w
je 0x180074534
mov rcx, rax
sub rcx, rdi
sar rcx, 1
cmp qword [rbp - 0x31], rcx
jb 0x1800746b0
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rax, qword [rbp - 0x41]
mov qword [rbp - 0x31], rcx
mov word [rax + rcx*2], si
cmp qword [rbp + 0x17], rsi
je 0x1800745c0
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rax, qword [rbp + 7]
cmp word [rax], r9w
je 0x1800745c0
mov rcx, qword [rbp - 0x31]
cmp rcx, qword [rbp - 0x29]
jae 0x1800745ae
lea rax, [rcx + 1]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rax, qword [rbp - 0x41]
mov dword [rax + rcx*2], gethostbyname
jmp 0x1800745c0
cmp word [rax], r9w
je 0x180074531
sub rax, 2
cmp rbx, rax
jne 0x18007459d
jmp 0x180074534
mov r8b, byte [rbp - 0x49]
mov edx, 1
lea rcx, [rbp - 0x41]
call fcn.180054e24
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
lea rcx, [rbp - 0x41]
call fcn.18003f31c
nop
lea rcx, [rbp + 7]
call fcn.18001a938
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.18007544c
cmp qword [rax + 0x18], 0x10
jb 0x1800745fc
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x18007460f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0x1000
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x180074648
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, rbx
jb 0x180074642
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800746b6
call fcn.1800bbd50
nop
lea rcx, [rbp - 0x41]
call fcn.18001a938
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x180074685
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, rbx
jb 0x180074680
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800746aa
call fcn.1800bbd50
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800bbd30
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.1800c2db4
nop
call fcn.18001d014
nop
call fcn.1800c2db4
int3