Function at 0x407110
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4d0
mov edi, dword [edx + 0x90]
test edi, edi
je 0x40730e
mov ebx, ecx
test byte [edi + 0x18], 0x10
jne 0x4071de
push 0x12
call dword [sym.imp.user32.dll_GetKeyState]
mov esi, dword [ebx]
test ax, ax
js 0x4071f8
cmp dword [edi + 0x2a0], 1
jne 0x4072b5
mov dword [ebp - 0x4dc], 0x3c
mov dword [ebp - 0x4d8], 4
mov dword [ebp - 0x4d4], esi
xorps xmm0, xmm0
movups xmmword [ebp - 0x4d0], xmm0
mov dword [ebp - 0x4c0], 1
mov ecx, edi
mov edx, esi
call sym._get_to_absolute_pidl
mov dword [ebp - 0x4b8], eax
lea eax, [ebp - 0x4dc]
push eax
call dword [sym.imp.shell32.dll_ShellExecuteExW]
test eax, eax
jne 0x4071ba
mov eax, dword fs:[0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x34]
mov ecx, esi
call sym._display_error
mov eax, dword [ebp - 0x4b8]
cmp eax, dword [edi + 0x2a4]
je 0x40730e
mov ecx, dword [0x414854]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x14]
jmp 0x40730e
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407246
cmp word [edi + 0x44], 0x2e
je 0x407273
jmp 0x407291
lea ebx, [ebp - 0x4dc]
push 0x4bc
push 0
push ebx
call sub.ucrtbase.dll_memset
add esp, 0xc
mov ecx, edi
mov edx, ebx
call sym._get_path
lea eax, [ebp - 0x2d4]
push 0x2b0
push edi
push eax
call sub.ucrtbase.dll_memcpy
add esp, 0xc
push ebx
push sym._PropertiesDialogDlgProc_16
push esi
push 0x6a
push dword [section..data]
call dword [sym.imp.user32.dll_DialogBoxParamW]
jmp 0x40730e
push 0
push 0
push 0x188
push dword [ebx + 4]
mov esi, edx
call dword [sym.imp.user32.dll_SendMessageW]
mov ecx, ebx
mov edx, edi
push dword [ebp + 8]
push eax
call sym._scan_entry
mov edx, esi
add esp, 8
cmp word [edi + 0x44], 0x2e
jne 0x407291
movzx eax, word [edi + 0x46]
test ax, ax
je 0x40730e
cmp ax, 0x2e
jne 0x407291
cmp word [edi + 0x48], 0
je 0x407368
cmp dword [edi + 0xc], 0
mov eax, dword [ebx + 0x94]
je 0x4072f1
mov ecx, edx
mov esi, edx
mov edx, eax
call sym._collapse_entry
mov edx, esi
cmp dword [ebp - 0x14], 0
jne 0x40730e
jmp 0x4073d0
lea ebx, [ebp - 0x4dc]
mov ecx, edi
mov edx, ebx
call sym._get_path
push 1
push 0
push 0
push ebx
push 0
push esi
call dword [sym.imp.shell32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x40730e
mov eax, dword fs:[0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x34]
mov ecx, esi
call sym._display_error
jmp 0x40730e
test eax, eax
je 0x4072fb
cmp dword [eax + 0xc], 0
je 0x407319
cmp dword [edx + 0x84], 0
je 0x40737f
cmp dword [ebp - 0x14], 0
je 0x4073d0
add esp, 0x4d0
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [eax + 4]
test esi, esi
je 0x4072fb
cmp word [esi + 0x44], 0x2e
jne 0x40745e
mov ecx, eax
cmp word [esi + 0x46], 0
jne 0x407460
mov eax, dword [esi]
test eax, eax
je 0x407460
cmp word [eax + 0x44], 0x2e
jne 0x40735b
cmp word [eax + 0x46], 0x2e
jne 0x40735b
cmp word [eax + 0x48], 0
je 0x4074e2
mov esi, eax
test byte [esi + 0x18], 0x10
je 0x4072fb
jmp 0x40746a
lea ecx, [ebx + 4]
mov eax, dword [ebx + 0x94]
mov edi, dword [eax + 8]
mov esi, edx
mov edx, edi
call sym._collapse_entry
mov edx, esi
mov dword [ebp - 0x10], edx
mov esi, dword [sym.imp.user32.dll_SendMessageW]
push 0
push 0
push 0x188
push dword [ebx + 4]
call esi
push edi
push eax
push 0x18f
push dword [ebx + 4]
call esi
mov ecx, esi
mov esi, eax
push 0
push eax
push 0x186
push dword [ebx + 4]
call ecx
mov ecx, ebx
mov edx, edi
push dword [ebp + 8]
push esi
call sym._set_curdir
mov edx, dword [ebp - 0x10]
add esp, 8
cmp dword [ebp - 0x14], 0
jne 0x40730e
xor ebx, ebx
mov ecx, edx
mov edi, edx
xor edx, edx
call sym._calc_widths
push 0
push dword [edi]
call dword [sym.imp.user32.dll_GetScrollPos]
mov dword [ebp - 0x4dc], 1
mov dword [ebp - 0x14], eax
jmp 0x407435
mov edx, dword [edi + ebx*4 + 8]
mov dword [ebp - 0x4d8], edx
lea esi, [ebx + 1]
mov dword [edi + ebx*4 + 0x30], edx
lea eax, [ebp - 0x4dc]
push eax
push ebx
push 0x120c
push dword [edi + 4]
call dword [sym.imp.user32.dll_SendMessageW]
mov ebx, esi
cmp esi, 0xa
mov eax, dword [ebp - 0x14]
je 0x40730e
cmp dword [edi + ebx*4 + 0x58], eax
jge 0x407400
lea esi, [ebx + 1]
mov edx, dword [edi + ebx*4 + 0x5c]
sub edx, eax
jle 0x407450
mov dword [ebp - 0x4d8], edx
jmp 0x40740d
mov dword [ebp - 0x4d8], 0
xor edx, edx
jmp 0x40740d
mov ecx, eax
test byte [esi + 0x18], 0x10
je 0x4072fb
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
push ecx
push 0
push 0x18f
push dword [ebx + 4]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], esi
mov esi, ecx
call dword [sym.imp.user32.dll_SendMessageW]
mov dword [esi + 0xc], 1
mov esi, dword [ebp - 0x20]
mov ecx, esi
mov edx, dword [ebp - 0x1c]
push eax
push 0x1f
push 0
call sym._insert_entries
mov edx, dword [ebp - 0x10]
add esp, 0xc
cmp dword [ebx + 0x160], 0
jne 0x4072fb
mov ecx, esi
xor edx, edx
call sym._calc_widths
mov edx, dword [ebp - 0x10]
test eax, eax
je 0x4072fb
mov ecx, esi
call sym._set_header
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x160], 1
jmp 0x4072fb
mov esi, dword [eax]
test esi, esi
cmove esi, eax
test byte [esi + 0x18], 0x10
je 0x4072fb
jmp 0x40746a