Function at 0x45f6b822
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fc77c5
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x314]
test al, al
je 0x45f6bc58
lea ecx, [esi + 0x372]
cmp byte [ecx], 0
mov dword [esp + 0x40], ecx
jne 0x45f6bc58
mov al, byte [ecx]
mov byte [esp + 0x50], al
mov dword [esp + 0x4c], ecx
mov byte [ecx], 1
xor edi, edi
mov dword [esp + 0x90], edi
cmp dword [ebp + 8], edi
je 0x45f6b8a9
cmp byte [esi + 0x371], 0
je 0x45f6b8a9
or dword [esp + 0x90], 0xffffffff
jmp 0x45f6bc56
mov eax, esi
call fcn.45f6c0ba
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x48], VariantInit
call dword [eax + 0xc0]
mov dword [esp + 0x24], eax
mov eax, esi
call fcn.45f6c0e9
mov edx, dword [esi]
push eax
push dword [esp + 0x20]
mov ecx, esi
push dword [ebp + 8]
mov dword [esp + 0x2c], eax
call dword [edx + 0x494]
lea ebx, [esi + 0x371]
mov al, byte [ebx]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x48], al
mov byte [ebx], 1
mov byte [esp + 0x90], 1
cmp dword [ebp + 8], edi
je 0x45f6b922
mov edi, esi
call fcn.45f6c157
mov edi, eax
mov ecx, dword [esi + 0x378]
cmp edi, 1
sete al
mov byte [esp + 0x38], al
push dword [esp + 0x38]
mov eax, dword [ecx]
call dword [eax + 0x24]
call fcn.45f6cdab
mov eax, dword [esi]
lea ecx, [esp + 0x17]
push ecx
push edi
push dword [esp + 0x28]
mov ecx, esi
push dword [esp + 0x28]
mov byte [esp + 0x27], 0
push dword [ebp + 8]
call dword [eax + 0x490]
cmp byte [esp + 0x17], 0
jne 0x45f6b996
mov eax, dword [esi]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov dword [esp + 0x4c], VariantInit
call dword [eax + 0xc0]
mov edx, dword [esi]
push eax
mov ecx, esi
mov dword [esp + 0x28], eax
call dword [edx + 0x1c4]
mov eax, dword [ebp + 8]
sub eax, 0
je 0x45f6bc31
dec eax
je 0x45f6b9af
dec eax
je 0x45f6b9dc
dec eax
jne 0x45f6bc38
cmp dword [ebp + 8], 1
jne 0x45f6b9bc
mov eax, esi
call fcn.45f63873
mov eax, dword [esi]
mov ecx, esi
cmp edi, 2
jne 0x45f6bc20
push dword [esp + 0x20]
push dword [esp + 0x28]
call dword [eax + 0x468]
jmp 0x45f6bc38
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, esi
setl byte [esp + 0x30]
call fcn.45f63873
cmp edi, 2
je 0x45f6bc28
mov eax, dword [esi + 0x5c]
and dword [esp + 0x28], 0
and dword [esp + 0x18], 0
shr eax, 0xf
test al, 1
jne 0x45f6bbf6
push dword [esp + 0x20]
lea ecx, [esi + 0x1b4]
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0x24]
lea ebx, [esp + 0x1c]
push dword [eax]
lea edi, [esp + 0x30]
push dword [esp + 0x38]
mov eax, esi
call fcn.45f6a727
test al, al
je 0x45f6bbf2
mov eax, dword [esp + 0x28]
cmp eax, dword [esi + 0x190]
jae 0x45f6bba6
mov al, byte [0x4603baf5]
test al, al
jne 0x45f6ba43
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x388]
cmp dword [esp + 0x18], eax
jae 0x45f6bb60
mov al, byte [0x4603baf5]
test al, al
jne 0x45f6ba5c
push dword [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c4]
mov edi, SysReAllocStringLen
mov dword [esp + 0x20], edi
mov eax, dword [esi]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
push dword [esp + 0x20]
mov ecx, esi
call dword [eax + 0xb8]
test al, al
je 0x45f6bb18
cmp dword [esp + 0x20], edi
je 0x45f6bb18
mov al, byte [0x4603baf5]
test al, al
jne 0x45f6ba90
mov eax, dword [esi]
push 3
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x108]
cmp eax, 1
je 0x45f6baf1
push dword [esp + 0x18]
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x18c]
mov eax, dword [esi]
push edi
push dword [esp + 0x1c]
mov ecx, esi
call dword [eax + 0x114]
push dword [esp + 0x28]
lea ecx, [esi + 0x19c]
mov eax, dword [ecx]
call dword [eax]
push dword [eax]
mov edx, dword [esi]
push dword [esp + 0x1c]
mov ecx, esi
call dword [edx + 0x468]
mov ebx, dword [esp + 0x34]
jmp 0x45f6bc38
lea eax, [esp + 0x24]
push eax
push 0xdb1
push 0x45dd0d24
mov esi, 0x80004005
push esi
mov dword [esp + 0x34], ebx
call fcn.45f85675
mov eax, dword [esp + 0x34]
add esp, 0x10
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], 0x45dc096c
mov dword [esp + 0x58], esi
mov dword [esp + 0x60], ebx
push 0x45ff0f98
lea eax, [esp + 0x58]
push eax
call fcn.45fb1416
and dword [esp + 0x2c], 0
lea eax, [esp + 0x2c]
push eax
push 0xda9
push 0x45dd0d24
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x3c]
add esp, 0x10
and dword [esp + 0x70], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], 0x45dc096c
mov dword [esp + 0x68], esi
push 0x45ff0f98
lea eax, [esp + 0x68]
jmp 0x45f6bb5a
and dword [esp + 0x30], 0
lea eax, [esp + 0x30]
push eax
push 0xda8
push 0x45dd0d24
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x40]
add esp, 0x10
and dword [esp + 0x80], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], 0x45dc096c
mov dword [esp + 0x78], esi
push 0x45ff0f98
lea eax, [esp + 0x78]
jmp 0x45f6bb5a
mov ebx, dword [esp + 0x34]
mov eax, dword [esi + 0x5c]
mov ecx, eax
shr ecx, 0xb
test cl, 1
jne 0x45f6bc0a
shr eax, 0xf
test al, 1
je 0x45f6bc1c
xor ecx, ecx
cmp byte [esp + 0x30], cl
mov edx, esi
setne cl
inc ecx
inc ecx
call fcn.45f64764
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
jmp 0x45f6bc38
mov eax, dword [esi]
mov ecx, esi
jmp 0x45f6b9c9
mov eax, esi
call fcn.45f63873
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x90], 0
mov al, byte [esp + 0x48]
or dword [esp + 0x90], 0xffffffff
mov byte [ebx], al
mov al, byte [esp + 0x50]
mov byte [ecx], al
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4