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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0xef0], 0x10
push ebx
mov ebx, dword [ecx + 0xeec]
push esi
lea esi, [ecx + 0xedc]
push edi
jb 0x10023d8f
mov ecx, dword [esi]
jmp 0x10023d91
mov ecx, esi
mov eax, 0xe
mov edx, 0x100bc34c
cmp ebx, eax
cmovb eax, ebx
push eax
call fcn.100110c0
mov edi, dword [ebp + 8]
add esp, 4
test eax, eax
jne 0x10023e18
cmp ebx, 0xe
jb 0x10023e18
xor eax, eax
cmp ebx, 0xe
setne al
test eax, eax
jne 0x10023e18
cmp edi, 0x30
jl 0x10023dcb
cmp edi, 0x39
jle 0x10023df5
cmp edi, 0x41
jl 0x10023dd5
cmp edi, 0x5a
jle 0x10023df5
cmp edi, 0x60
jl 0x10023ddf
cmp edi, 0x69
jle 0x10023df5
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10023df0
cmp eax, 0x30
jl 0x10023df0
cmp eax, 0x39
jle 0x10023df5
cmp edi, 8
jne 0x10023e18
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
pop edi
not eax
pop esi
and eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab974
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0x14], 0x10
jb 0x10023e22
mov eax, dword [esi]
jmp 0x10023e24
mov eax, esi
mov ebx, dword [sym.imp.MSVCR120.dll_strncmp]
push 0x1c
push str.com.miHoYo.enterprise.NGHSoD
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x10023e54
cmp dword [esi + 0x14], 0x10
jb 0x10023e43
mov esi, dword [esi]
push 0xf
push str.com.miHoYo.bh3.
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x10023e59
cmp edi, 8
je 0x10023df5
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx esi, ax
mov ax, si
mov ebx, esi
shr ax, 0xa
and ebx, 0x3ff
movzx eax, ax
mov dword [ebp - 0x80], eax
cmp bx, 0x12
jne 0x10023eb8
cmp edi, 0x20
je 0x10023ea3
cmp edi, 0x30
jl 0x10023e8e
cmp edi, 0x39
jle 0x10023ea3
cmp edi, 0x60
jl 0x10023e98
cmp edi, 0x69
jle 0x10023ea3
mov eax, dword [ebp + 0x10]
add eax, 0xffffffd0
cmp eax, 9
ja 0x10023ee2
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab974
mov esp, ebp
pop ebp
ret 0xc
cmp bx, 4
je 0x10024203
cmp bx, 0x11
jne 0x10023ee2
cmp edi, 0xe2
jne 0x10023ee2
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x10023ea3
push 0x14
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
call dword [sym.imp.IMM32.dll_ImmGetProperty]
test al, 4
je 0x10023f07
cmp bx, 0x12
je 0x10023f07
cmp bx, 0x11
jne 0x10024203
cmp edi, 0x60
jl 0x10023f15
cmp edi, 0x69
jle 0x10024203
cmp edi, 0x6e
je 0x10024203
cmp edi, 0x90
je 0x10024203
cmp edi, 0xc
je 0x10024203
lea eax, [edi - 0x70]
cmp eax, 0xb
jbe 0x10024203
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10024172
mov eax, 0x15
mov dword [ebp - 0x24], 0x2a001f
xor cl, cl
mov word [ebp - 8], ax
mov dword [ebp - 0x20], 0xc000a
xor eax, eax
mov dword [ebp - 0x1c], 0x100007
mov dword [ebp - 0x18], 0x22001b
mov dword [ebp - 0x14], 0x13001d
mov dword [ebp - 0x10], 0x8000b
mov dword [ebp - 0xc], 0xe0039
cmp word [ebp + eax*2 - 0x24], bx
je 0x10023fa2
inc eax
cmp eax, 0xf
jb 0x10023f93
jmp 0x10023fa4
mov cl, 1
cmp bx, 0x16
jne 0x10023fb5
cmp word [ebp - 0x80], 2
je 0x1002413b
mov eax, 0x1809
cmp si, ax
je 0x1002413b
mov eax, 0x414
cmp si, ax
je 0x1002413b
mov eax, 0x2801
cmp si, ax
je 0x1002413b
mov eax, 0x809
cmp si, ax
je 0x1002413b
mov eax, 0x4009
cmp si, ax
je 0x1002413b
mov eax, 0x81d
cmp si, ax
je 0x1002413b
mov eax, 0x41d
cmp si, ax
je 0x1002413b
cmp esi, 0x39
je 0x1002413b
cmp esi, 8
je 0x1002413b
mov eax, 0x413
cmp si, ax
je 0x1002413b
mov eax, 0x813
cmp si, ax
je 0x1002413b
mov eax, 0x861
cmp si, ax
je 0x1002413b
mov eax, 0x461
cmp si, ax
je 0x1002413b
cmp esi, 6
je 0x1002413b
cmp esi, 5
je 0x1002413b
cmp esi, 0xb
je 0x1002413b
cmp esi, 0xe
je 0x1002413b
cmp esi, 0x3c
je 0x1002413b
cmp esi, 0x4b
je 0x1002413b
cmp esi, 0x53
je 0x1002413b
cmp esi, 0x57
je 0x1002413b
cmp esi, 0x40
je 0x1002413b
cmp esi, 0x26
je 0x1002413b
cmp esi, 0x27
je 0x1002413b
mov eax, 0x7c2e
cmp si, ax
je 0x1002413b
cmp esi, 0x6e
je 0x1002413b
cmp esi, 0x2f
je 0x1002413b
cmp esi, 0x4c
je 0x1002413b
cmp esi, 0x3a
je 0x1002413b
cmp esi, 0x7a
je 0x1002413b
cmp esi, 0x4e
je 0x1002413b
mov eax, 0xc3b
cmp si, ax
je 0x1002413b
mov eax, 0x43b
cmp si, ax
je 0x1002413b
mov eax, 0x83b
cmp si, ax
je 0x1002413b
mov eax, 0x1000
cmp si, ax
je 0x1002413b
mov eax, 0x7814
cmp si, ax
je 0x1002413b
mov eax, 0x82
cmp si, ax
je 0x1002413b
cmp esi, 0x48
je 0x1002413b
cmp esi, 0x63
je 0x1002413b
cmp esi, 0x15
je 0x1002413b
test cl, cl
je 0x10024203
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa5
call ebx
mov esi, 0x8000
test si, ax
jne 0x10024172
push 0xa2
call ebx
test si, ax
je 0x10024203
push 0xa4
call ebx
test si, ax
je 0x10024203
movdqa xmm0, xmmword [0x100ce4c0]
xor eax, eax
movdqu xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x4c], 0x2e
movdqa xmm0, xmmword [0x100ce4a0]
movdqu xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x48], 0x23
movdqa xmm0, xmmword [0x100ce4f0]
movdqu xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x44], 0x22
movdqa xmm0, xmmword [0x100ce450]
paddd xmm0, xmmword [0x100bbde0]
paddd xmm0, xmmword [0x100ce500]
movdqu xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x2a
mov dword [ebp - 0x2c], 0x91
mov dword [ebp - 0x28], 0x13
cmp edi, dword [ebp + eax*4 - 0x7c]
je 0x10024203
inc eax
cmp eax, 0x16
jb 0x100241e2
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab974
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ab974
mov esp, ebp
pop ebp
ret 0xc