Function at 0x18000e000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbx
push rdi
push r12
sub rsp, 0x60
mov rax, qword [0x1800eb040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, qword [0x1800ec420]
mov qword [r11 + 8], rbp
mov qword [r11 + 0x18], r13
mov qword [r11 - 0x20], r14
mov eax, dword [rbx + 0x3f90]
mov qword [r11 - 0x28], r15
cmp dword [rbx + 0x3f94], eax
je 0x18000e044
call fcn.18000db90
mov r15d, dword [rbx + 0x3f9c]
xor r12d, r12d
mov edi, r12d
mov r13d, dword [rbx + 0x3f90]
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x30], r15d
mov dword [rbx + 0x3f9c], r13d
mov dword [rbx + 0xec], r12d
cmp dword [rbx + 0x5e70], r12d
jle 0x18000e0ad
mov esi, r12d
nop
mov rax, qword [rbx + 0x5e78]
cmp dword [rsi + rax + 4], 4
jne 0x18000e09f
movsxd rdx, edi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rsi + rax + 0x10]
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x5e70]
jl 0x18000e080
mov ebp, r12d
cmp dword [rbx + 0x4a30], r12d
je 0x18000e1a8
mov r14, r12
mov rax, qword [rbx + 0x4a38]
xor edx, edx
mov r15, qword [0x1800ec420]
mov rdi, qword [r14 + rax]
lea rsi, [rdi + 0xa8]
mov qword [rdi + 0x30], rsi
lea rcx, [rsi + 0x10]
lea rax, [rdi + 0xf8]
mov qword [rdi + 0xe8], rcx
mov qword [rdi + 0xf0], rax
call fcn.18002d1d0
mov rcx, qword [rdi + 0xf0]
xor edx, edx
call fcn.18002d1d0
mov ecx, dword [rdi + 4]
shr ecx, 0xc
mov byte [rsi], 1
mov qword [rsi + 4], r12
mov dword [rsi + 0xc], r12d
movsd xmm0, qword [rdi + 8]
movsd qword [rsi + 0x20], xmm0
and cl, 1
je 0x18000e132
mov qword [rsp + 0x34], r12
jmp 0x18000e13d
movsd xmm0, qword [rdi + 0x10]
movsd qword [rsp + 0x3c], xmm0
test cl, cl
lea rax, [rsp + 0x3c]
lea rdx, [rsp + 0x34]
cmovne rax, rdx
movsd xmm0, qword [rax]
movsd qword [rsi + 0x28], xmm0
movsd xmm1, qword [r15 + 0x50]
movsd qword [rsi + 0x30], xmm1
mov qword [rsi + 0x38], rdi
cmp qword [rdi + 0x98], r12
je 0x18000e191
lea r8, str.Background
xor edx, edx
mov rcx, rdi
call fcn.18000ac50
mov rdx, qword [rdi + 0xe8]
mov r8, rax
mov rcx, rsi
call fcn.180039880
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x4a30]
jne 0x18000e0c0
mov r15d, dword [rsp + 0x30]
mov rax, qword [rbx + 0x4c30]
test rax, rax
je 0x18000e1cd
test dword [rax + 0x14], 0x2000
jne 0x18000e1cd
mov r14, qword [rax + 0x3c8]
mov rbp, qword [rbx + 0x4c40]
jmp 0x18000e1e1
mov r14, r12
test rax, rax
je 0x18000e1de
mov rbp, qword [rbx + 0x4c40]
jmp 0x18000e1e1
mov rbp, r12
mov edi, r12d
cmp dword [rbx + 0x3fd8], r12d
je 0x18000e240
mov rsi, r12
mov rax, qword [rbx + 0x3fe0]
mov rcx, qword [rsi + rax]
cmp byte [rcx + 0xeb], r12b
je 0x18000e22b
cmp byte [rcx + 0xf2], r12b
jne 0x18000e22b
mov edx, dword [rcx + 0x14]
bt edx, 0x18
jb 0x18000e22b
cmp rcx, r14
je 0x18000e22b
cmp rcx, rbp
je 0x18000e22b
shr edx, 0x19
and edx, 1
call fcn.18000cf20
inc edi
add rsi, 8
cmp edi, dword [rbx + 0x3fd8]
jne 0x18000e1f0
nop dword [rax]
test r14, r14
je 0x18000e269
cmp byte [r14 + 0xeb], r12b
je 0x18000e269
cmp byte [r14 + 0xf2], r12b
jne 0x18000e269
mov edx, dword [r14 + 0x14]
mov rcx, r14
shr edx, 0x19
and edx, 1
call fcn.18000cf20
test rbp, rbp
je 0x18000e291
cmp byte [rbp + 0xeb], r12b
je 0x18000e291
cmp byte [rbp + 0xf2], r12b
jne 0x18000e291
mov edx, dword [rbp + 0x14]
mov rcx, rbp
shr edx, 0x19
and edx, 1
call fcn.18000cf20
cmp r15d, r13d
je 0x18000e29b
call fcn.18000d560
cmp byte [rbx + 0x60], r12b
je 0x18000e2c7
cmp r15d, r13d
je 0x18000e2c7
mov r8d, dword [rbx + 0x4df0]
cmp r8d, 0xffffffff
je 0x18000e2c7
movss xmm1, dword [rbx + 0x39a8]
mov rcx, qword [rbx + 0xe08]
call fcn.1800088c0
mov ebp, r12d
mov r13, qword [rsp + 0x90]
mov qword [rbx + 0xe4], r12
cmp dword [rbx + 0x4a30], r12d
jle 0x18000e47b
mov r15, r12
nop dword [rax]
mov rax, qword [rbx + 0x4a38]
mov rdi, qword [r15 + rax]
mov rcx, qword [rdi + 0xe8]
mov rax, qword [rdi + 0xf0]
movsxd r14, dword [rcx]
mov edx, dword [rax]
add edx, r14d
call fcn.18002d1d0
mov rsi, qword [rdi + 0xf0]
movsxd rax, dword [rsi]
test eax, eax
je 0x18000e34d
mov r8, rax
mov rax, qword [rdi + 0xe8]
shl r8, 3
mov rdx, qword [rax + 8]
lea rcx, [rdx + r14*8]
mov rdx, qword [rsi + 8]
call sub.VCRUNTIME140.dll_memcpy
xor edx, edx
mov rcx, rsi
call fcn.18002d1d0
cmp qword [rdi + 0xa0], r12
je 0x18000e3ee
lea r8, str.Foreground
mov edx, 1
mov rcx, rdi
call fcn.18000ac50
mov rsi, qword [rdi + 0xe8]
mov r14, rax
mov eax, dword [rax]
test eax, eax
je 0x18000e3ee
cmp eax, 1
jne 0x18000e393
mov rax, qword [r14 + 8]
cmp dword [rax + 0x20], r12d
jne 0x18000e393
cmp qword [rax + 0x28], r12
je 0x18000e3ee
mov ecx, dword [rsi + 4]
mov r8d, dword [rsi]
cmp r8d, ecx
jne 0x18000e3c7
inc r8d
test ecx, ecx
je 0x18000e3b0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18000e3b5
mov eax, 8
cmp eax, r8d
mov rcx, rsi
cmovg r8d, eax
mov edx, r8d
call fcn.18002cdf0
movsxd rcx, dword [rsi]
mov rax, qword [rsi + 8]
mov qword [rax + rcx*8], r14
inc dword [rsi]
inc dword [rdi + 0xac]
mov eax, dword [r14 + 0x20]
add dword [rdi + 0xb4], eax
mov eax, dword [r14 + 0x10]
add dword [rdi + 0xb0], eax
mov r9d, r12d
cmp dword [rdi + 0xb8], r12d
jle 0x18000e451
mov r10, r12
nop dword [rax]
mov rax, qword [rdi + 0xc0]
mov r8, qword [r10 + rax]
mov ecx, dword [r8]
test ecx, ecx
jle 0x18000e441
nop dword [rax]
nop word [rax + rax]
mov eax, ecx
imul rdx, rax, 0x38
mov rax, qword [r8 + 8]
cmp dword [rdx + rax - 0x18], r12d
jne 0x18000e441
cmp qword [rdx + rax - 0x10], r12
jne 0x18000e441
dec ecx
mov dword [r8], ecx
test ecx, ecx
jg 0x18000e420
inc r9d
add r10, 8
cmp r9d, dword [rdi + 0xb8]
jl 0x18000e400
mov eax, dword [rdi + 0xb4]
inc ebp
add dword [rbx + 0xe4], eax
add r15, 8
mov eax, dword [rdi + 0xb0]
add dword [rbx + 0xe8], eax
cmp ebp, dword [rbx + 0x4a30]
jl 0x18000e2f0
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
cmp dword [rbx + 0x5e70], r12d
jle 0x18000e4d0
mov rdi, r12
mov rax, qword [rbx + 0x5e78]
cmp dword [rdi + rax + 4], 5
jne 0x18000e4c0
movsxd rdx, r12d
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rdi + rax + 0x10]
inc r12d
add rdi, 0x20
cmp r12d, dword [rbx + 0x5e70]
jl 0x18000e4a1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800903f0
add rsp, 0x60
pop r12
pop rdi
pop rbx
ret