Function at 0x4b4730
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x558038
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004e328f
and al, 3
cmp al, 1
je 0x4b4ace
mov ecx, esi
call fcn.004e328f
test al, 3
je 0x4b4ace
lea ecx, [esp + 0x24]
call fcn.004139f0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040fe90
mov edi, 1
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4b47bd
push 0
push 0
push 0x157
mov ecx, esi
call fcn.004183f0
mov dword [esp + 0x10], edi
test eax, eax
jne 0x4b47c5
mov dword [esp + 0x10], 0
cmp dword [esi + 0x1d8], 0
jne 0x4b47e1
call dword [sym.imp.USER32.dll_GetCapture]
mov dword [esp + 0x1c], 0
cmp eax, dword [esi + 0x20]
jne 0x4b47e5
mov dword [esp + 0x1c], edi
mov ecx, esi
call fcn.004e340d
mov ecx, esi
mov edi, eax
call fcn.004e32a9
and eax, 0x1000
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4b4808
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x58]
push ecx
lea ebx, [esp + 0x2c]
call fcn.0043f040
mov dword [esp + 0x90], 0
mov edx, dword [esi]
mov eax, dword [edx + 0x160]
mov ecx, esi
call eax
push eax
mov ecx, ebx
call fcn.004139f0
push eax
lea ebx, [esp + 0x5c]
call fcn.004b3740
mov edx, dword [esi]
mov edx, dword [edx + 0x118]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
push 0
push eax
push 0xf
mov ecx, esi
call edx
mov esi, dword [esi + 0x58]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.COMBOBOX
call fcn.00402df0
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
push 0
mov ecx, ebx
mov esi, eax
call fcn.004f4d64
test edi, edi
jne 0x4b4890
mov edi, 4
mov dword [esp + 0x10], edi
jmp 0x4b48b3
cmp dword [esp + 0x10], 0
je 0x4b48a1
mov dword [esp + 0x10], 3
jmp 0x4b48af
xor eax, eax
cmp dword [esp + 0x1c], eax
setne al
inc eax
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x10]
push 0xfa1
push edi
push 0
push 8
mov eax, esi
call fcn.00420a80
test eax, eax
jne 0x4b48ce
mov dword [esp + 0x1c], eax
jmp 0x4b48d5
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [esp + 0x14], 0
mov ebx, eax
mov dword [esp + 0x20], ebx
je 0x4b48ff
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [eax + ebx + 3]
push ecx
jmp 0x4b4913
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
sub eax, ebx
sub eax, 3
mov edx, dword [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.00410170
mov ecx, eax
call fcn.004139f0
mov ecx, dword [ebp + 8]
push eax
call fcn.00410b40
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4b49b9
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add eax, 0xfffffffd
push eax
mov eax, dword [esp + 0x28]
sub ecx, ebx
sub ecx, 3
push ecx
add edx, 3
push edx
add eax, 3
push eax
lea ecx, [esp + 0x44]
call fcn.00410170
cmp dword [esp + 0x14], 0
je 0x4b4981
push 0
push ebx
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [esp + 0x34]
call fcn.004139f0
push eax
lea ecx, [esp + 0x58]
call fcn.004f49db
lea ecx, [esp + 0x24]
call fcn.004139f0
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x34]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
push edi
push 0
push esi
lea eax, [esp + 0x64]
push eax
call edx
jmp 0x4b4a4d
cmp eax, 1
jne 0x4b4a4d
push 0xffffffffffffffff
mov eax, 0xed9
mov ecx, edi
xor edx, edx
call fcn.00420ba0
push eax
push eax
lea ecx, [esp + 0x2c]
call fcn.004139f0
push eax
lea ecx, [esp + 0x60]
call fcn.004fc02c
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
cmp dword [esp + 0x14], 0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
je 0x4b4a25
add ecx, ebx
mov dword [esp + 0x34], ecx
jmp 0x4b4a2b
sub eax, ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x18]
push eax
mov edi, 2
lea eax, [esp + 0x38]
call fcn.004b3920
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
add esp, 4
cmp dword [esp + 0x14], 0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
je 0x4b4a7c
add ecx, ebx
mov dword [esp + 0x4c], ecx
jmp 0x4b4a82
sub eax, ebx
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x44]
call fcn.004139f0
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x34]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
push edi
push 1
push esi
lea eax, [esp + 0x64]
push eax
call edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x90], 0xffffffff
call fcn.0043f270
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x34]
call fcn.004139f0
mov ecx, esi
call fcn.00410aa0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b4afe
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00410aa0
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x4b4b09
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0
push 0xffffffffffffffff
push 0x154
mov ecx, esi
call fcn.004183f0
push 8
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add edi, dword [esp + 0x38]
push ecx
lea edx, [edi + eax*2]
mov ecx, esp
mov dword [esp + 0x24], esp
push str.EDIT
mov dword [esp + 0x48], edx
call fcn.00402df0
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ebx, dword [ebp + 8]
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x15c]
push ebx
mov ecx, esi
call edx
push 0xfa1
push 0
push 0
mov dword [esp + 0x24], eax
push 8
mov eax, edi
call fcn.00420a80
test eax, eax
je 0x4b4bf4
cmp dword [eax + 8], 1
jne 0x4b4bf4
push 0xed9
push 0
push 0
push 4
mov eax, edi
call fcn.00420a80
test eax, eax
jne 0x4b4b96
or eax, 0xffffffff
jmp 0x4b4bb0
mov eax, dword [eax + 8]
mov edi, dword [edi + 4]
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.00420000
mov eax, dword [esp + 0x1c]
mov ebx, dword [ebp + 8]
push eax
push eax
lea ecx, [esp + 0x3c]
call fcn.004139f0
push eax
mov ecx, ebx
call fcn.004fc02c
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, ebx
call fcn.00410b40
mov ebx, dword [esp + 0x18]
push eax
mov edi, 1
lea eax, [esp + 0x38]
call fcn.004b3920
mov ebx, dword [ebp + 8]
add esp, 4
jmp 0x4b4c41
mov edx, dword [esi + 0x58]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.004139f0
push eax
mov ecx, ebx
call fcn.004fc02c
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx + 0x38]
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x34]
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.004139f0
push eax
mov ecx, ebx
call fcn.004fc02c
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, ebx
call fcn.00410b40
mov ebx, dword [esp + 0x18]
push eax
mov edi, 1
lea eax, [esp + 0x38]
call fcn.004b3920
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4