Function at 0x479ff0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x571b98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
mov ebx, ecx
cmp eax, 0x411
ja 0x47a32a
je 0x47a221
sub eax, 1
je 0x47a1f4
sub eax, 0xf
je 0x47a180
sub eax, 2
jne 0x47a49f
mov eax, dword [ebx + 0x9b8]
cmp eax, 0xb
jl 0x47a0cb
cmp dword [ebx + 0x9d4], 0
je 0x47a075
mov eax, dword [ebx + 0x9b4]
push 0x5990e4
push str.class
push 0x65
push eax
lea ecx, [ebx + 0x25]
push ecx
jmp 0x47a08c
mov edx, dword [ebx + 0x9b4]
push 0x5990f8
push str.class
push 0x65
push edx
lea eax, [ebx + 0x25]
push eax
mov ecx, 0x348
call fcn.004822a0
mov ecx, dword [ebx + 4]
push 0x12
push ecx
mov dword [ebx + 0x9b8], 0
mov dword [ebx + 0x9d4], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
cmp dword [ebx + 0x9d4], 0
je 0x47a12a
mov edx, eax
and edx, reloc.WS2_32.dll_accept
jns 0x47a0e3
dec edx
or edx, 0xfffffffe
inc edx
lea eax, [eax + 1]
mov dword [ebx + 0x9b8], eax
mov eax, str.style_nickname_new_flash
jne 0x47a0f8
mov eax, 0x5990e4
push eax
mov eax, dword [ebx + 0x9b4]
push str.class
push 0x65
push eax
add ebx, 0x25
push ebx
mov ecx, 0x348
call fcn.004822a0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
mov ecx, eax
and ecx, reloc.WS2_32.dll_accept
jns 0x47a139
dec ecx
or ecx, 0xfffffffe
inc ecx
lea eax, [eax + 1]
mov dword [ebx + 0x9b8], eax
mov eax, str.style_green_nickname_text
jne 0x47a14e
mov eax, str.style_green_nickname_flash_text
mov edx, dword [ebx + 0x9b4]
push eax
push str.class
push 0x65
push edx
add ebx, 0x25
push ebx
mov ecx, 0x348
call fcn.004822a0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
mov eax, dword [ebx + 4]
push 0x10
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, ebx
call fcn.004785c0
test eax, eax
jne 0x47a49f
lea esi, [esp + 0x10]
call fcn.0051d040
mov ecx, dword [eax]
cmp dword [ebx + 0x818], ecx
mov eax, dword [eax + 4]
jne 0x47a49f
cmp dword [ebx + 0x81c], eax
jne 0x47a49f
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x47a49f
mov ecx, dword [ebx + 0x394]
push ecx
push ebx
call fcn.004782a0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
cmp dword [ebx + 0x9ac], 0
jne 0x47a49f
call fcn.00479520
push ebx
call fcn.0047a920
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
mov eax, dword [str.7_t0_v]
mov edx, dword [ebx + 0x9a4]
sub eax, 3
push eax
mov dword [str.7_t0_v], eax
lea edi, [ebx + 0x25]
push edx
mov eax, edi
call fcn.00482090
cmp dword [str.7_t0_v], 0
jg 0x47a49f
mov eax, dword [ebx + 0x9a4]
push 0
push eax
mov eax, edi
mov dword [str.7_t0_v], 0x37
call fcn.00482090
mov ecx, dword [ebx + 0x9a4]
push 1
push ecx
mov eax, edi
call fcn.00481fd0
mov edx, dword [ebx + 4]
push 0x411
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, ebx
call fcn.004776f0
mov eax, dword [ebx + 0x7dc]
test eax, eax
je 0x47a2b0
mov ecx, dword [ebx + 0x7e0]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ecx
mov esi, ebx
call fcn.00479fa0
add esp, 4
push eax
push ebx
call fcn.0047a4c0
push 1
push ebx
mov dword [ebx + 0x380], 1
call fcn.0047ce80
push 0
push ebx
call fcn.0047c090
mov eax, ebx
call fcn.0047dc40
push 0x385
push ebx
call fcn.00479cf0
add eax, 1
push 0
mov dword [ebx + 0x9a4], eax
push eax
mov eax, edi
call fcn.00482090
mov eax, dword [ebx + 4]
push 0
push 0xa
push 0x412
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
sub eax, 0x412
je 0x47a40d
sub eax, 1
jne 0x47a49f
mov eax, dword [0x5e409c]
add eax, 4
cmp eax, 0x58
mov dword [0x5e409c], eax
jle 0x47a35a
mov dword [0x5e409c], 0x58
mov edx, dword [0x5e736c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5e736c
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0
mov ecx, dword [0x5e409c]
push ecx
push str.0__d__0__0
lea edi, [esp + 0x34]
call fcn.00410c00
mov edi, dword [esp + 0x34]
add esp, 8
push 0x591f2c
push 0x348
lea esi, [ebx + 0x24]
push esi
mov ecx, edi
call fcn.0044fd30
cmp dword [0x5e409c], 0x58
jl 0x47a3d0
push 1
mov ecx, 0x33e
mov eax, esi
call fcn.0046ebd0
mov edx, dword [ebx + 4]
push 0x413
push edx
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [edi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a49f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
mov eax, dword [0x619a80]
mov ecx, eax
add eax, 1
cmp ecx, 0x37
mov dword [0x619a80], eax
jl 0x47a487
mov edx, dword [ebx + 4]
push 0x412
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebx + 0x9a4]
push 0x37
push eax
lea eax, [ebx + 0x25]
call fcn.00482090
mov ecx, dword [ebx + 4]
push ecx
mov dword [0x619a80], 1
mov dword [ebx + 0x9ac], 0
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [ebx + 4]
push 0
push 0
push 0x40f
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
add eax, 2
push eax
mov dword [0x619a80], eax
mov eax, dword [ebx + 0x9a4]
push eax
lea eax, [ebx + 0x25]
call fcn.00482090
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4