Function at 0x140044070
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
lea rdx, [0x1400bca20]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x1400440c6
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r15d, r15d
mov qword [0x1400bca90], r15
mov qword [0x1400bca98], 1
mov qword [0x1400bcab4], r15
mov dword [0x1400bcaa8], 1
mov r9, qword [0x1400bca70]
mov qword [0x1400bcaa0], r9
mov dword [0x1400bca88], 0x15
mov eax, dword [0x14011127c]
mov dword [0x1400bca80], eax
mov eax, dword [0x140111278]
mov dword [0x1400bca84], eax
mov dword [0x1400bca8c], 2
mov dword [0x1400bcaac], 1
mov dword [0x1400bcab0], 0x50
mov dword [0x1400bcabc], 0x80000000
mov rcx, qword [0x1400bca20]
mov rax, qword [rcx]
lea rdx, [0x1400bcac0]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r15
lea rdx, [0x1400bca80]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
lea r8d, [r15 + 1]
call qword [rax + 0xa0]
test eax, eax
jns 0x14004419b
mov rcx, qword [0x1400bca20]
mov rax, qword [rcx]
call qword [rax + recvfrom]
lea ecx, [r15 + 4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rsi, qword [0x1400bcad0]
test rsi, rsi
je 0x1400441ad
inc dword [rsi + 0xf4]
mov ecx, 0x5e10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xa8], rax
lea rcx, [rsp + 0x40]
mov qword [rbp + 0xa0], rcx
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400441e1
xor edx, edx
mov rcx, rax
call fcn.140044730
jmp 0x1400441e4
mov rax, r15
mov qword [0x1400bcad0], rax
call fcn.140048cc0
test rsi, rsi
je 0x1400441fe
mov qword [0x1400bcad0], rsi
jmp 0x140044205
mov rsi, qword [0x1400bcad0]
mov dword [rsi + 0x37f0], 0x40a00000
mov dword [rsi + 0x380c], 0x40a00000
mov qword [rsi + 0x382c], r15
mov qword [rsi + 0x37e8], r15
xor ecx, ecx
call fcn.140066310
mov rbx, qword [0x1400bca70]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14004437c
lea rcx, [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14004437c
mov rax, qword [0x1400bcad0]
test rax, rax
je 0x140044271
inc dword [rax + 0xf4]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14004429e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x1400442a1
mov rdi, r15
mov qword [rsi + 0x98], rdi
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x88], rax
or dword [rsi + 0xc], 6
mov qword [rdi], rbx
mov rax, qword [rbp + 0xa0]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0xa8]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x1400bcad0]
mov rcx, qword [rax + 0x48b8]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbx
mov byte [rdi + 0x2d], 1
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x50], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x58], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x60], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x70], rax
mov rbx, r15
mov rcx, qword [rsp + rbx*8 + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x140044350
inc rbx
cmp rbx, 5
jl 0x140044332
jmp 0x14004437c
mov qword [rdi + 0x30], r14
lea rdx, str.XInputGetCapabilities
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov rdi, qword [0x1400bcac0]
mov rbx, qword [0x1400bcad0]
test rbx, rbx
je 0x140044395
inc dword [rbx + 0xf4]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400443c4
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x1400443c7
mov rax, r15
mov qword [rbx + 0xa0], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x90], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + htons]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x40], xmm2
movups xmmword [rbp - 0x30], xmm2
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], 1
mov dword [rbp - 0x3c], 0x7f7fffff
mov dword [rbp - 0x30], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x2c], ax
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm2
movaps xmmword [rbp + 0x40], xmm2
movaps xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x60], xmm1
movaps xmmword [rbp + 0x70], xmm2
movaps xmmword [rbp + 0x80], xmm2
movsd xmm0, qword [rbp]
movsd qword [rbp + 0x90], xmm0
lea rax, [0x1400af310]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], 0xb990
mov dword [rbp + 0x24], 0x41a80000
lea rax, [0x1400a1540]
mov qword [rbp + 0x48], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rsi + 0x58]
call fcn.14006dc80
mov qword [0x1400bcac8], rax
movss xmm2, dword [0x1400a1758]
mov rcx, qword [rsi + 0x58]
call fcn.14006df50
mov qword [0x1400bca38], rax
mov rcx, qword [0x1400bca20]
mov rax, qword [rcx]
call qword [rax + recvfrom]
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14008f690
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret