Function at 0x10035556
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x1107
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
cmp esi, eax
ja 0x1003574b
je 0x10035721
mov eax, 0x202
cmp esi, eax
ja 0x10035679
je 0x1003566b
lea eax, [esi - 1]
sub eax, 1
je 0x10035656
sub eax, 5
je 0x100355f5
sub eax, 1
je 0x100355d9
sub eax, 0xf8
je 0x100355c3
sub eax, 0x101
jne 0x100355ed
lea ecx, [ebx - 0x18]
push ecx
call fcn.10034d98
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x18
mov eax, dword [ebp + 0x10]
lea ecx, [ebx - 0x18]
push eax
call fcn.100349f0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x100359d3
test byte [ebx + 0x88], 2
je 0x100355ed
push edi
push edi
push edi
lea ecx, [ebx - 0x18]
call fcn.1003474f
mov edi, dword [ebp + 0x14]
jmp 0x100359e2
test byte [ebx + 0x88], 2
je 0x100355ed
cmp dword [ebx + 0x154], edi
jne 0x100355ed
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
mov ecx, 0x8000
test cx, ax
jne 0x1003563b
push 0x26
call edi
mov ecx, 0x8000
test cx, ax
jne 0x1003563b
lea eax, [ebx + 0x100]
lea edi, [ebx - 0x18]
push eax
mov ecx, edi
call fcn.10034502
jmp 0x1003564a
lea eax, [ebx + 0x100]
push eax
call fcn.1005127d
lea edi, [ebx - 0x18]
push 0
push 0x100
push eax
mov ecx, edi
jmp 0x100355e8
lea eax, [ebx + 0x100]
push eax
call sym.WCLDll.dll_at_dom_remove_child
pop ecx
mov dword [ebx + 0x118], edi
jmp 0x100355ed
lea ecx, [ebx - 0x18]
push ecx
call fcn.10034d23
jmp 0x100355b9
mov eax, esi
sub eax, 0x204
je 0x100356f6
sub eax, 0xa3
je 0x100356e5
sub eax, 0xe5a
je 0x100356ca
sub eax, 4
je 0x100356af
sub eax, 1
jne 0x100355ed
movzx ecx, word [ebx + 0x16a]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
jmp 0x100355b9
lea eax, [ebx + 0x100]
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x14], eax
call fcn.1004bf90
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x100355b9
cmp dword [ebp + 0x14], edi
jne 0x100355b9
lea eax, [ebx + 0x100]
push eax
call sym.WCLDll.dll_at_dom_remove_child
pop ecx
jmp 0x100355b9
push dword [ebp + 0x14]
lea ecx, [ebx - 0x18]
push ecx
call fcn.10034e5e
jmp 0x100355b9
push 1
lea ecx, [ebx - 0x18]
call fcn.1003048e
mov eax, dword [ebx - 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
cmp dword [eax + 0x4c], edi
je 0x100355ed
push 0
push 0x130
push dword [eax + 0x4c]
jmp 0x100355e5
movzx eax, word [ebx + 0x16a]
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
je 0x100355b9
mov word [ebx + 0x16a], cx
lea ecx, [ebx - 0x18]
mov edx, dword [ecx]
lea eax, [ecx + 0x5c]
push eax
call dword [edx + 0x24]
jmp 0x100355b9
mov eax, 0x812c
cmp esi, eax
ja 0x100358b8
je 0x10035888
mov eax, esi
sub eax, 0x110a
je 0x10035804
sub eax, 1
je 0x100357e0
sub eax, 5
je 0x100357bb
sub eax, 0xb
je 0x10035791
sub eax, 0x17
jne 0x100355ed
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x150], eax
jmp 0x100355b9
mov eax, dword [ebp + 0x18]
movzx ecx, word [ebx + 0x168]
mov dword [eax], ecx
movzx eax, word [ebx + 0x168]
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
je 0x100355b9
mov word [ebx + 0x168], cx
jmp 0x100355b9
movzx eax, word [ebx + 0x168]
movss xmm1, dword [ebx + 0x50]
subss xmm1, dword [ebx + 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si ecx, xmm1
jmp 0x100356a5
lea eax, [ebx + 0x100]
cmp dword [ebp + 0x14], eax
je 0x100355b9
push 0
push dword [ebp + 0x10]
lea ecx, [ebx - 0x18]
push dword [ebp + 0x14]
call fcn.1003474f
jmp 0x100355b9
cmp dword [ebp + 0x14], edi
lea eax, [ebx + 0x100]
mov ecx, dword [ebp + 0x10]
mov edx, eax
cmovne edx, dword [ebp + 0x14]
cmp ecx, 0xa
ja case.0x1003581b.8
jmp dword [ecx*4 + 0x10035a06]
mov eax, dword [ebx + 0x154]
jmp case.0x1003581b.0
lea ecx, [ebx - 0x18]
call fcn.10034299
jmp case.0x1003581b.0
push eax
call fcn.1005127d
jmp case.0x1003581b.0
mov eax, dword [edx + 0x10]
jmp case.0x1003581b.0
mov eax, dword [edx + 0x14]
jmp case.0x1003581b.0
mov eax, dword [edx + 8]
jmp case.0x1003581b.0
mov eax, dword [edx + 0xc]
jmp case.0x1003581b.0
lea ecx, [ebx - 0x18]
push edx
call fcn.10034502
jmp case.0x1003581b.0
lea ecx, [ebx - 0x18]
push edx
call fcn.10034493
jmp case.0x1003581b.0
xor eax, eax
jmp case.0x1003581b.0
mov esi, dword [ebp + 0x14]
push 0
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1002e0b1
cmp byte [esi + 0x10], 0
jne 0x100355b9
push dword [ebp + 0x10]
lea ecx, [ebx - 0x18]
push esi
call fcn.10034665
jmp 0x100355b9
mov eax, esi
push 7
pop ecx
sub eax, 0x814a
je 0x10035998
sub eax, ecx
je 0x10035998
sub eax, 0xd
je 0x10035920
sub eax, 3
je 0x100358f2
sub eax, ecx
jne 0x100355ed
push dword [ebp + 0x14]
lea ecx, [ebx - 0x18]
call fcn.100354b2
jmp 0x100355b9
mov edx, dword [ebp + 0x14]
lea edi, [ebx - 0x18]
cmp dword [edx + 4], 0x100
jne 0x100359d1
mov ecx, dword [edx + 0x10]
push edi
call fcn.1002f266
test eax, eax
je 0x100359e0
push dword [edx + 8]
mov ecx, edi
jmp 0x100355ca
mov edi, dword [ebp + 0x14]
lea edx, [ebx - 0x18]
cmp dword [edi + 4], 0x201
je 0x10035938
cmp dword [edi + 4], 0x204
jne 0x10035951
mov ecx, dword [edi + 0x10]
push edx
call fcn.1002f266
test eax, eax
je 0x10035951
push ecx
push ecx
mov ecx, edx
call fcn.10034e11
lea edx, [ebx - 0x18]
cmp dword [edi + 4], 0x47
jne 0x100359e2
mov ecx, dword [edi + 0xc]
mov al, byte [ecx + 0x18]
not al
test al, 1
je 0x100359e2
mov eax, dword [ecx + 0x18]
mov ecx, 0x200008
and eax, ecx
cmp eax, ecx
je 0x100359e2
mov ecx, dword [edi + 0x10]
push edx
call fcn.1002f266
cmp eax, 1
jne 0x100359e2
mov ecx, dword [edi + 0x10]
mov edx, 0x200008
mov ecx, dword [ecx + 0x110]
call fcn.10033a12
jmp 0x100359e2
mov eax, dword [ebp + 0x10]
sub esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x20], edi
lea edi, [ebp - 0x10]
mov dword [ebp - 0x1c], esi
lea esi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebx + 0x100]
mov edi, esp
mov dword [ebp - 4], eax
rep movsd dword es:[edi], dword [esi]
push ecx
lea ecx, [ebp - 4]
call fcn.10056edc
mov esi, dword [ebp + 0xc]
xor eax, eax
test eax, eax
jne 0x100355b9
jmp 0x100355ed
mov edi, edx
push 0
push dword [ebp + 0x18]
mov ecx, ebx
push edi
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call fcn.1004be5c
test eax, eax
jne 0x100355b9
jmp 0x100355bc