Function at 0x41a1e0
Capabilities:
Encode data using xor
Log keystrokes via polling

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x14], ebx
call dword [sym.imp.winmm.dll_timeGetTime]
mov dword [esp + 0x20], eax
lea eax, [ebx + 4]
mov esi, eax
mov ecx, 0x40
lea edi, [esp + 0x24]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.user32.dll_GetKeyboardState]
lea eax, [ebx + 0xf14]
mov ecx, 0x40
lea esp, [esp]
mov edx, dword [eax]
mov edi, dword [eax - 0xf10]
and edx, 0x80808080
or edi, edx
mov dword [eax - 0xf10], edi
mov dword [eax], 0
add eax, 4
dec ecx
jne 0x41a220
mov eax, dword [ebx + 0x204]
test eax, eax
mov cl, 0x7f
jl 0x41a268
cmp eax, dword [ebx + 0x1b68]
jge 0x41a268
mov eax, dword [ebx + 0x208]
test eax, eax
jl 0x41a268
cmp eax, dword [ebx + 0x1b6c]
jl 0x41a290
mov al, byte [ebx + 5]
mov dl, byte [ebx + 6]
and al, cl
mov byte [ebx + 5], al
mov al, byte [ebx + 8]
and dl, cl
and al, cl
mov byte [ebx + 6], dl
mov dl, byte [ebx + 9]
mov byte [ebx + 8], al
mov al, byte [ebx + 0xa]
and dl, cl
and al, cl
mov byte [ebx + 9], dl
mov byte [ebx + 0xa], al
lea eax, [ebx + 4]
xor esi, esi
lea ecx, [ebx + 0x1114]
jmp 0x41a2a0
mov edx, dword [eax]
mov edi, dword [esp + esi*4 + 0x24]
mov ebp, edi
and edx, 0x80808080
xor ebp, edx
and ebp, edx
mov dword [eax], edx
mov dword [ecx - 0x1010], ebp
mov edx, dword [eax]
xor edx, edi
and edx, edi
mov dword [ecx], edx
mov edi, dword [eax + 4]
mov edx, dword [esp + esi*4 + 0x28]
and edi, 0x80808080
mov dword [eax + 4], edi
mov ebp, edx
xor ebp, edi
and ebp, edi
mov dword [ecx - 0x100c], ebp
mov edi, dword [eax + 4]
xor edi, edx
and edi, edx
mov dword [ecx + 4], edi
mov edx, dword [eax + 8]
and edx, 0x80808080
mov dword [eax + 8], edx
mov edi, edx
mov edx, dword [esp + esi*4 + 0x2c]
mov ebp, edx
xor ebp, edi
and ebp, edi
mov dword [ecx - 0x1008], ebp
mov edi, dword [eax + 8]
xor edi, edx
and edi, edx
mov edx, dword [esp + esi*4 + 0x30]
mov dword [ecx + 8], edi
mov edi, dword [eax + 0xc]
and edi, 0x80808080
mov dword [eax + 0xc], edi
mov ebp, edx
xor ebp, edi
and ebp, edi
mov dword [ecx - 0x1004], ebp
mov edi, dword [eax + 0xc]
xor edi, edx
and edi, edx
mov dword [ecx + 0xc], edi
add esi, 4
add ecx, 0x10
add eax, 0x10
cmp esi, 0x40
jl 0x41a2a0
mov al, byte [esp + 0x12c]
test al, al
je 0x41a39b
mov cl, byte [ebx + 0x105]
mov dl, byte [ebx + 0x106]
mov al, 0x7f
and cl, al
mov byte [ebx + 0x105], cl
mov cl, byte [ebx + 0x108]
and dl, al
and cl, al
mov byte [ebx + 0x106], dl
mov dl, byte [ebx + 0x109]
mov byte [ebx + 0x108], cl
mov cl, byte [ebx + 0x10a]
and dl, al
and cl, al
mov byte [ebx + 0x109], dl
mov byte [ebx + 0x10a], cl
mov edx, dword [esp + 0x20]
push edx
push 0x100
lea edx, [ebx + 0x20c]
push edx
lea edx, [esp + 0x30]
push edx
lea eax, [ebx + 0x1014]
push eax
lea ecx, [ebx + 0x104]
push ecx
lea eax, [ebx + 4]
push eax
mov ecx, ebx
call fcn.00419ce0
lea eax, [ebx + 0x60c]
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x1214]
mov dword [esp + 0x18], eax
lea ebp, [ebx + 0x1258]
mov dword [esp + 0x1c], 0x10
lea esp, [esp]
cmp dword [eax], 0
je 0x41a5f6
lea ebx, [ebp - 4]
mov ecx, 9
mov esi, ebx
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [esp + 0x128]
test cl, cl
je 0x41a442
mov eax, dword [eax]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 4]
test al, al
jne 0x41a460
xor eax, eax
mov ecx, ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
jmp 0x41a460
xor edx, edx
mov eax, ebx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], edx
mov eax, dword [ebx]
and eax, 0x80808080
mov dword [ebx], eax
mov edx, dword [esp + 0x24]
mov esi, eax
xor esi, edx
and esi, eax
mov dword [ebp + 0x23c], esi
mov eax, dword [ebx]
xor eax, edx
and eax, edx
mov dword [ebp + 0x6bc], eax
mov eax, dword [ebp]
mov edx, dword [esp + 0x28]
and eax, 0x80808080
mov dword [ebp], eax
mov esi, eax
xor esi, edx
and esi, eax
mov dword [ebp + 0x240], esi
mov eax, dword [ebp]
xor eax, edx
and eax, edx
mov dword [ebp + 0x6c0], eax
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x2c]
lea ecx, [ebp + 0x23c]
and eax, 0x80808080
mov dword [ebp + 4], eax
mov esi, eax
xor esi, edx
and esi, eax
mov dword [ebp + 0x244], esi
mov eax, dword [ebp + 4]
xor eax, edx
and eax, edx
mov edx, dword [esp + 0x30]
mov dword [ebp + 0x6c4], eax
mov eax, dword [ebp + 8]
and eax, 0x80808080
mov dword [ebp + 8], eax
mov esi, edx
xor esi, eax
and esi, eax
mov dword [ebp + 0x248], esi
mov eax, dword [ebp + 8]
xor eax, edx
and eax, edx
mov edx, dword [esp + 0x34]
mov dword [ebp + 0x6c8], eax
mov eax, dword [ebp + 0xc]
and eax, 0x80808080
mov esi, eax
mov dword [ebp + 0xc], eax
xor esi, edx
and esi, eax
mov dword [ebp + 0x24c], esi
mov eax, dword [ebp + 0xc]
xor eax, edx
and eax, edx
mov edx, dword [esp + 0x38]
mov dword [ebp + 0x6cc], eax
mov eax, dword [ebp + 0x10]
and eax, 0x80808080
mov esi, eax
mov dword [ebp + 0x10], eax
xor esi, edx
and esi, eax
mov dword [ebp + 0x250], esi
mov eax, dword [ebp + 0x10]
xor eax, edx
and eax, edx
mov edx, dword [esp + 0x3c]
mov dword [ebp + 0x6d0], eax
mov eax, dword [ebp + 0x14]
and eax, 0x80808080
mov esi, eax
xor esi, edx
and esi, eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x254], esi
mov eax, dword [ebp + 0x14]
xor eax, edx
and eax, edx
mov edx, dword [esp + 0x40]
mov dword [ebp + 0x6d4], eax
mov eax, dword [ebp + 0x18]
and eax, 0x80808080
mov esi, eax
mov dword [ebp + 0x18], eax
xor esi, edx
and esi, eax
mov dword [ebp + 0x258], esi
mov eax, dword [ebp + 0x18]
xor eax, edx
and eax, edx
mov edx, dword [esp + 0x44]
mov dword [ebp + 0x6d8], eax
mov eax, dword [ebp + 0x1c]
and eax, 0x80808080
mov esi, eax
mov dword [ebp + 0x1c], eax
xor esi, edx
and esi, eax
mov dword [ebp + 0x25c], esi
mov eax, dword [ebp + 0x1c]
xor eax, edx
and eax, edx
mov edx, dword [esp + 0x20]
push edx
push 0x24
mov dword [ebp + 0x6dc], eax
mov eax, dword [esp + 0x18]
push eax
lea edx, [esp + 0x30]
push edx
lea eax, [ebp + 0x47c]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push ebx
call fcn.00419ce0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add eax, 4
add edx, 0x90
add ebp, 0x24
dec ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
jne 0x41a3f0
lea ecx, [ebx + 0x1254]
push ecx
lea eax, [ebx + 4]
push eax
lea edx, [ebx + 0x1b54]
push edx
mov ecx, ebx
call fcn.0041a110
lea eax, [ebx + 0x1494]
push eax
lea eax, [ebx + 0x104]
push eax
lea ecx, [ebx + 0x1b58]
push ecx
mov ecx, ebx
call fcn.0041a110
lea edx, [ebx + 0x16d4]
push edx
lea eax, [ebx + 0x1014]
push eax
lea eax, [ebx + 0x1b5c]
push eax
mov ecx, ebx
call fcn.0041a110
lea ecx, [ebx + 0x1914]
push ecx
lea eax, [ebx + 0x1114]
push eax
lea edx, [ebx + 0x1b60]
push edx
mov ecx, ebx
call fcn.0041a110
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 8