Function at 0x140003890
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1400a9020]
xor rax, rsp
mov qword [rbp + 0x10], rax
movsd xmm0, qword [str.Valorant]
lea r8, [rbp]
movzx eax, byte [0x14008ef40]
xor edx, edx
mov ecx, 0x1f0001
movsd qword [rbp], xmm0
mov byte [rbp + 8], al
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
test rax, rax
jne 0x140004483
mov qword [rsp + 0x180], rbx
lea r8, [rbp]
lea edx, [rax + 1]
mov qword [rsp + 0x168], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
lea rax, [0x140004490]
mov dword [rsp + 0x70], 0x50
xor r12d, r12d
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov dword [rsp + 0x74], 0x40
mov qword [rbp - 0x80], r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp - 0x48], r12
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x70], xmm0
lea rbx, str.Loader
movdqa xmmword [rbp - 0x60], xmm1
lea rcx, [rsp + 0x70]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x50], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp - 0x78]
mov r9d, 0x80000000
mov rdx, qword [rbp - 0x50]
mov r8, rbx
mov qword [rsp + 0x58], r12
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [r12 + 0x20]
mov qword [0x1400af0c8], rax
mov rbx, rax
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x1400af0c0], rax
mov rcx, rax
test rax, rax
je 0x140004439
lea rdx, [0x1400aef68]
mov qword [0x1400aef70], r12
mov qword [rsp + 0x30], rdx
lea r8d, [r12 + 1]
lea rdx, [0x1400aef70]
mov qword [0x1400aef7c], r12
mov qword [rsp + 0x28], rdx
mov r9, rbx
mov dword [0x1400aef84], r12d
xor edx, edx
mov qword [0x1400aef8c], r12
mov dword [0x1400aef94], r12d
mov qword [0x1400aefa4], r12
mov dword [0x1400aef98], 1
mov dword [0x1400aef88], 1
mov dword [0x1400aef78], r12d
mov dword [0x1400aef9c], 1
mov dword [0x1400aefa0], 0x50
mov dword [0x1400aefac], 1
mov rax, qword [rax]
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x140004432
mov rcx, qword [0x1400af0c8]
xor edx, edx
mov qword [rsp + 0x188], rsi
mov qword [rsp + 0x190], rdi
mov qword [rsp + 0x160], r13
mov qword [rsp + 0x158], r14
mov qword [rsp + 0x150], r15
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm7
movaps xmmword [rsp + 0x120], xmm8
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400af0c8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x1400af0e0]
test rax, rax
je 0x140003ad1
inc dword [rax + 0x3b0]
mov ecx, 0x40b0
call fcn.14005dde8
test rax, rax
je 0x140003aef
xor edx, edx
mov rcx, rax
call fcn.14000b310
mov rcx, rax
jmp 0x140003af2
mov rcx, r12
mov rax, qword [0x1400af0e0]
test rax, rax
cmove rax, rcx
mov qword [0x1400af0e0], rax
call fcn.140012000
mov r13, qword [0x1400af0e0]
or dword [r13 + 8], 0x400
mov qword [r13 + 0x20], r12
mov dword [r13 + 0x1644], r12d
mov dword [r13 + 0x1728], 0x3f800000
call fcn.14003f580
mov rcx, qword [0x1400aef68]
lea rax, str.imgui_impl_dx9
mov rbx, qword [0x1400af0e0]
mov qword [0x1400af1a8], rcx
or dword [rbx + 0xc], 0x1008
mov qword [rbx + 0xe8], rax
mov rax, qword [rcx]
call qword [rax + 8]
test dword [rbx + 8], 0x400
je 0x140003bbc
mov rax, qword [0x1400af0e0]
lea rcx, [fcn.14003f270]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.14003f340]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x14003f3c0]
mov qword [rax + 0x1600], rcx
lea rcx, [0x14003f420]
mov qword [rax + 0x1608], rcx
lea rcx, [0x14003f550]
mov qword [rax + 0x1610], rcx
movss xmm2, dword [0x14009c3a0]
lea rax, [0x14009bfd0]
mov rcx, qword [r13 + 0xa8]
mov qword [rsp + 0x20], rax
call fcn.1400391e0
movss xmm6, dword [0x14009c300]
xorps xmm0, xmm0
movss xmm8, dword [0x14009c344]
xorps xmm7, xmm7
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
nop
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140003c37
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140004290
mov rbx, qword [0x1400af0e0]
movaps xmm0, xmmword [0x14009c820]
movaps xmm1, xmmword [0x14009c720]
movups xmmword [rbx + 0x16fc], xmm0
movaps xmm0, xmmword [0x14009c6c0]
movups xmmword [rbx + 0x170c], xmm1
movaps xmm1, xmmword [0x14009c570]
movups xmmword [rbx + 0x171c], xmm0
movups xmmword [rbx + 0x174c], xmm1
movaps xmm1, xmmword [0x14009c6d0]
xorps xmm0, xmm0
movups xmmword [rbx + 0x175c], xmm0
movaps xmm0, xmmword [0x14009c720]
movups xmmword [rbx + 0x176c], xmm1
movaps xmm1, xmmword [0x14009c7a0]
movups xmmword [rbx + 0x177c], xmm0
movaps xmm0, xmmword [0x14009c6b0]
movups xmmword [rbx + 0x178c], xmm1
movaps xmm1, xmmword [0x14009c6f0]
movups xmmword [rbx + 0x179c], xmm0
movaps xmm0, xmmword [0x14009c590]
movups xmmword [rbx + 0x17ac], xmm1
movaps xmm1, xmmword [0x14009c6e0]
movups xmmword [rbx + 0x17bc], xmm0
movaps xmm0, xmmword [0x14009c5a0]
movups xmmword [rbx + 0x17cc], xmm1
movaps xmm1, xmmword [0x14009c750]
movups xmmword [rbx + 0x17dc], xmm0
movaps xmm0, xmmword [0x14009c790]
movups xmmword [rbx + 0x17ec], xmm1
movaps xmm1, xmmword [0x14009c7d0]
movups xmmword [rbx + 0x17fc], xmm0
movaps xmm0, xmmword [0x14009c820]
movups xmmword [rbx + 0x180c], xmm1
movaps xmm1, xmmword [0x14009c720]
movups xmmword [rbx + 0x181c], xmm0
movaps xmm0, xmmword [0x14009c7a0]
movups xmmword [rbx + 0x182c], xmm1
movaps xmm1, xmmword [0x14009c6e0]
movups xmmword [rbx + 0x183c], xmm0
movaps xmm0, xmmword [0x14009c720]
movups xmmword [rbx + 0x184c], xmm1
movaps xmm1, xmmword [0x14009c7a0]
movups xmmword [rbx + 0x185c], xmm0
movaps xmm0, xmmword [0x14009c6d0]
movups xmmword [rbx + 0x186c], xmm1
movaps xmm1, xmmword [0x14009c720]
movups xmmword [rbx + 0x187c], xmm0
movaps xmm0, xmmword [0x14009c7a0]
movups xmmword [rbx + 0x188c], xmm1
movaps xmm1, xmmword [0x14009c760]
movups xmmword [rbx + 0x189c], xmm0
movaps xmm0, xmmword [0x14009c7e0]
movups xmmword [rbx + 0x18ac], xmm1
movaps xmm1, xmmword [0x14009c800]
movups xmmword [rbx + 0x18bc], xmm0
movups xmmword [rbx + 0x18cc], xmm1
movaps xmm1, xmmword [0x14009c5c0]
xorps xmm0, xmm0
movups xmmword [rbx + 0x18dc], xmm0
movaps xmm0, xmmword [0x14009c600]
movups xmmword [rbx + 0x18ec], xmm1
movaps xmm1, xmmword [0x14009c6e0]
movups xmmword [rbx + 0x18fc], xmm0
movaps xmm0, xmmword [0x14009c720]
movups xmmword [rbx + 0x190c], xmm1
movaps xmm1, xmmword [0x14009c7a0]
movups xmmword [rbx + 0x191c], xmm0
movaps xmm0, xmmword [0x14009c660]
movups xmmword [rbx + 0x192c], xmm1
movaps xmm1, xmmword [0x14009c740]
movups xmmword [rbx + 0x193c], xmm0
movaps xmm0, xmmword [0x14009c7f0]
movups xmmword [rbx + 0x194c], xmm1
movaps xmm1, xmmword [0x14009c780]
movups xmmword [rbx + 0x197c], xmm0
movaps xmm0, xmmword [0x14009c6a0]
movups xmmword [rbx + 0x198c], xmm1
movaps xmm1, xmmword [0x14009c690]
movups xmmword [rbx + 0x199c], xmm0
movups xmmword [rbx + 0x19ac], xmm1
movaps xmm0, xmmword [0x14009c550]
movaps xmm1, xmmword [0x14009c620]
movups xmmword [rbx + 0x1a0c], xmm0
movups xmmword [rbx + 0x1a1c], xmm1
mov dword [rbx + 0x1644], 0x40a00000
mov dword [rbx + 0x16ac], 0x40a00000
cmp qword [0x1400af198], r12
jne 0x140003eab
call fcn.14003f100
mov rbx, qword [0x1400af0e0]
mov rcx, qword [0x1400af1d0]
lea rdx, [rbp - 0x10]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 8]
sub eax, dword [rbp - 0x10]
movd xmm1, eax
mov eax, dword [rbp - 4]
sub eax, dword [rbp - 0xc]
cmp byte [0x1400acc11], r12b
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
je 0x140003f41
mov rdi, qword [0x1400af0e0]
mov ecx, dword [rdi + 0x161c]
test ecx, ecx
jns 0x140003f1f
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1618]
test eax, eax
cmovg edx, eax
call fcn.14002c580
xor r9d, r9d
mov dword [rdi + 0x1618], r12d
lea r8, [0x14003ffb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov byte [0x1400acc11], r12b
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x60]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1400af1d8]
cvtsi2ss xmm0, qword [0x1400af1e0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [0x1400af1d8], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rbx + 0x13c], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rbx + 0x13d], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x13f], r12b
mov byte [rbx + 0x13e], al
call fcn.14003fb00
cmp byte [rbx + 0xcf], r12b
je 0x140003fe2
mov eax, 0xffffffff
jmp 0x140003fef
mov rax, qword [0x1400af0e0]
mov eax, dword [rax + 0x20d0]
cmp dword [0x1400acc14], eax
je 0x140004002
mov dword [0x1400acc14], eax
call fcn.14003f980
call fcn.14003fce0
call fcn.140010cd0
cmp dword [0x1400af1f8], r12d
jne 0x14000409d
xor ecx, ecx
call fcn.140034850
movss xmm0, dword [0x1400af170]
ucomiss xmm0, xmm7
jp 0x140004091
jne 0x140004091
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_GetWindowRect]
movd xmm1, dword [rbp - 8]
movd xmm0, dword [rbp - 4]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [0x1400af168], xmm1
subss xmm1, dword [0x14009b888]
movss dword [0x1400af16c], xmm0
subss xmm0, dword [0x14009b88c]
mulss xmm1, xmm6
mulss xmm0, xmm6
movss dword [0x1400af170], xmm1
movss dword [0x1400af174], xmm0
mov dword [0x1400af1f8], 1
jmp 0x1400040e7
mov ecx, 0x21
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400040be
cmp byte [0x1400a9c50], r12b
sete al
mov byte [0x1400a9c50], al
jmp 0x1400040c5
movzx eax, byte [0x1400a9c50]
test al, al
je 0x1400040e7
cmp byte [0x1400a9c51], r12b
je 0x1400040e7
cmp byte [0x1400aee55], r12b
jne 0x1400040e2
call fcn.140002260
jmp 0x1400040e7
call fcn.1400024f0
call fcn.1400133c0
mov rcx, qword [0x1400aef68]
mov r9d, 3
mov dword [rsp + 0x30], r12d
xor r8d, r8d
movss dword [rsp + 0x28], xmm8
xor edx, edx
mov dword [rsp + 0x20], r12d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1400aef68]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140004167
call fcn.140013880
mov rax, qword [0x1400af0e0]
mov rcx, qword [rax + 0x1ef8]
mov rax, qword [rcx]
mov rcx, r12
add rax, 0xa8
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.14003e900
mov rcx, qword [0x1400aef68]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r13 + 8], 0x400
je 0x14000424a
call fcn.140022e00
mov rbx, qword [0x1400af0e0]
mov r14d, 1
mov eax, dword [rbx + 0x1628]
cmp eax, r14d
jle 0x1400041ec
mov esi, 8
nop word [rax + rax]
mov rax, qword [rbx + 0x1630]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x1400041da
mov rax, qword [rbx + 0x15c0]
test rax, rax
je 0x1400041c7
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1608]
test rax, rax
je 0x1400041da
xor edx, edx
mov rcx, rdi
call rax
mov eax, dword [rbx + 0x1628]
inc r14d
add rsi, 8
cmp r14d, eax
jl 0x1400041a0
mov r14d, 1
cmp eax, r14d
jle 0x14000424a
mov esi, 8
nop dword [rax]
mov rax, qword [rbx + 0x1630]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14000423a
mov rax, qword [rbx + 0x15c8]
test rax, rax
je 0x140004227
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1610]
test rax, rax
je 0x14000423a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x1628]
jl 0x140004200
mov rcx, qword [0x1400aef68]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r12
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140004287
mov rcx, qword [0x1400aef68]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140004287
call fcn.140002020
cmp byte [0x1400a9c51], r12b
je 0x14000429c
cmp dword [rbp - 0x38], 0x12
jne 0x140003c00
jmp 0x1400042a3
mov dword [rbp - 0x38], 0x12
call fcn.140023400
call fcn.14003f190
mov rcx, qword [0x1400af1a8]
movaps xmm8, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0x140]
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x158]
mov r13, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x190]
mov rsi, qword [rsp + 0x188]
test rcx, rcx
je 0x140004307
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400af1a8], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [0x1400af1b8]
test rcx, rcx
je 0x140004331
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x1400af0e0]
mov rcx, rbx
mov qword [0x1400af1b8], r12
mov qword [0x1400af1c0], r12
mov qword [0x1400af1c8], r12
mov qword [0x1400af1d0], r12
mov qword [0x1400af1d8], r12
mov qword [0x1400af1e0], r12
mov dword [0x1400acc14], 9
mov byte [0x1400af154], r12b
mov byte [0x1400acc10], 1
call fcn.140012320
mov rax, qword [0x1400af0e0]
cmp rax, rbx
cmove rax, r12
mov qword [0x1400af0e0], rax
test rbx, rbx
je 0x1400043be
mov rcx, rbx
call fcn.14002d070
mov rax, qword [0x1400af0e0]
test rax, rax
je 0x1400043b6
dec dword [rax + 0x3b0]
mov rcx, rbx
call fcn.14005cf28
mov rcx, qword [0x1400aef68]
test rcx, rcx
je 0x1400043d7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400aef68], r12
mov rcx, qword [0x1400af0c0]
test rcx, rcx
je 0x1400043f0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400af0c0], r12
mov rcx, qword [0x1400af0c8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
mov rbx, qword [rsp + 0x180]
mov r12, qword [rsp + 0x168]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14004fba0
add rsp, 0x170
pop rbp
ret
mov rcx, qword [0x1400af0c0]
mov rdx, qword [0x1400aef68]
test rdx, rdx
je 0x14000445c
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x1400af0c0]
mov qword [0x1400aef68], r12
test rcx, rcx
je 0x14000446e
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [0x1400af0c0], r12
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
jmp 0x14000440d
xor eax, eax
jmp 0x14000441d