Function at 0x45409a
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd381
mov eax, dword fs:[0]
push eax
sub esp, 0x140
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 edi, ecx
mov dword [ebp - 0x124], edi
lea eax, [ebp - 0x14c]
push eax
call fcn.0045f3b0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 4], 0
mov dword [ebp - 0x104], eax
mov esi, dword [eax]
cmp esi, eax
je 0x453b28
nop word [eax + eax]
movzx eax, word [esi + 8]
mov ecx, edi
push eax
call fcn.0045eff0
mov ecx, edi
test al, al
je 0x453b12
mov ax, word [esi + 8]
mov word [ebp - 0x10c], ax
lea eax, [ebp - 0x10a]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00402270
jmp 0x453b1c
movzx eax, word [esi + 8]
push eax
call fcn.0045fb40
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [ebp - 0x104]
jne 0x453ae0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub eax, ecx
sar eax, 1
mov edx, eax
mov dword [ebp - 0x104], eax
sub edx, 1
je 0x4541ab
sub edx, 1
je 0x454012
sub edx, 1
je 0x453d8d
xor ecx, ecx
add eax, eax
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 - 0x120], esi
mov edx, dword [ebp - 0x104]
mov byte [ebp - 4], 7
test edx, edx
je 0x453c7a
lea eax, [esi + 4]
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x110], eax
lea eax, [edx*8]
sub eax, edx
lea ecx, [eax*4 - 0x16]
add ecx, esi
mov esi, dword [ebp - 0x110]
mov dword [ebp - 0x10c], ecx
nop word [eax + eax]
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 2]
call fcn.004655b0
lea ecx, [ebp - 0x110]
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.0x453c02.41
movzx eax, byte [eax + 0x4542ec]
jmp dword [eax*4 + 0x4542e4]
mov eax, 1
jmp 0x453c12
xor eax, eax
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, dword [ebp - 0x10c]
mov dword [esi + 0xc], eax
movzx eax, word [esi]
mov word [ecx - 2], ax
movzx eax, word [esi + 2]
mov word [ecx], ax
mov eax, dword [esi + 4]
or eax, 2
mov dword [ecx + 2], eax
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, dword [ebp - 0x10c]
mov dword [ecx + 0xa], eax
mov ecx, edi
push dword [ebp - 0x110]
call fcn.0045f160
sub dword [ebp - 0x10c], 0x1c
add esi, 0x1c
sub dword [ebp - 0x108], 1
jne 0x453bc0
mov esi, dword [ebp - 0x120]
mov edx, dword [ebp - 0x104]
push 0x1c
push esi
push edx
call dword [sym.imp.USER32.dll_SendInput]
test eax, eax
je 0x45429a
mov byte [ebp - 4], 0
test esi, esi
je 0x453c9d
push esi
call fcn.0049f831
add esp, 4
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.0045ea50
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0045f3b0
add eax, 4
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x14c]
call fcn.004539c0
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xe0], vtable.vind::core::CmdUnit.0
call fcn.00454390
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xe0]
call fcn.00455080
lea ecx, [ebp - 0x100]
mov dword [ebp - 0xbc], eax
call fcn.0040ed10
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], vtable.vind::core::CmdUnit.0
call fcn.0040ed10
mov edi, dword [ebp - 0xd8]
mov esi, dword [edi]
cmp esi, edi
je 0x453d46
nop dword [eax + eax]
movzx eax, word [esi + 8]
mov ecx, dword [ebp - 0x124]
push eax
call fcn.0045f380
mov esi, dword [esi]
cmp esi, edi
jne 0x453d30
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xe0], vtable.vind::core::CmdUnit.0
call fcn.0040ed10
lea ecx, [ebp - 0x148]
mov dword [ebp - method.vind::core::CmdUnit.virtual_0], vtable.vind::core::CmdUnit.0
call fcn.0040ed10
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
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 1
lea eax, [ebp - 0x104]
movq qword [ebp - 0xa4], xmm0
push eax
movups xmmword [ebp - 0xb4], xmm0
mov dword [ebp - 0x9c], 1
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x80], 1
movq qword [ebp - 0x88], xmm0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x64], 1
movq qword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x48], 1
movq qword [ebp - 0x50], xmm0
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
lea ecx, [ebp - 0x104]
call fcn.00464b10
movzx eax, al
push 0
push eax
mov word [ebp - 0xb4], ax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [ebp - 0xb2], ax
movzx eax, byte [ebp - 0xb4]
add eax, 0xffffffdf
cmp eax, 0xd
ja case.0x453e49.41
movzx eax, byte [eax + 0x454304]
jmp dword [eax*4 + 0x4542fc]
mov eax, 1
jmp 0x453e59
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov dword [ebp - 0xb0], eax
call esi
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 2]
call fcn.004655b0
lea ecx, [ebp - 0x108]
call fcn.00464b10
movzx eax, al
push 0
push eax
mov word [ebp - 0x98], ax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [ebp - 0x96], ax
movzx eax, byte [ebp - 0x98]
add eax, 0xffffffdf
cmp eax, 0xd
ja case.0x453eba.41
movzx eax, byte [eax + 0x45431c]
jmp dword [eax*4 + 0x454314]
mov eax, 1
jmp 0x453eca
xor eax, eax
mov dword [ebp - 0x94], eax
call esi
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 4]
call fcn.004655b0
lea ecx, [ebp - 0x110]
call fcn.00464b10
movzx eax, al
push 0
push eax
mov word [ebp - 0x7c], ax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [ebp - 0x7a], ax
movzx eax, byte [ebp - 0x7c]
add eax, 0xffffffdf
cmp eax, 0xd
ja case.0x453f1c.41
movzx eax, byte [eax + 0x454334]
jmp dword [eax*4 + 0x45432c]
mov eax, 1
jmp 0x453f2c
xor eax, eax
mov dword [ebp - 0x78], eax
call esi
mov dword [ebp - 0x70], eax
movzx eax, word [ebp - 0x7c]
mov word [ebp - 0x60], ax
movzx eax, word [ebp - 0x7a]
mov word [ebp - 0x5e], ax
mov eax, dword [ebp - 0x78]
or eax, 2
mov dword [ebp - 0x5c], eax
call esi
mov dword [ebp - 0x54], eax
movzx eax, word [ebp - 0x98]
mov word [ebp - 0x44], ax
movzx eax, word [ebp - 0x96]
mov word [ebp - 0x42], ax
mov eax, dword [ebp - 0x94]
or eax, 2
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x38], eax
movzx eax, word [ebp - 0xb4]
mov word [ebp - 0x28], ax
movzx eax, word [ebp - 0xb2]
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0xb0]
or eax, 2
mov dword [ebp - 0x24], eax
call esi
push dword [ebp - 0x104]
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.0045f160
push dword [ebp - 0x108]
mov ecx, edi
call fcn.0045f160
push dword [ebp - 0x110]
mov ecx, edi
call fcn.0045f160
push 0x1c
lea eax, [ebp - 0xb8]
push eax
push 6
call dword [sym.imp.USER32.dll_SendInput]
test eax, eax
jne 0x453c9d
push str.An_runtime_exception_occurred:
lea ecx, [ebp - 0xf8]
call fcn.00402850
push str.failed_sending_keyboard_event
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 5
push eax
call fcn.004020f0
add esp, 0xc
mov byte [ebp - 4], 6
jmp 0x4542c7
xorps xmm0, xmm0
mov dword [ebp - 0x80], 1
lea eax, [ebp - 0x104]
movq qword [ebp - 0x6c], xmm0
push eax
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x64], 1
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x48], 1
movq qword [ebp - 0x50], xmm0
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
lea ecx, [ebp - 0x104]
call fcn.00464b10
movzx eax, al
push 0
push eax
mov word [ebp - 0x7c], ax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [ebp - 0x7a], ax
movzx eax, byte [ebp - 0x7c]
add eax, 0xffffffdf
cmp eax, 0xd
ja case.0x454093.41
movzx eax, byte [eax + 0x45434c]
jmp dword [eax*4 + 0x454344]
mov eax, 1
jmp 0x4540a3
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov dword [ebp - 0x78], eax
call esi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 2]
call fcn.004655b0
lea ecx, [ebp - 0x108]
call fcn.00464b10
movzx eax, al
push 0
push eax
mov word [ebp - 0x60], ax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [ebp - 0x5e], ax
movzx eax, byte [ebp - 0x60]
add eax, 0xffffffdf
cmp eax, 0xd
ja case.0x4540f5.41
movzx eax, byte [eax + 0x454364]
jmp dword [eax*4 + 0x45435c]
mov eax, 1
jmp 0x454105
xor eax, eax
mov dword [ebp - 0x5c], eax
call esi
mov dword [ebp - 0x54], eax
movzx eax, word [ebp - 0x60]
mov word [ebp - 0x44], ax
movzx eax, word [ebp - 0x5e]
mov word [ebp - 0x42], ax
mov eax, dword [ebp - 0x5c]
or eax, 2
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x38], eax
movzx eax, word [ebp - 0x7c]
mov word [ebp - 0x28], ax
movzx eax, word [ebp - 0x7a]
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x78]
or eax, 2
mov dword [ebp - 0x24], eax
call esi
push dword [ebp - 0x104]
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.0045f160
push dword [ebp - 0x108]
mov ecx, edi
call fcn.0045f160
push 0x1c
lea eax, [ebp - 0x80]
push eax
push 4
call dword [sym.imp.USER32.dll_SendInput]
test eax, eax
jne 0x453c9d
push str.An_runtime_exception_occurred:
lea ecx, [ebp - 0xf8]
call fcn.00402850
push str.failed_sending_keyboard_event
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 3
push eax
call fcn.004020f0
add esp, 0xc
mov byte [ebp - 4], 4
jmp 0x4542c7
xorps xmm0, xmm0
mov dword [ebp - 0x48], 1
lea eax, [ebp - 0x104]
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
lea ecx, [ebp - 0x104]
call fcn.00464b10
movzx eax, al
push 0
push eax
mov word [ebp - 0x44], ax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [ebp - 0x42], ax
movzx eax, byte [ebp - 0x44]
add eax, 0xffffffdf
cmp eax, 0xd
ja case.0x45420c.41
movzx eax, byte [eax + 0x45437c]
jmp dword [eax*4 + 0x454374]
mov eax, 1
jmp 0x45421c
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x38], eax
movzx eax, word [ebp - 0x44]
mov word [ebp - 0x28], ax
movzx eax, word [ebp - 0x42]
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x40]
or eax, 2
mov dword [ebp - 0x24], eax
call esi
push dword [ebp - 0x104]
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.0045f160
push 0x1c
lea eax, [ebp - 0x48]
push eax
push 2
call dword [sym.imp.USER32.dll_SendInput]
test eax, eax
jne 0x453c9d
push str.An_runtime_exception_occurred:
lea ecx, [ebp - 0xf8]
call fcn.00402850
push str.failed_sending_keyboard_event
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 1
push eax
call fcn.004020f0
add esp, 0xc
mov byte [ebp - 4], 2
jmp 0x4542c7
push str.An_runtime_exception_occurred:
lea ecx, [ebp - 0xd0]
call fcn.00402850
push str.failed_sending_keyboard_event
push eax
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 8
push eax
call fcn.004020f0
add esp, 0xc
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x11c]
call fcn.00402b30
push 0x4f9f28
lea eax, [ebp - 0x11c]
push eax
call fcn.004a0dc4
or dword [eax*2 + 0x453c1000], edi
add byte [eax], al
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 byte [esi - 112], ah
push eax
inc ebp
add byte [edi + 0x3e], dl
inc ebp
add byte [eax], al
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 byte [esi - 112], ah
sar dword [esi], 69
add al, cl
inc ebp
add byte [eax], al
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 byte [esi - 112], ah
and edi, dword [edi]
inc ebp
add byte [edx], ch
aas
inc ebp
add byte [eax], al
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 byte [esi - 112], ah
lcall 17728, 0xa1004540
add byte [eax], al
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 byte [esi - 112], ah
cld
inc eax
inc ebp
add byte [ebx], al
inc ecx
inc ebp
add byte [eax], al
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 byte [esi - 112], ah
adc eax, dword [edx + 69]
add byte [edx], bl
inc edx
inc ebp
add byte [eax], al
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