Function at 0x14003b550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400f5098]
xor rax, rsp
mov qword [rbp + 8], rax
mov rbx, rcx
xor r12d, r12d
mov dword [rbp - 0x70], 0x50
mov dword [rbp - 0x6c], 0x40
lea rax, [0x14003cb50]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp - 0x58], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm1
lea rax, [0x1400e1558]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r12
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r12
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 0xe6
mov dword [rsp + 0x30], 0xc8
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0x80cf0000
lea r8, str.Bebra_Injector
mov rdx, qword [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx + 0x50], rax
lea edx, [r12 - 0x10]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xc00000
mov r8d, eax
lea edx, [r12 - 0x10]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [rsp + 0x30], 0x23
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rdi, qword [rbx + 0x50]
lea ecx, [r12 + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [rbx], rax
lea r15, [rbx + 8]
test rax, rax
je 0x14003b6fa
lea rdx, [rbx + 0x10]
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x1c], r12
mov dword [rbx + 0x24], r12d
mov qword [rbx + 0x28], 1
mov qword [rbx + 0x44], r12
mov dword [rbx + 0x38], 1
mov dword [rbx + 0x18], r12d
mov dword [rbx + 0x3c], 1
mov dword [rbx + 0x40], 0x50
mov dword [rbx + 0x4c], 1
mov qword [rbx + 0x30], rdi
mov rcx, rax
mov rax, qword [rax]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, qword [rbx + 0x50]
xor edx, edx
lea r8d, [r12 + 1]
call qword [rax + 0x80]
test eax, eax
je 0x14003b754
mov rcx, qword [r15]
test rcx, rcx
je 0x14003b70b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r15], r12
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003b71c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx], r12
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov al, 1
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.14007b9a0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov edx, 0xa
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rdi, qword [0x1400f8940]
test rdi, rdi
je 0x14003b77f
inc dword [rdi + 0xec]
mov ecx, 0x6260
call fcn.14008e690
mov qword [rbp - 0x20], rax
lea rcx, [rsp + 0x60]
mov qword [rbp], rcx
mov qword [rbp - 0x10], rax
test rax, rax
je 0x14003b7ab
xor edx, edx
mov rcx, rax
call fcn.140003c00
jmp 0x14003b7ae
mov rax, r12
mov qword [0x1400f8940], rax
call fcn.14000a650
test rdi, rdi
je 0x14003b7c8
mov qword [0x1400f8940], rdi
jmp 0x14003b7cf
mov rdi, qword [0x1400f8940]
mov byte [rdi + 0xd4], 0
movss xmm2, dword [0x1400e2d14]
call fcn.14003cbd0
mov r14, qword [rbx + 0x50]
mov rdi, qword [0x1400f8940]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003b92a
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003b92a
mov rax, qword [0x1400f8940]
test rax, rax
je 0x14003b824
inc dword [rax + 0xec]
mov ecx, 0x48
call fcn.14008e690
mov rsi, rax
test rax, rax
je 0x14003b850
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
mov qword [rsi + 0x40], rax
jmp 0x14003b853
mov rsi, r12
mov qword [rdi + 0x90], rsi
lea rax, str.imgui_impl_win32
mov qword [rdi + 0x80], rax
or dword [rdi + 0xc], 6
mov qword [rsi], r14
mov byte [rsi + 0x2d], 1
mov rax, qword [rbp]
mov qword [rsi + 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rsi + 0x18], rax
mov dword [rsi + 0x28], 9
mov rax, qword [0x1400f8940]
mov rax, qword [rax + 0x40b0]
mov rcx, qword [rax]
mov qword [rcx + 0x28], r14
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x78], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 0x80], rax
lea rax, str.xinput1_1.dll
mov qword [rbp - 0x78], rax
mov rdi, r12
nop dword [rax]
mov rcx, qword [rsp + rdi*8 + 0x68]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x14003b8fe
inc rdi
cmp rdi, 5
jl 0x14003b8e0
jmp 0x14003b92a
mov qword [rsi + 0x30], r14
lea rdx, str.XInputGetCapabilities
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x40], rax
mov rsi, qword [r15]
mov rdi, qword [0x1400f8940]
test rdi, rdi
je 0x14003b93f
inc dword [rdi + 0xec]
mov ecx, 0x28
call fcn.14008e690
test rax, rax
je 0x14003b96d
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x14003b970
mov rax, r12
mov qword [rdi + 0x98], rax
lea rcx, str.imgui_impl_dx9
mov qword [rdi + 0x88], rcx
or dword [rdi + 0xc], 8
mov qword [rax], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
mov byte [rbx + 0x58], 1
mov ecx, 0x10
call fcn.14007b9c0
mov qword [rax], rbx
lea rcx, [0x14003d320]
mov qword [rax + 8], rcx
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14003e780]
xor edx, edx
xor ecx, ecx
call fcn.14008e9d0
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14003baf3
cmp dword [rbp - 0x18], 0
je 0x14003bae8
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call fcn.14007acb8
test eax, eax
jne 0x14003bae8
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
lea ecx, [rax + 0x10]
call fcn.14007b9c0
mov qword [rax], rbx
lea rcx, [0x14003d290]
mov qword [rax + 8], rcx
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14003e780]
xor edx, edx
xor ecx, ecx
call fcn.14008e9d0
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14003bb27
cmp dword [rbp - 0x18], 0
je 0x14003bb1c
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call fcn.14007acb8
test eax, eax
jne 0x14003bb1c
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
lea ecx, [rax + 0x10]
call fcn.14007b9c0
mov qword [rax], rbx
lea rcx, [0x14003d3a0]
mov qword [rax + 8], rcx
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14003e780]
xor edx, edx
xor ecx, ecx
call fcn.14008e9d0
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14003bb0d
cmp dword [rbp - 0x18], 0
je 0x14003bb02
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call fcn.14007acb8
test eax, eax
jne 0x14003bb02
jmp 0x14003b72a
mov ecx, 1
call fcn.14007a36c
nop
mov dword [rbp - 0x18], r12d
mov ecx, 6
call fcn.14007a36c
nop
mov ecx, 1
call fcn.14007a36c
nop
mov dword [rbp - 0x18], r12d
mov ecx, 6
call fcn.14007a36c
nop
mov ecx, 1
call fcn.14007a36c
nop
mov dword [rbp - 0x18], r12d
mov ecx, 6
call fcn.14007a36c
int3