Function at 0x180028ea8
Capabilities:
Check for time delay via gettickcount
Create directory
Delete directory
Get common file path
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x330
mov rax, qword [0x180058020]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov r14, qword [0x180058050]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
lea r13d, [r15 + 0xf]
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x50], r15b
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r13
mov byte [rsp + 0x70], r15b
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r13
mov byte [rbp - 0x50], r15b
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r13
mov byte [rbp - 0x70], r15b
lea rdx, [rbp + 0x110]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rax, [rbp + 0x110]
or rsi, 0xffffffffffffffff
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], r15b
jne 0x180028f67
mov r12d, 0x10
cmp rdi, qword [rsp + 0x68]
ja 0x180028faa
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], r12
cmovae rbx, qword [rsp + 0x50]
mov qword [rsp + 0x60], rdi
mov r8, rdi
lea rdx, [rbp + 0x110]
mov rcx, rbx
call sub.ucrtbase.dll_memmove
mov byte [rbx + rdi], r15b
jmp 0x180028fbe
lea r9, [rbp + 0x110]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180002554
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x180051a48]
movups xmmword [rbp - 0x20], xmm1
mov ecx, dword [0x180051a58]
mov dword [rbp - 0x10], ecx
mov cl, byte [0x180051a5c]
mov byte [rbp - 0xc], cl
mov r9d, r15d
mov ebx, 1
test eax, eax
jns 0x180029005
neg r8d
mov byte [rbp], 0x2d
mov r9d, ebx
mov r10d, r9d
mov r11d, r9d
mov eax, 0xcccccccd
mul r8d
shr edx, 3
lea eax, [rdx + rdx*4]
add eax, eax
sub r8d, eax
mov cl, byte [rbp + r8 - 0x30]
mov byte [rbp + r10], cl
inc r9d
add r10, rbx
mov r8d, edx
test edx, edx
jne 0x180029008
movsxd rax, r9d
mov byte [rbp + rax], r15b
cmp byte [rbp], 0x2d
jne 0x180029048
mov r8, rbx
jmp 0x18002904e
mov r11d, r9d
mov r8, r15
lea eax, [r11 - 1]
cdq
sub eax, edx
sar eax, 1
movsxd r9, eax
cmp r8, r9
jg 0x180029080
sub r10, r8
lea rdx, [rbp + r10 - 1]
mov cl, byte [rbp + r8]
mov al, byte [rdx]
mov byte [rbp + r8], al
mov byte [rdx], cl
add r8, rbx
sub rdx, rbx
cmp r8, r9
jle 0x180029067
lea rax, [rbp]
inc rsi
cmp byte [rax + rsi], r15b
jne 0x180029084
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
sub rax, rcx
cmp rsi, rax
ja 0x1800290d0
lea rax, [rcx + rsi]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], r12
cmovae rbx, qword [rsp + 0x50]
add rbx, rcx
mov r8, rsi
lea rdx, [rbp]
mov rcx, rbx
call sub.ucrtbase.dll_memcpy
mov byte [rsi + rbx], r15b
jmp 0x1800290e6
mov qword [rsp + 0x20], rsi
lea r9, [rbp]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.18002c6f0
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r12
cmovae rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdi, qword [rsp + 0x60]
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], r12
cmovae r9, qword [rsp + 0x50]
cmp rdi, qword [rbp - 0x78]
ja 0x180029143
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], r12
cmovae rbx, qword [rsp + 0x70]
mov qword [rbp - 0x80], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.ucrtbase.dll_memmove
mov byte [rdi + rbx], r15b
jmp 0x180029151
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.180002554
nop
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r15b
mov dword [rsp + 0x30], 2
mov edx, 6
lea rcx, [rbp - 0x30]
call fcn.18002bda0
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], r12
cmovae rcx, qword [rbp - 0x30]
mov dword [rcx], 0xd9eb0868
mov word [rcx + 4], 0xcecf
mov byte [rcx + 6], 0x61
mov edx, 7
mov r8d, 0xacfe45d4
call fcn.1800146c4
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x70]
call fcn.18002bb54
nop
mov esi, 0x1000
mov rdx, qword [rbp - 0x18]
cmp rdx, r12
jb 0x1800291f2
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x1800291ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800291ed
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004975c
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], r12
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdi, qword [rsp + 0x60]
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], r12
cmovae r9, qword [rsp + 0x50]
cmp rdi, qword [rbp - 0x38]
ja 0x18002924c
lea rbx, [rbp - 0x50]
cmp qword [rbp - 0x38], r12
cmovae rbx, qword [rbp - 0x50]
mov qword [rbp - 0x40], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.ucrtbase.dll_memmove
mov byte [rbx + rdi], r15b
jmp 0x180029259
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.180002554
nop
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r15b
mov dword [rsp + 0x30], 9
mov edx, 0x13
lea rcx, [rbp - 0x30]
call fcn.18002bda0
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], r12
cmovae rcx, qword [rbp - 0x30]
mov dword [rcx], 0xb9233aea
mov dword [rcx + 4], 0x61fb11aa
mov dword [rcx + 8], 0x8dc1dbeb
mov dword [rcx + 0xc], 0x1de7e493
mov dword [rcx + 0x10], 0xc413c0f3
mov edx, 0x14
mov r8d, 0x38042057
call fcn.1800146c4
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.18002bb54
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, r12
jb 0x180029306
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x180029301
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180029301
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004975c
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], r12
cmovae rdx, qword [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_MoveFileA]
mov rdi, qword [rsp + 0x60]
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], r12
cmovae r9, qword [rsp + 0x50]
cmp rdi, qword [rbp - 0x58]
ja 0x18002935c
lea rbx, [rbp - 0x70]
cmp qword [rbp - 0x58], r12
cmovae rbx, qword [rbp - 0x70]
mov qword [rbp - 0x60], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.ucrtbase.dll_memmove
mov byte [rbx + rdi], r15b
jmp 0x180029369
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.180002554
nop
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r15b
mov dword [rsp + 0x30], 0x25
mov edx, 0xe
lea rcx, [rbp - 0x30]
call fcn.18002bda0
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], r12
cmovae rcx, qword [rbp - 0x30]
mov dword [rcx], 0xaa2192db
mov dword [rcx + 4], 0x85e02e44
mov dword [rcx + 8], 0x9f2c187f
mov word [rcx + 0xc], 0xfd25
mov byte [rcx + 0xe], 0x43
mov r8d, 0x2b414ac3
mov rdx, r13
call fcn.1800146c4
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.18002bb54
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, r12
jb 0x180029410
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x18002940b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002940b
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004975c
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], r12
cmovae rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], r12
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r12
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r12
jb 0x180029482
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, rsi
jb 0x18002947d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002947d
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004975c
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r13
mov byte [rbp - 0x70], r15b
mov rdx, qword [rbp - 0x38]
cmp rdx, r12
jb 0x1800294c7
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, rsi
jb 0x1800294c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800294c2
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004975c
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r13
mov byte [rbp - 0x50], r15b
mov rdx, qword [rbp - 0x78]
cmp rdx, r12
jb 0x18002950d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, rsi
jb 0x180029508
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180029508
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004975c
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r13
mov byte [rsp + 0x70], r15b
mov rdx, qword [rsp + 0x68]
cmp rdx, r12
jb 0x180029555
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, rsi
jb 0x180029550
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180029550
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004975c
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1800492b0
lea r11, [rsp + 0x330]
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