Function at 0x41f140
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov ebx, ecx
cmp dword [ebp + 4], 0x100
jne 0x41f2cd
cmp dword [ebp + 8], 0xd
jne 0x41f2cd
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x41f2cd
mov eax, dword [ebx + 0x64]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x157
push eax
call edi
test eax, eax
push 0
push 0
je 0x41f286
mov ecx, dword [ebx + 0x64]
push 0x14f
push ecx
call edi
mov edx, dword [ebx + 0x64]
push 0
push 0
push 0x147
push edx
call edi
cmp eax, 0xffffffff
je 0x41f2d3
push 0
push eax
mov eax, dword [ebx + 0x64]
push 0x150
push eax
call edi
mov ebp, eax
test ebp, ebp
je 0x41f1cf
lea esi, [ebp + 4]
jmp 0x41f1d1
xor esi, esi
mov dword [esp + 0x18], 0
mov eax, dword [esi]
test eax, eax
je 0x41f231
lea ecx, [esp + 0x10]
call fcn.0041f3b0
mov eax, dword [0x4e3a58]
mov edx, dword [esi]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x41f222
mov eax, dword [0x4e3a58]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ecx, edi
mov dword [esp + 0x18], eax
mov esi, dword [esi]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00420740
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ebp, ebp
mov dword [esp + 0x14], 0x4d3914
je 0x41f277
lea eax, [esp + 0x14]
mov edx, dword [ebx + 4]
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
and eax, ecx
push edx
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0xa8]
push 0x4e0
push eax
call edi
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004acdf0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
lea ecx, [esp + 0x14]
call fcn.004acdf0
mov ebp, dword [esp + 0x20]
jmp 0x41f2d3
mov ecx, dword [ebx + 0x64]
push 0x407
push ecx
call edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x41f2d3
mov edx, dword [ebp + 0xc]
push edx
call fcn.004b4c30
add esp, 4
cmp al, 1
jne 0x41f2d3
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x41f2d3
mov ecx, ebx
call fcn.0041f120
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebx + 0xe0]
xor eax, eax
test esi, esi
je 0x41f392
mov eax, dword [ebp + 4]
cmp eax, 0x200
je 0x41f390
cmp eax, 0x100
jne 0x41f390
lea eax, [esi + 0x2c]
test eax, eax
je 0x41f308
lea eax, [esi + 0x30]
jmp 0x41f30a
xor eax, eax
mov ebp, dword [eax]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebp
jne 0x41f38c
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
cmp eax, 0xd
jne 0x41f360
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x41f38c
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
push eax
call fcn.004b4c30
add esp, 4
cmp al, 1
jne 0x41f38c
mov ecx, dword [esi + 4]
push 0
push 0x6f
push 0x111
push ecx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
cmp eax, 0x1b
jne 0x41f38c
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x41f38c
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
mov ebp, dword [esp + 0x20]
xor eax, eax
mov ecx, dword [ebx + 0xa0]
test ecx, ecx
je 0x41f3a2
push ebp
call fcn.0041f3e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4