Function at 0x14001f290
Capabilities:
Enumerate pe sections

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
sub rsp, 0x110
mov rax, qword [0x1400af010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbp, qword [0x140133d70]
mov qword [r11 + 8], rdi
mov qword [r11 + 0x10], r12
mov qword [r11 + 0x18], r13
mov eax, dword [rbp + 0x1c90]
mov qword [r11 - 0x20], r14
movaps xmmword [r11 - 0x68], xmm9
movaps xmmword [r11 - 0x78], xmm10
movaps xmmword [r11 - 0x88], xmm11
cmp dword [rbp + 0x1c94], eax
je 0x14001f2f1
call fcn.14001ed20
mov eax, dword [rbp + 0x1c90]
xor esi, esi
mov dword [rbp + 0x1c9c], eax
mov ebx, esi
mov dword [rbp + 0x3a8], esi
cmp dword [rbp + 0x3240], esi
jle 0x14001f33d
mov edi, esi
nop dword [rax + rax]
mov rax, qword [rbp + 0x3248]
cmp dword [rdi + rax + 4], 4
jne 0x14001f32f
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 + 0x3240]
jl 0x14001f310
mov r12d, esi
mov qword [rsp + 0x100], r15
mov r14d, 2
cmp dword [rbp + 0x1ef0], esi
je 0x14001f453
mov r13, rsi
nop dword [rax]
mov rax, qword [rbp + 0x1ef8]
mov edi, 2
mov r15, qword [rax + r13]
lea r14, [r15 + 0xe0]
mov rbx, r14
nop word [rax + rax]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x14001f39f
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.140037a20
mov dword [rbx], esi
add rbx, 0x10
sub rdi, 1
jne 0x14001f380
cmp qword [r15 + 0x98], rsi
je 0x14001f439
lea r8, str.Background
xor edx, edx
mov rcx, r15
call fcn.14001ae40
mov rbx, rax
movsxd rcx, dword [rax]
test ecx, ecx
je 0x14001f439
imul rdx, rcx, 0x38
lea eax, [rcx - 1]
mov rcx, qword [rbx + 8]
cmp dword [rdx + rcx - 0x18], esi
jne 0x14001f3f3
cmp qword [rdx + rcx - 0x10], rsi
jne 0x14001f3f3
mov dword [rbx], eax
mov ecx, eax
test eax, eax
je 0x14001f439
mov ecx, dword [r14 + 4]
mov eax, dword [r14]
cmp eax, ecx
jne 0x14001f42b
lea r8d, [rax + 1]
test ecx, ecx
je 0x14001f411
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001f416
mov eax, 8
cmp eax, r8d
mov rcx, r14
cmovg r8d, eax
mov edx, r8d
call fcn.140037a20
mov eax, dword [r14]
movsxd rcx, eax
mov rax, qword [r14 + 8]
mov qword [rax + rcx*8], rbx
inc dword [r14]
inc r12d
add r13, 8
cmp r12d, dword [rbp + 0x1ef0]
jne 0x14001f360
mov r14d, 2
mov rax, qword [rbp + 0x2080]
test rax, rax
je 0x14001f47d
test dword [rax + 0xc], 0x2000
jne 0x14001f47d
mov r15, qword [rax + 0x3d8]
mov r12, qword [rbp + 0x2090]
mov qword [rsp + 0x50], r15
jmp 0x14001f496
mov qword [rsp + 0x50], rsi
mov r15, rsi
test rax, rax
je 0x14001f493
mov r12, qword [rbp + 0x2090]
jmp 0x14001f496
mov r12, rsi
mov ebx, esi
mov qword [rsp + 0x58], r12
cmp dword [rbp + 0x1cb8], esi
je 0x14001f4f9
mov rdi, rsi
nop dword [rax + rax]
mov rax, qword [rbp + 0x1cc0]
mov rcx, qword [rdi + rax]
cmp byte [rcx + 0xcf], sil
je 0x14001f4eb
cmp byte [rcx + 0xd6], sil
jne 0x14001f4eb
mov edx, dword [rcx + 0xc]
bt edx, 0x18
jb 0x14001f4eb
cmp rcx, r15
je 0x14001f4eb
cmp rcx, r12
je 0x14001f4eb
shr edx, 0x19
and edx, 1
call fcn.14001e550
inc ebx
add rdi, 8
cmp ebx, dword [rbp + 0x1cb8]
jne 0x14001f4b0
lea rbx, [rsp + 0x50]
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001f528
cmp byte [rcx + 0xcf], sil
je 0x14001f528
cmp byte [rcx + 0xd6], sil
jne 0x14001f528
mov edx, dword [rcx + 0xc]
shr edx, 0x19
and edx, 1
call fcn.14001e550
add rbx, 8
sub r14, 1
jne 0x14001f500
xorps xmm9, xmm9
lea rbx, [rsp + 0x60]
xorps xmm11, xmm11
lea edi, [r14 + 4]
xorps xmm10, xmm10
mov rcx, rbx
call fcn.140016a00
add rbx, 8
sub rdi, 1
jne 0x14001f547
cmp byte [rbp + 0xcf], sil
je 0x14001f667
movsxd rax, dword [rbp + 0x20d0]
cmp eax, 0xffffffff
je 0x14001f667
cmp eax, 8
ja 0x14001f667
mov r8, qword [rbp + 0xa8]
test byte [r8], 2
jne 0x14001f667
movsxd rcx, dword [r8 + 0x484]
lea rdx, [rax + rax*2]
lea r9, [0x140133050]
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 [0x1400a3868]
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 + 0x3a0], rsi
cmp dword [rbp + 0x1ef0], esi
jle 0x14001f9a4
movaps xmmword [rsp + 0x90], xmm12
mov rcx, rsi
movss xmm12, dword [0x1400a3770]
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movaps xmmword [rsp + 0xd0], xmm8
mov qword [rsp + 0x48], rcx
mov rax, qword [rbp + 0x1ef8]
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 0x14001f6f9
test ecx, ecx
je 0x14001f6e3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001f6e8
mov eax, 8
cmp eax, r15d
mov edx, r15d
mov rcx, rdi
cmovg edx, eax
call fcn.140037a20
mov dword [rdi], r15d
movsxd rax, dword [rdi + 0x10]
test eax, eax
je 0x14001f73f
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 0x14001f73c
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.140037a20
mov dword [rdi + 0x10], esi
comiss xmm10, xmm9
jbe 0x14001f7fc
comiss xmm11, xmm9
jbe 0x14001f7fc
movss xmm8, dword [rbp + 0x124]
movaps xmm3, xmm10
movss xmm6, dword [rbp + 0x16ec]
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 0x14001f7fc
comiss xmm1, xmm4
jbe 0x14001f7fc
comiss xmm2, xmm7
jbe 0x14001f7fc
comiss xmm3, xmm5
jbe 0x14001f7fc
mov ebx, dword [rbp + 0x20d0]
lea r8, str.Foreground
mov edx, 1
mov rcx, r14
call fcn.14001ae40
movaps xmm0, xmm7
mov r9d, ebx
unpcklps xmm0, xmm8
movaps xmm2, xmm6
movq rdx, xmm0
mov rcx, rax
call fcn.140047950
cmp qword [r14 + 0xa0], rsi
je 0x14001f889
lea r8, str.Foreground
mov edx, 1
mov rcx, r14
call fcn.14001ae40
mov rbx, rax
movsxd rcx, dword [rax]
test ecx, ecx
je 0x14001f889
imul rdx, rcx, 0x38
lea eax, [rcx - 1]
mov rcx, qword [rbx + 8]
cmp dword [rdx + rcx - 0x18], esi
jne 0x14001f847
cmp qword [rdx + rcx - 0x10], rsi
jne 0x14001f847
mov dword [rbx], eax
mov ecx, eax
test eax, eax
je 0x14001f889
mov ecx, dword [rdi + 4]
mov eax, dword [rdi]
cmp eax, ecx
jne 0x14001f87c
lea r8d, [rax + 1]
test ecx, ecx
je 0x14001f863
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001f868
mov eax, 8
cmp eax, r8d
mov rcx, rdi
cmovg r8d, eax
mov edx, r8d
call fcn.140037a20
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 [0x140133d70]
shr ecx, 0xa
mov qword [r14 + 0x30], rdx
and cl, 1
mov byte [rdx], 1
cmp dword [rdi], esi
jle 0x14001f8b2
mov rax, qword [rdi + 8]
jmp 0x14001f8b5
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 0x14001f8dd
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x40]
jmp 0x14001f8ee
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 0x14001f94e
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 0x14001f920
mov rcx, qword [r14 + 0x30]
inc r13d
mov eax, dword [rcx + 0xc]
add dword [rbp + 0x3a0], eax
mov eax, dword [rcx + 8]
mov rcx, qword [rsp + 0x48]
add dword [rbp + 0x3a4], eax
add rcx, 8
mov qword [rsp + 0x48], rcx
cmp r13d, dword [rbp + 0x1ef0]
jl 0x14001f6b0
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 + 0x3240], esi
jle 0x14001fa1f
mov rbx, rsi
mov rax, qword [rbp + 0x3248]
cmp dword [rbx + rax + 4], 5
jne 0x14001fa11
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 + 0x3240]
jl 0x14001f9f2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140071fd0
add rsp, 0x110
pop rsi
pop rbp
pop rbx
ret