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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov r12d, edx
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
movss xmm2, dword [rcx + 0x18]
movss xmm1, dword [rcx + 0x14]
movss xmm0, dword [rcx + 0x10]
unpcklps xmm0, xmm1
movsd qword [rbp - 0x70], xmm0
movss dword [rbp - 0x68], xmm2
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x60]
call fcn.1800d95c0
cvttss2si r15d, dword [rbp - 0x5c]
cvttss2si r13d, dword [rbp - 0x60]
lea eax, [r13 - 1]
cmp eax, 0xf9f
jbe 0x18005270a
mov ecx, dword [0x180350c18]
call fcn.1800da930
lea eax, [r15 - 1]
cmp eax, 0xf9f
jbe 0x180052725
mov rcx, qword [0x180350c18]
shr rcx, 0x20
call fcn.1800da930
cmp dword [rdi + 0x94], 0
je 0x180052cbc
cmp byte [0x1803450fd], 0
je 0x180052b27
mov ecx, 0xf0
call fcn.1802846b0
mov rsi, rax
mov qword [rbp + 0xa0], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x20], 1
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], r14
mov qword [rax + 0x30], r14
mov dword [rax + 0x38], r14d
mov dword [rax + 0x3c], 0x3f800000
mov dword [rax + 0x40], 0x3f008081
mov dword [rax + 0x44], 0x3f800000
mov dword [rax + 0x48], 0x41a00000
mov dword [rax + 0x4c], 0x3f800000
mov dword [rax + 0x50], 5
mov word [rax + 0x54], 0
mov byte [rax + 0x56], 0
mov dword [rax + 0x58], r14d
mov qword [rax + 0x60], r14
mov qword [rax + 0x68], r14
movups xmmword [rax + 0x70], xmm0
mov qword [rax + 0x80], r14
mov qword [rax + 0x88], 0xf
mov byte [rax + 0x70], 0
mov dword [rsp + 0x20], 3
movups xmmword [rax + 0x90], xmm0
mov qword [rax + 0xa0], r14
mov qword [rax + 0xa8], 0xf
mov byte [rax + 0x90], 0
mov dword [rsp + 0x20], 7
movups xmmword [rax + 0xb0], xmm0
mov qword [rax + 0xc0], r14
mov qword [rax + 0xc8], 0xf
mov byte [rax + 0xb0], 0
mov dword [rsp + 0x20], 0xf
mov qword [rax + 0xd0], r14
mov qword [rax + 0xd8], r14
mov qword [rax + 0xe0], r14
mov dword [rsp + 0x20], 0x1f
mov byte [rax + 0xe8], 0
mov edx, dword [rdi + 0x9c]
lea rcx, [rbp + 0x30]
call fcn.1800471f0
mov rbx, rax
mov edx, dword [rdi + 0x98]
lea rcx, [rbp + 0x10]
call fcn.1800471f0
mov r14, rax
mov edx, dword [rdi + 0x94]
lea rcx, [rbp - 0x10]
call fcn.1800471f0
nop
lea r8, [rdi + 0x28]
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0xf
jbe 0x18005289c
mov r8, qword [r8]
xor edx, edx
mov rcx, rax
call fcn.180009390
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0xf
mov byte [rax], cl
mov dword [rsp + 0x20], 0x3f
mov r9, r14
lea r8, [rsp + 0x28]
lea rcx, [rbp - 0x30]
call fcn.18005d250
mov dword [rsp + 0x20], 0x7f
mov r9, rbx
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.18005d250
mov ebx, 0xff
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.180008760
btr ebx, 7
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x18005295d
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052958
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052958
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180284a64
xor r14d, r14d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], r14b
and ebx, 0xffffffbf
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1800529b5
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800529b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800529b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180284a64
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
and ebx, 0xffffffdf
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x180052a0c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052a07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052a07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180284a64
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x180052a5d
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052a58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052a58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180284a64
mov qword [rbp], r14
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x180052aab
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052aa6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052aa6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180284a64
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x180052af9
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052af4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180052af4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180284a64
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
mov rax, qword [rdi]
mov qword [rsi + 0x60], rax
mov rax, qword [rdi + 8]
mov qword [rsi + 0x68], rax
mov dword [rsi + 0x50], 0xa
mov rdx, rsi
call fcn.180067e10
lea rdx, str.DoAction_Player_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18000b990
lea rsi, [rdi + 0x28]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x180052b4b
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.18005d620
lea rdx, [0x18000bb70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rbx, qword [0x18034f928]
mov rax, qword [0x18034f930]
cmp rbx, rax
je 0x180052b9a
nop word [rax + rax]
cmp byte [rbx + 0x40], 0
jne 0x180052b8d
cmp qword [rbx + 0x38], 0
je 0x180052bd7
add rbx, 0x48
cmp rbx, rax
jne 0x180052b80
lea rsi, [rdi + 0x28]
lea rdx, str.Push_D_A_Q:_Que_full
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18000b990
lea rdx, [0x18000bb70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rdi + 0x48]
call fcn.180008a30
nop
mov rcx, rsi
call fcn.180008a30
mov al, 1
jmp 0x180052cd1
lea rax, [0x180350f20]
mov qword [rbp + 0xa0], rax
lea rcx, [rbp + 0xa0]
call fcn.1800dbdd0
mov ecx, eax
lea rcx, [rcx + rcx*4]
add rcx, rcx
cmp ecx, 5
ja 0x180052c1a
nop
lea rcx, [rbp + 0xa0]
call fcn.1800dbdd0
mov ecx, eax
lea rcx, [rcx + rcx*4]
add rcx, rcx
cmp ecx, 6
jb 0x180052c00
shr rcx, 0x20
add ecx, 2
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rdi + 0x94]
mov qword [rbp - 0x80], r14
lea rcx, vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__void____cdecl___int__int__int__int__int__int__int__int__int___int__int__int____ptr64__int____ptr64__int__int__int__int____ptr64__int____ptr64___void___.0
mov qword [rsp + 0x48], rcx
lea rcx, [0x18004cf10]
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], r15d
mov dword [rsp + 0x5c], r13d
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x74], 0xffffffff
mov dword [rsp + 0x78], 1
lea rax, [rsp + 0x48]
mov qword [rbp - 0x80], rax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.18005f050
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x180052caf
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x80], r14
mov byte [rbx + 0x40], 1
lea rsi, [rdi + 0x28]
jmp 0x180052bbe
lea rcx, [rdi + 0x48]
call fcn.180008a30
nop
lea rcx, [rdi + 0x28]
call fcn.180008a30
xor al, al
mov rbx, qword [rsp + 0x198]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret