Function at 0x50bbc0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x48
mov eax, 0x598366
call fcn.0055672a
mov ebx, ecx
mov eax, dword [ebx + 0x3b4]
xor edi, edi
cmp eax, edi
jne 0x50bbe1
xor eax, eax
jmp 0x50c269
mov ecx, dword [ebx + 0x214]
cmp ecx, edi
je 0x50bc02
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x190]
test eax, eax
je 0x50bc02
xor eax, eax
inc eax
jmp 0x50c269
cmp dword [ebp + 8], 9
jne 0x50bc1f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 0x80
push 0
pop eax
sete al
lea eax, [eax + eax + 0x26]
mov dword [ebp + 8], eax
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x10], edi
cmp ecx, edi
jne 0x50bc38
cmp dword [ebx + 0x2c], edi
je 0x50bc33
cmp dword [ebx + 0x30], edi
jne 0x50bc38
mov dword [ebp - 0x24], edi
jmp 0x50bc3f
mov dword [ebp - 0x24], 1
mov esi, dword [ebp + 8]
mov eax, esi
sub eax, 0xd
mov dword [ebp - 0x28], edi
je 0x50c090
sub eax, 0x13
je 0x50c090
sub eax, 5
je 0x50bef0
dec eax
je 0x50bda8
dec eax
je 0x50bd5c
dec eax
je 0x50bda8
cmp ecx, edi
je 0x50c097
push esi
call fcn.00433d14
mov dword [ebp - 0x20], esi
cmp eax, edi
je 0x50bc95
push esi
call fcn.00433d91
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x3b4], edi
jle 0x50c097
push edi
lea ecx, [ebx + 0x3ac]
call fcn.00492dd0
mov esi, dword [eax]
push dword [ebp - 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x13c]
test eax, eax
jne 0x50bbfa
push dword [esi + 4]
lea ecx, [ebp - 0x14]
call fcn.004018c0
and dword [ebp - 4], 0
push 0
push 0x26
lea ecx, [ebp - 0x14]
call fcn.0042b732
test eax, eax
jl 0x50bd12
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
jge 0x50bd12
inc eax
push eax
lea ecx, [ebp - 0x14]
call fcn.00444bf0
mov byte [ebp + 8], al
lea eax, [ebp + 8]
push eax
mov byte [ebp + 9], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp + 8]
cmp eax, dword [ebp - 0x20]
je 0x50bd33
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010d6
inc edi
cmp edi, dword [ebx + 0x3b4]
jl 0x50bca1
jmp 0x50c097
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
test eax, eax
jne 0x50bd48
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x28], 1
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010d6
jmp 0x50c097
cmp ecx, edi
je 0x50bef0
mov ecx, dword [ebx + 0x214]
cmp ecx, edi
je 0x50bef0
mov eax, dword [ecx]
call dword [eax + 0x98]
test eax, eax
je 0x50bef0
mov ecx, dword [ebx + 0x214]
mov eax, dword [ecx]
call dword [eax + 0x40]
test eax, eax
jne 0x50bef0
mov ecx, dword [ebx + 0x214]
mov eax, dword [ecx]
call dword [eax + 0x9c]
jmp 0x50c097
cmp dword [ebx + 0x214], edi
je 0x50bed5
mov eax, dword [ebx + 0x214]
lea esi, [eax + 0x18]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
call fcn.0043a501
cmp dword [ebp + 8], 0x28
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x214]
lea edi, [ebp - 0x54]
lea esi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x50bdf1
mov eax, dword [ebp - 0x48]
inc eax
jmp 0x50bdf5
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp dword [ebp + 8], 0x28
setne al
dec eax
and eax, 0xa
add eax, 0xfffffffb
and dword [ebp - 0x20], 0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x10], 0
jne 0x50c097
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x6c]
mov esi, dword [ebp - 0x1c]
jge 0x50be35
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 0x74]
jg 0x50be9d
cmp dword [ebp - 0x10], 0
jne 0x50be8f
mov eax, dword [ebx]
push 0
push esi
push dword [ebp - 0x14]
mov ecx, ebx
call dword [eax + 0x14]
mov edi, eax
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x50be66
mov eax, dword [ebx]
push edi
push esi
push dword [ebp - 0x18]
mov ecx, ebx
call dword [eax + 0x14]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x50be76
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
test eax, eax
jne 0x50be76
xor edi, edi
mov dword [ebp - 0x10], edi
add esi, dword [ebp - 0x34]
cmp dword [ebp + 8], 0x28
jne 0x50be86
cmp esi, dword [ebx + 0x78]
jg 0x50be8f
jmp 0x50be8b
cmp esi, dword [ebx + 0x70]
jl 0x50be8f
test edi, edi
je 0x50be3b
sub dword [ebp - 0x14], 5
add dword [ebp - 0x18], 5
cmp dword [ebp - 0x10], 0
je 0x50be22
xor eax, eax
cmp dword [ebp - 0x20], eax
jne 0x50bec3
cmp dword [ebp - 0x10], eax
jne 0x50bec3
cmp dword [ebp - 0x24], eax
je 0x50c097
cmp dword [ebp + 8], 0x28
jne 0x50bebd
mov eax, dword [ebx + 0x70]
jmp 0x50bec0
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x50be0f
jmp 0x50c097
cmp esi, 0x28
mov ecx, ebx
jne 0x50bee3
call fcn.00508e92
jmp 0x50bee8
call fcn.00508ecf
mov dword [ebp - 0x10], eax
jmp 0x50c097
cmp dword [ebx + 0x1c], edi
je 0x50bf60
cmp esi, 0x25
jne 0x50bf60
mov eax, dword [ebx + 0xac]
cmp eax, edi
je 0x50bf60
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00414470
push eax
push 0x603edc
call fcn.00421ae9
pop ecx
mov esi, eax
pop ecx
mov ecx, esi
call fcn.004851d9
test eax, eax
je 0x50bf60
mov ecx, dword [ebx + 0xac]
call fcn.004f8484
cmp eax, edi
je 0x50bf53
cmp dword [eax + 0x744], ebx
jne 0x50bf53
push 1
push dword [eax + 0x740]
mov ecx, eax
call fcn.00499993
push edi
mov ecx, esi
call fcn.004866f2
jmp 0x50bbfa
cmp dword [ebx + 0x214], edi
je 0x50c087
mov eax, dword [ebx + 0x214]
lea esi, [eax + 0x18]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
call fcn.0043a501
cmp dword [ebp + 8], 0x27
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x214]
lea edi, [ebp - 0x54]
lea esi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x50bfaa
mov eax, dword [ebp - 0x4c]
inc eax
jmp 0x50bfae
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x18], eax
xor eax, eax
cmp dword [ebp + 8], 0x27
setne al
dec eax
and eax, 0xa
add eax, 0xfffffffb
and dword [ebp - 0x14], 0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x10], 0
jne 0x50c097
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 0x70]
mov esi, dword [ebp - 0x18]
jge 0x50bfee
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebx + 0x78]
jg 0x50c056
cmp dword [ebp - 0x10], 0
jne 0x50c048
mov eax, dword [ebx]
push 0
push dword [ebp - 0x20]
mov ecx, ebx
push esi
call dword [eax + 0x14]
mov edi, eax
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x50c01f
mov eax, dword [ebx]
push edi
push dword [ebp - 0x1c]
mov ecx, ebx
push esi
call dword [eax + 0x14]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x50c02f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
test eax, eax
jne 0x50c02f
xor edi, edi
mov dword [ebp - 0x10], edi
add esi, dword [ebp - 0x2c]
cmp dword [ebp + 8], 0x27
jne 0x50c03f
cmp esi, dword [ebx + 0x74]
jg 0x50c048
jmp 0x50c044
cmp esi, dword [ebx + 0x6c]
jl 0x50c048
test edi, edi
je 0x50bff4
sub dword [ebp - 0x20], 5
add dword [ebp - 0x1c], 5
cmp dword [ebp - 0x10], 0
je 0x50bfdb
xor eax, eax
cmp dword [ebp - 0x14], eax
jne 0x50c078
cmp dword [ebp - 0x10], eax
jne 0x50c078
cmp dword [ebp - 0x24], eax
je 0x50c097
cmp dword [ebp + 8], 0x27
jne 0x50c072
mov eax, dword [ebx + 0x6c]
jmp 0x50c075
mov eax, dword [ebx + 0x74]
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x50bfc8
jmp 0x50c097
cmp dword [ebp + 8], 0x27
jmp 0x50bed8
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp + 8], edi
cmp esi, edi
je 0x50c1d6
mov eax, dword [ebx + 0x214]
cmp eax, esi
je 0x50c1cf
cmp eax, edi
je 0x50c0e8
mov dword [eax + 0x6c], edi
mov eax, dword [ebx + 0x214]
mov dword [eax + 0x70], edi
mov ecx, dword [ebx + 0x214]
mov eax, dword [ecx]
push edi
call dword [eax + 0x170]
mov ecx, dword [ebx + 0x214]
mov eax, dword [ecx]
call dword [eax + 0x114]
mov dword [ebx + 0x214], edi
cmp dword [0x60ae64], edi
je 0x50c153
mov eax, dword [ebx + 0xac]
cmp eax, edi
je 0x50c153
cmp dword [ebx + 0x1c], edi
je 0x50c153
mov esi, dword [ebp - 0x10]
add esi, 0x18
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x30]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
movzx eax, word [ebp - 0x2c]
movzx ecx, word [ebp - 0x30]
shl eax, 0x10
or eax, ecx
mov ecx, dword [ebx + 0xac]
test ecx, ecx
je 0x50c13f
mov ecx, dword [ecx + 0x20]
push eax
push 0xfffffffffffffffc
push ecx
push 0x8005
call dword [sym.imp.USER32.dll_NotifyWinEvent]
mov esi, dword [ebp - 0x10]
xor edi, edi
mov dword [ebx + 0x214], esi
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x16c]
mov edx, dword [esi]
xor eax, eax
inc eax
push eax
mov ecx, esi
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
call dword [edx + 0x170]
mov ecx, dword [ebx + 0x214]
mov eax, dword [ecx]
call dword [eax + 0x114]
mov eax, dword [ebx + 0xac]
cmp eax, edi
je 0x50c1cf
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00414470
push eax
push 0x5bbc38
call fcn.00421ae9
pop ecx
pop ecx
cmp eax, edi
je 0x50c1cf
mov ecx, dword [eax + 0xf90]
cmp ecx, edi
je 0x50c1cf
push dword [ebx + 0x214]
mov eax, dword [ecx]
push dword [ebx + 0xac]
call dword [eax + 0x150]
mov dword [ebp + 8], 1
cmp dword [ebp - 0x28], edi
je 0x50c266
mov eax, dword [ebx + 0x214]
cmp eax, edi
je 0x50c266
push eax
push 0x5b8710
call fcn.00421ae9
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x34], esi
cmp esi, edi
je 0x50c266
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x98]
test eax, eax
mov eax, dword [esi]
mov ecx, esi
je 0x50c219
call dword [eax + 0x9c]
jmp 0x50c25f
call dword [eax + 0x38]
test eax, eax
jne 0x50c25f
mov ecx, dword [ebx + 0xac]
cmp ecx, edi
je 0x50c244
call fcn.004f8484
cmp eax, edi
je 0x50c244
cmp dword [eax + 0x744], ebx
jne 0x50c244
push 1
mov ecx, eax
call fcn.00496b98
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
lea esi, [ecx + 0x18]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call dword [eax + 0x1ac]
mov dword [ebp + 8], 1
mov eax, dword [ebp + 8]
call fcn.00556802
ret 4