Function at 0x180043e10
Capabilities:
Link many functions at runtime
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
cmp byte [0x180067c12], 0
mov rdi, rdx
mov rbx, rcx
je 0x180043e30
mov byte [0x180067c12], 0
test rbx, rbx
je 0x1800441dc
test rdi, rdi
je 0x1800441dc
cmp byte [0x180067c13], 0
je 0x180043fd0
lea rdx, str.tier0.dll
mov rcx, rdi
call fcn.180032cc0
test al, al
je 0x180043fd0
mov rdx, rbx
mov byte [0x180067c13], 0
lea rcx, [0x18006a438]
call fcn.180007a90
lea rdx, str.g_pMemAlloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180057bac]
mov rcx, qword [rax]
mov qword [0x18006a388], rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006a420], rax
test rax, rax
je 0x180043ec2
lea rax, [0x180044290]
mov qword [case.0x18002514f.0], rax
jmp 0x180043ede
mov r9d, 0x10
lea r8, str.Error___AfxHookSource2
lea rdx, str.Problem_in_C:_source_advancedfxAfxHookSource2main.cpp:1746
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, str.Warning
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006a3c0], rax
test rax, rax
je 0x180043f0a
lea rax, [0x1800442d0]
mov qword [case.0x18002514f.0], rax
jmp 0x180043f26
mov r9d, 0x10
lea r8, str.Error___AfxHookSource2
lea rdx, str.Problem_in_C:_source_advancedfxAfxHookSource2main.cpp:1750
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, str.DevMsg
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006a428], rax
test rax, rax
je 0x180043f52
lea rax, [0x1800441f0]
mov qword [case.0x18002514f.2], rax
jmp 0x180043f6e
mov r9d, 0x10
lea r8, str.Error___AfxHookSource2
lea rdx, str.Problem_in_C:_source_advancedfxAfxHookSource2main.cpp:1754
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, str.DevWarning
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006a3c8], rax
test rax, rax
je 0x180043fa6
lea rax, [0x180044240]
mov qword [case.0x18002514f.2], rax
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov r9d, 0x10
lea r8, str.Error___AfxHookSource2
lea rdx, str.Problem_in_C:_source_advancedfxAfxHookSource2main.cpp:1758
xor ecx, ecx
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
jmp qword [sym.imp.USER32.dll_MessageBoxA]
cmp byte [0x180067c16], 0
je 0x18004400f
lea rdx, str.inputsystem.dll
mov rcx, rdi
call fcn.180032cc0
test al, al
je 0x18004400f
mov rdx, rbx
mov byte [0x180067c16], 0
lea rcx, [0x18006a700]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
jmp fcn.180007a90
cmp byte [0x180067c17], 0
je 0x18004404e
lea rdx, str.SDL3.dll
mov rcx, rdi
call fcn.180032cc0
test al, al
je 0x18004404e
mov rdx, rbx
mov byte [0x180067c17], 0
lea rcx, [0x18006a470]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
jmp fcn.180007a90
cmp byte [0x180067c15], 0
je 0x180044172
lea rdx, str.engine2.dll
mov rcx, rdi
call fcn.180032cc0
test al, al
je 0x180044172
cmp byte [0x180067bf8], 0
mov byte [0x180067c15], 0
mov qword [0x18006a350], rbx
je 0x1800441dc
mov rdx, rbx
mov byte [0x180067bf8], 0
lea rcx, [rsp + 0x50]
call fcn.180032f90
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1800337c0
movaps xmm0, xmmword [rsp + 0x30]
lea r8, str.4C_8B_D1_48_8B_0D_____________48_85_C9_74_13_48_8B_01_4D_8B_C8_4C_8B_C2_49_8B_12_48_FF_A0_90_00_00_00_C3
lea rdx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x20]
call fcn.180033620
lea rcx, [rsp + 0x20]
call fcn.1800337e0
test al, al
jne 0x180044148
mov rax, qword [rsp + 0x20]
mov qword [0x18006a370], rax
call fcn.1800033b0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180003a60
lea rdx, [0x1800444f0]
lea rcx, [0x18006a370]
call fcn.180002d50
call fcn.180003460
test eax, eax
je 0x1800441dc
mov r9d, 0x10
lea r8, str.Error___AfxHookSource2
lea rdx, str.Failed_to_detour_Unknown_ExecuteClientCommandFromNetChan.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov r9d, 0x10
lea r8, str.Error___AfxHookSource2
lea rdx, str.Problem_in_C:_source_advancedfxAfxHookSource2main.cpp:117
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
cmp byte [0x180067c18], 0
je 0x1800441aa
lea rdx, str.rendersystemdx11.dll
mov rcx, rdi
call fcn.180032cc0
test al, al
je 0x1800441aa
mov rcx, rbx
mov byte [0x180067c18], 0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
jmp 0x180047310
cmp byte [0x180067c14], 0
je 0x1800441dc
lea rdx, str.csgo_binwin64client.dll
mov rcx, rdi
call fcn.180032cc0
test al, al
je 0x1800441dc
mov rcx, rbx
mov byte [0x180067c14], 0
mov qword [0x18006a358], rbx
call fcn.180043850
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
push rbx
sub rsp, 0x70
cmp byte [0x180067da0], 0
mov rbx, rcx
je 0x18004747f
mov rdx, rcx
mov byte [0x180067da0], 0
lea rcx, [0x18006a9d0]
call fcn.180007a90
test eax, eax
je 0x1800473b8
lea rcx, [0x1800585a0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1800473af
lea rdx, str.D3D11CreateDevice
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006a9a8], rax
test rax, rax
je 0x1800473a6
call fcn.1800033b0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180003a60
lea rdx, [0x180047b90]
lea rcx, [0x18006a9a8]
call fcn.180002d50
call fcn.180003460
test eax, eax
je 0x1800473c4
lea rcx, str.Failed_to_hook_D3D11CreateDevice.
jmp 0x1800473bf
lea rcx, str.Failed_to_get_D3D11CreateDevice_address.
jmp 0x1800473bf
lea rcx, str.Failed_to_get_d3d11.dll_module_handle.
jmp 0x1800473bf
lea rcx, str.Failed_rendersystemdx11_import_hooks.
call fcn.180043800
lea rcx, [rsp + 0x20]
call fcn.1800337b0
lea rcx, [rsp + 0x30]
call fcn.1800337b0
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180032f90
lea rcx, [rsp + 0x50]
call fcn.180032fd0
test al, al
jne 0x180047439
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1800337c0
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
call fcn.1800337f0
lea rcx, [rsp + 0x50]
call fcn.180032fd0
test al, al
jne 0x180047439
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1800337c0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
xor r9d, r9d
lea rdx, str.._AVCRenderDeviceDx11__
xor r8d, r8d
mov rcx, rbx
call fcn.180032fe0
test rax, rax
je 0x180047473
lea rcx, [rax + 0x80]
lea r8, [0x18006a9c0]
lea rdx, [0x180047560]
call fcn.180007990
add rsp, 0x70
pop rbx
ret
lea rcx, str.Problem_in_C:_source_advancedfxAfxHookSource2RenderSystemDX11Hooks.cpp:848
call fcn.180043800
add rsp, 0x70
pop rbx
ret