Function at 0x1800a44a0
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 [0x18022e328]
mov rsi, qword [0x18022e330]
cmp rdi, rsi
je 0x1800a45bf
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 0x1800a45af
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
call fcn.180184600
mov qword [rbx], rax
test rax, rax
jne 0x1800a45a8
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.1800a98a0
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.180091c20
movsxd rax, dword [rbx + 0x18]
add qword [rbx], rax
add rdi, 8
cmp rdi, rsi
jne 0x1800a4500
xor r15d, r15d
call fcn.180183990
mov rcx, qword [0x180234b80]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov qword [rbp + 0x67], rax
test rax, rax
je 0x1800a4619
nop dword [rax]
mov ebx, dword [rax + 0x28]
lea r8, [rbp + 0x67]
lea rdx, [rbp - 0x19]
lea rcx, [0x18022e380]
call fcn.180182a30
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 0x1800a45e0
lea rcx, str.dxvk_d3d9.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1800a4653
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.You_are_running_with_graphics_options_that_Amalgam_does_not_support._nPlease_remove__vulkan_from_your_launch_options_and_reinject.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov byte [0x180234b58], 1
jmp 0x1800a4ae4
mov rcx, qword [0x180234b80]
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 0x1800a4707
lea rcx, str.You_are_running_with_graphics_options_that_Amalgam_does_not_support._nPlease_remove__dxlevel__from_your_launch_options_and_reinject.
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x51], 0x85
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.1800a98a0
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 [0x180234b58], dil
lea rcx, [rbp + 7]
call fcn.180091c20
jmp 0x1800a4ae4
mov rbx, r15
mov edi, 1
xor eax, eax
lock cmpxchg dword [0x180233848], edi
je 0x1800a4741
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x1800a472a
xor ecx, ecx
jmp 0x1800a472c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180233848], edi
jne 0x1800a4720
cmp qword [0x180233850], 0
jne 0x1800a475f
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x180233850], rax
mov eax, r15d
xchg dword [0x180233848], eax
mov rcx, qword [0x180234f40]
test rcx, rcx
jne 0x1800a47a5
nop dword [rax]
nop dword [rax + rax]
mov qword [rbp + 0x67], r15
lea rdx, [rbp + 0x67]
lea rcx, [0x180180330]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbp + 0x67]
mov qword [0x180234f40], rcx
test rcx, rcx
je 0x1800a4780
lea r8, [0x1801721e0]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x1802463f8], rax
mov rdi, qword [0x18022e3c8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1800a47df
nop dword [rax]
mov rax, qword [rbx + 0x30]
call qword [rax + 8]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1800a47d0
call fcn.18009e680
test eax, eax
je 0x1800a4804
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, [0x180235490]
call fcn.18015b750
call fcn.1800df3a0
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.180184e34
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 0x1800a48b2
lea rax, [rcx + 2]
shr rax, 1
cmp rdx, rax
ja 0x1800a48b2
lea rcx, [rsp + 0x20]
call fcn.1800ab680
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 0x1800a48fa
mov ecx, 0x10
call fcn.180184e34
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 0x1800a4880
test rcx, rcx
je 0x1800a49ac
mov rdi, qword [rbp - 0x71]
lea rsi, [rdi + rcx]
cmp rdi, rsi
je 0x1800a49ac
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 [0x180234c20]
mov rax, qword [rcx]
xor r9d, r9d
mov r8, rbx
lea rdx, [0x18022e410]
call qword [rax + 0x18]
mov rcx, qword [0x180234c20]
mov rax, qword [rcx]
mov r8, rbx
lea rdx, [0x18022e410]
call qword [rax + 0x20]
test al, al
je 0x1800a4aff
inc rdi
cmp rdi, rsi
jne 0x1800a4940
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x1800a49bf
sub rcx, 1
jne 0x1800a49b1
mov qword [rbp - 0x69], rcx
mov qword [rbp - 0x71], r15
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800a4a37
mov rbx, qword [rbp - 0x79]
test rbx, rbx
jle 0x1800a49f9
dec rbx
mov rax, qword [rcx + rbx*8]
test rax, rax
je 0x1800a49f0
mov edx, 0x10
mov rcx, rax
call fcn.180184d0c
mov rcx, qword [rsp + 0x28]
test rbx, rbx
jg 0x1800a49d2
mov rbx, qword [rbp - 0x79]
lea rdx, [rbx*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a4a29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a4a29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180184d0c
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.180184d0c
xor r8d, r8d
lea rdx, [0x180235d70]
lea rcx, [0x180235d70]
call fcn.1800eded0
movss xmm1, dword [0x18020a400]
call fcn.18017f6c0
mov byte [0x18022dd4a], 1
mov rcx, qword [0x180234c30]
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 [0x180234b80]
mov rax, qword [rcx]
lea r9, [0x1801fd7e0]
lea r8, str.__s_
lea rdx, [rbp + 0x6f]
call qword [rax + 0xb8]
mov rcx, qword [0x180234b80]
mov rax, qword [rcx]
mov dword [rbp + 0x67], 0xffffffff
lea r9, str.Loaded
lea r8, [0x180209f54]
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.180127070
nop
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.1800e7950
lea rdx, [0x180229108]
lea rcx, [rbp - 0x19]
call sub.VCRUNTIME140.dll__CxxThrowException
int3