Function at 0x457060
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 0x4572a4
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0x40]
call fcn.00457a80
mov eax, dword [esi + 4]
mov byte [esp + 0x10], 0
dec eax
mov byte [esp + 0x11], 0
je 0x4571f8
dec eax
jne 0x4572a4
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 0x457100
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [ebp + 8]
mov edx, dword [edi + edx*4]
test edx, edx
je 0x457100
cmp dword [edx + 8], ecx
je 0x4570f8
mov edx, dword [edx]
test edx, edx
jne 0x4570eb
jmp 0x457100
test edx, edx
jne 0x4572a4
mov eax, dword [esp + 0x10]
push eax
call fcn.00467f30
push eax
mov dword [esp + 0x14], eax
call fcn.00467fb0
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
and edi, 0xffff
push ecx
or edi, ebx
mov ecx, ebp
push edi
call fcn.00439fa0
test eax, eax
jne 0x45716c
mov eax, dword [ebp + 4]
test eax, eax
jne 0x457145
mov edx, dword [ebp + 8]
push 1
push edx
mov ecx, ebp
call fcn.0043a040
mov ecx, ebp
call fcn.0043a0b0
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 0x4571b9
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 0x4571b9
inc ecx
mov edx, dword [esi + 0x18]
mov dword [eax], edx
mov dword [esi + 0x18], eax
sub eax, 0xc
dec ecx
jne 0x4571ab
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.00458ba0
mov dword [ebx], ebp
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45729e
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 [0x5545a4]
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 0x457263
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 0x457263
inc ecx
mov edx, dword [esi + 0x18]
mov dword [eax], edx
mov dword [esi + 0x18], eax
sub eax, 0xc
dec ecx
jne 0x457255
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.00458ba0
mov dword [ebx], ebp
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45729e
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