Function at 0x4975e0
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 0x4978d7
cmp qword [0x00526908], 0
jne 0x497682
call fcn.00498e50
cmp qword [0x00526908], 0
je 0x4978d7
nop
nop
lea rcx, [rbp + 0x80]
lea rdx, [0x00497a04]
call fcn.0040b0d0
lea rcx, [0x00497a1c]
mov rdx, qword [rbp + 0xb8]
call fcn.0040cc00
mov dword [rbp + 0x7c], eax
cmp dword [rbp + 0x7c], 0
jle 0x4976eb
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 0x497718
mov rcx, qword [rbp + 0xb0]
mov dl, 1
call fcn.00481900
lea rcx, [rbp + 0xb8]
mov edx, eax
mov r8d, 8
call fcn.00426ee0
mov rax, qword [0x00526908]
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.0048be70
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x60]
call fcn.0040b050
mov rax, qword [0x00526908]
cmp byte [rax + 0x23], 0
je 0x4977d2
lea rcx, [rbp + 0x50]
mov edx, 6
lea r8, [0x00497a2c]
mov r9, qword [rbp + 0xb8]
lea rax, [0x00497a50]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [0x00497a50]
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 0x497846
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xb0]
call fcn.0040b050
mov rax, qword [0x00526908]
cmp byte [rax + 0x21], 0
je 0x49782e
mov rcx, qword [rbp + 0xc0]
mov edx, 3
mov r8, qword [rbp + 0xb8]
lea r9, [0x00497a64]
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.00497910
jmp 0x4978d7
mov byte [rbp + 0x8f], 1
mov rax, qword [0x00526908]
cmp byte [rax + 0x21], 0
je 0x497889
mov rcx, qword [rbp + 0xc0]
mov edx, 3
mov r8, qword [rbp + 0xb8]
lea r9, [0x00497a74]
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 [0x00526908]
cmp qword [rax + 0x28], 0
je 0x4978d6
lea rcx, [rbp + 0x48]
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rax]
mov rbx, qword [0x00526908]
call qword [rbx + 0x28]
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x48]
call fcn.0040b050
jmp 0x4978d6
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