Function at 0x140016000
Capabilities:
Enumerate pe sections

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
sub rsp, 0x110
mov rax, qword [0x14012d010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbp, qword [0x14012deb0]
mov qword [r11 + 8], rdi
mov qword [r11 + 0x18], r13
mov qword [r11 - 0x28], r15
mov eax, dword [rbp + 0x1ca8]
movaps xmmword [r11 - 0x68], xmm9
movaps xmmword [r11 - 0x78], xmm10
movaps xmmword [r11 - 0x88], xmm11
cmp dword [rbp + 0x1cac], eax
je 0x14001605d
call fcn.140015b40
mov eax, dword [rbp + 0x1ca8]
xor esi, esi
mov dword [rbp + 0x1cb4], eax
mov ebx, esi
mov dword [rbp + 0x3a4], esi
cmp dword [rbp + 0x32e8], esi
jle 0x1400160ad
mov edi, esi
nop word [rax + rax]
mov rax, qword [rbp + 0x32f0]
cmp dword [rdi + rax + 4], 4
jne 0x14001609f
movsxd rdx, ebx
mov rcx, rbp
shl rdx, 5
add rdx, rax
call qword [rdi + rax + 0x10]
inc ebx
add rdi, 0x20
cmp ebx, dword [rbp + 0x32e8]
jl 0x140016080
mov r15d, esi
mov qword [rsp + 0x138], r12
mov r13d, 2
mov qword [rsp + 0x108], r14
cmp dword [rbp + 0x1f38], esi
je 0x14001614a
mov r12, rsi
mov rax, qword [rbp + 0x1f40]
mov rdi, r13
mov r14, qword [r12 + rax]
lea rbx, [r14 + 0xe0]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140016105
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.14002eb60
mov dword [rbx], esi
add rbx, 0x10
sub rdi, 1
jne 0x1400160e6
cmp qword [r14 + 0x98], rsi
je 0x14001613a
lea r8, str.Background
xor edx, edx
mov rcx, r14
call fcn.1400119e0
mov rdx, rax
lea rcx, [r14 + 0xe0]
call fcn.140015320
inc r15d
add r12, 8
cmp r15d, dword [rbp + 0x1f38]
jne 0x1400160d1
mov rax, qword [rbp + 0x2100]
test rax, rax
je 0x140016174
test dword [rax + 0xc], 0x2000
jne 0x140016174
mov r14, qword [rax + 0x390]
mov r15, qword [rbp + 0x2110]
mov qword [rsp + 0x50], r14
jmp 0x14001618d
mov qword [rsp + 0x50], rsi
mov r14, rsi
test rax, rax
je 0x14001618a
mov r15, qword [rbp + 0x2110]
jmp 0x14001618d
mov r15, rsi
mov ebx, esi
mov qword [rsp + 0x58], r15
cmp dword [rbp + 0x1cc8], esi
je 0x1400161e9
mov rdi, rsi
nop
mov rax, qword [rbp + 0x1cd0]
mov rcx, qword [rdi + rax]
cmp byte [rcx + 0xc7], sil
je 0x1400161db
cmp byte [rcx + 0xce], sil
jne 0x1400161db
mov edx, dword [rcx + 0xc]
bt edx, 0x18
jb 0x1400161db
cmp rcx, r14
je 0x1400161db
cmp rcx, r15
je 0x1400161db
shr edx, 0x19
and edx, 1
call fcn.1400153b0
inc ebx
add rdi, 8
cmp ebx, dword [rbp + 0x1cc8]
jne 0x1400161a0
lea rbx, [rsp + 0x50]
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x140016218
cmp byte [rcx + 0xc7], sil
je 0x140016218
cmp byte [rcx + 0xce], sil
jne 0x140016218
mov edx, dword [rcx + 0xc]
shr edx, 0x19
and edx, 1
call fcn.1400153b0
add rbx, 8
sub r13, 1
jne 0x1400161f0
xorps xmm9, xmm9
lea rbx, [rsp + 0x60]
xorps xmm11, xmm11
lea edi, [r13 + 4]
xorps xmm10, xmm10
mov rcx, rbx
call fcn.14000d710
add rbx, 8
sub rdi, 1
jne 0x140016237
cmp byte [rbp + 0xd0], sil
je 0x140016357
movsxd rax, dword [rbp + 0x2128]
cmp eax, 0xffffffff
je 0x140016357
cmp eax, 8
ja 0x140016357
mov r8, qword [rbp + 0xa8]
test byte [r8], 2
jne 0x140016357
movsxd rcx, dword [r8 + 0x484]
lea rdx, [rax + rax*2]
lea r9, [0x14012d130]
shl rcx, 5
add rcx, qword [r8 + 0x60]
movss xmm10, dword [r9 + rdx*8 + 8]
movss xmm11, dword [r9 + rdx*8 + 0xc]
movaps xmm2, xmm11
movzx eax, word [rcx + 4]
movd xmm4, eax
movzx eax, word [rcx + 6]
cvtdq2ps xmm4, xmm4
movd xmm3, eax
addss xmm4, dword [r9 + rdx*8]
cvtdq2ps xmm3, xmm3
movaps xmm1, xmm4
mulss xmm1, dword [r8 + 0x38]
addss xmm3, dword [r9 + rdx*8 + 4]
movaps xmm0, xmm3
addss xmm2, xmm3
mulss xmm0, dword [r8 + 0x3c]
movss dword [rsp + 0x60], xmm1
movaps xmm1, xmm10
addss xmm1, xmm4
addss xmm4, dword [0x140120a04]
movss dword [rsp + 0x64], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [r8 + 0x3c]
mulss xmm1, dword [r8 + 0x38]
movss dword [rsp + 0x6c], xmm0
movaps xmm0, xmm4
movss dword [rsp + 0x68], xmm1
mulss xmm0, dword [r8 + 0x38]
mulss xmm3, dword [r8 + 0x3c]
movss dword [rsp + 0x70], xmm0
movaps xmm0, xmm10
addss xmm0, xmm4
movss dword [rsp + 0x74], xmm3
mulss xmm2, dword [r8 + 0x3c]
mulss xmm0, dword [r8 + 0x38]
movss dword [rsp + 0x7c], xmm2
movss dword [rsp + 0x78], xmm0
mov r13d, esi
mov qword [rbp + 0x39c], rsi
cmp dword [rbp + 0x1f38], esi
jle 0x140016694
movaps xmmword [rsp + 0x90], xmm12
mov rcx, rsi
movss xmm12, dword [0x1401209a4]
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movaps xmmword [rsp + 0xd0], xmm8
mov qword [rsp + 0x48], rcx
mov rax, qword [rbp + 0x1f40]
mov r14, qword [rcx + rax]
lea rdi, [r14 + 0xe0]
movsxd r12, dword [rdi]
mov r15d, dword [rdi + 0x10]
mov ecx, dword [rdi + 4]
add r15d, r12d
cmp r15d, ecx
jle 0x1400163e9
test ecx, ecx
je 0x1400163d3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400163d8
mov eax, 8
cmp eax, r15d
mov edx, r15d
mov rcx, rdi
cmovg edx, eax
call fcn.14002eb60
mov dword [rdi], r15d
movsxd rax, dword [rdi + 0x10]
test eax, eax
je 0x14001642f
mov rdx, qword [rdi + 0x18]
mov r8, rax
mov rax, qword [rdi + 8]
shl r8, 3
lea rcx, [rax + r12*8]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rdi + 0x14]
test ecx, ecx
jns 0x14001642c
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x10]
test eax, eax
cmovg edx, eax
call fcn.14002eb60
mov dword [rdi + 0x10], esi
comiss xmm10, xmm9
jbe 0x1400164ec
comiss xmm11, xmm9
jbe 0x1400164ec
movss xmm8, dword [rbp + 0x124]
movaps xmm3, xmm10
movss xmm6, dword [rbp + 0x1708]
addss xmm3, xmm12
mulss xmm6, dword [r14 + 0x28]
movaps xmm1, xmm11
movss xmm4, dword [r14 + 0xc]
addss xmm1, xmm12
movss xmm5, dword [r14 + 8]
movaps xmm0, xmm4
addss xmm0, dword [r14 + 0x14]
movss xmm7, dword [rbp + 0x120]
movaps xmm2, xmm5
addss xmm2, dword [r14 + 0x10]
mulss xmm3, xmm6
comiss xmm0, xmm8
mulss xmm1, xmm6
addss xmm3, xmm7
addss xmm1, xmm8
jbe 0x1400164ec
comiss xmm1, xmm4
jbe 0x1400164ec
comiss xmm2, xmm7
jbe 0x1400164ec
comiss xmm3, xmm5
jbe 0x1400164ec
mov ebx, dword [rbp + 0x2128]
lea r8, str.Foreground
mov edx, 1
mov rcx, r14
call fcn.1400119e0
movaps xmm0, xmm7
mov r9d, ebx
unpcklps xmm0, xmm8
movaps xmm2, xmm6
movq rdx, xmm0
mov rcx, rax
call fcn.14003e530
cmp qword [r14 + 0xa0], rsi
je 0x140016579
lea r8, str.Foreground
mov edx, 1
mov rcx, r14
call fcn.1400119e0
mov rbx, rax
movsxd rcx, dword [rax]
test ecx, ecx
je 0x140016579
imul rdx, rcx, 0x38
lea eax, [rcx - 1]
mov rcx, qword [rbx + 8]
cmp dword [rdx + rcx - 0x18], esi
jne 0x140016537
cmp qword [rdx + rcx - 0x10], rsi
jne 0x140016537
mov dword [rbx], eax
mov ecx, eax
test eax, eax
je 0x140016579
mov ecx, dword [rdi + 4]
mov eax, dword [rdi]
cmp eax, ecx
jne 0x14001656c
lea r8d, [rax + 1]
test ecx, ecx
je 0x140016553
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140016558
mov eax, 8
cmp eax, r8d
mov rcx, rdi
cmovg r8d, eax
mov edx, r8d
call fcn.14002eb60
mov eax, dword [rdi]
movsxd rcx, eax
mov rax, qword [rdi + 8]
mov qword [rax + rcx*8], rbx
inc dword [rdi]
mov ecx, dword [r14 + 4]
lea rdx, [r14 + 0xa8]
mov r8, qword [0x14012deb0]
shr ecx, 0xa
mov qword [r14 + 0x30], rdx
and cl, 1
mov byte [rdx], 1
cmp dword [rdi], esi
jle 0x1400165a2
mov rax, qword [rdi + 8]
jmp 0x1400165a5
mov rax, rsi
mov qword [rdx + 0x10], rax
mov eax, dword [rdi]
mov dword [rdx + 4], eax
mov qword [rdx + 8], rsi
movsd xmm0, qword [r14 + 8]
movsd qword [rdx + 0x18], xmm0
test cl, cl
je 0x1400165cd
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x40]
jmp 0x1400165de
movsd xmm0, qword [r14 + 0x10]
lea rax, [rsp + 0x50]
movsd qword [rsp + 0x50], xmm0
movsd xmm0, qword [rax]
mov r11d, esi
movsd qword [rdx + 0x20], xmm0
movsd xmm1, qword [r8 + 0xc0]
movsd qword [rdx + 0x28], xmm1
mov qword [rdx + 0x30], r14
cmp dword [rdi], esi
jle 0x14001663e
mov r9d, esi
mov r10d, esi
mov r8, rsi
nop dword [rax]
mov rax, qword [rdi + 8]
lea r8, [r8 + 8]
inc r11d
mov rcx, qword [r8 + rax - 8]
add r10d, dword [rcx + 0x20]
mov dword [rdx + 0xc], r10d
mov rax, qword [rdi + 8]
mov rcx, qword [r8 + rax - 8]
add r9d, dword [rcx + 0x10]
mov dword [rdx + 8], r9d
cmp r11d, dword [rdi]
jl 0x140016610
mov rcx, qword [r14 + 0x30]
inc r13d
mov eax, dword [rcx + 0xc]
add dword [rbp + 0x39c], eax
mov eax, dword [rcx + 8]
mov rcx, qword [rsp + 0x48]
add dword [rbp + 0x3a0], eax
add rcx, 8
mov qword [rsp + 0x48], rcx
cmp r13d, dword [rbp + 0x1f38]
jl 0x1400163a0
movaps xmm12, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
movaps xmm11, xmmword [rsp + 0xa0]
movaps xmm10, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
mov r15, qword [rsp + 0x100]
mov r14, qword [rsp + 0x108]
mov r13, qword [rsp + 0x140]
mov r12, qword [rsp + 0x138]
mov rdi, qword [rsp + 0x130]
cmp dword [rbp + 0x32e8], esi
jle 0x14001670f
mov rbx, rsi
mov rax, qword [rbp + 0x32f0]
cmp dword [rbx + rax + 4], 5
jne 0x140016701
movsxd rdx, esi
mov rcx, rbp
shl rdx, 5
add rdx, rax
call qword [rbx + rax + 0x10]
inc esi
add rbx, 0x20
cmp esi, dword [rbp + 0x32e8]
jl 0x1400166e2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14010ea20
add rsp, 0x110
pop rsi
pop rbp
pop rbx
ret