Function at 0x433537
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
cmp esi, edx
je 0x4337b5
mov eax, dword [esi + 4]
cmp eax, edx
je 0x4337b5
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
cmp ecx, 0xffffff6a
je 0x433816
cmp ecx, 0xffffff4f
je 0x433816
cmp ecx, 0xffffff94
jne 0x4335ef
mov ecx, esi
call fcn.0043123b
lea ebx, [esi + 0x10]
mov eax, dword [ebx]
push 0xffffffffffffffff
and eax, 0x7f
push eax
mov ecx, esi
call fcn.00430284
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x4335a1
inc ebx
mov ecx, dword [esi + 0x1c]
mov eax, dword [edi + 0x10]
mov al, byte [eax + ecx]
mov cl, byte [ebx]
mov dl, cl
and dl, 0x7f
cmp dl, al
jne 0x4335bf
movzx eax, cl
xor eax, 0x80
jmp 0x4335c2
movzx eax, al
mov byte [ebx], al
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, esi
call fcn.004312c6
mov eax, dword [esi + 0x10]
mov ecx, eax
shr ecx, 7
not ecx
and ecx, 1
push ecx
and eax, 0x7f
push eax
mov ecx, esi
call fcn.00430284
jmp 0x4338a0
cmp ecx, 0xfffffff4
jne 0x433719
mov ecx, 0x10000
cmp byte [0x88f82d], dl
je 0x43361a
test dword [edi + 0xc], ecx
je 0x433623
test byte [edi + 0x24], 1
je 0x433623
mov eax, dword [0x55a640]
mov dword [edi + 0x34], eax
jmp 0x433623
cmp dword [eax + 0x24], edx
je 0x4337b5
mov eax, dword [edi + 0xc]
dec eax
je 0x433712
sub eax, ecx
je 0x4336ff
sub eax, 0x20000
je 0x433644
dec eax
je 0x43368f
jmp 0x4338a0
mov ecx, dword [esi + 0xc]
push 0x10
call fcn.00476571
mov eax, dword [esi + 4]
cmp dword [eax + 0x34], 0
je 0x433678
mov edx, dword [esi + 0x1c]
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [edi + 0x38]
movzx ecx, byte [ecx + edx]
push dword [esi + 0xc]
mov edx, dword [edi + 0x24]
call dword [eax + 0x34]
test al, al
je 0x433678
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], eax
cmp byte [0x88f68a], 0
je 0x4338a0
cmp dword [edi + 0x38], 0
jne 0x4338a0
mov ecx, dword [esi + 0x1c]
mov eax, dword [edi + 0x38]
mov cl, byte [eax + ecx]
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [esi + 4]
test dword [ecx + 0x24], edx
jne 0x4336ac
push 0
jmp 0x433809
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x24]
mov dword [ebp - 0x14], 2
push 0x1038
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4336a5
mov edx, dword [edi + 0x38]
mov ecx, dword [esi + 0x1c]
movzx ecx, byte [ecx + edx]
push dword [esi + 0xc]
lea edx, [ebp - 0x14]
push ecx
mov ecx, edi
call eax
test al, al
je 0x4336a5
push 4
jmp 0x433809
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x24]
neg eax
sbb eax, eax
and eax, 0x20
push eax
jmp 0x433809
push 0x20
jmp 0x433809
cmp ecx, 0xffffff65
jne 0x4337be
cmp word [edi + 0xc], 0x41
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
jne 0x43375c
push 0x11
call ebx
test ax, ax
jge 0x43375c
push 2
pop eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
push eax
push 0xffffffffffffffff
push 0x102b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4338a0
cmp word [edi + 0xc], 0x43
jne 0x433778
push 0x11
call ebx
test ax, ax
jge 0x433778
mov ecx, esi
call fcn.00432270
jmp 0x4338a0
cmp word [edi + 0xc], 0x71
jne 0x4337b5
mov eax, dword [esi + 4]
test byte [eax + 0x30], 1
je 0x4337b5
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [edi]
call esi
mov ebx, eax
test ebx, ebx
jl 0x4337b5
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push ebx
push 0x1076
push dword [edi]
call esi
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
cmp ecx, 0xffffff4d
jne 0x4337b5
cmp dword [eax + 0x2c], edx
je 0x4337b5
mov eax, dword [edi + 0x10]
or dword [ebp - 4], 0xffffffff
test al, 2
je 0x433806
mov ebx, dword [edi + 0xc]
and eax, 0x20
mov dword [ebp + 8], eax
cmp ebx, dword [esi + 0x14]
jb 0x4337ee
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x433806
mov dword [ebp + 8], ebx
push dword [esi + 0xc]
mov eax, dword [esi + 4]
mov edx, dword [edi + 0x14]
mov ecx, ebx
call dword [eax + 0x2c]
test al, al
jne 0x433803
inc ebx
jmp 0x4337df
mov dword [ebp - 4], ebx
push dword [ebp - 4]
mov ecx, dword [esi + 0xc]
call fcn.00476571
jmp 0x4338a0
mov ecx, dword [edi + 0x24]
add edi, 0xc
test byte [edi], 1
mov dword [ebp + 8], ecx
je 0x433841
mov eax, 0x104
cmp ecx, eax
jge 0x43382f
mov eax, ecx
mov dword [edi + 0x18], eax
xor eax, eax
mov word [0x56a7d8], ax
mov dword [edi + 0x14], 0x56a7d8
mov ebx, dword [edi + 8]
mov dword [edi + 0x24], edx
mov eax, dword [esi + 0x1c]
cmp eax, edx
je 0x433854
movzx eax, byte [eax + ebx]
jmp 0x433856
xor eax, eax
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov edx, dword [eax + 0xc]
imul edx, dword [edi + 4]
push dword [esi + 0xc]
add edx, dword [esi + 0x18]
mov ecx, edi
call dword [eax + 0x1c]
test byte [edi], 1
mov dword [edi + 8], ebx
je 0x43389a
mov eax, dword [edi + 0x14]
mov esi, 0x56a7d8
cmp eax, esi
je 0x43389a
test eax, eax
jne 0x43388b
mov eax, 0x517834
push dword [edi + 0x18]
mov edx, eax
mov ecx, esi
call fcn.00428b90
mov dword [edi + 0x14], esi
mov eax, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov al, 1
jmp 0x4337b7