Function at 0x408670
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x408670
push 0xffffffffffffffff
push 0x508da9
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x53bbf0]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53bbf0]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [esi + 4], vtable.UdpLibrary::UdpConnectionHandler.0
xor ebx, ebx
push 0x200
lea eax, [esi + 0x3904]
mov dword [esi], vtable.ServerAgent.1.0
mov dword [esi + 4], vtable.ServerAgent.0
mov dword [0x56391c], esi
push ebx
push eax
mov dword [esp + 0x2ac], ebx
mov dword [esi + 0x3e0], 4
mov byte [esi + 0x3e4], bl
mov dword [esi + 0x3cc], ebx
mov dword [esi + 0x37f8], ebx
mov byte [esi + 0x37fc], bl
mov dword [esi + 0x38fc], ebx
mov dword [esi + 0x3900], ebx
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1bc], ebx
call fcn.004c14b0
push 0x200
lea ecx, [esi + 0x3b04]
push ebx
push ecx
call fcn.004c14b0
mov edx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2c8]
mov dword [esi + 0x7f0], edx
mov dword [esi + 0x7f4], eax
mov eax, dword [esp + 0x2c0]
lea edx, [esp + 0x1ac]
add esp, 0x18
mov dword [esi + 0x3d0], ebx
mov dword [esi + 0x3d8], ebx
mov byte [esi + 0x1c0], bl
mov byte [esi + 0x2c0], bl
mov dword [esi + 0x3c0], ebx
mov dword [esi + 0x3c4], ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x408783
lea ecx, [esp + 0x194]
push 0x2c
push ecx
mov dword [esp + 0x1c], 0x7d2
call fcn.004c0af0
add esp, 8
cmp eax, ebx
je 0x4087bf
mov byte [eax], bl
add eax, 1
push eax
call fcn.004c2186
add esp, 4
mov dword [esp + 0x14], eax
push ebx
lea ecx, [esp + 0x28]
call fcn.0040118b
mov eax, 0x32
mov ecx, 0x2710
push 0x3c0
mov byte [esp + 0x70], bl
mov dword [esp + 0x74], 0xafc8
mov dword [esp + 0x18c], ebx
mov dword [esp + 0x190], ebx
mov dword [esp + 0x194], ebx
mov dword [esp + 0x6c], 0xa
mov dword [esp + 0x3c], 0x10000
mov dword [esp + 0x44], 0x44c
mov dword [esp + 0x2c], 3
mov dword [esp + 0x64], 0x12c
mov dword [esp + 0x60], 0x1e
mov dword [esp + 0x68], 0x1f0
mov dword [esp + 0x38], 0x8000
mov dword [esp + 0x40], 0x3e8
mov dword [esp + 0x30], ebx
mov dword [esp + 0x178], 1
mov dword [esp + 0xc0], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
mov byte [esp + 0xe4], bl
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xf0], eax
mov dword [esp + 0xe8], 0x1388
mov dword [esp + 0xec], eax
mov byte [esp + 0x114], bl
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x120], eax
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
mov byte [esp + 0x144], bl
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x128], ebx
call fcn.004c1ea3
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x2a0], 1
je 0x4088f8
lea edx, [esp + 0x24]
push edx
mov ecx, eax
call fcn.00487400
jmp 0x4088fa
xor eax, eax
push 4
mov byte [esp + 0x2a4], bl
mov dword [esi + 8], eax
call fcn.004c1ea3
add esp, 4
cmp eax, ebx
je 0x40891e
mov dword [eax], vtable.UdpManagerHandlerImpl.0
mov dword [esp + 0x18], eax
jmp 0x408922
mov dword [esp + 0x18], ebx
mov edi, dword [esi + 8]
mov eax, dword [esp + 0x18]
lea ebp, [edi + 0x268]
mov ecx, ebp
mov dword [esi + 0x10], eax
call fcn.004808e0
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x10], ecx
mov ecx, ebp
call fcn.004808f0
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 8]
push ebx
push edx
lea eax, [esp + 0x19c]
push eax
call fcn.00487b20
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x408984
mov ecx, dword [0x563918]
mov edx, dword [ecx + 0xc]
push ebx
push 0x510f80
push str.Could_not_resolve_address_to_IP
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x408a9f
call fcn.00401d39
mov dword [esp + 0x14], eax
lea ecx, [ecx]
mov eax, dword [0x56c728]
or eax, dword [0x56c72c]
jne 0x4089b3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, edx
shr eax, 3
jmp 0x4089ea
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push ebx
push 0x64
push eax
push ecx
call fcn.004c0bd0
mov ecx, dword [0x56c72c]
push ecx
mov ecx, dword [0x56c728]
push ecx
push edx
push eax
call fcn.004c0b20
and eax, 0x7fffffff
sub eax, dword [esp + 0x14]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x5dc
jge 0x408a45
push 0x1b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x408a45
mov edi, dword [esi + 0xc]
lea ebp, [edi + 0x224]
mov ecx, ebp
call fcn.004808e0
mov edi, dword [edi + 0x84]
mov ecx, ebp
call fcn.004808f0
cmp edi, 1
je 0x408a45
mov ecx, dword [esi + 8]
push 1
push 0x1f4
call fcn.00488ed0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408990
mov edi, dword [esi + 0xc]
lea ebp, [edi + 0x224]
mov ecx, ebp
call fcn.004808e0
mov edi, dword [edi + 0x84]
mov ecx, ebp
call fcn.004808f0
cmp edi, 1
je 0x408a7f
mov ecx, dword [esi + 0xc]
push ebx
call fcn.004013fc
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0xc], ebx
jmp 0x408a9f
mov edi, dword [esi + 0xc]
lea ebp, [edi + 0x228]
mov ecx, ebp
call fcn.004808e0
lea eax, [esi + 4]
mov ecx, ebp
mov dword [edi + 0x1fc], eax
call fcn.004808f0
call fcn.00401d48
push 0xe8
lea ecx, [esi + 0x14]
push ebx
push ecx
mov dword [esi + 0x7e8], eax
mov dword [esi + 0x7ec], edx
call fcn.004c14b0
push 0xb8
lea edx, [esi + 0xfc]
push ebx
push edx
call fcn.004c14b0
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.004c118f
add esp, 0x290
ret 0xc