Function at 0xaf1690
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
sub rsp, 0xf8
mov rbp, rsp
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xb0], 0
nop
mov rax, qword [0x00bb6258]
cmp qword [rax], 0
je 0xaf1ca2
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ee2a0
test al, al
je 0xaf1744
xor rax, rax
mov byte [rbp + 0x5f], al
jmp 0xaf1ca2
mov rax, qword [0x00bb6258]
cmp qword [rax], 0
je 0xaf17b8
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ee640
test al, al
je 0xaf17b8
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ee450
test al, al
jne 0xaf17b8
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ecc30
cmp eax, 2
je 0xaf17b8
mov rax, qword [0x00bb81f8]
cmp qword [rax], 0
je 0xaf17ab
mov rax, qword [0x00bb81f8]
mov rax, qword [rax]
cmp byte [rax + 0x99], 0
je 0xaf17bd
mov rax, qword [0x00bb81f8]
cmp qword [rax], 0
je 0xaf17bd
xor rax, rax
jmp 0xaf17bf
mov al, 1
mov byte [rbp + 0x5f], al
mov rax, qword [0x00bb7e90]
mov rax, qword [rax]
mov rax, qword [rax + 0x88]
movzx rcx, byte [rbp + 0x5f]
cmp cl, byte [rax + 0x99]
je 0xaf1ca2
lea rcx, [0x00af1cf8]
lea rdx, [0x00af1d1e]
call sub.user32.dll_FindWindowW
test rax, rax
je 0xaf1ca2
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
lea rdx, [rbp + 0xe0]
call fcn.009ef170
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ecc30
cmp eax, 4
jne 0xaf19bf
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ee0f0
test al, al
je 0xaf1872
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
lea rdx, [rbp + 0xc0]
call fcn.009edb30
mov rax, qword [0x00bb8d30]
mov rcx, qword [rax]
lea rdx, [rbp + 0xc0]
xor r8, r8
call fcn.00799110
jmp 0xaf189a
lea rcx, [0x00af1cf8]
lea rdx, [0x00af1d1e]
call sub.user32.dll_FindWindowW
mov rcx, qword [0x00bb8d30]
mov rcx, qword [rcx]
mov rdx, rax
xor r8, r8
call fcn.00799140
test rax, rax
jne 0xaf18bd
lea rcx, [0x00af1d48]
call sub.kernel32.dll_OutputDebugStringW
mov rax, qword [0x00bb8d30]
mov rcx, qword [rax]
xor rdx, rdx
call fcn.00797370
mov rcx, rax
lea rdx, [rbp + 0xd0]
call fcn.00796c60
lea rcx, [rbp + 0xd0]
call fcn.0041ade0
mov ebx, eax
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ed3a0
mulsd xmm0, qword [0x00af1cc0]
call fcn.0040b3b0
movsxd rbx, ebx
neg rax
lea rax, [rbx + rax]
mov ecx, 2
cqo
idiv rcx
mov ecx, dword [rbp + 0xd0]
add ecx, eax
mov dword [rbp + 0xe0], ecx
lea rcx, [rbp + 0xd0]
call fcn.0041ae00
mov ebx, eax
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ed3a0
mulsd xmm0, qword [0x00af1cc8]
call fcn.0040b3b0
movsxd rbx, ebx
neg rax
lea rax, [rbx + rax]
mov ecx, 2
cqo
idiv rcx
mov ecx, dword [rbp + 0xd4]
add ecx, eax
mov dword [rbp + 0xe4], ecx
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ed3a0
mulsd xmm0, qword [0x00af1cc0]
call fcn.0040b3b0
lea rcx, [rbp + 0xe0]
mov edx, eax
call fcn.0041add0
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ed3a0
mulsd xmm0, qword [0x00af1cc8]
call fcn.0040b3b0
lea rcx, [rbp + 0xe0]
mov edx, eax
call fcn.0041adf0
jmp 0xaf1b65
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ecc30
cmp eax, 1
jne 0xaf1b28
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ee1d0
lea rcx, [rbp + 0xb0]
mov edx, eax
xor r8, r8
call fcn.0047e080
lea rcx, [rbp + 0xb8]
lea rdx, [0x00af1d98]
mov r8, qword [rbp + 0xb0]
call fcn.00412270
mov rcx, qword [rbp + 0xb8]
call fcn.00411e10
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ee1d0
test al, al
je 0xaf1b65
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
lea rdx, [rbp + 0xe0]
call fcn.009edc00
lea rcx, [rbp + 0xa0]
mov edx, dword [rbp + 0xe0]
call fcn.0047d9f0
lea rcx, [rbp + 0x98]
mov edx, dword [rbp + 0xe4]
call fcn.0047d9f0
lea rcx, [rbp + 0xe0]
call fcn.0041ade0
lea rcx, [rbp + 0x90]
mov edx, eax
call fcn.0047d9f0
lea rcx, [rbp + 0xe0]
call fcn.0041ae00
lea rcx, [rbp + 0x88]
mov edx, eax
call fcn.0047d9f0
lea rcx, [rbp + 0xa8]
mov edx, 8
lea r8, [0x00af1dd0]
mov r9, qword [rbp + 0xa0]
lea rax, [0x00af1e04]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [0x00af1e04]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [0x00af1e04]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x48], rax
call fcn.00412390
mov rcx, qword [rbp + 0xa8]
call fcn.00411e10
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
jmp 0xaf1b65
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ecc30
cmp eax, 3
jne 0xaf1b65
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
call fcn.009ee1b0
test al, al
je 0xaf1b65
mov rax, qword [0x00bb6258]
mov rcx, qword [rax]
lea rdx, [rbp + 0xe0]
call fcn.009ed600
lea rcx, [rbp + 0x78]
mov edx, dword [rbp + 0xe0]
call fcn.0047d9f0
lea rcx, [rbp + 0x70]
mov edx, dword [rbp + 0xe4]
call fcn.0047d9f0
lea rcx, [rbp + 0xe0]
call fcn.0041ade0
lea rcx, [rbp + 0x68]
mov edx, eax
call fcn.0047d9f0
lea rcx, [rbp + 0xe0]
call fcn.0041ae00
lea rcx, [rbp + 0x60]
mov edx, eax
call fcn.0047d9f0
lea rcx, [rbp + 0x80]
mov edx, 8
lea r8, [0x00af1e14]
mov r9, qword [rbp + 0x78]
lea rax, [0x00af1e04]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [0x00af1e04]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [0x00af1e04]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x48], rax
call fcn.00412390
mov rcx, qword [rbp + 0x80]
call fcn.00411e10
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
mov rax, qword [0x00bb7e90]
mov rax, qword [rax]
mov rcx, qword [rax + 0x88]
mov edx, dword [rbp + 0xe0]
call fcn.00795ec0
mov rax, qword [0x00bb7e90]
mov rax, qword [rax]
mov rcx, qword [rax + 0x88]
mov edx, dword [rbp + 0xe4]
call fcn.00795f20
lea rcx, [rbp + 0xe0]
call fcn.0041ade0
mov rcx, qword [0x00bb7e90]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x88]
mov edx, eax
call fcn.006a7d80
lea rcx, [rbp + 0xe0]
call fcn.0041ae00
mov rcx, qword [0x00bb7e90]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x88]
mov edx, eax
call fcn.006a7de0
nop
lea rcx, [rbp + 0x60]
mov edx, 0xc
call fcn.00410160
movzx rax, byte [rbp + 0x5f]
lea rsp, [rbp + 0xf8]
pop rbx
pop rbp
ret