Function at 0x418289
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x64], 1
mov edx, dword [0x5bbfe4]
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov ebx, dword [ebp + 0x10]
push ebx
mov ecx, esi
call fcn.00416ba0
test eax, eax
jne 0x4181af
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004bfa40
xor eax, eax
jmp 0x4189a5
push str._lst_name_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
push edi
lea ecx, [ebp - 0x58]
call fcn.004bfd50
push str.__type_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
cmp ebx, 0x2000
jg 0x418225
je case.0x418237.8195
lea eax, [ebx - 0x1000]
cmp eax, 4
ja case.0x418237.8194
jmp dword [eax*4 + 0x4189e0]
push str.KeywordRecord
lea ecx, [ebp - 0x58]
call fcn.004bfd50
jmp 0x41829f
push str.ScheduleTime
lea ecx, [ebp - 0x58]
call fcn.004bfd50
jmp 0x41829f
push str.InternalWMRecord
lea ecx, [ebp - 0x58]
call fcn.004bfd50
jmp 0x41829f
lea eax, [ebx - 0x2001]
cmp eax, 0x10
ja case.0x418237.8194
movzx eax, byte [eax + 0x418a10]
jmp dword [eax*4 + 0x4189f4]
push str.char__
lea ecx, [ebp - 0x58]
call fcn.004bfd50
jmp 0x41829f
push str.BlockIMRecord
lea ecx, [ebp - 0x58]
call fcn.004bfd50
jmp 0x41829f
push str.PortRange
lea ecx, [ebp - 0x58]
call fcn.004bfd50
jmp 0x41829f
push str.KeyEventDef
lea ecx, [ebp - 0x58]
call fcn.004bfd50
jmp 0x41829f
push str.EmailRule
lea ecx, [ebp - 0x58]
call fcn.004bfd50
jmp 0x41829f
push str.EmailLastRecvTime
lea ecx, [ebp - 0x58]
call fcn.004bfd50
jmp 0x41829f
mov dword [ebp - 0x64], 0
push 0x550490
lea ecx, [ebp - 0x58]
call fcn.004bfd50
mov edi, dword [ebp - 0x5c]
mov ecx, edi
call fcn.00498030
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.00498900
mov dword [ebp - 0x60], eax
test eax, eax
je 0x418964
mov ecx, eax
call fcn.00497c50
mov edi, eax
test edi, edi
je case.0x4184f2.8194
cmp ebx, 0x2000
jg 0x4184dc
je case.0x4184f2.8195
lea eax, [ebx - 0x1000]
cmp eax, 4
ja case.0x4184f2.8194
jmp dword [eax*4 + 0x418a24]
mov edi, dword [edi + 4]
test edi, edi
je case.0x4184f2.8194
push str._struct_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
mov edx, dword [esi]
mov eax, dword [edi]
push eax
push str.WholeWord
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
push 0
add edi, 4
push edi
push 0x55086c
jmp 0x418933
push str._struct_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
push str._struct_name_Start__type_TimePeriod__
lea ecx, [ebp - 0x58]
call fcn.004bfd50
mov eax, dword [esi]
mov ecx, dword [edi]
and ecx, 0x3f
push ecx
push str.Minute
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edx, dword [esi]
mov eax, dword [edi]
shr eax, 6
and eax, 0x1f
push eax
push str.Hour
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
mov ecx, dword [edi]
shr ecx, 0xb
and ecx, 7
push ecx
push 0x550830
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
push str.__struct_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
push str._struct_name_Stop__type_TimePeriod__
lea ecx, [ebp - 0x58]
call fcn.004bfd50
mov edx, dword [esi]
mov eax, dword [edi + 4]
and eax, 0x3f
push eax
push str.Minute
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
mov ecx, dword [edi + 4]
shr ecx, 6
and ecx, 0x1f
push ecx
push str.Hour
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 4]
shr eax, 0xb
and eax, 7
push eax
push 0x550830
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
push str.__struct_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
jmp 0x418943
push str._struct_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
push 0x550478
push edi
call fcn.004fee10
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4184c7
mov byte [ebx], 0
mov eax, dword [esi]
push 0
push edi
push str.Package
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x94]
call edx
mov byte [ebx], 0x2c
inc ebx
push 0x550478
push ebx
call fcn.004fee10
add esp, 8
mov edi, eax
test edi, edi
je 0x4184c7
mov byte [edi], 0
mov eax, dword [esi]
push 0
push ebx
push 0x5507fc
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x94]
call edx
mov byte [edi], 0x2c
inc edi
mov eax, dword [esi]
push 0
push edi
push str.Host
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x94]
call edx
push str.__struct_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
mov ebx, dword [ebp + 0x10]
jmp case.0x4184f2.8194
lea eax, [ebx - 0x2001]
cmp eax, 0x10
ja case.0x4184f2.8194
movzx eax, byte [eax + 0x418a54]
jmp dword [eax*4 + 0x418a38]
mov edx, dword [esi]
push 0
push edi
push 0x54f15a
lea eax, [ebp - 0x58]
push eax
mov ecx, esi
mov edx, dword [edx + 0x94]
call edx
jmp case.0x4184f2.8194
mov edi, dword [edi + 4]
test edi, edi
je case.0x4184f2.8194
push str._struct_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
mov eax, dword [esi]
mov ecx, dword [edi]
push ecx
push str.imFlags
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edx, dword [esi]
push 0
add edi, 4
push edi
push str.szName
lea eax, [ebp - 0x58]
push eax
mov edx, dword [edx + 0x94]
jmp 0x41893f
push str._struct_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
mov eax, dword [esi]
mov ecx, dword [edi]
push ecx
push str.From
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 4]
push eax
push 0x5507d8
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
mov ecx, dword [edi + 8]
push ecx
push str.SelectID
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
jmp 0x418943
push str._struct_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
mov edx, dword [esi]
mov eax, dword [edi]
push eax
push str.vKey
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
mov ecx, dword [edi + 4]
push ecx
push str.lParam
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov byte [ebp - 0x54], 0
push 0x3f
push 0
lea ecx, [ebp - 0x53]
push ecx
call fcn.004ff6f0
add esp, 0xc
push 0x40
lea edx, [ebp - 0x54]
push edx
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
mov edx, dword [esi]
push 0
lea eax, [ebp - 0x54]
push eax
push str.Description
mov edx, dword [edx + 0x94]
jmp 0x41893b
push str._struct_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
mov eax, dword [esi]
push 0x100
push edi
push str.Name
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x94]
call edx
mov eax, dword [esi]
mov ecx, dword [edi + 0x100]
push ecx
push str.Record
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 0x104]
push eax
push str.Sent
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
mov ecx, dword [edi + 0x108]
push ecx
push str.Received
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 0x10c]
push eax
push str.SMTPPOP
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
mov ecx, dword [edi + 0x110]
push ecx
push str.WebMail
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 0x114]
push eax
push 0x550778
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
mov ecx, dword [edi + 0x118]
push ecx
push str.MAPI
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 0x11c]
push eax
push str.IMAP
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
mov ecx, dword [edi + 0x124]
push ecx
push str.PlainText
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 0x128]
push eax
push str.HTML
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
mov ecx, dword [edi + 0x12c]
push ecx
push 0x550750
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 0x130]
push eax
push 0x550744
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
mov ecx, dword [edi + 0x134]
push ecx
push str.NoAttachments
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 0x138]
push eax
push str.AttachmentFilter
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
mov ecx, dword [edi + 0x13c]
push ecx
push str.AttachmentFilterSize
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 0x140]
push eax
push str.ToFilter
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
push 0x100
lea ecx, [edi + 0x144]
push ecx
push str.ToFilterString
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x94]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 0x244]
push eax
push str.FromFilter
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
push 0x100
lea ecx, [edi + 0x248]
push ecx
push str.FromFilterString
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x94]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 0x348]
push eax
push str.SubjectFilter
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
push 0x100
lea ecx, [edi + 0x34c]
push ecx
push str.SubjectFilterString
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x94]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 0x44c]
push eax
push str.BodyFilter
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
push 0x100
add edi, 0x450
push edi
push str.BodyFilterString
jmp 0x418933
push str._struct_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
mov eax, dword [esi]
mov ecx, dword [edi]
push ecx
push str.RcvdTimeLow
lea edx, [ebp - 0x58]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov edx, dword [esi]
mov eax, dword [edi + 4]
push eax
push str.RcvdTimeHigh
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
push 0x32
add edi, 8
push edi
push str.MSG_Owner
mov eax, dword [esi]
mov edx, dword [eax + 0x94]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
call edx
push str.__struct_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00498910
mov dword [ebp - 0x60], eax
jmp 0x4182c4
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x5c]
call fcn.004980a0
push str.__lst_
lea ecx, [ebp - 0x58]
call fcn.004bfd50
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.004bfdb0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004bfa40
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret 0x10