Function at 0x45cfd0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce10f
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5091d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xd4], esi
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub edi, ecx
sar edi, 1
mov eax, edi
mov dword [ebp - 0xd8], edi
sub eax, 1
je 0x45d431
sub eax, 1
je 0x45d2f4
sub eax, 1
je 0x45d158
xor ecx, ecx
mov eax, edi
mov edx, 0x1c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049f828
mov esi, eax
add esp, 4
mov dword [ebp - 0xd0], esi
xor ecx, ecx
mov dword [ebp - 4], 6
mov dword [ebp - 0xdc], ecx
test edi, edi
je 0x45d130
lea eax, [esi + 4]
mov esi, eax
lea eax, [ebp - 0xca]
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + ecx*2]
call fcn.004655b0
mov ecx, eax
call fcn.00464b10
movzx eax, al
push 0
push eax
mov word [esi], ax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [esi + 2], ax
movzx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0xd
ja case.0x45d0af.41
movzx eax, byte [eax + 0x45d5b8]
jmp dword [eax*4 + 0x45d5b0]
mov eax, 3
jmp 0x45d0c2
mov eax, 2
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov dword [esi + 0xc], eax
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp + 8]
mov ax, word [eax + 2]
mov word [ebp - 0xc8], ax
mov eax, dword [ebp - 0xd4]
mov edi, dword [eax + 4]
call fcn.00464b10
movzx ecx, al
add esi, 0x1c
mov eax, dword [edi + 0x24]
mov edx, ecx
mov edi, dword [ebp - 0xd8]
and ecx, 0x1f
shr edx, 5
lea edx, [eax + edx*4]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0xdc]
not eax
and dword [edx], eax
inc ecx
mov dword [ebp - 0xdc], ecx
cmp ecx, edi
jb 0x45d071
mov esi, dword [ebp - 0xd0]
push 0x1c
push esi
push edi
call dword [sym.imp.USER32.dll_SendInput]
test eax, eax
je 0x45d519
test esi, esi
je 0x45d4fc
push esi
call fcn.0049f831
add esp, 4
jmp 0x45d4fc
xorps xmm0, xmm0
mov dword [ebp - 0x64], 1
lea eax, [ebp - 0xca]
movq qword [ebp - 0x50], xmm0
push eax
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x48], 1
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x2c], 1
movq qword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.004655b0
mov ecx, eax
call fcn.00464b10
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
movzx eax, al
push 0
push eax
mov word [ebp - 0x60], ax
call edi
mov word [ebp - 0x5e], ax
push dword [ebp - 0x60]
call fcn.00402230
mov esi, dword [sym.imp.USER32.dll_GetMessageExtraInfo]
add esp, 4
or eax, 2
mov dword [ebp - 0x5c], eax
call esi
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0xca]
mov eax, dword [ebp + 8]
add eax, 2
push ecx
mov ecx, eax
mov dword [ebp - 0xd0], eax
call fcn.004655b0
mov ecx, eax
call fcn.00464b10
movzx eax, al
push 0
push eax
mov word [ebp - 0x44], ax
call edi
mov word [ebp - 0x42], ax
push dword [ebp - 0x44]
call fcn.00402230
add esp, 4
or eax, 2
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0xca]
mov eax, dword [ebp + 8]
add eax, 4
push ecx
mov ecx, eax
mov dword [ebp - 0xd8], eax
call fcn.004655b0
mov ecx, eax
call fcn.00464b10
movzx eax, al
push 0
push eax
mov word [ebp - 0x28], ax
call edi
mov word [ebp - 0x26], ax
push dword [ebp - 0x28]
call fcn.00402230
add esp, 4
or eax, 2
mov dword [ebp - 0x24], eax
call esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x64]
push 0x1c
push eax
push 3
call dword [sym.imp.USER32.dll_SendInput]
test eax, eax
je 0x45d563
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc8]
mov edi, dword [ebp - 0xd4]
movzx eax, word [eax]
mov esi, dword [edi + 4]
mov word [ebp - 0xc8], ax
call fcn.00464b10
movzx edx, al
mov eax, dword [esi + 0x24]
mov ecx, edx
shr ecx, 5
and edx, 0x1f
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
btr eax, edx
mov dword [ecx], eax
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 0xd0]
mov esi, dword [edi + 4]
movzx eax, word [eax]
mov word [ebp - 0xc8], ax
call fcn.00464b10
movzx edx, al
mov eax, dword [esi + 0x24]
mov ecx, edx
shr ecx, 5
and edx, 0x1f
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
btr eax, edx
mov dword [ecx], eax
mov eax, dword [ebp - 0xd8]
mov esi, dword [edi + 4]
movzx eax, word [eax]
jmp 0x45d4d2
xorps xmm0, xmm0
mov dword [ebp - 0x48], 1
lea eax, [ebp - 0xca]
movq qword [ebp - 0x34], xmm0
push eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x2c], 1
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.004655b0
mov ecx, eax
call fcn.00464b10
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
movzx eax, al
push 0
push eax
mov word [ebp - 0x44], ax
call edi
mov word [ebp - 0x42], ax
push dword [ebp - 0x44]
call fcn.00402230
mov esi, dword [sym.imp.USER32.dll_GetMessageExtraInfo]
add esp, 4
or eax, 2
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0xca]
mov eax, dword [ebp + 8]
add eax, 2
push ecx
mov ecx, eax
mov dword [ebp - 0xd0], eax
call fcn.004655b0
mov ecx, eax
call fcn.00464b10
movzx eax, al
push 0
push eax
mov word [ebp - 0x28], ax
call edi
mov word [ebp - 0x26], ax
push dword [ebp - 0x28]
call fcn.00402230
add esp, 4
or eax, 2
mov dword [ebp - 0x24], eax
call esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x48]
push 0x1c
push eax
push 2
call dword [sym.imp.USER32.dll_SendInput]
test eax, eax
jne 0x45d3e7
push str.An_runtime_exception_occurred:
lea ecx, [ebp - 0x94]
call fcn.00402850
push str.failed_sending_keyboard_event
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 2
push eax
call fcn.004020f0
add esp, 0xc
mov byte [ebp - 4], 3
jmp 0x45d590
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc8]
mov edi, dword [ebp - 0xd4]
movzx eax, word [eax]
mov esi, dword [edi + 4]
mov word [ebp - 0xc8], ax
call fcn.00464b10
movzx edx, al
mov eax, dword [esi + 0x24]
mov ecx, edx
shr ecx, 5
and edx, 0x1f
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
btr eax, edx
mov dword [ecx], eax
mov eax, dword [ebp - 0xd0]
mov esi, dword [edi + 4]
movzx eax, word [eax]
jmp 0x45d4d2
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0xca]
movq qword [ebp - 0x18], xmm0
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.004655b0
mov ecx, eax
call fcn.00464b10
movzx eax, al
push 0
push eax
mov word [ebp - 0x28], ax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [ebp - 0x26], ax
push dword [ebp - 0x28]
call fcn.00402230
add esp, 4
or eax, 2
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
push 0x1c
push eax
push 1
call dword [sym.imp.USER32.dll_SendInput]
test eax, eax
jne 0x45d4c9
push str.An_runtime_exception_occurred:
lea ecx, [ebp - 0x94]
call fcn.00402850
push str.failed_sending_keyboard_event
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0
push eax
call fcn.004020f0
add esp, 0xc
mov byte [ebp - 4], 1
jmp 0x45d590
mov eax, dword [ebp + 8]
mov esi, dword [esi + 4]
mov ax, word [eax]
lea ecx, [ebp - 0xc8]
mov word [ebp - 0xc8], ax
call fcn.00464b10
movzx edx, al
mov eax, dword [esi + 0x24]
mov ecx, edx
shr ecx, 5
and edx, 0x1f
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
btr eax, edx
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049f836
mov esp, ebp
pop ebp
ret 8
push str.An_runtime_exception_occurred:
lea ecx, [ebp - 0xac]
call fcn.00402850
push str.failed_sending_keyboard_event
push eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 7
push eax
call fcn.004020f0
add esp, 0xc
push eax
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 8
call fcn.00402b30
push 0x4f9f28
lea eax, [ebp - 0xf4]
push eax
call fcn.004a0dc4
push str.An_runtime_exception_occurred:
lea ecx, [ebp - 0x7c]
call fcn.00402850
push str.failed_sending_keyboard_event
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 4], 4
push eax
call fcn.004020f0
add esp, 0xc
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xe8]
call fcn.00402b30
push 0x4f9f28
lea eax, [ebp - 0xe8]
push eax
call fcn.004a0dc4
nop dword [eax]
mov dh, 0xd0
inc ebp
add byte [ebp + 0x45d0], bh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add dword [ecx], eax
add dword [eax], eax
add ah, cl
int3