Function at 0x4965a0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
mov rcx, qword [rbp + 0xb8]
call fcn.0040ab70
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xb0]
call fcn.0040b030
mov byte [rbp + 0x8f], 0
cmp qword [rbp + 0xb0], 0
je 0x496897
cmp qword [0x0052a698], 0
jne 0x496642
call fcn.00497e10
cmp qword [0x0052a698], 0
je 0x496897
nop
nop
lea rcx, [rbp + 0x80]
lea rdx, [0x004969c4]
call fcn.0040b0b0
lea rcx, [0x004969dc]
mov rdx, qword [rbp + 0xb8]
call fcn.0040c8b0
mov dword [rbp + 0x7c], eax
cmp dword [rbp + 0x7c], 0
jle 0x4966ab
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0xb8]
mov r8d, 1
mov r9d, dword [rbp + 0x7c]
sub r9d, 1
call fcn.0040c5e0
lea rcx, [rbp + 0xb8]
mov edx, 1
mov r8d, dword [rbp + 0x7c]
call fcn.0040c640
cmp qword [rbp + 0xb8], 0
jne 0x4966d8
mov rcx, qword [rbp + 0xb0]
mov dl, 1
call fcn.004812e0
lea rcx, [rbp + 0xb8]
mov edx, eax
mov r8d, 8
call fcn.00426ab0
mov rax, qword [0x0052a698]
mov rax, qword [rax + 0x10]
mov rcx, rax
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x80]
mov r9, qword [rbp + 0xb8]
mov qword [rsp + 0x20], 0
mov rbx, qword [rax]
call qword [rbx + 8]
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
call fcn.0048ac40
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x60]
call fcn.0040b030
mov rax, qword [0x0052a698]
cmp byte [rax + 0x23], 0
je 0x496792
lea rcx, [rbp + 0x50]
mov edx, 6
lea r8, [0x004969ec]
mov r9, qword [rbp + 0xb8]
lea rax, [0x00496a10]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [0x00496a10]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
call fcn.0040c500
mov rcx, qword [rbp + 0x50]
call fcn.0040bfb0
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
mov rax, qword [rbp + 0xc0]
cmp qword [rax], 0
jne 0x496806
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xb0]
call fcn.0040b030
mov rax, qword [0x0052a698]
cmp byte [rax + 0x21], 0
je 0x4967ee
mov rcx, qword [rbp + 0xc0]
mov edx, 3
mov r8, qword [rbp + 0xb8]
lea r9, [0x00496a24]
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
call fcn.0040c500
mov byte [rbp + 0x8f], 0
xor rcx, rcx
mov rdx, qword [rbp + 0x68]
call fcn.004968d0
jmp 0x496897
mov byte [rbp + 0x8f], 1
mov rax, qword [0x0052a698]
cmp byte [rax + 0x21], 0
je 0x496849
mov rcx, qword [rbp + 0xc0]
mov edx, 3
mov r8, qword [rbp + 0xb8]
lea r9, [0x00496a34]
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
call fcn.0040c500
lea rcx, [rbp + 0x80]
call fcn.0040a9e0
nop
mov rax, qword [0x0052a698]
cmp qword [rax + 0x28], 0
je 0x496896
lea rcx, [rbp + 0x48]
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rax]
mov rbx, qword [0x0052a698]
call qword [rbx + 0x28]
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x48]
call fcn.0040b030
jmp 0x496896
nop
lea rcx, [rbp + 0x48]
mov edx, 4
call fcn.0040aac0
lea rcx, [rbp + 0x80]
call fcn.0040a9e0
lea rcx, [rbp + 0xb8]
call fcn.0040a9e0
movzx rax, byte [rbp + 0x8f]
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret