Function at 0x497260
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.0040ab90
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xb0]
call fcn.0040b050
mov byte [rbp + 0x8f], 0
cmp qword [rbp + 0xb0], 0
je 0x497569
cmp qword [0x00532b40], 0
jne 0x497302
call fcn.00498c80
cmp qword [0x00532b40], 0
je 0x497569
nop
nop
lea rcx, [rbp + 0x80]
lea rdx, [0x004976a4]
call fcn.0040b0d0
lea rcx, [0x004976bc]
mov rdx, qword [rbp + 0xb8]
call fcn.0040cc00
mov dword [rbp + 0x7c], eax
cmp dword [rbp + 0x7c], 0
jle 0x49736b
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0xb8]
mov r8d, 1
mov r9d, dword [rbp + 0x7c]
sub r9d, 1
call fcn.0040c930
lea rcx, [rbp + 0xb8]
mov edx, 1
mov r8d, dword [rbp + 0x7c]
call fcn.0040c990
cmp qword [rbp + 0xb8], 0
jne 0x497398
mov rcx, qword [rbp + 0xb0]
mov dl, 1
call fcn.0048b3a0
lea rcx, [rbp + 0xb8]
mov edx, eax
mov r8d, 8
call fcn.00426ee0
mov rax, qword [0x00532b40]
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.0048c0d0
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x60]
call fcn.0040b050
mov rax, qword [0x00532b40]
cmp byte [rax + 0x23], 0
je 0x497452
lea rcx, [rbp + 0x50]
mov edx, 6
lea r8, [0x004976cc]
mov r9, qword [rbp + 0xb8]
lea rax, [0x004976f0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [0x004976f0]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
call fcn.0040c850
mov rcx, qword [rbp + 0x50]
call fcn.0040c300
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
mov rax, qword [rbp + 0xc0]
cmp qword [rax], 0
jne 0x4974c6
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xb0]
call fcn.0040b050
mov rax, qword [0x00532b40]
cmp byte [rax + 0x21], 0
je 0x4974ae
mov rcx, qword [rbp + 0xc0]
mov edx, 3
mov r8, qword [rbp + 0xb8]
lea r9, [0x00497704]
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
call fcn.0040c850
mov byte [rbp + 0x8f], 0
xor rcx, rcx
mov rdx, qword [rbp + 0x68]
call fcn.004975b0
jmp 0x497569
mov byte [rbp + 0x8f], 1
mov rax, qword [0x00532b40]
cmp byte [rax + 0x21], 0
je 0x497509
mov rcx, qword [rbp + 0xc0]
mov edx, 3
mov r8, qword [rbp + 0xb8]
lea r9, [0x00497714]
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
call fcn.0040c850
lea rcx, [rbp + 0x80]
call fcn.0040aa00
nop
mov rax, qword [0x00532b40]
cmp qword [rax + 0x28], 0
je 0x497568
lea rcx, [rbp + 0x48]
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rax]
mov rbx, qword [0x00532b40]
call qword [rbx + 0x28]
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x48]
call fcn.0040b050
jmp 0x497568
nop
lea rcx, [rbp + 0x48]
mov edx, 4
call fcn.0040aae0
lea rcx, [rbp + 0x80]
call fcn.0040aa00
lea rcx, [rbp + 0xb8]
call fcn.0040aa00
movzx rax, byte [rbp + 0x8f]
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret