Function at 0x45f110
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cb75d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x860
mov eax, dword [0x64aa84]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x860], eax
mov eax, dword [esi + 0x280]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x45f15c
cmp dword [eax + 0xc], ebx
ja 0x45f15c
cmp dword [eax + 8], ebx
jbe 0x45f887
mov eax, dword [esi + 0x14c]
mov ecx, dword [0x6613c4]
lea edi, [esi + 0x14c]
push ebx
push eax
call fcn.004d8dc0
mov eax, dword [edi]
push 0x5c
push eax
call fcn.0057b09e
mov eax, dword [esi + 0x280]
add esp, 8
cmp eax, ebx
je 0x45f65d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
jne 0x45f65d
mov ecx, esi
call fcn.0045db70
or eax, edx
je 0x45f1f4
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, ah
jns 0x45f1f4
push str..aborted
lea ecx, [esp + 0x28]
push edi
push ecx
call fcn.0040dc60
add esp, 0xc
mov dword [esp + 0x874], 0x11
mov eax, dword [eax]
mov edi, dword [edi]
push eax
push edi
call dword [0x652c30]
mov dword [esp + 0x874], 0xffffffff
lea ecx, [esp + 0x24]
jmp 0x45f739
cmp dword [esi + 0xa8], ebx
je 0x45f5cc
cmp dword [0x66147c], ebx
je 0x45f50f
mov eax, dword [esi + 0x38c]
cmp eax, ebx
jbe 0x45f4a3
xor edi, edi
mov dword [esp + 0x24], eax
mov edx, dword [esi + 0x390]
add edx, edi
push edx
lea ecx, [esp + 0x1c]
call fcn.00402dc0
mov dword [esp + 0x874], 0
push 0x5e3ca8
lea eax, [esi + 0x138]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0040dc60
mov byte [esp + 0x880], 1
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x44]
push edx
call fcn.0040dba0
add esp, 0x18
mov byte [esp + 0x874], 2
push eax
lea ecx, [esp + 0x1c]
call fcn.00405540
mov byte [esp + 0x874], 1
lea ecx, [esp + 0x30]
call fcn.00401b70
mov byte [esp + 0x874], 0
lea ecx, [esp + 0x3c]
call fcn.00401b70
lea ecx, [esp + 0x2c]
call fcn.00401b20
mov byte [esp + 0x874], 3
lea eax, [esi + 0x37c]
push eax
lea ecx, [esp + 0x2c]
call fcn.00402dc0
mov byte [esp + 0x874], 4
lea ecx, [esp + 0x20]
call fcn.00401b20
mov byte [esp + 0x874], 5
lea ecx, [esp + 0x10]
call fcn.00401b20
mov byte [esp + 0x874], 6
mov eax, dword [esp + 0x18]
push 0x5c
push eax
call fcn.0057b09e
add esp, 8
test eax, eax
je 0x45f373
sub eax, dword [esp + 0x18]
sar eax, 1
mov ebx, eax
test ebx, ebx
jl 0x45f373
push ebx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
call fcn.0041ce60
mov byte [esp + 0x874], 7
push eax
lea ecx, [esp + 0x24]
call fcn.00405540
mov byte [esp + 0x874], 6
lea ecx, [esp + 0x34]
call fcn.00401b70
inc ebx
push ebx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x20]
call fcn.0040db40
mov byte [esp + 0x874], 8
push eax
lea ecx, [esp + 0x14]
call fcn.00405540
mov byte [esp + 0x874], 6
lea ecx, [esp + 0x38]
call fcn.00401b70
jmp 0x45f38f
push 0x5e3a20
lea ecx, [esp + 0x24]
call fcn.004055d0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.00405540
lea ecx, [esp + 0x28]
push ecx
call fcn.00478510
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
add esp, 4
cmp eax, 0xa
jge 0x45f40b
push 0x5e9780
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040dc60
mov byte [esp + 0x880], 9
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0040dba0
add esp, 0x18
mov byte [esp + 0x874], 0xa
push eax
lea ecx, [esp + 0x14]
call fcn.00405540
mov byte [esp + 0x874], 9
lea ecx, [esp + 0x1c]
call fcn.00401b70
mov byte [esp + 0x874], 6
lea ecx, [esp + 0x14]
call fcn.00401b70
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x134]
push ecx
push edx
push eax
lea ecx, [esp + 0x38]
push str._s_s_s
push ecx
call fcn.0040a170
mov edx, dword [esp + 0x40]
add esp, 0x14
push edx
call dword [0x652b94]
mov byte [esp + 0x874], 5
lea ecx, [esp + 0x10]
call fcn.00401b70
mov byte [esp + 0x874], 4
lea ecx, [esp + 0x20]
call fcn.00401b70
mov byte [esp + 0x874], 3
lea ecx, [esp + 0x28]
call fcn.00401b70
mov byte [esp + 0x874], 0
lea ecx, [esp + 0x2c]
call fcn.00401b70
mov dword [esp + 0x874], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401b70
mov eax, dword [esp + 0x24]
add edi, 0x50
dec eax
mov dword [esp + 0x24], eax
jne 0x45f220
push 0x5e3ca8
lea eax, [esi + 0x134]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0040dc60
mov ebx, 0xb
mov dword [esp + 0x880], ebx
lea edx, [esi + 0x138]
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0040dba0
add esp, 0x18
mov byte [esp + 0x874], 0xc
mov eax, dword [eax]
push eax
call dword [0x652c38]
mov byte [esp + 0x874], bl
lea ecx, [esp + 0x14]
call fcn.00401b70
mov dword [esp + 0x874], 0xffffffff
lea ecx, [esp + 0x1c]
jmp 0x45f739
mov word [esp + 0x60], bx
xor eax, eax
mov ecx, 0x1ff
lea edi, [esp + 0x62]
rep stosd dword es:[edi], eax
push 0x5e3ca8
lea ecx, [esi + 0x134]
push ecx
lea edx, [esp + 0x24]
push edx
stosw word es:[edi], ax
call fcn.0040dc60
mov ebx, 0xd
mov dword [esp + 0x880], ebx
lea ecx, [esi + 0x138]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0040dba0
mov byte [esp + 0x88c], 0xe
mov eax, dword [eax]
push 0x3fe
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0057bf49
add esp, 0x24
mov byte [esp + 0x874], bl
lea ecx, [esp + 0x14]
call fcn.00401b70
mov dword [esp + 0x874], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00401b70
xor eax, eax
lea edx, [esp + 0x40]
lea ecx, [esp + 0x60]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 3
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov word [esp + 0x54], 0x414
call dword [0x652c70]
jmp 0x45f73e
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edi
call fcn.00402dc0
mov dword [esp + 0x878], 0xffffffff
call fcn.004e49c0
add esp, 4
test al, al
je 0x45f73e
mov eax, dword [edi]
push eax
call dword [0x652b94]
test eax, eax
jne 0x45f73e
push 0x5e3a20
push str.ToDelete
lea eax, [esp + 0x18]
push 0x5e3704
push eax
call fcn.004a5b30
add esp, 0x10
mov dword [esp + 0x874], 0x10
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], ebx
jle 0x45f643
push 0x5e8150
lea ecx, [esp + 0x14]
call fcn.004031d0
mov edi, dword [edi]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00403130
mov edx, dword [esp + 0x10]
push edx
jmp 0x45f718
cmp dword [ebp + 8], ebx
je 0x45f73e
cmp dword [esi + 0xa8], ebx
je 0x45f6b4
mov eax, dword [esi + 0x38c]
test eax, eax
jle 0x45f73e
xor edi, edi
mov edi, edi
mov eax, dword [esi + 0x390]
mov ecx, dword [eax + edi + 0x44]
add eax, edi
test ecx, ecx
jne 0x45f6a1
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x45f6a1
push eax
call dword [0x652b94]
mov eax, dword [esi + 0x38c]
inc ebx
add edi, 0x50
cmp ebx, eax
jl 0x45f680
jmp 0x45f73e
mov eax, dword [edi]
push eax
call dword [0x652b94]
test eax, eax
jne 0x45f73e
push 0x5e3a20
push str.ToDelete
lea ecx, [esp + 0x18]
push 0x5e3704
push ecx
call fcn.004a5b30
add esp, 0x10
mov dword [esp + 0x874], 0x12
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], ebx
jle 0x45f703
push 0x5e8150
lea ecx, [esp + 0x14]
call fcn.004031d0
mov edi, dword [edi]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00403130
mov eax, dword [esp + 0x10]
push eax
push str.ToDelete
push 0x5e3704
call fcn.004a5680
add esp, 0xc
mov dword [esp + 0x874], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401b70
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x45f880
mov eax, dword [esi + 0x38c]
xor ebx, ebx
test eax, eax
jle 0x45f78f
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [esi + 0x390]
lea eax, [ecx + edi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x45f781
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x45f781
push eax
call dword [0x652b94]
mov eax, dword [esi + 0x38c]
inc ebx
add edi, 0x50
cmp ebx, eax
jl 0x45f760
cmp dword [esi + 0x7e0], 2
jne 0x45f880
xor eax, eax
mov word [esp + 0x60], 0
mov ecx, 0x1ff
lea edi, [esp + 0x62]
rep stosd dword es:[edi], eax
push 0x5e3ca8
lea edx, [esi + 0x134]
stosw word es:[edi], ax
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0040dc60
mov ebx, 0x13
mov dword [esp + 0x880], ebx
lea ecx, [esi + 0x138]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0040dba0
mov byte [esp + 0x88c], 0x14
mov eax, dword [eax]
push 0x3fe
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0057bf49
add esp, 0x24
mov byte [esp + 0x874], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f82b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x874], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f854
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
lea edx, [esp + 0x40]
lea ecx, [esp + 0x60]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 3
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov word [esp + 0x54], 0x414
call dword [0x652c70]
mov ecx, esi
call fcn.00440700
mov ecx, dword [esp + 0x86c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x864]
call fcn.0057981f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4