Function at 0x1094201
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 0x10946c8
mov esi, ecx
mov ebx, 0x80004005
call fcn.01034b2d
cmp dword [0x10b24cc], 0
je 0x1094296
mov al, byte [0x10b24d0]
cmp al, 4
jae 0x1094245
test al, al
jne 0x1094296
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
and eax, edx
and ecx, 0x80010000
or eax, ecx
je 0x1094296
mov eax, dword [0x10b24c0]
mov edi, dword [0x10b24c4]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, 0x80010000
cmp ecx, eax
jne 0x1094296
cmp edx, edi
jne 0x1094296
push 0x10946e8
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 0x10946a1
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 0x10946a1
cmp dword [esi + 0x94], 0
je 0x1094301
mov eax, dword [esi + 0x98]
mov dword [ebp - 0x420], eax
jmp 0x109432c
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ax, ax
jge 0x1094325
push 0x11
call edi
test ax, ax
jge 0x1094325
mov dword [ebp - 0x420], 1
jmp 0x109432c
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 0x109443e
push 0x478
push 0x10946d8
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 0x1094615
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 0x1094615
push 0x1094708
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.01093a69
mov ebx, eax
jmp 0x1094615
push dword [ebp + 8]
mov ecx, esi
call fcn.0109341b
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.01092f83
mov ebx, eax
test ebx, ebx
jl 0x1094474
mov dword [ebp - 0x424], 1
jmp 0x10945aa
mov eax, dword [esi + 0x4c]
and dword [ebp - 0x41c], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x41c]
push edx
push 0x1068a00
push dword [ebp + 8]
push eax
call dword [ecx + 0x74]
mov ebx, eax
test ebx, ebx
jl 0x109459a
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 0x109458b
test dword [ebp - 0x430], 0x40000000
je 0x1094559
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 0x1094543
push dword [ebp - 0x428]
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0100665f
mov ebx, eax
test ebx, ebx
jl 0x1094543
cmp dword [ebp - 0x424], 0
jne 0x1094543
mov eax, dword [ebp - 0x430]
test eax, 0x20000000
je 0x1094543
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.0107f2b5
mov ebx, eax
mov eax, dword [ebp - 0x428]
and dword [ebp - 0x428], 0
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1094560
and dword [ebp - 0x424], 0
test ebx, ebx
jl 0x109458b
cmp dword [ebp - 0x424], 0
jne 0x109458b
cmp dword [ebp - 0x418], 0
jne 0x109458b
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.0106e03d
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x10945aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
jl 0x1094615
cmp dword [ebp - 0x424], 0
push dword [ebp - 0x420]
je 0x10945d9
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.01093a69
jmp 0x10945f0
push dword [ebp - 0x418]
push 2
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call fcn.01094010
mov ebx, eax
test ebx, ebx
jl 0x1094615
cmp dword [esi + 0x80], 1
jne 0x1094615
cmp word [ebp - 0x20c], 0
je 0x1094615
lea eax, [ebp - 0x20c]
push eax
call fcn.0109364d
lea eax, [ebp - 0x478]
push eax
push 0xcc
push dword [esi + 0x78]
call fcn.0103c26a
cmp dword [0x10b24cc], 0
je 0x109468d
mov al, byte [0x10b24d0]
cmp al, 4
jae 0x109463f
test al, al
jne 0x109468d
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
mov edi, 0x80010000
and eax, edx
and ecx, edi
or eax, ecx
je 0x109468d
mov eax, dword [0x10b24c0]
mov esi, dword [0x10b24c4]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, edi
cmp ecx, eax
jne 0x109468d
cmp edx, esi
jne 0x109468d
push 0x10946f8
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 0x10946b1
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