Function at 0x9dd4a9
Capabilities:
Log keystrokes

Disassembly:
mov eax, 0xaf31b8
call fcn.00a6fc7c
sub esp, 0x2c
push ebx
push esi
push edi
mov esi, ecx
call dword [fcn.00be18d4]
mov dword [esi + 0x5ec], eax
mov eax, dword [esi + 4]
lea edi, [esi + 4]
mov ecx, edi
call dword [eax + 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00426edd
mov edi, eax
xor ebx, ebx
cmp dword [edi], ebx
mov dword [ebp - 4], ebx
jne 0x9dd4ff
push 0x80004003
call fcn.00a6ef01
mov ecx, dword [edi]
call fcn.0040c250
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], eax
call fcn.00415cd1
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00426edd
mov edi, eax
cmp dword [edi], ebx
mov dword [ebp - 4], 1
jne 0x9dd537
push 0x80004003
call fcn.00a6ef01
mov ecx, dword [edi]
call fcn.0040c2e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], eax
call fcn.00415cd1
xor edi, edi
cmp dword [0xbe2870], ebx
jne 0x9dd560
push 1
mov dword [0xbe2870], esi
pop edi
mov eax, dword [0xbdd89c]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x5b4]
mov ecx, dword [esi + 0x5bc]
push ebx
push dword [0xbe28f8]
push ebx
push edx
mov edx, dword [ebp - 0x20]
sub edx, eax
sub edx, dword [esi + 0x5b8]
push edx
mov edx, dword [ebp - 0x24]
sub edx, ecx
sub edx, dword [esi + 0x5c0]
push edx
mov edx, dword [ebp - 0x18]
add eax, edx
push eax
mov eax, dword [ebp - 0x1c]
add ecx, eax
push ecx
push 0x44000000
push 0xbdd7e4
push 0xb0ccc8
push 4
call dword [fcn.00be16f0]
cmp edi, ebx
mov dword [esi + 0x598], eax
je 0x9dd5c8
mov dword [0xbe2870], ebx
cmp dword [esi + 0x598], ebx
jne 0x9dd5db
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x9dd781
mov eax, dword [esi + 0x590]
push 1
push dword [esi + 0x5f0]
push eax
call dword [sym.imp.user32.dll_AttachThreadInput]
push esi
push 0xffffffffffffffeb
push dword [esi + 0x598]
call dword [0xbe1708]
test eax, eax
jne 0x9dd781
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
push 0xb0e0e0
push 3
push ebx
push 0xb0e2a0
mov dword [ebp - 4], 2
call dword [0xbe1818]
cmp eax, ebx
mov eax, dword [ebp - 0x10]
jl 0x9dd773
cmp eax, ebx
je 0x9dd773
push 0xb0e2d0
push eax
lea edi, [esi + 0x59c]
push edi
call fcn.009dd792
cmp dword [edi], ebx
je 0x9dd735
mov edi, esi
neg edi
lea eax, [esi + 0x578]
sbb edi, edi
and edi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x9dd735
mov eax, dword [ebp - 0x20]
sub eax, dword [esi + 0x5b8]
sub eax, dword [esi + 0x5b4]
add eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [esi + 0x5c0]
sub eax, dword [esi + 0x5bc]
add eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x38]
push dword [ebp - 0x1c]
push eax
call dword [fcn.00be16bc]
test eax, eax
je 0x9dd735
mov eax, dword [esi + 0x59c]
lea ecx, [esi + 0x5a0]
push ecx
push 0xb0e2c0
push edi
push eax
call fcn.004651d1
cmp eax, ebx
jl 0x9dd735
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push dword [esi + 0x598]
push ebx
push edi
push ebx
push 0xfffffffffffffffb
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
jl 0x9dd735
mov eax, dword [esi + 0x59c]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
je 0x9dd707
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0xb0e070
push eax
call dword [ecx]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x9dd735
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x38]
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x9dd73e
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x9dd735
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
jmp 0x9dd777
mov dword [esi + 0x5ec], ebx
push 1
pop edi
mov dword [esi + 0x5e8], edi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x9dd75e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x9dd76f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x9dd783
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x9dd781
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret