Function at 0x140018135
Capabilities:
Delete file

Disassembly:
jmp 0x140027290
push rbp
push rdi
sub rsp, 0x3f8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x8e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140069380]
xor rax, rbp
mov qword [rbp + 0x3a0], rax
lea rcx, [0x1400740fe]
call fcn.1400181a8
xor ecx, ecx
call fcn.14002f2b0
mov qword [rbp + 0x398], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rbp + 0x398]
imul ecx, eax
mov eax, ecx
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
call fcn.140017a2d
movzx eax, al
test eax, eax
je 0x14002730d
mov rax, 0xffffffffffffffff
jmp 0x140027641
mov r8d, 0x64
xor edx, edx
lea rcx, [0x140069ae0]
call fcn.140017d66
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x14
idiv ecx
mov eax, edx
add eax, 0xa
mov dword [rbp + 4], eax
mov dword [rbp + 0x24], 0
jmp 0x140027348
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x24], eax
jge 0x140027381
call qword [sym.imp.ucrtbased.dll_rand]
cdqe
xor edx, edx
mov ecx, 0x34
div rcx
mov rax, rdx
lea rcx, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
movsxd rdx, dword [rbp + 0x24]
lea r8, [0x140069ae0]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
jmp 0x140027340
lea rcx, [rbp + 0x48]
call fcn.1400173c0
nop
lea rcx, [rbp + 0x48]
call fcn.140017bfe
movzx eax, al
test eax, eax
je 0x1400273bb
mov qword [rbp + 0x228], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140017f19
mov rax, qword [rbp + 0x228]
jmp 0x140027641
lea rcx, [rbp + 0x48]
call fcn.140017618
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__wremove]
mov r8d, 0x8708
lea rdx, [0x14004ae00]
lea rcx, [rbp + 0x48]
call fcn.140017564
movzx eax, al
test eax, eax
jne 0x14002740a
mov qword [rbp + 0x248], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140017f19
mov rax, qword [rbp + 0x248]
jmp 0x140027641
lea rcx, [rbp + 0x48]
call fcn.1400172df
movzx eax, al
test eax, eax
jne 0x14002744c
lea rcx, [rbp + 0x48]
call fcn.140017618
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__wremove]
mov qword [rbp + 0x268], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140017f19
mov rax, qword [rbp + 0x268]
jmp 0x140027641
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [0x140059448]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x140027498
cmp qword [rbp + 0x88], 0xffffffffffffffff
jne 0x1400274c4
mov rcx, qword [rbp + 0x88]
call fcn.140018063
mov qword [rbp + 0x288], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140017f19
mov rax, qword [rbp + 0x288]
jmp 0x140027641
lea rdx, [0x140059460]
lea rcx, [rbp + 0x2a8]
call fcn.14001780c
nop
lea rcx, [rbp + 0x2a8]
call fcn.140017131
mov qword [0x140069b48], rax
lea rcx, [rbp + 0x2a8]
call fcn.140017389
cmp qword [0x140069b48], 0
jne 0x14002752d
mov rcx, qword [rbp + 0x88]
call fcn.140018063
mov qword [rbp + 0x2e8], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140017f19
mov rax, qword [rbp + 0x2e8]
jmp 0x140027641
mov rcx, qword [rbp + 0x88]
call fcn.1400176e5
movzx eax, al
test eax, eax
jne 0x14002756c
mov rcx, qword [rbp + 0x88]
call fcn.140018063
mov qword [rbp + 0x308], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140017f19
mov rax, qword [rbp + 0x308]
jmp 0x140027641
mov rcx, qword [rbp + 0x88]
call fcn.14001816c
movzx eax, al
test eax, eax
jne 0x1400275ab
mov rcx, qword [rbp + 0x88]
call fcn.140018063
mov qword [rbp + 0x328], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140017f19
mov rax, qword [rbp + 0x328]
jmp 0x140027641
mov rcx, qword [rbp + 0x88]
call fcn.140017cad
movzx eax, al
test eax, eax
jne 0x1400275e7
mov rcx, qword [rbp + 0x88]
call fcn.140018063
mov qword [rbp + 0x348], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140017f19
mov rax, qword [rbp + 0x348]
jmp 0x140027641
mov rcx, qword [rbp + 0x88]
call fcn.1400179d8
movzx eax, al
test eax, eax
jne 0x140027623
mov rcx, qword [rbp + 0x88]
call fcn.140018063
mov qword [rbp + 0x368], 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.140017f19
mov rax, qword [rbp + 0x368]
jmp 0x140027641
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x388], rax
lea rcx, [rbp + 0x48]
call fcn.140017f19
mov rax, qword [rbp + 0x388]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400564d0]
call fcn.140017eab
mov rax, rdi
mov rcx, qword [rbp + 0x3a0]
xor rcx, rbp
call fcn.1400178b6
lea rsp, [rbp + 0x3b8]
pop rdi
pop rbp
ret