Function at 0x140056b10
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400e5250]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov r13, rdx
mov r15, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x28], 0
je 0x14005656f
cmp byte [rcx + 0x38], 0
je 0x14005656f
cmp byte [rdx + 0x50], 0
je 0x1400569c8
mov rax, qword [rdx + 0x48]
cmp qword [rcx + 0x30], rax
je 0x14005699d
mov byte [rcx + 0x28], 1
mov rax, qword [r15]
movups xmm0, xmmword [rdx + 0x48]
movups xmmword [rax + 0x30], xmm0
mov rax, qword [r15]
mov rcx, qword [rax + 0x40]
cmp byte [rcx + 0x498], 0
je 0x14005659a
mov byte [rcx + 0x498], 0
call fcn.1400142f0
mov rax, qword [r15]
mov rbx, qword [rax + 0x40]
mov rdx, r13
lea rcx, [rbp + 0x10]
call fcn.140001d70
mov rdx, rax
mov rcx, rbx
call fcn.140014990
mov rax, qword [r15]
mov rbx, qword [rax + 0x40]
mov rcx, qword [rbx + 0x550]
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
call qword [rax + 0x1e0]
movss xmm0, dword [rbp + 0x48]
addss xmm0, dword [rbx + 0x4c0]
addss xmm0, dword [rbx + 0x4c8]
call fcn.1400b1d54
cvttss2si eax, xmm0
mov ecx, dword [r13 + 0x28]
cmp eax, ecx
cmovle ecx, eax
mov rax, qword [r15]
mov rbx, qword [rax + 0x40]
cmp ecx, dword [rbx + 0x60]
jne 0x14005660c
cmp dword [rbx + 0x64], 1
je 0x140056655
mov edx, ecx
xor eax, eax
test ecx, ecx
cmovns eax, ecx
mov dword [rbx + 0x60], eax
mov dword [rbx + 0x64], 1
mov rax, qword [rbx + 8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + 0x2f0]
add rcx, 0xd8
lea rdx, [rbx + 0x10]
call fcn.1400611d0
mov byte [rbx + 0x18], 1
mov rax, qword [rbx]
mov r8d, dword [rbx + 0x64]
mov edx, dword [rbx + 0x60]
mov rcx, rbx
call qword [rax + 0xa0]
mov rax, qword [r15]
mov rcx, qword [rax + 0x40]
cmp byte [rcx + 0x498], 1
je 0x140056671
mov byte [rcx + 0x498], 1
call fcn.1400142f0
mov rax, qword [r15]
mov rbx, qword [rax + 0x40]
mov rcx, qword [rbx + 0x550]
mov rax, qword [rcx]
lea rdx, [rbp + 0x68]
call qword [rax + 0x1e0]
movss xmm0, dword [rbp + 0x70]
addss xmm0, dword [rbx + 0x4c0]
addss xmm0, dword [rbx + 0x4c8]
call fcn.1400b1d54
cvttss2si edi, xmm0
mov rax, qword [r15]
mov rbx, qword [rax + 0x40]
mov rcx, qword [rbx + 0x550]
mov rax, qword [rcx]
lea rdx, [rbp + 0x90]
call qword [rax + 0x1e0]
movss xmm0, dword [rbp + 0xa0]
addss xmm0, dword [rbx + 0x4c4]
addss xmm0, dword [rbx + 0x4cc]
call fcn.1400b1d54
cvttss2si r8d, xmm0
mov rax, qword [r15]
mov edx, edi
mov rcx, qword [rax + 0x40]
call fcn.14000e720
mov rax, qword [r15]
mov rbx, qword [rax + 0x40]
mov rax, qword [rbx + 0x320]
test rax, rax
je 0x14005670f
lock inc dword [rax + 8]
mov rcx, qword [rbx + 0x318]
mov qword [rbp - 0x48], rcx
mov rbx, qword [rbx + 0x320]
mov qword [rbp - 0x40], rbx
call fcn.140024f10
nop
mov r14d, 0xffffffff
test rbx, rbx
je 0x140056761
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140056761
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140056761
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [r15]
mov rcx, qword [rax + 0x10]
mov rcx, qword [rcx + 0x1f0]
mov rax, qword [rcx]
lea rdx, [rbp + 0x30]
call qword [rax + 0x60]
mov r8d, dword [r13 + 0x20]
sub r8d, dword [rbp + 0x30]
mov rax, qword [r15]
mov r10, qword [rax + 0x40]
mov r11d, dword [r13 + 0x24]
mov r9d, r11d
sub r9d, dword [r10 + 0x4c]
sub r9d, dword [rbp + 0x34]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + 0x2f0]
mov edx, 0x4004
mov eax, 0x4014
cmp byte [rcx + 0x31b], 0
cmovne edx, eax
sub r11d, r9d
add r11d, dword [rbp + 0x3c]
mov eax, dword [r10 + 0x48]
sub eax, r8d
add eax, dword [r13 + 0x20]
add eax, dword [rbp + 0x38]
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [r15]
mov rcx, qword [rax + 0x10]
mov rdi, qword [rcx + 0x2f0]
cmp byte [rdi + 0x301], 0
jne 0x140056801
mov byte [rdi + 0x300], 1
mov edx, 8
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rdi + 0x301], 0
jne 0x140056821
mov word [rdi + 0x300], 0x100
mov rbx, qword [r15]
mov rax, qword [rbx + 8]
mov rsi, qword [rax + 0x90]
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.140001d70
mov eax, dword [r13 + 0x20]
mov dword [rsp + 0x70], eax
mov eax, dword [r13 + 0x24]
mov dword [rsp + 0x74], eax
mov eax, dword [r13 + 0x28]
mov dword [rsp + 0x78], eax
movups xmm0, xmmword [r13 + 0x2c]
movups xmmword [rsp + 0x7c], xmm0
mov eax, dword [r13 + 0x3c]
mov dword [rbp - 0x74], eax
movzx eax, byte [r13 + 0x40]
mov byte [rbp - 0x70], al
movups xmm0, xmmword [r13 + 0x48]
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rbx
mov qword [rbp + 8], 0
mov ecx, 0x68
call fcn.1400860a0
mov rdi, rax
mov qword [rbp - 0x50], rax
lea rax, [0x1400cb470]
mov qword [rdi], rax
lea rdx, [rsp + 0x50]
lea rcx, [rdi + 8]
call fcn.140001d70
mov ecx, dword [rsp + 0x70]
mov dword [rdi + 0x28], ecx
mov ecx, dword [rsp + 0x74]
mov dword [rdi + 0x2c], ecx
mov ecx, dword [rsp + 0x78]
mov dword [rdi + 0x30], ecx
movups xmm0, xmmword [rsp + 0x7c]
movups xmmword [rdi + 0x34], xmm0
mov eax, dword [rbp - 0x74]
mov dword [rdi + 0x44], eax
movzx eax, byte [rbp - 0x70]
mov byte [rdi + 0x48], al
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rdi + 0x50], xmm0
mov rax, qword [rbp - 0x58]
mov qword [rdi + 0x60], rax
mov qword [rbp + 8], rdi
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140046d10
mov rcx, qword [r15]
add rcx, 0x50
mov rdx, rax
call fcn.140046ed0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140056979
mov rcx, rbx
call fcn.140043de0
lea rcx, [rbx + 0x70]
call fcn.1400629d8
lea rcx, [rbx + 0x58]
call fcn.1400471e0
lea rdx, [rbx + 0x18]
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x14005694f
mov rax, qword [rcx]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x50], 0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005696b
lock xadd dword [rcx + 0xc], r14d
cmp r14d, 1
jne 0x14005696b
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov edx, 0xc0
mov rcx, rbx
call fcn.1400861ac
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140056993
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x50]
call fcn.140001ec0
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.140086080
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.140003220
int3
add rcx, 8
jmp 0x140056510