Function at 0x458890
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 0x458ad4
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0x40]
call fcn.004592b0
mov eax, dword [esi + 4]
mov byte [esp + 0x10], 0
dec eax
mov byte [esp + 0x11], 0
je 0x458a28
dec eax
jne 0x458ad4
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 0x458930
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [ebp + 8]
mov edx, dword [edi + edx*4]
test edx, edx
je 0x458930
cmp dword [edx + 8], ecx
je 0x458928
mov edx, dword [edx]
test edx, edx
jne 0x45891b
jmp 0x458930
test edx, edx
jne 0x458ad4
mov eax, dword [esp + 0x10]
push eax
call fcn.00473080
push eax
mov dword [esp + 0x14], eax
call fcn.00473100
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
and edi, 0xffff
push ecx
or edi, ebx
mov ecx, ebp
push edi
call fcn.0045a270
test eax, eax
jne 0x45899c
mov eax, dword [ebp + 4]
test eax, eax
jne 0x458975
mov edx, dword [ebp + 8]
push 1
push edx
mov ecx, ebp
call fcn.0045a330
mov ecx, ebp
call fcn.0045a3a0
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 0x4589e9
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 0x4589e9
inc ecx
mov edx, dword [esi + 0x18]
mov dword [eax], edx
mov dword [esi + 0x18], eax
sub eax, 0xc
dec ecx
jne 0x4589db
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.0045a310
mov dword [ebx], ebp
mov eax, dword [esi + 0x10]
test eax, eax
je 0x458ace
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 [0x57d7e8]
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 0x458a93
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 0x458a93
inc ecx
mov edx, dword [esi + 0x18]
mov dword [eax], edx
mov dword [esi + 0x18], eax
sub eax, 0xc
dec ecx
jne 0x458a85
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.0045a310
mov dword [ebx], ebp
mov eax, dword [esi + 0x10]
test eax, eax
je 0x458ace
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