Function at 0x14000b970
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x870
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140021020]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov rsi, rdx
mov r15, qword [0x140021d08]
test rdx, rdx
je 0x14000bb8c
mov rcx, rdx
call fcn.140009f40
mov r12, rax
lea rcx, str.State_Machine_event:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x1400199a4]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, r12
call fcn.140001f40
mov rbx, qword [r15 + 0xa8]
mov rcx, qword [r15 + 0xb0]
cmp rbx, rcx
je 0x14000bb74
mov eax, dword [r15 + 0xa0]
cmp eax, dword [rbx]
je 0x14000ba24
add rbx, 0x20
cmp rbx, rcx
jne 0x14000ba12
jmp 0x14000bb74
xor bpl, bpl
mov rdi, qword [rbx + 8]
cmp rdi, qword [rbx + 0x10]
je 0x14000bb37
mov eax, dword [rdi]
cmp dword [rsi + 8], eax
jne 0x14000ba91
mov bpl, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x28], rax
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x30]
call fcn.14000bca0
mov eax, dword [rdi + 0x28]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
sete al
test al, al
jne 0x14000baa1
mov rax, qword [rcx]
test rax, rax
je 0x14000ba81
mov rcx, rsi
call rax
test al, al
jne 0x14000baa1
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000ba91
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
add rdi, 0x30
cmp rdi, qword [rbx + 0x10]
je 0x14000bb32
jmp 0x14000ba35
mov r14, qword [rsp + 0x30]
mov rbx, r14
mov rbp, qword [rsp + 0x38]
cmp r14, rbp
je 0x14000bacc
mov rax, qword [rbx]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000bac3
mov rcx, rsi
call rdx
add rbx, 8
cmp rbx, rbp
jne 0x14000bab3
mov edx, dword [rdi + 0x28]
cmp dword [r15 + 0xa0], edx
je 0x14000bb22
mov dword [r15 + 0xa0], edx
call fcn.14000bbf0
mov rbx, rax
lea rcx, [0x1400199a8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x1400199a4]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, rbx
call fcn.140001f40
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_free]
nop
test r14, r14
je 0x14000bb74
mov rcx, r14
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
jmp 0x14000bb74
test bpl, bpl
jne 0x14000bb74
cmp qword [r15], 0
je 0x14000bb74
mov edx, dword [r15 + 0xa0]
call fcn.14000bbf0
mov rbx, rax
mov r9, r12
mov r8, rax
lea rdx, str.State_Machine_Error:_State:__s__Undefined_event:__s
lea rcx, [rsp + 0x60]
call fcn.140008000
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_free]
lea rcx, [rsp + 0x60]
call qword [r15]
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov rcx, r12
call qword [sym.imp.MSVCR110.dll_free]
jmp 0x14000bbc0
mov edx, dword [r15 + 0xa0]
call fcn.14000bbf0
mov rbx, rax
mov r8, rax
lea rdx, str.SM_Error:_State:__s__NULL_event
lea rcx, [rsp + 0x60]
call fcn.140008000
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_free]
lea rcx, [rsp + 0x60]
call qword [r15]
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140014550
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret