Function at 0x423480
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 0x42360d
cmp dword [ebp + 8], 0xd
jne 0x42360d
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x42360d
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 0x4235c6
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 0x423613
push 0
push eax
mov eax, dword [ebx + 0x64]
push 0x150
push eax
call edi
mov ebp, eax
test ebp, ebp
je 0x42350f
lea esi, [ebp + 4]
jmp 0x423511
xor esi, esi
mov dword [esp + 0x18], 0
mov eax, dword [esi]
test eax, eax
je 0x423571
lea ecx, [esp + 0x10]
call fcn.004236f0
mov eax, dword [0x554e40]
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 0x423562
mov eax, dword [0x554e40]
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.00424b40
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ebp, ebp
mov dword [esp + 0x14], 0x5419d8
je 0x4235b7
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.00510740
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
lea ecx, [esp + 0x14]
call fcn.00510740
mov ebp, dword [esp + 0x20]
jmp 0x423613
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 0x423613
mov edx, dword [ebp + 0xc]
push edx
call fcn.00519420
add esp, 4
cmp al, 1
jne 0x423613
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x423613
mov ecx, ebx
call fcn.00423460
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 0x4236d2
mov eax, dword [ebp + 4]
cmp eax, 0x200
je 0x4236d0
cmp eax, 0x100
jne 0x4236d0
lea eax, [esi + 0x2c]
test eax, eax
je 0x423648
lea eax, [esi + 0x30]
jmp 0x42364a
xor eax, eax
mov ebp, dword [eax]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebp
jne 0x4236cc
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
cmp eax, 0xd
jne 0x4236a0
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x4236cc
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
push eax
call fcn.00519420
add esp, 4
cmp al, 1
jne 0x4236cc
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 0x4236cc
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x4236cc
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 0x4236e2
push ebp
call fcn.00423720
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4