Function at 0x10009140
Capabilities:
Check if file exists
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10095856
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100d8574]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0x1c], 0
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp + 0x18]
jne 0x1000925c
mov esi, dword [ebp + 0xc]
cmp esi, 0x200
jne 0x100091d8
push 1
mov dword [edi + 0x70], 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
jne 0x100091bb
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [edi + 0x70], 0
mov dword [ebx], 0
cmp dword [edi + 0x70], 0
je 0x10009216
mov eax, 1
jmp 0x1000925e
cmp esi, 0x2a3
jne 0x100091ee
mov dword [edi + 0x70], 1
push 0x7f00
jmp 0x100091ac
cmp esi, 0x20
jne 0x10009216
push 0x7f00
push 0
mov dword [edi + 0x70], 1
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebx], 1
jmp 0x100091c8
mov esi, dword [edi + 0x28]
mov ecx, edi
push 0
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100089a0
mov dword [edi + 0x28], esi
test eax, eax
jne 0x100091ce
mov eax, dword [ebp + 0xc]
cmp eax, 0x10
jne 0x1000927c
mov ecx, edi
mov dword [edi + 0x70], 1
call fcn.10006f80
mov dword [ebx], 0
cmp dword [edi + 0x70], 0
jne 0x100091ce
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10033cf1
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x402
jne 0x1000938f
cmp dword [ebp - 0x24], 0
je 0x100092ae
push dword [edi + 0x78]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100092ae
add dword [edi + 0xb4], 0xb4
mov dword [edi + 0xb8], 1
push 0
push 0
push 1
push 0
push 0x1009f6b0
call fcn.10005e70
mov ecx, eax
call fcn.10031990
mov eax, dword [0x100dcfe4]
test al, 1
jne 0x100092fd
or eax, 1
mov dword [0x100dcfe4], eax
mov ecx, 0x100dcfe0
mov dword [ebp - 4], 0
call fcn.1001a0c0
push 0x1009c950
call fcn.10033cdc
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x100dcfe0
call fcn.1001a1a0
cmp dword [edi + 0xb8], 0
je 0x10009326
push 1
push dword [edi + 0x78]
push 0x3ed
call fcn.10005f00
mov ecx, eax
call fcn.1002d310
push 0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push 0
push 0x30
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [edi + 0xb4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [edi + 0xb0]
sub ecx, eax
mov esi, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
sub esi, edx
sub esi, dword [ebp - 0x20]
push 0x14
push eax
push edx
push ecx
push esi
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.10006080
mov ecx, dword [edi + 0x24]
lea eax, [edi + 0x24]
push 0
push 0
push eax
call dword [ecx + 0x20]
mov dword [ebx], 0
mov eax, 1
jmp 0x1000925e
cmp eax, 0x111
jne 0x1000925c
mov eax, dword [ebp - 0x24]
mov ecx, 0x65
movzx eax, ax
cmp cx, ax
jne 0x10009416
push 0
push 0
push 1
push 0
push 0x1009f6d0
call fcn.10005e70
mov ecx, eax
call fcn.10031990
push dword [0x100d8080]
lea ecx, [edi + 0x7c]
call fcn.1001b240
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x100093fd
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x100093fd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xd4], 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx], 0
mov eax, 1
jmp 0x1000925e
mov ecx, 0x66
cmp cx, ax
jne 0x10009451
push 0
push 0
push 1
push 0
push str.clean_tips_set
call fcn.10005e70
mov ecx, eax
call fcn.10031990
lea ecx, [edi + 0x7c]
call fcn.1001b3a0
mov dword [ebx], 0
mov eax, 1
jmp 0x1000925e
mov ecx, 0x67
cmp cx, ax
jne 0x100094b9
push 0
push 0
push 1
push 0
push 0x1009f714
call fcn.10005e70
mov ecx, eax
call fcn.10031990
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x100094a0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x100094a0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xd4], 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx], 0
mov eax, 1
jmp 0x1000925e
mov ecx, 0x6e
cmp cx, ax
jne 0x1000925c
call fcn.10005f90
mov ecx, eax
test ecx, ecx
je 0x10009586
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push dword [edi + 0x7c]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push 0x1009f738
push eax
call fcn.10005c70
mov esi, dword [ebp - 0x24]
add esp, 0xc
push 0
push 0
push 1
push 0
push esi
call fcn.10005e70
mov ecx, eax
call fcn.10031990
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x10009528
mov eax, dword [ecx]
push 0
push 0
push ecx
call dword [eax + 0x20]
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x1000953c
mov eax, dword [ecx]
push 0
push 0
push ecx
call dword [eax + 0x20]
mov edx, dword [edi + 0x24]
lea eax, [edi + 0x24]
push 0
push 0
push eax
call dword [edx + 0x20]
push 0x1009f770
lea ecx, [edi + 0x7c]
call fcn.1001b500
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10009576
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebx], 0
mov eax, 1
jmp 0x1000925e
push 0x80004005
call fcn.10005640
int3