Function at 0x140090fb0
Capabilities:
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x3a8
mov rax, qword [0x1401970c0]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov dword [rsp + 0x3c], 0
mov r8d, 0x104
lea rdx, [rsp + 0x180]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0xe8]
call fcn.14001afe0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xe8]
call fcn.14009e3e0
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0xe8]
call fcn.140099460
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xc8]
call fcn.140059170
nop
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x50], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x140178a75]
lea rcx, [rsp + 0xc8]
call fcn.1400a0500
inc rax
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x39]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x108]
call fcn.14006e540
mov eax, dword [rsp + 0x3c]
or eax, 1
mov dword [rsp + 0x3c], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
lea rax, [rsp + 0x140]
lea rcx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ
mov rdi, rax
mov rsi, rcx
mov ecx, 0x3f
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
add eax, 8
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x34], 0
jmp 0x140091150
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x34], eax
jge 0x14009118b
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x3e
idiv ecx
mov eax, edx
cdqe
movzx eax, byte [rsp + rax + 0x140]
mov byte [rsp + 0x30], al
movsxd rax, dword [rsp + 0x34]
movzx ecx, byte [rsp + 0x30]
mov byte [rsp + rax + 0x128], cl
jmp 0x140091146
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0x14
jae 0x14009119f
jmp 0x1400911a4
call fcn.140163d94
mov rax, qword [rsp + 0x58]
mov byte [rsp + rax + 0x128], 0
lea r8, str..exe
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x128]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rax, [rsp + 0x108]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x18], 0xf
jbe 0x1400911f8
mov dword [rsp + 0x44], 1
jmp 0x140091200
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14009122f
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
lea rcx, [rsp + 0x108]
call fcn.140022630
nop
lea rcx, [rsp + 0xc8]
call fcn.140022630
nop
lea rcx, [rsp + 0xe8]
call fcn.140022740
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.140163a00
add rsp, 0x3a8
pop rdi
pop rsi
ret