Function at 0x18005a4e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x180089050]
xor rax, rsp
mov qword [rbp + 0x18], rax
nop word [rax + rax]
lea rcx, str.dxgi.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, 0xfa0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x46
lea r9, str.GetModuleHandle_with_dxgi.dll..
lea rdx, str.C:Users_voidmDesktopworkspaceCd3dhook_kierod3dhook_imguiimpld3d10_impl.cpp
lea ecx, [r8 - 0x45]
call fcn.18006e4a0
test rbx, rbx
je 0x18005a510
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
xor edi, edi
xor ecx, ecx
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x40], 0x50
mov dword [rbp - 0x3c], 0x40
mov qword [rbp - 0x30], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp + 8], rdi
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x20], xmm0
lea rbx, [0x18007eae8]
movdqa xmmword [rbp - 0x10], xmm1
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x28], rax
mov qword [rbp], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp - 0x28]
mov r9d, 0xcf0000
mov qword [rsp + 0x58], rdi
xor r8d, r8d
mov qword [rsp + 0x50], rax
mov rdx, rbx
mov qword [rsp + 0x48], rdi
xor ecx, ecx
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 0x12c
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r9, str.CreateWindowA____hWnd__d
mov qword [rsp + 0x20], rax
lea r8d, [rdi + 0x4f]
mov rbx, rax
lea rdx, str.C:Users_voidmDesktopworkspaceCd3dhook_kierod3dhook_imguiimpld3d10_impl.cpp
lea ecx, [rdi + 1]
call fcn.18006e4a0
lea rax, [0x18008ad10]
mov qword [rbp - 0x7c], rdi
mov qword [rsp + 0x38], rax
lea r9d, [rdi + 2]
lea rax, [rsp + 0x60]
mov qword [rbp - 0x68], 2
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0x1d
mov qword [rsp + 0x70], rdi
mov dword [rbp - 0x80], 0x1c
mov dword [rsp + 0x78], 0x3c
mov dword [rsp + 0x7c], 1
mov dword [rbp - 0x6c], 0x20
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x74], 1
mov qword [rbp - 0x58], 1
call qword [sym.imp.d3d10.dll_D3D10CreateDeviceAndSwapChain]
test eax, eax
jne 0x18005a796
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [0x18008ad18], rax
mov rax, qword [rax + 0x40]
mov qword [0x18008ad20], rax
call fcn.180070880
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180070db0
lea rbx, [0x18005a250]
mov rdx, rbx
lea rcx, [0x18008ad20]
call fcn.1800700b0
call fcn.180070900
mov rax, qword [0x18008ad20]
lea r9, str.DetourTransactionBegin_hook_complete____oPresent__x__hkPresent_x
mov qword [rsp + 0x28], rbx
lea rdx, str.C:Users_voidmDesktopworkspaceCd3dhook_kierod3dhook_imguiimpld3d10_impl.cpp
mov r8d, 0x85
mov qword [rsp + 0x20], rax
lea ecx, [rdi + 1]
call fcn.18006e4a0
mov rcx, qword [0x18008ad20]
lea r9, [rbp + 0x10]
lea edx, [rdi + 2]
lea r8d, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbp + 0x10]
lea r9, str.VirtualProtect____oPresent__x__dwOld__x
mov dword [rsp + 0x28], eax
lea rdx, str.C:Users_voidmDesktopworkspaceCd3dhook_kierod3dhook_imguiimpld3d10_impl.cpp
mov rax, qword [0x18008ad20]
lea ecx, [rdi + 1]
mov r8d, 0x8a
mov qword [rsp + 0x20], rax
call fcn.18006e4a0
mov rcx, qword [0x18008ad10]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r9, str.Device_Release____pDevice__pContext__pSwapChain
mov r8d, 0x95
lea rdx, str.C:Users_voidmDesktopworkspaceCd3dhook_kierod3dhook_imguiimpld3d10_impl.cpp
lea ecx, [rdi + 1]
call fcn.18006e4a0
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1800722b0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret