Function at 0x47f3e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x414
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x5c9f20]
push edi
xor edi, edi
cmp ecx, esi
mov ebx, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], edi
jne 0x47f418
call fcn.0045aa70
mov ecx, esi
call fcn.00561000
cmp eax, edi
mov dword [esp + 0xc], eax
je 0x47fd12
mov ecx, dword [eax + 0xbe8]
mov dword [esp + 0x24], ecx
call fcn.004f0af0
test eax, eax
je 0x47fd12
test ebx, ebx
je 0x47fd12
mov esi, dword [esp + 0xc]
cmp ebx, dword [esi + 0x884]
je 0x47f462
cmp ebx, dword [esi + 0x888]
jne 0x47fd12
mov eax, dword [ebp + 8]
cmp eax, 3
jne 0x47f4fa
mov dword [esp + 0x2c], 1
mov eax, dword [esi + 0x8b8]
test eax, eax
je 0x47f4ba
mov edx, dword [esi + 0x8b4]
lea eax, [esp + 0x10]
push eax
push 0
mov ecx, ebx
call fcn.0047e430
mov edx, dword [esi + 0x8b4]
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.0047e0e0
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x1c]
jl 0x47fd12
mov esi, dword [esp + 0xc]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [esi + 0x8b4]
push 1
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.0047e0e0
mov edi, dword [esp + 0x10]
xor ecx, ecx
test edi, edi
jg 0x47f5e8
call fcn.0041f0a0
jmp 0x47fc43
cmp eax, 2
jne 0x47f476
mov eax, dword [esi + 0x8b8]
test eax, eax
je 0x47fcf9
mov esi, dword [esp + 0xc]
mov edx, dword [esi + 0x8b4]
lea ecx, [esp + 0x10]
push ecx
push 0
mov ecx, ebx
call fcn.0047e430
push 0
lea edx, [esp + 0x20]
push edx
mov edx, dword [esi + 0x8b4]
mov ecx, ebx
call fcn.0047e0e0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jge 0x47f583
push esi
mov edx, 1
push esi
mov ecx, ebx
mov dword [0x5cbaa8], edx
call fcn.0047e370
push 0x5a4be8
push esi
push 0xc2
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [esp + 0x14], 2
jmp 0x47fd12
test eax, eax
jle 0x47fd12
push 0x7d000
push 0x7d000
mov edx, 1
mov ecx, ebx
mov dword [0x5cbaa8], 1
call fcn.0047e370
push 0x5a4be8
push 0
push 0xc2
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x7d000
push 0x7d000
mov edx, 1
mov ecx, ebx
call fcn.0047e370
mov dword [esp + 0x14], 2
jmp 0x47fd12
mov eax, dword [esi + 0x888]
test eax, eax
je 0x47f61c
cmp eax, ebx
jne 0x47f61c
mov dl, byte [esi + 0x8f6]
test dl, dl
lea eax, [esi + 0x8f6]
je 0x47f61c
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f610
sub eax, edx
lea ecx, [eax + 0xa]
lea eax, [ecx + edi + 0xa]
lea esi, [eax + eax*4]
cmp esi, 0x3e7
jge 0x47f630
mov esi, 0x3e7
push esi
call fcn.00591118
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
je 0x47fd12
mov edi, dword [esp + 0x18]
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0x8b4]
push esi
push eax
mov ecx, ebx
call fcn.0047e1e0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x5a4bec
push 0
push 0xc
push ebx
mov dword [0x5cbaa8], 1
call esi
push 0
push 0
push 0xcd
push ebx
call esi
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.USER32.dll_IsIconic]
mov dword [0x5cbaa8], 0
mov eax, dword [edx]
push eax
call edi
test eax, eax
jne 0x47fc43
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
push edx
call esi
test eax, eax
je 0x47fc43
mov eax, dword [0x5ee6e0]
test eax, eax
je 0x47f703
mov eax, dword [0x5f92ec]
push eax
call edi
test eax, eax
jne 0x47fd01
mov ecx, dword [0x5f92ec]
push ecx
call esi
test eax, eax
je 0x47fd01
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
call fcn.0053d190
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x8b8]
xor esi, esi
cmp eax, esi
jne 0x47f7cf
cmp dword [esp + 0x2c], esi
je 0x47f7cf
cmp byte [edi], 0
je 0x47f7bf
jmp 0x47f740
xor esi, esi
jmp 0x47f740
push 0x5a4be8
push edi
call fcn.00591d90
add esp, 8
cmp eax, esi
je 0x47f757
lea esi, [eax + 2]
jmp 0x47f77e
push 0x5a551c
push edi
call fcn.00591d90
add esp, 8
cmp eax, esi
jne 0x47f77b
push 0x5a4c04
push edi
call fcn.00591d90
add esp, 8
cmp eax, esi
je 0x47f7ba
lea esi, [eax + 1]
mov byte [eax], 0
cmp byte [esi], 0
je 0x47f7a9
mov ecx, esi
lea edi, [ecx + 1]
jmp 0x47f790
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x47f790
sub ecx, edi
inc ecx
push ecx
push esi
push eax
call fcn.00592290
mov edi, dword [esp + 0x24]
add esp, 0xc
cmp byte [edi], 0
jne 0x47f739
xor ecx, ecx
call fcn.0041f0a0
jmp 0x47fd01
cmp byte [edi], 0
jne 0x47f7cb
xor ecx, ecx
call fcn.0041f0a0
jmp 0x47fd01
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov dword [edx + 0x1918], esi
mov al, byte [edi]
cmp al, 0x2f
je 0x47f7f2
cmp al, byte [0x5bfd54]
je 0x47f7f2
mov dword [esp + 0x1c], esi
mov edi, 1
jmp 0x47f7fb
mov edi, 1
mov dword [esp + 0x1c], edi
mov eax, dword [ecx + 0x888]
cmp eax, esi
je 0x47f817
cmp eax, ebx
jne 0x47f817
mov al, byte [ecx + 0x8f6]
test al, al
mov dword [esp + 0x2c], edi
jne 0x47f81b
mov dword [esp + 0x2c], esi
mov al, byte [0x5cba9c]
test al, 1
jne 0x47f82f
cmp dword [ebp + 0xc], esi
mov dword [0x5cbaa4], edi
je 0x47f835
mov dword [0x5cbaa4], esi
test al, 2
jne 0x47f90c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
js 0x47f90c
mov eax, dword [esp + 0x18]
mov dword [0x5cbaa0], esi
mov edi, 0x5a7488
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x47f99b
mov edi, 0x5a807c
mov esi, eax
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x47f99b
mov edi, 0x5a8078
mov esi, eax
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x47f99b
mov edi, 0x5a8074
mov esi, eax
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x47f99b
mov edi, 0x5a8070
mov esi, eax
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x47f8f7
mov edi, str.___r_n
mov esi, eax
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x47f8f7
mov edi, 0x5a8060
mov esi, eax
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x47f8f7
mov esi, eax
mov edi, 0x5a8058
mov ecx, 4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x47f912
mov eax, dword [0x5cbaac]
test eax, eax
jne 0x47f93f
xor ecx, ecx
call fcn.0041f0a0
jmp 0x47fd01
mov dword [0x5cbaa0], edi
mov ebx, dword [esp + 0x18]
cmp byte [ebx], 0
je 0x47fc43
nop
push 0x5a4be8
push ebx
call fcn.00591d90
mov esi, eax
add esp, 8
test esi, esi
je 0x47f9a9
mov byte [esi], 0
add esi, 2
jmp 0x47f9d9
push 0x5a4be8
push eax
call fcn.005938e0
add esp, 8
test eax, eax
je 0x47f954
mov byte [eax], 0
mov ecx, dword [0x5cbaac]
mov edx, dword [esp + 0xc]
mov dword [0x5cbaa8], 1
mov edx, dword [edx + 0x8b4]
push ecx
mov ecx, ebx
call fcn.0047e680
push 0x7d000
push 0x7d000
mov edx, 1
mov ecx, ebx
call fcn.0047e370
mov dword [0x5cbaa8], 0
jmp 0x47fcf9
mov ecx, dword [esp + 0x28]
call fcn.00424850
jmp 0x47fcf9
push 0x5a551c
push ebx
call fcn.00591d90
mov esi, eax
add esp, 8
test esi, esi
jne 0x47f9d5
push 0x5a4c04
push ebx
call fcn.00591d90
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x10], esi
je 0x47f9dd
mov byte [esi], 0
inc esi
mov dword [esp + 0x10], esi
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47f9e2
sub ecx, edx
test ecx, ecx
mov dword [esp + 0x14], ecx
jle 0x47fc32
cmp ecx, 0x3b5
jle 0x47fa08
mov ecx, 0x3b5
mov dword [esp + 0x14], ecx
mov al, byte [ecx + ebx]
mov byte [esp + 0x23], al
mov byte [ecx + ebx], 0
mov eax, dword [0x5cbaac]
test eax, eax
je 0x47fa25
push eax
call fcn.0059112a
add esp, 4
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fa30
sub eax, edx
add eax, 0xa
push eax
call fcn.00591118
add esp, 4
test eax, eax
mov dword [0x5cbaac], eax
je 0x47fa5c
mov ecx, ebx
mov edx, eax
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x47fa52
mov ecx, dword [esp + 0x28]
mov edx, ebx
call fcn.00424700
xor eax, eax
mov ecx, 0xf9
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov ecx, dword [0x5cbaa0]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, ecx
neg eax
sbb eax, eax
and eax, 3
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x47fb24
test ecx, ecx
mov dword [esp + 0x30], 0
je 0x47fad3
mov esi, dword [esp + 0xc]
add esi, 0x8f6
push ebx
push esi
call fcn.005a299c
add esp, 8
test eax, eax
je 0x47fb24
push esi
lea ecx, [esp + 0x3c]
push 0x5a565c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
lea edx, [esp + 0x48]
push edx
jmp 0x47fb0a
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x47fb24
mov esi, dword [esp + 0xc]
add esi, 0x8f6
push ebx
push esi
call fcn.005a299c
add esp, 8
test eax, eax
je 0x47fb24
push esi
lea eax, [esp + 0x3c]
push 0x5a565c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
lea ecx, [esp + 0x48]
push ecx
call fcn.005a299c
add esp, 0x14
test eax, eax
jne 0x47fb24
lea edi, [esp + 0x38]
mov ecx, 0xf9
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, ebx
mov esi, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fb28
lea edi, [esp + 0x38]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47fb36
mov dl, byte [esp + 0x23]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + ebx], dl
mov eax, dword [0x5f35d0]
test eax, eax
mov esi, 1
je 0x47fbb9
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x14], 0
je 0x47fb97
mov ecx, dword [0x5cbaac]
push 0
lea edx, [esp + 0x18]
call fcn.00503790
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47fb97
mov eax, dword [0x5cbaa0]
test eax, eax
je 0x47fbb9
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
push 0
push 0
push 0
push 0x1e
push str.INPUT
push 0
call fcn.0051fbb0
test eax, eax
jne 0x47fbb9
xor esi, esi
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47fc43
mov ecx, dword [esp + 0xc]
call fcn.005612a0
test eax, eax
je 0x47fc43
mov ecx, dword [esp + 0x24]
call fcn.004f0af0
test eax, eax
je 0x47fc43
test esi, esi
mov esi, dword [esp + 0x28]
je 0x47fc09
test esi, esi
je 0x47fc09
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
push edx
push 0
push 0
push eax
push 0
lea edx, [esp + 0x4c]
mov ecx, esi
call fcn.00440db0
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47fc43
mov ecx, dword [esp + 0xc]
call fcn.005612a0
test eax, eax
je 0x47fc43
mov ecx, dword [esp + 0x24]
call fcn.004f0af0
test eax, eax
je 0x47fc43
mov esi, dword [esp + 0x10]
test esi, esi
je 0x47fc43
mov ebx, dword [esp + 0x10]
cmp byte [ebx], 0
jne 0x47f920
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.005612a0
test eax, eax
je 0x47fcf9
mov eax, dword [edi + 0x884]
mov esi, dword [esp + 0x34]
xor ebx, ebx
cmp eax, ebx
je 0x47fc87
cmp eax, esi
jne 0x47fc87
mov cl, byte [edi + 0xb84]
test cl, cl
lea eax, [edi + 0xb84]
je 0x47fc87
mov dword [0x5cbaa8], 1
push eax
jmp 0x47fcd0
mov eax, dword [edi + 0x888]
cmp eax, ebx
je 0x47fcf9
cmp eax, esi
jne 0x47fcf9
mov cl, byte [edi + 0x8f6]
test cl, cl
lea eax, [edi + 0x8f6]
je 0x47fcf9
cmp dword [edi + 0x95c], ebx
je 0x47fcf9
push eax
lea ecx, [esp + 0x3c]
push 0x5a565c
push ecx
mov dword [0x5cbaa8], 1
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x38]
push edx
mov edx, dword [edi + 0x8b4]
mov ecx, esi
call fcn.0047e680
push 0x7d000
mov ecx, esi
mov edx, 1
push 0x7d000
call fcn.0047e370
mov dword [0x5cbaa8], ebx
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47fd12
push eax
call fcn.0059112a
add esp, 4
xor eax, eax
pop edi
pop esi
mov dword [0x5cba9c], eax
mov dword [0x5cbaa0], eax
mov dword [0x5cbaa4], eax
mov dword [0x5cbaa8], eax
mov eax, dword [esp + 0xc]
pop ebx
mov esp, ebp
pop ebp
ret 8