Function at 0x484b10
Capabilities:
Log keystrokes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
je 0x484d54
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0x40]
call fcn.004854a0
mov eax, dword [esi + 4]
mov byte [esp + 0x10], 0
dec eax
mov byte [esp + 0x11], 0
je 0x484ca8
dec eax
jne 0x484d54
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
push 0
push edx
mov byte [esp + 0x18], bl
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esi + 0x28]
lea ebp, [esi + 0x24]
and ebx, 0xffff
shl ebx, 0x10
and ecx, 0xffff
mov byte [esp + 0x11], al
or ecx, ebx
test edi, edi
je 0x484bb0
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [ebp + 8]
mov edx, dword [edi + edx*4]
test edx, edx
je 0x484bb0
cmp dword [edx + 8], ecx
je 0x484ba8
mov edx, dword [edx]
test edx, edx
jne 0x484b9b
jmp 0x484bb0
test edx, edx
jne 0x484d54
mov eax, dword [esp + 0x10]
push eax
call fcn.00496890
push eax
mov dword [esp + 0x14], eax
call fcn.00496910
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
and edi, 0xffff
push ecx
or edi, ebx
mov ecx, ebp
push edi
call fcn.004511c0
test eax, eax
jne 0x484c1c
mov eax, dword [ebp + 4]
test eax, eax
jne 0x484bf5
mov edx, dword [ebp + 8]
push 1
push edx
mov ecx, ebp
call fcn.0044e7c0
mov ecx, ebp
call fcn.004512f0
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], edi
mov dword [eax + 4], ecx
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [edx + ecx*4]
mov dword [eax], edx
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], ecx
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x18]
and ebp, 0xffff
or ebp, ebx
mov ebx, dword [esi + 0x10]
test eax, eax
jne 0x484c69
mov edx, dword [esi + 0x20]
push 0xc
lea eax, [esi + 0x1c]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x20]
add eax, 4
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0xc]
jl 0x484c69
inc ecx
mov edx, dword [esi + 0x18]
mov dword [eax], edx
mov dword [esi + 0x18], eax
sub eax, 0xc
dec ecx
jne 0x484c5b
mov edi, dword [esi + 0x18]
push 1
mov eax, dword [edi]
mov dword [esi + 0x18], eax
mov dword [edi + 4], ebx
mov dword [edi], 0
mov ecx, dword [esi + 0x14]
lea ebx, [edi + 8]
inc ecx
push ebx
mov dword [esi + 0x14], ecx
call fcn.00486710
mov dword [ebx], ebp
mov eax, dword [esi + 0x10]
test eax, eax
je 0x484d4e
mov dword [eax], edi
mov dword [esi + 0x10], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esi + 0x14]
mov eax, dword [0x5f8acc]
push ecx
push edi
push edx
push eax
call dword [sym.imp.USER32.dll_RegisterHotKey]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x10]
and edi, 0xffff
shl edi, 0x10
and ecx, 0xffff
or edi, ecx
test eax, eax
mov ebp, edi
jne 0x484d13
mov edx, dword [esi + 0x20]
push 0xc
lea eax, [esi + 0x1c]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x20]
add eax, 4
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0xc]
jl 0x484d13
inc ecx
mov edx, dword [esi + 0x18]
mov dword [eax], edx
mov dword [esi + 0x18], eax
sub eax, 0xc
dec ecx
jne 0x484d05
mov edi, dword [esi + 0x18]
push 1
mov eax, dword [edi]
mov dword [esi + 0x18], eax
mov dword [edi + 4], ebx
mov dword [edi], 0
mov ecx, dword [esi + 0x14]
lea ebx, [edi + 8]
inc ecx
push ebx
mov dword [esi + 0x14], ecx
call fcn.00486710
mov dword [ebx], ebp
mov eax, dword [esi + 0x10]
test eax, eax
je 0x484d4e
mov dword [eax], edi
mov dword [esi + 0x10], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8