Function at 0x43cd00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [0x53110c], 0xffffffff
mov dword [0x531114], 0
mov dword [0x531118], 0
mov dword [0x531124], 0
mov dword [0x531110], 0
mov dword [0x53112c], 0
mov eax, dword [ebp + 0x20]
mov dword [eax], 0xffffffff
mov eax, dword [ebp + 0x24]
mov dword [eax], 0xffffffff
mov eax, dword [ebp + 0x28]
mov dword [eax], 0
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xe2]
mov dword [0x531140], eax
mov eax, dword [ebp + 8]
mov dword [0x531144], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x1de], 0
je 0x43cdc2
push 0
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1de]
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectPalette]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov dword [0x531134], sym.MSOCht32.EXE_DrawSelect
mov dword [0x531138], 0x431edc
mov dword [0x53113c], 0x4347a6
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xb6]
mov dword [0x5310dc], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c6]
mov dword [0x5310e0], eax
mov eax, dword [ebp + 0x14]
add eax, 0xce
push eax
push 0x67
push 0x64
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476c98
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x43ce2c
xor eax, eax
jmp 0x43d538
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xce]
mov dword [0x5310e4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov ecx, dword [ebp - 8]
sub ecx, dword [0x531104]
movzx ecx, cx
cmp eax, ecx
jbe 0x43ce91
mov eax, dword [0x52c328]
mov ecx, dword [0x52c32c]
push ecx
push eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
push ecx
push eax
call fcn.004e44d5
add esp, 0x10
test eax, eax
je 0x43ce91
mov dword [0x531108], 1
jmp 0x43ce9b
mov dword [0x531108], 0
mov eax, dword [ebp - 8]
mov dword [0x531104], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [0x52c328], eax
mov dword [0x52c32c], ecx
mov eax, dword [0x531108]
mov dword [ebp - 0xc], eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor ecx, ecx
mov cl, ah
mov dword [ebp - 0x40], ecx
cmp dword [ebp + 0x2c], 0
je 0x43cedf
mov dword [ebp - 0x40], 0
mov eax, dword [0x52cf50]
mov dword [ebp - 0x44], eax
jmp 0x43cf40
mov dword [0x531110], 1
jmp 0x43cf88
mov dword [0x53112c], 1
jmp 0x43cf88
mov dword [ebp - 0x28], 1
jmp 0x43cf88
mov dword [ebp - 0x10], 1
jmp 0x43cf88
cmp dword [ebp + 0x30], 0
je 0x43cf36
mov dword [0x53112c], 1
jmp 0x43cf88
sub dword [ebp - 0x44], 0xbba
cmp dword [ebp - 0x44], 0xc
ja case.0x43cf5c.5
mov eax, dword [ebp - 0x44]
xor ecx, ecx
mov cl, byte [eax + 0x43cf7b]
jmp dword [ecx*4 + 0x43cf63]
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x34], 2
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.004e3d96
add esp, 8
mov eax, dword [ebp + 0x1c]
add eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x18]
add eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp + 0x14]
add eax, 0xd6
push eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xde]
push eax
push 0x65
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476c98
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x43d002
jmp 0x43d439
push 1
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xd6]
push eax
call fcn.00479491
add esp, 8
cmp dword [ebp - 0x40], 0
je 0x43d18c
cmp dword [0x531110], 0
jne 0x43d18c
cmp dword [ebp - 0x10], 0
jne 0x43d18c
mov dword [ebp - 0x2c], sym.MSOCht32.EXE_CHF_ToggleLPos
mov dword [ebp - 0x24], sym.MSOCht32.EXE_CHF_ToggleSelPos
push 0
push 1
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00437adb
add esp, 0x10
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push 0x52de90
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
mov eax, dword [ebp + 0x14]
test byte [eax + 0x23], 2
jne 0x43d09a
cmp dword [ebp + 0x10], 0
je 0x43d0a4
cmp dword [ebp + 0x10], 0x1f4
jge 0x43d0a4
mov dword [0x5310b4], 1
mov dword [0x53109c], 0
mov eax, dword [ebp + 0x14]
add eax, 0xea
mov dword [0x53111c], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x32], 0
jne 0x43d0d4
mov eax, dword [0x53111c]
mov dword [eax + 4], 1
mov eax, dword [ebp + 0x14]
add eax, 0x16a
mov dword [0x531120], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x36], 0
jne 0x43d0f9
mov eax, dword [0x531120]
mov dword [eax], 1
push 0
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
push ecx
push eax
mov eax, dword [ebp + 0x14]
add eax, 0x6e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xd6]
push eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x26]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00438bf4
add esp, 0x2c
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x43d14b
mov dword [ebp - 0x3c], 1
mov eax, dword [0x53111c]
test byte [eax + 5], 0x40
jne 0x43d169
mov eax, dword [0x531120]
test byte [eax + 1], 0x40
je 0x43d17d
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043cbb3
add esp, 0xc
mov dword [0x5310b4], 0
jmp 0x43d3ca
mov dword [ebp - 0x2c], sym.MSOCht32.EXE_CHF_SelLine
mov dword [ebp - 0x24], sym.MSOCht32.EXE_CHF_SelPos
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00437adb
add esp, 0x10
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push 0x52de90
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
mov dword [0x53109c], 0
mov eax, dword [ebp + 0x14]
add eax, 0xea
mov dword [0x53111c], eax
mov eax, dword [0x53111c]
mov dword [eax + 4], 1
mov eax, dword [ebp + 0x14]
add eax, 0x16a
mov dword [0x531120], eax
mov eax, dword [0x531120]
mov dword [eax], 1
mov eax, dword [ebp + 0x14]
test byte [eax + 0x23], 2
jne 0x43d22a
cmp dword [ebp + 0x10], 0
je 0x43d234
cmp dword [ebp + 0x10], 0x1f4
jge 0x43d234
mov dword [0x5310b4], 1
mov eax, dword [ebp - 0x28]
mov dword [0x531130], eax
cmp dword [ebp - 0x10], 0
jne 0x43d28c
push 0
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
push ecx
push eax
mov eax, dword [ebp + 0x14]
add eax, 0x6e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xd6]
push eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x26]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00438bf4
add esp, 0x2c
mov dword [ebp - 0x30], eax
jmp 0x43d293
mov dword [ebp - 0x30], 0
mov dword [0x531130], 0
mov dword [0x53112c], 0
mov dword [0x531110], 0
cmp dword [ebp - 0x30], 0xffffffff
jne 0x43d2c2
mov dword [ebp - 0x3c], 1
mov dword [0x531108], 0
mov dword [ebp - 0x2c], sym.MSOCht32.EXE_CHF_DeSelLine
mov dword [ebp - 0x24], sym.MSOCht32.EXE_CHF_DeSelPos
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00437adb
add esp, 0x10
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push 0x52de90
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
mov dword [0x53109c], 1
mov dword [0x531108], 0
mov dword [0x53111c], 0
mov dword [0x531120], 0
push 1
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
push ecx
push eax
mov eax, dword [ebp + 0x14]
add eax, 0x6e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xd6]
push eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x26]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00438bf4
add esp, 0x2c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
add eax, 0xea
mov dword [0x53111c], eax
mov eax, dword [ebp + 0x14]
add eax, 0x16a
mov dword [0x531120], eax
mov eax, dword [0x53111c]
test byte [eax + 5], 0x40
jne 0x43d3ac
mov eax, dword [0x531120]
test byte [eax + 1], 0x40
je 0x43d3c0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043cbb3
add esp, 0xc
mov dword [0x5310b4], 0
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xd6]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x32], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x36], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xd6]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x32], 0
jne 0x43d41f
mov eax, dword [ebp + 0x14]
mov dword [eax + 0xee], 0
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x36], 0
jne 0x43d439
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x16a], 0
mov dword [0x531134], 0
push 0
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xd6]
push eax
call fcn.00479491
add esp, 8
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xd6]
push eax
call fcn.0047947b
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x43d529
mov eax, dword [0x53110c]
shr eax, 0x10
and eax, 0xffff
movsx eax, ax
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
movsx eax, word [0x53110c]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
cmp dword [ebp - 0x40], 0
jne 0x43d4b2
push 1
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1d6]
push eax
call fcn.00454abc
add esp, 8
cmp dword [0x531118], 0
je 0x43d4cb
mov dword [ebp - 0x30], 2
jmp 0x43d51a
cmp dword [0x531124], 0
je 0x43d4fd
cmp dword [0x531128], 0
je 0x43d4f1
mov dword [ebp - 0x30], 3
jmp 0x43d4f8
mov dword [ebp - 0x30], 4
jmp 0x43d51a
cmp dword [ebp - 0xc], 0
je 0x43d513
mov dword [ebp - 0x30], 5
jmp 0x43d51a
mov dword [ebp - 0x30], 1
mov eax, dword [0x531114]
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
jmp 0x43d530
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
jmp 0x43d538
pop edi
pop esi
pop ebx
leave
ret