Function at 0x43fbcc
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 8], ebx
mov byte [ebp - 1], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43fe27
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x3e], 0
je 0x43fe09
lea eax, [ebp - 8]
mov edx, dword [ebx + 0x30]
call fcn.004042a4
mov eax, ebx
call fcn.00441a08
test eax, eax
jle 0x43fc1e
mov eax, ebx
call fcn.004400d0
mov dword [ebp - 0x25], eax
jmp 0x43fc68
cmp word [ebx + 0x60], 0
je 0x43fc68
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x43fc44
cmp dword [esi + 0x64], 0
jne 0x43fc44
mov eax, dword [esi + 4]
mov edx, dword [0x43eac0]
call fcn.00403644
test al, al
jne 0x43fc68
push dword [ebp - 8]
push 0x43fe40
lea edx, [ebp - 0x40]
mov ax, word [ebx + 0x60]
call fcn.0043f230
push dword [ebp - 0x40]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404584
call sub.user32.dll_MapVirtualKeyA
and eax, 0xff
cmp ax, 4
jb 0x43fd82
mov dword [ebp - 0x39], 0x2c
mov dword [ebp - 0x35], 0x3f
mov eax, ebx
call fcn.00441fc4
mov esi, eax
test esi, esi
je 0x43fca8
cmp byte [esi + 0x40], 0
jne 0x43fcbe
mov eax, ebx
call fcn.004415e0
test eax, eax
jne 0x43fcbe
cmp dword [ebx + 0x4c], 0
je 0x43fcba
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x43fcbe
xor eax, eax
jmp 0x43fcc0
mov al, 1
mov byte [ebp - 9], al
mov eax, dword [ebx + 0x30]
mov edx, 0x43fe4c
call fcn.00404608
sete al
and eax, 0x7f
mov eax, dword [eax*4 + 0x452b00]
xor edx, edx
mov dl, byte [ebx + 0x3d]
mov edx, dword [edx*4 + 0x452af8]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
or edx, dword [ecx*4 + 0x452ad4]
or eax, edx
xor edx, edx
mov dl, byte [ebp - 1]
or eax, dword [edx*4 + 0x452b08]
xor edx, edx
mov dl, byte [ebp - 9]
or eax, dword [edx*4 + 0x452b10]
mov dword [ebp - 0x31], eax
xor eax, eax
mov al, byte [ebx + 0x38]
mov eax, dword [eax*4 + 0x452ae0]
xor edx, edx
mov dl, byte [ebx + 0x39]
or eax, dword [edx*4 + 0x452af0]
xor edx, edx
mov dl, byte [ebx + 0x3a]
or eax, dword [edx*4 + 0x452ae8]
mov dword [ebp - 0x2d], eax
movzx eax, word [ebx + 0x50]
mov dword [ebp - 0x29], eax
xor eax, eax
mov dword [ebp - 0x25], eax
xor eax, eax
mov dword [ebp - 0x21], eax
xor eax, eax
mov dword [ebp - 0x1d], eax
mov eax, dword [ebp - 8]
call fcn.004046bc
mov dword [ebp - 0x15], eax
mov eax, ebx
call fcn.00441a08
test eax, eax
jle 0x43fd6f
mov eax, ebx
call fcn.004400d0
mov dword [ebp - 0x25], eax
lea eax, [ebp - 0x39]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
call fcn.00406cac
jmp 0x43fe09
mov eax, dword [ebx + 0x30]
mov edx, 0x43fe4c
call fcn.00404608
sete al
and eax, 0x7f
mov esi, dword [eax*4 + 0x452acc]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [eax*4 + 0x452ac0]
xor edx, edx
mov dl, byte [ebx + 0x38]
or eax, dword [edx*4 + 0x452ab0]
xor edx, edx
mov dl, byte [ebx + 0x39]
or eax, dword [edx*4 + 0x452ab8]
or esi, eax
or esi, 0x400
mov eax, ebx
call fcn.00441a08
test eax, eax
jle 0x43fdf2
mov eax, dword [ebx + 0x30]
call fcn.004046bc
push eax
mov eax, ebx
call fcn.004400d0
push eax
or esi, 0x10
push esi
push 0xffffffffffffffff
push edi
call fcn.00406ca4
jmp 0x43fe09
mov eax, dword [ebp - 8]
call fcn.004046bc
push eax
movzx eax, word [ebx + 0x50]
push eax
push esi
push 0xffffffffffffffff
push edi
call fcn.00406ca4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fe2e
lea eax, [ebp - 0x40]
call fcn.0040420c
lea eax, [ebp - 8]
call fcn.0040420c
ret