Function at 0x45c9f0
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 0x45ce3f
sub eax, 1
je 0x45cd08
sub eax, 1
je 0x45cb71
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 0x45cb49
lea eax, [esi + 4]
mov esi, eax
mov eax, dword [ebp + 8]
lea edi, [eax + ecx*2]
lea eax, [ebp - 0xca]
mov ecx, edi
push eax
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.0x45cad1.41
movzx eax, byte [eax + 0x45cfc0]
jmp dword [eax*4 + 0x45cfb8]
mov eax, 1
jmp 0x45cae1
xor eax, eax
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov dword [esi + 0xc], eax
lea ecx, [ebp - 0xc8]
mov ax, word [edi]
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
shr edx, 5
and ecx, 0x1f
lea edi, [eax + edx*4]
mov edx, 1
shl edx, cl
mov ecx, dword [ebp - 0xdc]
or dword [edi], edx
inc ecx
mov edi, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ecx
cmp ecx, edi
jb 0x45ca91
mov esi, dword [ebp - 0xd0]
push 0x1c
push esi
push edi
call dword [sym.imp.USER32.dll_SendInput]
test eax, eax
je 0x45cf24
test esi, esi
je 0x45cf07
push esi
call fcn.0049f831
add esp, 4
jmp 0x45cf07
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
mov eax, dword [ebp + 8]
movzx eax, word [eax]
push eax
call fcn.0045c8d0
mov esi, dword [sym.imp.USER32.dll_GetMessageExtraInfo]
add esp, 4
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
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
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 0x45cf6e
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]
bts 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]
bts eax, edx
mov dword [ecx], eax
mov eax, dword [ebp - 0xd8]
mov esi, dword [edi + 4]
movzx eax, word [eax]
jmp 0x45cedd
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
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
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 0x45cdf5
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 0x45cf9b
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]
bts eax, edx
mov dword [ecx], eax
mov eax, dword [ebp - 0xd0]
mov esi, dword [edi + 4]
movzx eax, word [eax]
jmp 0x45cedd
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
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 0x45ced4
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 0x45cf9b
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]
bts 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
fmul st(2)
inc ebp
add bh, bl
retf 0x45