Function at 0x481404
Capabilities:
Log keystrokes
Set socket configuration
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x48140d
mov eax, dword [ebp - 4]
add esp, 0xffffff78
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
lea ebx, [ebp - 0x1c]
lea esi, [ebp - 0x802c]
mov edi, 0x48df64
mov dword [ebp - 0x8038], 0xc
xor eax, eax
mov dword [ebp - 0x8034], eax
mov dword [ebp - 0x8030], 0xffffffff
push 0
lea eax, [ebp - 0x8038]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_DispatchMessageA
push 0
lea eax, [ebp - 0x8038]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.user32.dll_DispatchMessageA
lea eax, [ebp - 0x807c]
push eax
call sub.user32.dll_GetWindow
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x8040], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x803c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x8044], eax
mov dword [ebp - 0x8050], 0x101
mov word [ebp - 0x804c], 0
lea eax, [ebp - 0x808c]
push eax
lea eax, [ebp - 0x807c]
push eax
push 0
push 0
push 0x10
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
call sub.user32.dll_DrawEdge
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_DefMDIChildProcA
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_DefMDIChildProcA
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x2c]
push eax
push 0x8004667e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
mov dword [ebp - 0x28], 1
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_PeekMessageA
xor edx, edx
push ebp
push 0x4815ed
push dword fs:[edx]
mov dword fs:[edx], esp
jmp 0x4815d0
push 5
call fcn.0040e0b8
mov eax, dword [0x48e3c0]
mov eax, dword [eax]
call fcn.00455c48
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x808c]
push eax
call sub.user32.dll_GetForegroundWindow
cmp dword [ebp - 0x24], 0x103
jne 0x4815e3
push 0
push ebx
mov eax, dword [edi]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_MapVirtualKeyA
cmp dword [ebx], 0
jbe 0x48159c
jmp 0x481587
push 5
call fcn.0040e0b8
mov edx, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
mov ecx, dword [ebx]
call fcn.0045bbdc
inc eax
je 0x481580
mov eax, dword [ebx]
cmp eax, dword [edi]
jae 0x481569
push 5
call fcn.0040e0b8
mov edx, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
mov ecx, dword [edi]
call fcn.0045bcd0
test eax, eax
jbe 0x4815d0
push 0
lea edx, [ebp - 0x20]
push edx
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SetClipboardData
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
cmp byte [eax + 8], 0
jne 0x48153d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4815f7
mov eax, dword [0x48e3a8]
mov byte [eax], 0
xor eax, eax
push ebp
push 0x48163e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x808c]
push eax
call sub.user32.dll_GetForegroundWindow
cmp dword [ebp - 0x24], 0x103
jne 0x481634
push 0
mov eax, dword [ebp - 0x808c]
push eax
call sub.user32.dll_ReleaseCapture
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x481648
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_DefMDIChildProcA
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_DefMDIChildProcA
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0x8004667e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret