Function at 0x4188e0
Capabilities:
Log keystrokes via polling
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589880
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5ef60c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00467a9c
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xcc]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, dword [eax + 0x50]
push 0x10
call edi
xor ecx, ecx
cmp cx, ax
jle 0x41893f
push 0x11
call edi
xor edx, edx
cmp dx, ax
jle 0x41893f
mov esi, 1
or esi, ebx
je 0x418982
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418969
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x1c], 0
call fcn.00401ff0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00413560
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 0xc]
test eax, eax
jl 0x418abc
push str.EPSON
push edi
call fcn.005592d8
add esp, 8
test eax, eax
je 0x418abc
sub eax, edi
sar eax, 1
js 0x418abc
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
call fcn.00401ff0
add esp, 4
lea ecx, [ebp - 0x10]
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00419380
mov bl, 2
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x10]
cmp dword [edx - 0xc], 0
je 0x418a99
call fcn.0045e972
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x418a27
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040e960
mov esi, dword [ebp - 0x18]
push str..VIF
push esi
call fcn.00558f06
add esp, 8
test eax, eax
jne 0x418a7a
mov ecx, dword [ebp - 0x10]
push ecx
push eax
push 0x5bc7a8
push str.Invitation
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x418a7a
mov dword [ebp - 0x1c], 1
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418a99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418abc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418adc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4