Function at 0x10043430
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 0x70
call esi
test ax, ax
jns 0x1004349e
cmp byte [0x10076f66], 0
jne 0x1004349e
mov al, byte [0x10076f56]
mov byte [ebp - 4], al
mov eax, dword [0x10076fc8]
add eax, 0x3b7c50
mov byte [0x10076f66], 1
mov byte [0x10076f5c], 0
mov byte [0x10076f5b], 0
mov byte [0x10076f5a], 0
mov byte [0x10076f59], 0
mov dword [ebp - 8], eax
push dword [ebp - 4]
call dword [ebp - 8]
cmp byte [0x10076e7e], 0
sete byte [0x10076e7e]
jmp 0x100434b7
push 0x70
call esi
test ax, ax
js 0x100434b7
cmp byte [0x10076f66], 0
je 0x100434b7
mov byte [0x10076f66], 0
push 0x71
call esi
test ax, ax
jns 0x10043507
cmp byte [0x10076f59], 0
je 0x10043507
mov al, byte [0x10076f56]
mov byte [ebp - 8], al
mov eax, dword [0x10076fc8]
add eax, 0x3b7c50
mov byte [0x10076f5c], 0
mov byte [0x10076f5b], 0
mov byte [0x10076f5a], 0
mov byte [0x10076f59], 0
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [ebp - 4]
mov byte [0x10076f65], 1
push 0x71
call esi
test ax, ax
jns 0x10043553
cmp byte [0x10076f65], 0
jne 0x10043553
mov byte [0x10076f65], 1
mov byte [0x10076f63], 0
mov byte [0x10076f62], 0
mov byte [0x10076f61], 0
mov byte [0x10076f60], 0
mov byte [0x10076f5f], 0
mov byte [0x10076f5e], 0
mov byte [0x10076f5d], 0
jmp 0x1004356c
push 0x71
call esi
test ax, ax
js 0x1004356c
cmp byte [0x10076f65], 0
je 0x1004356c
mov byte [0x10076f65], 0
cmp byte [0x10076f4d], 0
je 0x1004357a
call fcn.10043a80
cmp byte [0x10076f67], 0
je 0x10043769
push 0x10076f70
push 0
call dword [sym.imp.XINPUT1_4.dll_Ordinal_2]
test eax, eax
jne 0x10043769
mov esi, dword [0x10077158]
mov esi, dword [esi]
cmp byte [esi + 0xd], al
jne 0x10043656
nop dword [eax]
mov ecx, dword [esi + 0x10]
lea edi, [esi + 0x10]
test ecx, ecx
je 0x1004360e
movzx eax, word [0x10076f74]
and eax, ecx
cmp eax, ecx
jne 0x100435ed
push edi
call fcn.100454b0
cmp byte [eax], 0
jne 0x100435ed
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x1004369a
mov eax, dword [ecx]
call dword [eax + 8]
push edi
call fcn.100454b0
mov byte [eax], 1
jmp 0x1004360e
movzx eax, word [0x10076f74]
and eax, dword [edi]
cmp eax, dword [edi]
je 0x1004360e
push edi
call fcn.100454b0
cmp byte [eax], 0
je 0x1004360e
push edi
call fcn.100454b0
mov byte [eax], 0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10043634
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10043630
cmp esi, dword [eax + 8]
jne 0x10043630
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10043620
mov esi, eax
jmp 0x1004364c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1004364c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10043640
cmp byte [esi + 0xd], 0
je 0x100435b0
mov ecx, dword [0x10076e80]
test ecx, ecx
jne 0x1004367e
push 0xc80
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [0x10076e80]
add esp, 0xc
test dword [0x10076f74], 0x1000
xorps xmm0, xmm0
movss xmm1, dword [0x1006a66c]
je 0x100436a0
movaps xmm2, xmm1
jmp 0x100436a3
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
xorps xmm2, xmm2
movss dword [ecx + 0x304], xmm2
test dword [0x10076f74], 0x2000
jne 0x100436ba
xorps xmm1, xmm1
movss xmm2, dword [0x1006a5f0]
mov esi, 0xffffe157
movss dword [ecx + 0x308], xmm1
mov dword [ecx + 0x310], 0
mov ax, word [0x10076f78]
cmp ax, si
jge 0x100436f2
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
jmp 0x100436f5
xorps xmm1, xmm1
movss dword [ecx + 0x324], xmm1
mov edx, 0x1ea9
mov ax, word [0x10076f78]
cmp ax, dx
jle 0x1004371b
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
jmp 0x1004371e
xorps xmm1, xmm1
movss dword [ecx + 0x328], xmm1
mov ax, word [0x10076f7a]
cmp ax, dx
jle 0x1004373f
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
jmp 0x10043742
xorps xmm1, xmm1
movss dword [ecx + 0x32c], xmm1
mov ax, word [0x10076f7a]
cmp ax, si
jge 0x10043761
cwde
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ecx + 0x330], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret