Function at 0x1400162f0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x14012d010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rsi, qword [0x14012de10]
mov qword [r11 + 8], rbp
mov qword [r11 + 0x18], r13
mov qword [r11 - 0x28], r15
mov eax, dword [rsi + 0x1ca8]
movaps xmmword [r11 - 0x68], xmm9
movaps xmmword [r11 - 0x78], xmm10
movaps xmmword [r11 - 0x88], xmm11
cmp dword [rsi + 0x1cac], eax
je 0x140016347
call fcn.140015df0
mov eax, dword [rsi + 0x1ca8]
xor edi, edi
mov ebx, edi
mov dword [rsi + 0x1cb4], eax
mov dword [rsi + 0x3a4], edi
cmp dword [rsi + 0x32e8], edi
jle 0x14001639d
mov ebp, edi
nop word [rax + rax]
mov rax, qword [rsi + 0x32f0]
cmp dword [rax + rbp + 4], 4
jne 0x14001638f
movsxd rdx, ebx
mov rcx, rsi
shl rdx, 5
add rdx, rax
call qword [rax + rbp + 0x10]
inc ebx
add rbp, 0x20
cmp ebx, dword [rsi + 0x32e8]
jl 0x140016370
mov r15d, edi
mov qword [rsp + 0x138], r12
mov r13d, 2
mov qword [rsp + 0x108], r14
cmp dword [rsi + 0x1f38], edi
je 0x14001643a
mov r12, rdi
mov rax, qword [rsi + 0x1f40]
mov rbp, r13
mov r14, qword [r12 + rax]
lea rbx, [r14 + 0xe0]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x1400163f5
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.14002ec50
mov dword [rbx], edi
add rbx, 0x10
sub rbp, 1
jne 0x1400163d6
cmp qword [r14 + 0x98], rdi
je 0x14001642a
lea r8, str.Background
xor edx, edx
mov rcx, r14
call fcn.140011dc0
mov rdx, rax
lea rcx, [r14 + 0xe0]
call fcn.140015620
inc r15d
add r12, 8
cmp r15d, dword [rsi + 0x1f38]
jne 0x1400163c1
mov rax, qword [rsi + 0x2100]
test rax, rax
je 0x140016464
test dword [rax + 0xc], 0x2000
jne 0x140016464
mov r14, qword [rax + 0x390]
mov r15, qword [rsi + 0x2110]
mov qword [rsp + 0x58], r14
jmp 0x14001647d
mov qword [rsp + 0x58], rdi
mov r14, rdi
test rax, rax
je 0x14001647a
mov r15, qword [rsi + 0x2110]
jmp 0x14001647d
mov r15, rdi
mov ebp, edi
mov qword [rsp + 0x60], r15
cmp dword [rsi + 0x1cc8], edi
je 0x1400164d9
mov rbx, rdi
nop
mov rax, qword [rsi + 0x1cd0]
mov rcx, qword [rbx + rax]
cmp byte [rcx + 0xc7], dil
je 0x1400164cb
cmp byte [rcx + 0xce], dil
jne 0x1400164cb
mov edx, dword [rcx + 0xc]
bt edx, 0x18
jb 0x1400164cb
cmp rcx, r14
je 0x1400164cb
cmp rcx, r15
je 0x1400164cb
shr edx, 0x19
and edx, 1
call fcn.1400156b0
inc ebp
add rbx, 8
cmp ebp, dword [rsi + 0x1cc8]
jne 0x140016490
lea rbx, [rsp + 0x58]
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x140016508
cmp byte [rcx + 0xc7], dil
je 0x140016508
cmp byte [rcx + 0xce], dil
jne 0x140016508
mov edx, dword [rcx + 0xc]
shr edx, 0x19
and edx, 1
call fcn.1400156b0
add rbx, 8
sub r13, 1
jne 0x1400164e0
xorps xmm9, xmm9
lea rax, [rsp + 0x68]
xorps xmm11, xmm11
xorps xmm10, xmm10
mov ecx, 4
nop dword [rax + rax]
mov qword [rax], rdi
lea rax, [rax + 8]
sub rcx, 1
jne 0x140016530
cmp byte [rsi + 0xd0], dil
je 0x140016651
movsxd rax, dword [rsi + 0x2128]
cmp eax, 0xffffffff
je 0x140016651
cmp eax, 8
ja 0x140016651
mov r8, qword [rsi + 0xa8]
test byte [r8], 2
jne 0x140016651
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 + 0x68], xmm1
movaps xmm1, xmm10
addss xmm1, xmm4
addss xmm4, dword [0x140120a10]
movss dword [rsp + 0x6c], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [r8 + 0x3c]
mulss xmm1, dword [r8 + 0x38]
movss dword [rsp + 0x74], xmm0
movaps xmm0, xmm4
movss dword [rsp + 0x70], xmm1
mulss xmm0, dword [r8 + 0x38]
mulss xmm3, dword [r8 + 0x3c]
movss dword [rsp + 0x78], xmm0
movaps xmm0, xmm10
addss xmm0, xmm4
movss dword [rsp + 0x7c], xmm3
mulss xmm2, dword [r8 + 0x3c]
mulss xmm0, dword [r8 + 0x38]
movss dword [rsp + 0x84], xmm2
movss dword [rsp + 0x80], xmm0
mov r13d, edi
mov qword [rsi + 0x39c], rdi
cmp dword [rsi + 0x1f38], edi
jle 0x1400169a4
movaps xmmword [rsp + 0x90], xmm12
mov rcx, rdi
movss xmm12, dword [0x1401209b0]
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movaps xmmword [rsp + 0xd0], xmm8
mov qword [rsp + 0x50], rcx
nop word [rax + rax]
mov rax, qword [rsi + 0x1f40]
mov rbp, qword [rcx + rax]
lea r14, [rbp + 0xe0]
movsxd r12, dword [r14]
mov r15d, dword [r14 + 0x10]
mov ecx, dword [r14 + 4]
add r15d, r12d
cmp r15d, ecx
jle 0x1400166ea
test ecx, ecx
je 0x1400166d4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400166d9
mov eax, 8
cmp eax, r15d
mov edx, r15d
mov rcx, r14
cmovg edx, eax
call fcn.14002ec50
mov dword [r14], r15d
movsxd rax, dword [r14 + 0x10]
test eax, eax
je 0x140016732
mov rdx, qword [r14 + 0x18]
mov r8, rax
mov rax, qword [r14 + 8]
shl r8, 3
lea rcx, [rax + r12*8]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [r14 + 0x14]
test ecx, ecx
jns 0x14001672e
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [r14 + 0x10]
test eax, eax
cmovg edx, eax
call fcn.14002ec50
mov dword [r14 + 0x10], edi
comiss xmm10, xmm9
jbe 0x1400167ef
comiss xmm11, xmm9
jbe 0x1400167ef
movss xmm1, dword [rsi + 0x124]
movaps xmm3, xmm10
movss xmm5, dword [rsi + 0x120]
addss xmm3, xmm12
movss xmm6, dword [rsi + 0x1708]
movaps xmm2, xmm11
mulss xmm6, dword [rbp + 0x28]
addss xmm2, xmm12
movss xmm7, dword [rbp + 0xc]
movss xmm8, dword [rbp + 8]
movaps xmm0, xmm7
addss xmm0, dword [rbp + 0x14]
mulss xmm3, xmm6
movaps xmm4, xmm8
addss xmm4, dword [rbp + 0x10]
mulss xmm2, xmm6
comiss xmm0, xmm1
addss xmm3, xmm5
movss dword [rsp + 0x40], xmm5
addss xmm2, xmm1
movss dword [rsp + 0x44], xmm1
jbe 0x1400167ef
comiss xmm2, xmm7
jbe 0x1400167ef
comiss xmm4, xmm5
jbe 0x1400167ef
comiss xmm3, xmm8
jbe 0x1400167ef
mov ebx, dword [rsi + 0x2128]
lea r8, str.Foreground
mov edx, 1
mov rcx, rbp
call fcn.140011dc0
mov rdx, qword [rsp + 0x40]
mov r9d, ebx
movaps xmm2, xmm6
mov rcx, rax
call fcn.14003ec80
cmp qword [rbp + 0xa0], rdi
je 0x14001687d
lea r8, str.Foreground
mov edx, 1
mov rcx, rbp
call fcn.140011dc0
mov rbx, rax
movsxd rcx, dword [rax]
test ecx, ecx
je 0x14001687d
imul rdx, rcx, 0x38
lea eax, [rcx - 1]
mov rcx, qword [rbx + 8]
cmp dword [rdx + rcx - 0x18], edi
jne 0x14001683a
cmp qword [rdx + rcx - 0x10], rdi
jne 0x14001683a
mov dword [rbx], eax
mov ecx, eax
test eax, eax
je 0x14001687d
mov ecx, dword [r14 + 4]
mov r8d, dword [r14]
cmp r8d, ecx
jne 0x14001686f
inc r8d
test ecx, ecx
je 0x140016858
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001685d
mov eax, 8
cmp eax, r8d
mov rcx, r14
cmovg r8d, eax
mov edx, r8d
call fcn.14002ec50
movsxd rcx, dword [r14]
mov rax, qword [r14 + 8]
mov qword [rax + rcx*8], rbx
inc dword [r14]
mov ecx, dword [rbp + 4]
lea rdx, [rbp + 0xa8]
mov r8, qword [0x14012de10]
shr ecx, 0xa
mov qword [rbp + 0x30], rdx
and cl, 1
mov byte [rdx], 1
cmp dword [r14], edi
jle 0x1400168a6
mov rax, qword [r14 + 8]
jmp 0x1400168a9
mov rax, rdi
mov qword [rdx + 0x10], rax
mov eax, dword [r14]
mov dword [rdx + 4], eax
mov qword [rdx + 8], rdi
movsd xmm0, qword [rbp + 8]
movsd qword [rdx + 0x18], xmm0
test cl, cl
je 0x1400168cc
mov qword [rsp + 0x48], rdi
jmp 0x1400168d7
movsd xmm0, qword [rbp + 0x10]
movsd qword [rsp + 0x58], xmm0
test cl, cl
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x48]
mov r11d, edi
cmovne rax, r9
movsd xmm0, qword [rax]
movsd qword [rdx + 0x20], xmm0
movsd xmm1, qword [r8 + 0xc0]
movsd qword [rdx + 0x28], xmm1
mov qword [rdx + 0x30], rbp
cmp dword [r14], edi
jle 0x14001694e
mov r9d, edi
mov r10d, edi
mov r8, rdi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r14 + 8]
lea r8, [r8 + 8]
inc r11d
mov rcx, qword [r8 + rax - 8]
add r9d, dword [rcx + 0x20]
mov dword [rdx + 0xc], r9d
mov rax, qword [r14 + 8]
mov rcx, qword [r8 + rax - 8]
add r10d, dword [rcx + 0x10]
mov dword [rdx + 8], r10d
cmp r11d, dword [r14]
jl 0x140016920
mov rcx, qword [rbp + 0x30]
inc r13d
mov eax, dword [rcx + 0xc]
add dword [rsi + 0x39c], eax
mov eax, dword [rcx + 8]
mov rcx, qword [rsp + 0x50]
add dword [rsi + 0x3a0], eax
add rcx, 8
mov qword [rsp + 0x50], rcx
cmp r13d, dword [rsi + 0x1f38]
jl 0x1400166a0
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 rbp, qword [rsp + 0x130]
cmp dword [rsi + 0x32e8], edi
jle 0x140016a1f
mov rbx, rdi
mov rax, qword [rsi + 0x32f0]
cmp dword [rbx + rax + 4], 5
jne 0x140016a11
movsxd rdx, edi
mov rcx, rsi
shl rdx, 5
add rdx, rax
call qword [rbx + rax + 0x10]
inc edi
add rbx, 0x20
cmp edi, dword [rsi + 0x32e8]
jl 0x1400169f2
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14010e990
add rsp, 0x110
pop rdi
pop rsi
pop rbx
ret