Function at 0x4533d0
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 0x453614
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0x40]
call fcn.00453df0
mov eax, dword [esi + 4]
mov byte [esp + 0x10], 0
dec eax
mov byte [esp + 0x11], 0
je 0x453568
dec eax
jne 0x453614
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 0x453470
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [ebp + 8]
mov edx, dword [edi + edx*4]
test edx, edx
je 0x453470
cmp dword [edx + 8], ecx
je 0x453468
mov edx, dword [edx]
test edx, edx
jne 0x45345b
jmp 0x453470
test edx, edx
jne 0x453614
mov eax, dword [esp + 0x10]
push eax
call fcn.00464090
push eax
mov dword [esp + 0x14], eax
call fcn.00464110
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
and edi, 0xffff
push ecx
or edi, ebx
mov ecx, ebp
push edi
call fcn.00432990
test eax, eax
jne 0x4534dc
mov eax, dword [ebp + 4]
test eax, eax
jne 0x4534b5
mov edx, dword [ebp + 8]
push 1
push edx
mov ecx, ebp
call fcn.00437db0
mov ecx, ebp
call fcn.00454d20
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 0x453529
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 0x453529
inc ecx
mov edx, dword [esi + 0x18]
mov dword [eax], edx
mov dword [esi + 0x18], eax
sub eax, 0xc
dec ecx
jne 0x45351b
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.00454d00
mov dword [ebx], ebp
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45360e
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 [0x5709ac]
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 0x4535d3
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 0x4535d3
inc ecx
mov edx, dword [esi + 0x18]
mov dword [eax], edx
mov dword [esi + 0x18], eax
sub eax, 0xc
dec ecx
jne 0x4535c5
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.00454d00
mov dword [ebx], ebp
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45360e
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