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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xc8
xor r15d, r15d
mov rdi, qword [0x18022e328]
mov rsi, qword [0x18022e330]
cmp rdi, rsi
je 0x1800a44f1
lea r14, str.CSignature::Initialize___failed_to_initialize:_n___n___n___n
movabs r12, 0xb000000000000000
movabs r13, 0xb000000000000008
movabs r15, 0xb000000000000010
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x1800a44e1
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
call fcn.180184520
mov qword [rbx], rax
test rax, rax
jne 0x1800a44da
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], 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
vmovups xmm0, xmmword [rbp - 0x39]
vmovdqa xmmword [rbp - 0x59], xmm0
vmovups xmm1, xmmword [rbp - 0x49]
vmovdqa xmmword [rbp - 9], xmm1
lea r8, [rbp - 0x59]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.1800a99f0
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rbp - 0x29]
call fcn.180091b30
movsxd rax, dword [rbx + 0x18]
add qword [rbx], rax
add rdi, 8
cmp rdi, rsi
jne 0x1800a4430
xor r15d, r15d
call fcn.180183890
mov rcx, qword [0x180234b90]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov qword [rbp + 0x67], rax
test rax, rax
je 0x1800a4549
nop
mov ebx, dword [rax + 0x28]
lea r8, [rbp + 0x67]
lea rdx, [rbp - 0x49]
lea rcx, [0x18022e380]
call fcn.1801828d0
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 0x1800a4510
lea rcx, str.dxvk_d3d9.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1800a4583
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 [0x180234b68], 1
jmp 0x1800a49dd
mov rcx, qword [0x180234b90]
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 0x1800a4637
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 - 0x41], eax
movabs rax, 0x1000000000000000
mov qword [rbp - 0x49], rax
mov edi, 1
mov qword [rbp - 0x39], rdi
lea rax, [rbp - 0x49]
mov qword [rbp - 0x31], rax
vmovups xmm0, xmmword [rbp - 0x39]
vmovdqa xmmword [rbp - 9], xmm0
vmovups xmm1, xmmword [rbp - 0x59]
vmovdqa xmmword [rbp - 0x59], xmm1
lea r8, [rbp - 9]
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.1800a99f0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
lea r9d, [rdi + 0xf]
lea r8, str.Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov byte [0x180234b68], dil
lea rcx, [rbp - 0x29]
call fcn.180091b30
jmp 0x1800a49dd
mov rbx, r15
mov edi, 1
xor eax, eax
lock cmpxchg dword [0x180233858], edi
je 0x1800a4671
nop dword [rax + rax]
cmp rbx, 0x20
jae 0x1800a465a
xor ecx, ecx
jmp 0x1800a465c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180233858], edi
jne 0x1800a4650
cmp qword [0x180233860], 0
jne 0x1800a468f
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x180233860], rax
mov eax, r15d
xchg dword [0x180233858], eax
mov rcx, qword [0x180234f58]
test rcx, rcx
jne 0x1800a46d5
nop dword [rax]
nop dword [rax + rax]
mov qword [rbp + 0x77], r15
lea rdx, [rbp + 0x77]
lea rcx, [0x180180090]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbp + 0x77]
mov qword [0x180234f58], rcx
test rcx, rcx
je 0x1800a46b0
lea r8, [0x180171e40]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x180245f28], rax
mov rdi, qword [0x18022e3c8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1800a4712
nop dword [rax]
mov rax, qword [rbx + 0x30]
call qword [rax + 8]
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x1800a4700
call fcn.18009e6f0
test eax, eax
je 0x1800a4737
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, [0x1802354a0]
call fcn.18015b870
call fcn.1800df8f0
lea rbx, str.item_pickup
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x20], xmm0
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], r15
mov qword [rbp - 0x69], r15
lea rax, [rbp + 0x67]
mov qword [rbp - 1], rax
mov ecx, 0x10
call fcn.180184d74
mov qword [rbp - 9], 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 + 0x77], rax
mov rdx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x69]
lea eax, [r8 + rdx]
mov rcx, qword [rbp - 0x79]
test al, 1
jne 0x1800a47cb
lea rax, [r8 + 2]
shr rax, 1
cmp rcx, rax
ja 0x1800a47cb
lea rcx, [rsp + 0x20]
call fcn.1800ab830
mov r8, qword [rbp - 0x69]
mov rdx, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x79]
lea rax, [rcx*2 - 1]
and rdx, rax
mov qword [rbp - 0x71], rdx
lea r14, [rdx + r8]
mov rsi, r14
shr rsi, 1
lea rdi, [rcx - 1]
and rdi, rsi
mov rdx, qword [rsp + 0x28]
cmp qword [rdx + rdi*8], 0
jne 0x1800a4813
mov ecx, 0x10
call fcn.180184d74
mov rcx, qword [rsp + 0x28]
mov qword [rcx + rdi*8], rax
mov rcx, qword [rbp - 0x79]
mov rdx, qword [rsp + 0x28]
lea rax, [rcx - 1]
and rax, rsi
and r14d, 1
mov rax, qword [rdx + rax*8]
mov qword [rax + r14*8], rbx
mov rax, qword [rbp - 0x69]
add rax, 1
mov qword [rbp - 0x69], rax
je 0x1800a48bc
mov rdi, qword [rbp - 0x71]
lea rsi, [rax + rdi]
cmp rdi, rsi
je 0x1800a48bc
nop word [rax + 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 + 0x77], rbx
mov rcx, qword [0x180234c30]
mov rax, qword [rcx]
xor r9d, r9d
mov r8, rbx
lea rdx, [0x18022e410]
call qword [rax + 0x18]
mov rcx, qword [0x180234c30]
mov rax, qword [rcx]
mov r8, rbx
lea rdx, [0x18022e410]
call qword [rax + 0x20]
test al, al
je 0x1800a49f1
inc rdi
cmp rdi, rsi
jne 0x1800a4850
mov rax, qword [rbp - 0x69]
test rax, rax
je 0x1800a48cf
sub rax, 1
jne 0x1800a48c1
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x71], r15
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800a493e
mov rbx, qword [rbp - 0x79]
test rbx, rbx
jle 0x1800a4909
dec rbx
mov rax, qword [rcx + rbx*8]
test rax, rax
je 0x1800a4900
mov edx, 0x10
mov rcx, rax
call fcn.180184c4c
mov rcx, qword [rsp + 0x28]
test rbx, rbx
jg 0x1800a48e2
mov rbx, qword [rbp - 0x79]
lea rdx, [rbx*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a4939
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a4939
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180184c4c
mov qword [rbp - 0x79], r15
mov qword [rsp + 0x28], r15
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x20], r15
mov edx, 0x10
call fcn.180184c4c
xor r8d, r8d
lea rdx, [0x180235d80]
lea rcx, [0x180235d80]
call fcn.1800ee8e0
vmovss xmm1, dword [0x18020a348]
call fcn.18017f4a0
mov byte [0x18022dd4a], 1
mov dword [rbp + 0x67], 0xffff96af
mov eax, dword [rbp + 0x67]
mov dword [rbp + 0x67], eax
mov rcx, qword [0x180234b90]
mov rax, qword [rcx]
lea r9, [0x1801fd770]
lea r8, [0x180209ef8]
lea rdx, [rbp + 0x67]
call qword [rax + 0xb8]
mov rcx, qword [0x180234b90]
mov rax, qword [rcx]
mov dword [rbp + 0x6f], 0xffffffff
lea r9, str.Loaded
lea r8, [0x180209ef4]
lea rdx, [rbp + 0x6f]
call qword [rax + 0xb8]
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rax, str.failed_to_add_listener:_
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], 0x1a
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.180127500
nop
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.1800e8230
lea rdx, [0x1802296c8]
lea rcx, [rbp - 9]
call sub.VCRUNTIME140.dll__CxxThrowException
int3