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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
cmp byte [0x180067b9a], 0
mov rdi, rdx
mov rbx, rcx
je 0x180044390
mov byte [0x180067b9a], 0
test rbx, rbx
je 0x180044725
test rdi, rdi
je 0x180044725
cmp byte [0x180067b9b], 0
je 0x180044530
lea rdx, str.tier0.dll
mov rcx, rdi
call fcn.180033260
test al, al
je 0x180044530
mov rdx, rbx
mov byte [0x180067b9b], 0
lea rcx, [0x18006a480]
call fcn.180007fa0
lea rdx, str.g_pMemAlloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180057c94]
mov rcx, qword [rax]
mov qword [0x18006a3d8], rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006a3b0], rax
test rax, rax
je 0x180044422
lea rax, [0x1800447e0]
mov qword [case.0x18002567f.0], rax
jmp 0x18004443e
mov r9d, 0x10
lea r8, str.Error___AfxHookSource2
lea rdx, str.Problem_in_C:_source_advancedfxAfxHookSource2main.cpp:1772
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 [0x18006a438], rax
test rax, rax
je 0x18004446a
lea rax, [0x180044820]
mov qword [case.0x18002567f.0], rax
jmp 0x180044486
mov r9d, 0x10
lea r8, str.Error___AfxHookSource2
lea rdx, str.Problem_in_C:_source_advancedfxAfxHookSource2main.cpp:1776
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 [0x18006a3b8], rax
test rax, rax
je 0x1800444b2
lea rax, [0x180044740]
mov qword [case.0x18002567f.2], rax
jmp 0x1800444ce
mov r9d, 0x10
lea r8, str.Error___AfxHookSource2
lea rdx, str.Problem_in_C:_source_advancedfxAfxHookSource2main.cpp:1780
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 [0x18006a440], rax
test rax, rax
je 0x180044506
lea rax, [0x180044790]
mov qword [case.0x18002567f.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:1784
xor ecx, ecx
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
jmp qword [sym.imp.USER32.dll_MessageBoxA]
cmp byte [0x180067b9e], 0
je 0x18004456f
lea rdx, str.inputsystem.dll
mov rcx, rdi
call fcn.180033260
test al, al
je 0x18004456f
mov rdx, rbx
mov byte [0x180067b9e], 0
lea rcx, [0x18006a740]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
jmp fcn.180007fa0
cmp byte [0x180067b9f], 0
je 0x1800445ae
lea rdx, str.SDL3.dll
mov rcx, rdi
call fcn.180033260
test al, al
je 0x1800445ae
mov rdx, rbx
mov byte [0x180067b9f], 0
lea rcx, [0x18006a4b8]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
jmp fcn.180007fa0
cmp byte [0x180067b9d], 0
je 0x1800446bb
lea rdx, str.engine2.dll
mov rcx, rdi
call fcn.180033260
test al, al
je 0x1800446bb
cmp byte [0x180067b84], 0
mov byte [0x180067b9d], 0
mov qword [0x18006a3e0], rbx
je 0x18004469f
mov rdx, rbx
mov byte [0x180067b84], 0
lea rcx, [rsp + 0x50]
call fcn.180033530
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180033d60
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.180033bc0
lea rcx, [rsp + 0x20]
call fcn.180033d80
test al, al
jne 0x180044683
mov rax, qword [rsp + 0x20]
mov qword [0x18006a400], rax
call fcn.180003360
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180003a10
lea rdx, [0x180044aa0]
lea rcx, [0x18006a400]
call fcn.180002d00
call fcn.180003410
test eax, eax
je 0x18004469f
lea rdx, str.Failed_to_detour_Unknown_ExecuteClientCommandFromNetChan.
jmp 0x18004468a
lea rdx, str.Problem_in_C:_source_advancedfxAfxHookSource2main.cpp:117
mov r9d, 0x10
lea r8, str.Error___AfxHookSource2
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, rbx
lea rcx, [0x18006a4a0]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
jmp fcn.180007fa0
cmp byte [0x180067ba0], 0
je 0x1800446f3
lea rdx, str.rendersystemdx11.dll
mov rcx, rdi
call fcn.180033260
test al, al
je 0x1800446f3
mov rcx, rbx
mov byte [0x180067ba0], 0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
jmp 0x1800478b0
cmp byte [0x180067b9c], 0
je 0x180044725
lea rdx, str.csgo_binwin64client.dll
mov rcx, rdi
call fcn.180033260
test al, al
je 0x180044725
mov rcx, rbx
mov byte [0x180067b9c], 0
mov qword [0x18006a3e8], rbx
call fcn.180043db0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
push rbx
sub rsp, 0x70
cmp byte [0x180067d40], 0
mov rbx, rcx
je 0x180047a1f
mov rdx, rcx
mov byte [0x180067d40], 0
lea rcx, [0x18006aa10]
call fcn.180007fa0
test eax, eax
je 0x180047958
lea rcx, [0x180058690]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18004794f
lea rdx, str.D3D11CreateDevice
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006a9e8], rax
test rax, rax
je 0x180047946
call fcn.180003360
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180003a10
lea rdx, [0x180048130]
lea rcx, [0x18006a9e8]
call fcn.180002d00
call fcn.180003410
test eax, eax
je 0x180047964
lea rcx, str.Failed_to_hook_D3D11CreateDevice.
jmp 0x18004795f
lea rcx, str.Failed_to_get_D3D11CreateDevice_address.
jmp 0x18004795f
lea rcx, str.Failed_to_get_d3d11.dll_module_handle.
jmp 0x18004795f
lea rcx, str.Failed_rendersystemdx11_import_hooks.
call fcn.180043d60
lea rcx, [rsp + 0x20]
call fcn.180033d50
lea rcx, [rsp + 0x30]
call fcn.180033d50
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180033530
lea rcx, [rsp + 0x50]
call fcn.180033570
test al, al
jne 0x1800479d9
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.180033d60
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
call fcn.180033d90
lea rcx, [rsp + 0x50]
call fcn.180033570
test al, al
jne 0x1800479d9
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.180033d60
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
xor r9d, r9d
lea rdx, str.._AVCRenderDeviceDx11__
xor r8d, r8d
mov rcx, rbx
call fcn.180033580
test rax, rax
je 0x180047a13
lea rcx, [rax + 0x80]
lea r8, [0x18006aa00]
lea rdx, [0x180047b00]
call fcn.180007ea0
add rsp, 0x70
pop rbx
ret
lea rcx, str.Problem_in_C:_source_advancedfxAfxHookSource2RenderSystemDX11Hooks.cpp:850
call fcn.180043d60
add rsp, 0x70
pop rbx
ret