Function at 0x414b10
Capabilities:
Get common file path
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x208
push ebx
push esi
push edi
push ebp
push eax
call fcn.0041f030
add esp, 4
mov esi, eax
test esi, esi
jle 0x414e07
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0xf000f000
cmp eax, 1
sbb eax, eax
inc eax
cmp dword [esp + 0x228], 0
mov dword [esp + 0x14], eax
je 0x414bb7
test eax, eax
je 0x414bb7
lea eax, [esp + 0x18]
push pe_nt_image_headers32
push eax
mov ecx, dword [0x438580]
push 0x3788
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x98]
push 0x78
push ecx
push str.notepad
push str.VIEWER
call fcn.00402ec0
lea eax, [esp + 0x28]
lea ecx, [esp + 0xa8]
add esp, 0x10
push eax
push ecx
call fcn.00411820
add esp, 8
test eax, eax
jne 0x414bbf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x208
ret
mov byte [esp + 0x98], 0
mov edi, dword [esp + 0x21c]
test esi, esi
mov word [esp + 0x12], 0
jle 0x414e0e
lea eax, [esp + 0x118]
mov edx, dword [esp + 0x224]
push eax
mov eax, dword [esp + 0x16]
and eax, 0xffff
mov ecx, dword [eax*4 + 0x433f20]
push ecx
push edx
call fcn.0041f050
add esp, 0xc
cmp eax, 0xffffffff
je 0x414dcb
cmp eax, 4
jge 0x414dbd
cmp dword [esp + 0x220], 0
jne 0x414c5e
cmp dword [esp + 0x228], 0
je 0x414c43
lea eax, [esp + 0x98]
lea ecx, [esp + 0x118]
push eax
push 0
push ecx
call fcn.00402d10
add esp, 0xc
jmp 0x414dcb
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x118]
push eax
push ecx
push edi
call fcn.00412430
add esp, 0xc
jmp 0x414dcb
push 1
call fcn.0040c100
add esp, 4
push 0x100
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x414d9c
lea eax, [esp + 0x118]
push eax
push str.RETR__s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x437850
push 0
push 0x42fc28
push 0x437020
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0x2e
push ebx
call fcn.004202c0
mov dword [esp + 0x20], eax
add esp, 8
test eax, eax
je 0x414d04
push str..TMP
push 0x437850
call fcn.004202f0
add esp, 8
mov ebp, eax
test ebp, ebp
jne 0x414cf0
push str..tmp
push 0x437850
call fcn.004202f0
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x414d04
mov eax, dword [esp + 0x18]
push 4
push eax
push ebp
call fcn.00420c90
mov byte [ebp + 4], 0
add esp, 0xc
push 0
mov al, byte [str.IANS]
push eax
mov ecx, dword [0x42f864]
push 0x437850
push ebx
push ecx
call fcn.0040b010
add esp, 0x14
cmp eax, 2
jne 0x414d5e
cmp dword [esp + 0x228], 0
je 0x414d49
lea eax, [esp + 0x98]
push eax
push 0
push 0x437850
call fcn.00402d10
add esp, 0xc
jmp 0x414d93
mov eax, dword [esp + 0x14]
push eax
push 0x437850
push edi
call fcn.00412430
add esp, 0xc
jmp 0x414d93
cmp dword [0x42fcd8], 5
jne 0x414d93
cmp esi, 1
jne 0x414d93
lea eax, [esp + 0x118]
mov ecx, dword [0x42f864]
push eax
push ecx
call fcn.004161e0
add esp, 8
cmp eax, 2
jne 0x414d93
push 0
push edi
call fcn.00417970
add esp, 8
push edi
call fcn.0041ea00
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
call fcn.0040c100
add esp, 4
mov eax, dword [0x437668]
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x414dcb
cmp eax, 0xffffffff
je 0x414dcb
test al, 1
je 0x414dcb
cmp esi, 1
je 0x414de3
inc word [esp + 0x12]
mov eax, dword [esp + 0x12]
and eax, 0xffff
cmp eax, esi
jl 0x414bd5
jmp 0x414e0e
mov eax, dword [esp + 0x224]
mov ecx, dword [esp + 0x220]
push eax
push ecx
push edi
call fcn.00414580
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x208
ret
mov edi, dword [esp + 0x21c]
push edi
call fcn.00414060
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x208
ret