Function at 0x4564a0
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 0x4566e4
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0x40]
call fcn.00456ec0
mov eax, dword [esi + 4]
mov byte [esp + 0x10], 0
dec eax
mov byte [esp + 0x11], 0
je 0x456638
dec eax
jne 0x4566e4
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 0x456540
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [ebp + 8]
mov edx, dword [edi + edx*4]
test edx, edx
je 0x456540
cmp dword [edx + 8], ecx
je 0x456538
mov edx, dword [edx]
test edx, edx
jne 0x45652b
jmp 0x456540
test edx, edx
jne 0x4566e4
mov eax, dword [esp + 0x10]
push eax
call fcn.00467320
push eax
mov dword [esp + 0x14], eax
call fcn.004673a0
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
and edi, 0xffff
push ecx
or edi, ebx
mov ecx, ebp
push edi
call fcn.00457f80
test eax, eax
jne 0x4565ac
mov eax, dword [ebp + 4]
test eax, eax
jne 0x456585
mov edx, dword [ebp + 8]
push 1
push edx
mov ecx, ebp
call fcn.00439520
mov ecx, ebp
call fcn.00458040
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 0x4565f9
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 0x4565f9
inc ecx
mov edx, dword [esi + 0x18]
mov dword [eax], edx
mov dword [esi + 0x18], eax
sub eax, 0xc
dec ecx
jne 0x4565eb
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.00458020
mov dword [ebx], ebp
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4566de
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 [0x5503c8]
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 0x4566a3
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 0x4566a3
inc ecx
mov edx, dword [esi + 0x18]
mov dword [eax], edx
mov dword [esi + 0x18], eax
sub eax, 0xc
dec ecx
jne 0x456695
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.00458020
mov dword [ebx], ebp
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4566de
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