Function at 0x1800ad450
Capabilities:
Enumerate gui resources
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
xor r15d, r15d
mov rdi, qword [0x18028f068]
mov rsi, qword [0x18028f070]
cmp rdi, rsi
je 0x1800ad56f
lea r14, str.CSignature::Initialize___failed_to_initialize:_n___n___n___n
movabs r12, 0xb000000000000000
movabs r13, 0xb000000000000008
movabs r15, 0xb000000000000010
mov rbx, qword [rdi]
test rbx, rbx
je 0x1800ad55f
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
call fcn.180199530
mov qword [rbx], rax
test rax, rax
jne 0x1800ad558
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], 0x3e
mov rax, qword [rbx + 0x20]
mov qword [rbp - 0x71], rax
mov qword [rsp + 0x20], r12
mov rax, qword [rbx + 8]
mov qword [rbp - 0x69], rax
mov qword [rsp + 0x28], r13
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x39], 3
lea rax, [rsp + 0x20]
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x59], xmm0
movaps xmm1, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x19], xmm1
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.1800b2950
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rcx, qword [rbp + 7]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rbp + 7]
call fcn.18009a190
movsxd rax, dword [rbx + 0x18]
add qword [rbx], rax
add rdi, 8
cmp rdi, rsi
jne 0x1800ad4b0
xor r15d, r15d
call fcn.1801988b0
mov rcx, qword [0x180297130]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov qword [rbp + 0x67], rax
test rax, rax
je 0x1800ad5c9
nop dword [rax]
mov ebx, dword [rax + 0x28]
lea r8, [rbp + 0x67]
lea rdx, [rbp - 0x19]
lea rcx, [0x18028f0c0]
call fcn.180197950
mov rcx, qword [rax]
mov dword [rcx + 0x18], ebx
mov rax, qword [rbp + 0x67]
and dword [rax + 0x28], 0xffbfbfed
mov rax, qword [rbp + 0x67]
mov rax, qword [rax + 8]
mov qword [rbp + 0x67], rax
test rax, rax
jne 0x1800ad590
lea rcx, str.dxvk_d3d9.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1800ad603
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.You_are_running_with_graphics_options_that_Fusion_does_not_support._nPlease_remove__vulkan_from_your_launch_options_and_reinject.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov byte [0x180297108], 1
jmp 0x1800ada9c
mov rcx, qword [0x180297130]
mov rax, qword [rcx]
lea rdx, str.mat_dxlevel
call qword [rax + 0x68]
mov rcx, qword [rax + 0x38]
mov eax, dword [rcx + 0x58]
cmp eax, 0x5a
jge 0x1800ad6b7
lea rcx, str.You_are_running_with_graphics_options_that_Fusion_does_not_support._nPlease_remove__dxlevel__from_your_launch_options_and_reinject.
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x51], 0x84
mov dword [rbp - 0x21], eax
movabs rax, 0x1000000000000000
mov qword [rbp - 0x29], rax
mov edi, 1
mov qword [rbp - 0x39], rdi
lea rax, [rbp - 0x29]
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x19], xmm0
movaps xmm1, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm1
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 7]
call fcn.1800b2950
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rdx, qword [rbp + 7]
mov r9d, 0x10
lea r8, str.Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov byte [0x180297108], dil
lea rcx, [rbp + 7]
call fcn.18009a190
jmp 0x1800ada9c
mov rbx, r15
mov edi, 1
xor eax, eax
lock cmpxchg dword [0x180295db8], edi
je 0x1800ad6f1
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x1800ad6da
xor ecx, ecx
jmp 0x1800ad6dc
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180295db8], edi
jne 0x1800ad6d0
cmp qword [0x180295dc0], 0
jne 0x1800ad70f
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x180295dc0], rax
mov eax, r15d
xchg dword [0x180295db8], eax
mov rcx, qword [0x180297508]
test rcx, rcx
jne 0x1800ad755
nop dword [rax]
nop dword [rax + rax]
mov qword [rbp + 0x67], r15
lea rdx, [rbp + 0x67]
lea rcx, [0x180195230]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbp + 0x67]
mov qword [0x180297508], rcx
test rcx, rcx
je 0x1800ad730
lea r8, [0x180185440]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x1802a90d0], rax
mov rdi, qword [0x18028f108]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1800ad78f
nop dword [rax]
mov rax, qword [rbx + 0x30]
call qword [rax + 8]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1800ad780
call fcn.1800a72f0
test eax, eax
je 0x1800ad7b4
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.MH_failed_to_enable_all_hooks_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [0x180297a70]
call fcn.18016cd70
call fcn.1800e7fb0
lea rax, str.item_pickup
mov qword [rbp - 0x49], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], r15
mov qword [rbp - 0x69], r15
lea r12, [rbp - 0x41]
lea r14, [rbp - 0x49]
lea rax, [rbp + 0x67]
mov qword [rbp - 0x11], rax
mov ecx, 0x10
call fcn.180199d60
mov qword [rbp - 0x19], rax
lea rcx, [rsp + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], r15
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x20]
mov qword [rbp + 0x6f], rax
mov rcx, qword [rbp - 0x69]
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rbp - 0x71]
lea eax, [rcx + r8]
mov rdx, qword [rbp - 0x79]
test al, 1
jne 0x1800ad862
lea rax, [rcx + 2]
shr rax, 1
cmp rdx, rax
ja 0x1800ad862
lea rcx, [rsp + 0x20]
call fcn.1800b4760
mov rcx, qword [rbp - 0x69]
mov r8, qword [rbp - 0x71]
mov rdx, qword [rbp - 0x79]
lea rax, [rdx*2 - 1]
and r8, rax
mov qword [rbp - 0x71], r8
lea rdi, [r8 + rcx]
mov rsi, rdi
shr rsi, 1
lea rbx, [rdx - 1]
and rbx, rsi
mov rax, qword [rsp + 0x28]
cmp qword [rax + rbx*8], 0
jne 0x1800ad8aa
mov ecx, 0x10
call fcn.180199d60
mov rcx, qword [rsp + 0x28]
mov qword [rcx + rbx*8], rax
mov rdx, qword [rbp - 0x79]
mov rax, qword [rsp + 0x28]
lea rcx, [rdx - 1]
and rcx, rsi
and edi, 1
mov rcx, qword [rax + rcx*8]
mov rax, qword [r14]
mov qword [rcx + rdi*8], rax
mov rcx, qword [rbp - 0x69]
inc rcx
mov qword [rbp - 0x69], rcx
add r14, 8
cmp r14, r12
jne 0x1800ad830
test rcx, rcx
je 0x1800ad95c
mov rdi, qword [rbp - 0x71]
lea rsi, [rdi + rcx]
cmp rdi, rsi
je 0x1800ad95c
nop dword [rax]
mov rcx, rdi
shr rcx, 1
mov rax, qword [rbp - 0x79]
dec rax
and rcx, rax
mov rdx, rdi
and edx, 1
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + rcx*8]
mov rbx, qword [rcx + rdx*8]
mov qword [rbp + 0x67], rbx
mov rcx, qword [0x1802971d0]
mov rax, qword [rcx]
xor r9d, r9d
mov r8, rbx
lea rdx, [0x18028f150]
call qword [rax + 0x18]
mov rcx, qword [0x1802971d0]
mov rax, qword [rcx]
mov r8, rbx
lea rdx, [0x18028f150]
call qword [rax + 0x20]
test al, al
je 0x1800adab7
inc rdi
cmp rdi, rsi
jne 0x1800ad8f0
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x1800ad96f
sub rcx, 1
jne 0x1800ad961
mov qword [rbp - 0x69], rcx
mov qword [rbp - 0x71], r15
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800ad9e4
mov rbx, qword [rbp - 0x79]
test rbx, rbx
jle 0x1800ad9a9
dec rbx
mov rax, qword [rcx + rbx*8]
test rax, rax
je 0x1800ad9a0
mov edx, 0x10
mov rcx, rax
call fcn.180199c38
mov rcx, qword [rsp + 0x28]
test rbx, rbx
jg 0x1800ad982
mov rbx, qword [rbp - 0x79]
lea rdx, [rbx*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ad9d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800adaf9
call fcn.180199c38
mov qword [rsp + 0x28], r15
mov qword [rbp - 0x79], r15
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x20], r15
mov edx, 0x10
call fcn.180199c38
xor r8d, r8d
lea rdx, [0x180298360]
lea rcx, [0x180298360]
call fcn.1800f6bb0
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
movss xmm1, dword [0x180263200]
call fcn.1801945a0
mov byte [0x18028ea1a], 1
mov rcx, qword [0x1802971e0]
mov rax, qword [rcx]
lea rdx, str.hl1_fvox_activated.wav
call qword [rax + 0x270]
mov dword [rbp + 0x67], 0xffff96af
mov eax, dword [rbp + 0x67]
mov dword [rbp + 0x6f], eax
mov rcx, qword [0x180297130]
mov rax, qword [rcx]
lea r9, [0x180253d0c]
lea r8, str.__s_
lea rdx, [rbp + 0x6f]
call qword [rax + 0xb8]
mov rcx, qword [0x180297130]
mov rax, qword [rcx]
mov dword [rbp + 0x67], 0xffffffff
lea r9, str.Loaded
lea r8, [0x180262d28]
lea rdx, [rbp + 0x67]
call qword [rax + 0xb8]
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, str.failed_to_add_listener:_
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], 0x1a
lea r8, [rbp + 0x67]
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 7]
call fcn.180137d60
nop
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.1800f0490
lea rdx, [0x18028b020]
lea rcx, [rbp - 0x19]
call fcn.18019f12c
nop
call fcn.1801afdbc
int3