Function at 0x1094165
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x24b
push 0x1094628
mov esi, ecx
mov ebx, 0x80004005
call fcn.01034b2d
cmp dword [0x10b24cc], 0
je 0x10941fa
mov al, byte [0x10b24d0]
cmp al, 4
jae 0x10941a9
test al, al
jne 0x10941fa
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
and eax, edx
and ecx, 0x80010000
or eax, ecx
je 0x10941fa
mov eax, dword [0x10b24c0]
mov edi, dword [0x10b24c4]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, 0x80010000
cmp ecx, eax
jne 0x10941fa
cmp edx, edi
jne 0x10941fa
push 0x1094648
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
mov eax, dword [esi + 0x4c]
and dword [ebp - 0x42c], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x42c]
push edx
push 0x1034a40
push eax
call dword [ecx]
test eax, eax
jl 0x1094605
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x45c]
push edx
mov dword [ebp - 0x458], 0x500
mov dword [ebp - 0x454], 0xd
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ebx, eax
test ebx, ebx
je 0x1094605
cmp dword [esi + 0x94], 0
je 0x1094265
mov eax, dword [esi + 0x98]
mov dword [ebp - 0x420], eax
jmp 0x1094290
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ax, ax
jge 0x1094289
push 0x11
call edi
test ax, ax
jge 0x1094289
mov dword [ebp - 0x420], 1
jmp 0x1094290
and dword [ebp - 0x420], 0
xor eax, eax
xor edi, edi
cmp dword [esi + 0x80], 1
push 0x206
sete al
push edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x424], eax
xor eax, eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 0xffffffff
jne 0x10943a2
push 0x478
push 0x1094638
call fcn.01034b2d
lea eax, [ebp - 0x440]
push eax
push edi
push edi
push 0x134
push 0x103be90
push 0x1036948
push dword [esi + 0x18]
call dword [sym.imp.SHLWAPI.dll_Ordinal_484]
mov ebx, eax
cmp ebx, edi
jl 0x1094579
push 0x1002cd0
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.PROPSYS.dll_VariantToStringWithDefault]
push eax
mov edi, 0x104
push edi
lea eax, [ebp - 0x414]
push eax
call fcn.0100665f
mov ebx, eax
test ebx, ebx
jl 0x1094579
push 0x1094668
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_460]
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp - 0x420]
lea eax, [ebp - 0x20c]
push eax
push 2
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
mov ecx, esi
call fcn.010939c9
mov ebx, eax
jmp 0x1094579
push dword [ebp + 8]
mov ecx, esi
call fcn.0109337b
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.01092ee3
mov ebx, eax
test ebx, ebx
jl 0x10943d8
mov dword [ebp - 0x424], 1
jmp 0x109450e
mov eax, dword [esi + 0x4c]
and dword [ebp - 0x41c], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x41c]
push edx
push 0x10689f8
push dword [ebp + 8]
push eax
call dword [ecx + 0x74]
mov ebx, eax
test ebx, ebx
jl 0x10944fe
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
lea edx, [ebp - 0x430]
push edx
push 0x60400000
push eax
call dword [ecx + 0x18]
mov ebx, eax
test ebx, ebx
jl 0x10944ef
test dword [ebp - 0x430], 0x40000000
je 0x10944bd
mov eax, dword [ebp - 0x41c]
and dword [ebp - 0x428], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x428]
push edx
push 0x80058000
push eax
call dword [ecx + 0x14]
mov ebx, eax
test ebx, ebx
jl 0x10944a7
push dword [ebp - 0x428]
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0100665f
mov ebx, eax
test ebx, ebx
jl 0x10944a7
cmp dword [ebp - 0x424], 0
jne 0x10944a7
mov eax, dword [ebp - 0x430]
test eax, 0x20000000
je 0x10944a7
shr eax, 0x12
lea ecx, [ebp - 0x418]
push ecx
not eax
push 1
and eax, 0x10
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0107f14d
mov ebx, eax
mov eax, dword [ebp - 0x428]
and dword [ebp - 0x428], 0
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x10944c4
and dword [ebp - 0x424], 0
test ebx, ebx
jl 0x10944ef
cmp dword [ebp - 0x424], 0
jne 0x10944ef
cmp dword [ebp - 0x418], 0
jne 0x10944ef
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.SHELL32.dll_SHGetIDListFromObject]
mov ebx, eax
push 3
push 0
push dword [ebp - 0x41c]
call fcn.0106e02d
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x109450e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
jl 0x1094579
cmp dword [ebp - 0x424], 0
push dword [ebp - 0x420]
je 0x109453d
lea eax, [ebp - 0x20c]
push eax
push 2
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
mov ecx, esi
call fcn.010939c9
jmp 0x1094554
push dword [ebp - 0x418]
push 2
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call fcn.01093f70
mov ebx, eax
test ebx, ebx
jl 0x1094579
cmp dword [esi + 0x80], 1
jne 0x1094579
cmp word [ebp - 0x20c], 0
je 0x1094579
lea eax, [ebp - 0x20c]
push eax
call fcn.010935ad
lea eax, [ebp - 0x478]
push eax
push 0xcc
push dword [esi + 0x78]
call fcn.0103c26a
cmp dword [0x10b24cc], 0
je 0x10945f1
mov al, byte [0x10b24d0]
cmp al, 4
jae 0x10945a3
test al, al
jne 0x10945f1
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
mov edi, 0x80010000
and eax, edx
and ecx, edi
or eax, ecx
je 0x10945f1
mov eax, dword [0x10b24c0]
mov esi, dword [0x10b24c4]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, edi
cmp ecx, eax
jne 0x10945f1
cmp edx, esi
jne 0x10945f1
push 0x1094658
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
mov eax, dword [ebp - 0x418]
and dword [ebp - 0x418], 0
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x1094615
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 4