Function at 0x140004530
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push r14
push r15
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor r15d, r15d
lea rdx, [rbp - 0x70]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
lea rax, [rbp - 0x70]
movups xmmword [rsp + 0x40], xmm0
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], r15b
jne 0x140004580
movabs r14, 0x7fffffffffffffff
cmp rbx, r14
ja 0x140004af4
mov qword [rsp + 0x1e0], rsi
mov qword [rsp + 0x1e8], rdi
mov qword [rsp + 0x1f0], r12
mov r12d, socket
mov qword [rsp + 0x1b0], r13
movabs r13, 0x8000000000000000
cmp rbx, 0x10
jae 0x1400045fb
mov r8, rbx
mov qword [rsp + 0x50], rbx
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x58], send
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x40], r15b
jmp 0x140004687
mov rdi, rbx
or rdi, 0xf
cmp rdi, r14
jbe 0x140004629
mov rdi, r14
lea rax, [r13 + 0x27]
mov rcx, rax
call fcn.140006070
test rax, rax
je 0x14000464c
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140004665
cmp rdi, r12
cmovb rdi, r12
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140004653
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004ae8
jmp 0x14000460e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140004662
call fcn.140006070
mov rsi, rax
jmp 0x140004665
mov rsi, r15
mov r8, rbx
mov qword [rsp + 0x40], rsi
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x50], rbx
mov rcx, rsi
mov qword [rsp + 0x58], rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], r15b
mov rdx, qword [0x14000c068]
cmp rdx, 0x10
jb 0x1400046c8
mov rcx, qword [0x14000c050]
inc rdx
cmp rdx, 0x1000
jb 0x1400046c3
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400047ad
mov rcx, r8
call fcn.1400060ac
movups xmm0, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x68]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [0x14000c050], xmm0
movups xmmword [0x14000c060], xmm1
call fcn.140004b00
lea rsi, [0x14000c070]
mov rbx, rax
cmp rsi, rax
je 0x140004773
mov rdx, qword [0x14000c088]
cmp rdx, 0x10
jb 0x140004736
mov rcx, qword [0x14000c070]
inc rdx
cmp rdx, 0x1000
jb 0x140004731
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400047a6
mov rcx, r8
call fcn.1400060ac
mov qword [0x14000c080], r15
mov qword [0x14000c088], 0xf
mov byte [0x14000c070], r15b
movups xmm0, xmmword [rbx]
movups xmmword [0x14000c070], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x14000c080], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], send
mov byte [rbx], r15b
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400047b9
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047b4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400060ac
cmp qword [0x14000c088], 0x10
xorps xmm0, xmm0
mov rdi, qword [0x14000c080]
cmovae rsi, qword [0x14000c070]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
movups xmmword [rsp + 0x40], xmm0
cmp rdi, r14
ja 0x140004afa
mov qword [rsp + 0x58], send
cmp rdi, 0x10
jae 0x14000480c
mov qword [rsp + 0x50], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x40], xmm0
jmp 0x140004891
mov rbx, rdi
or rbx, 0xf
cmp rbx, r14
jbe 0x140004841
mov rbx, r14
lea rax, [r13 + 0x27]
mov rcx, rax
call fcn.140006070
mov rcx, rax
test rax, rax
je 0x14000495a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140004873
cmp rbx, r12
cmovb rbx, r12
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140004864
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004aee
jmp 0x14000481f
test rcx, rcx
je 0x140004870
call fcn.140006070
jmp 0x140004873
mov rax, r15
lea r8, [rdi + 1]
mov qword [rsp + 0x40], rax
mov rdx, rsi
mov qword [rsp + 0x50], rdi
mov rcx, rax
mov qword [rsp + 0x58], rbx
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140004eb0
lea rdi, [0x14000c090]
mov rbx, rax
cmp rdi, rax
je 0x140004927
mov rdx, qword [0x14000c0a8]
cmp rdx, 0x10
jb 0x1400048ec
mov rcx, qword [0x14000c090]
inc rdx
cmp rdx, 0x1000
jb 0x1400048e7
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000495a
mov rcx, r8
call fcn.1400060ac
movdqa xmm0, xmmword [0x140008a40]
movdqu xmmword [0x14000c0a0], xmm0
mov byte [0x14000c090], r15b
movups xmm0, xmmword [rbx]
movups xmmword [0x14000c090], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x14000c0a0], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], send
mov byte [rbx], r15b
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140004966
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004961
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004961
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400060ac
mov rcx, qword [0x14000cad0]
movdqa xmm0, xmmword [0x140008a40]
mov byte [rsp + 0x68], r15b
movdqu xmmword [rsp + 0x78], xmm0
test rcx, rcx
je 0x140004999
cmp byte [rcx], r15b
je 0x140004999
cmp byte [0x14000cac3], r15b
je 0x140004999
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
movzx eax, byte [0x14000cac2]
test al, al
je 0x140004aa5
cmp byte [0x14000cac4], r15b
jne 0x140004aa5
cmp byte [0x14000cac3], r15b
je 0x140004a80
mov rcx, qword [0x14000c060]
sub r14, rcx
cmp r14, 2
jb 0x140004ae2
cmp qword [0x14000c068], 0x10
lea rax, [0x14000c050]
mov qword [rsp + 0x30], rcx
lea r9, [0x1400089a4]
cmovae rax, qword [0x14000c050]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 2
call fcn.1400041f0
cmp qword [rsp + 0x58], 0x10
lea rcx, [rsp + 0x40]
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rdx, qword [rsp + 0x58]
mov rbx, rax
cmp rdx, 0x10
jb 0x140004a6b
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a66
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400060ac
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], send
mov byte [rsp + 0x40], r15b
jmp 0x140004a83
mov rbx, r15
cmp qword [0x14000c0a8], 0x10
mov rdx, rbx
cmovae rdi, qword [0x14000c090]
mov rcx, rdi
call fcn.140005060
movzx eax, byte [0x14000cac2]
mov r12, qword [rsp + 0x1f0]
mov rdi, qword [rsp + 0x1e8]
mov rsi, qword [rsp + 0x1e0]
mov r13, qword [rsp + 0x1b0]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140006050
add rsp, 0x1b8
pop r15
pop r14
pop rbx
pop rbp
ret
call fcn.1400014c0
int3
call fcn.140001420
int3
call fcn.140001420
int3
call fcn.1400014c0
int3
call fcn.1400014c0
int3