Function at 0x456df0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x48e080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 9
lea eax, [ebp - 0x1c]
push str.asdfjkl_
push eax
call fcn.00456070
mov edi, dword [ebp - 8]
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
lea esi, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add esp, 0xc
cmp edi, 0xf
cmova ecx, edx
cmova esi, edx
add eax, ecx
mov dword [ebp - 0x24], eax
cmp esi, eax
je 0x456e97
mov ecx, dword [0x48ea8c]
mov eax, dword fs:[0x2c]
mov edi, dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebx, dword [eax + ecx*4]
nop dword [eax]
mov al, byte [esi]
mov byte [ebp - 0x20], al
mov eax, dword [0x48e9d0]
cmp eax, dword [ebx + 4]
jg 0x45701a
push 0
push dword [0x48e9cc]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_VkKeyScanExA]
mov ecx, 0xff
and ax, cx
movzx eax, ax
push eax
call fcn.00457050
inc esi
add esp, 8
cmp esi, dword [ebp - 0x24]
jne 0x456e50
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
cmp edi, 0xf
jbe 0x456ec9
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x456ebf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x456ebf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00458e51
add esp, 8
mov eax, dword [ebp + 8]
xor edi, edi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x2aaaaaab
sub ecx, edx
mov dword [ebp - 0x30], edx
imul ecx
sar edx, 1
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x456fee
nop
mov ecx, dword [0x48e8f8]
lea eax, [ebp - 0x24]
push 1
push eax
push dword [ecx + 0x10]
call fcn.00407970
test eax, eax
je 0x456fff
cmp dword [ebp - 0x24], 2
jne 0x456fee
mov esi, dword [0x48e8f8]
lea eax, [ebp - 0x20]
push 1
push eax
mov ecx, esi
mov dword [ebp - 0x20], 0xffffffff
push dword [esi + 8]
call fcn.00407970
test eax, eax
jne 0x456f63
push str.osu::Osu::get_game_time
push str._debug____s_
call fcn.00414660
push dword [esi + 8]
push str.failed_getting_game_time_at
push str._s__x
call fcn.00414660
push 0xa
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putchar]
add esp, 0x18
cmp edi, ebx
jae 0x456f92
mov esi, dword [ebp - 0x30]
lea eax, [edi + edi*2]
inc esi
lea esi, [esi + eax*4]
mov eax, dword [ebp - 0x20]
cmp dword [esi + 3], eax
jg 0x456f92
movzx eax, byte [esi]
push eax
movzx eax, word [esi + 7]
push eax
call fcn.00457050
inc edi
add esp, 8
add esi, 0xc
cmp edi, ebx
jb 0x456f71
lea eax, [ebp - 0x38]
push eax
call fcn.0040ff70
mov ecx, dword [ebp - 0x38]
add esp, 4
mov eax, dword [ebp - 0x34]
cmp ecx, 0xffffff9b
jne 0x456fb0
cmp eax, 0x7fffffff
je 0x456fcc
cmp eax, 0x7fffffff
jg 0x456fcc
jl 0x456fbe
cmp ecx, 0xffffff9b
jae 0x456fcc
add ecx, 0x64
mov dword [ebp - 0x2c], ecx
adc eax, 0
mov dword [ebp - 0x28], eax
jmp 0x456fda
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0x7fffffff
lea eax, [ebp - 0x2c]
push eax
call fcn.00408d40
add esp, 4
cmp edi, ebx
jb 0x456ef0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004590b0
mov esp, ebp
pop ebp
ret
push str.failed_reading_memory
lea ecx, [ebp - 0x3c]
call fcn.0040a2a0
push 0x48aa58
lea eax, [ebp - 0x3c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x48e9d0
call fcn.004594a0
add esp, 4
cmp dword [0x48e9d0], 0xffffffff
jne 0x456e66
push 0
call edi
push 0x48e9d0
mov dword [0x48e9cc], eax
call fcn.0045944f
add esp, 4
jmp 0x456e66