Function at 0x442130
Capabilities:
Check if file exists
Get file attributes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7e10
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4db06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
push 0x2710
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], vtable.THashTblT_unsigned_int_.0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x40], 0x2710
call fcn.0041b900
mov dword [ebp - 0x48], vtable.PathArray.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
push 0x10000
mov dword [ebp - 4], 0
call fcn.00487989
mov esi, eax
add esp, 4
test esi, esi
je 0x4421d5
push 0x10000
push 0
push esi
call fcn.0048b570
add esp, 0xc
jmp 0x4421d7
xor esi, esi
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
mov ecx, ebx
push dword [ebp + 8]
call fcn.00436b60
mov ecx, dword [ebx + 0x1c30]
mov edi, eax
test ecx, ecx
jne 0x4421fd
mov dword [ebp - 0x18], 1
jmp 0x44220d
mov eax, dword [ebx + 0x1c48]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [sym.imp.SHELL32.dll_DragQueryFileW]
test edi, edi
je 0x442223
mov dword [ebp - 0x14], 1
jmp 0x4422f2
push 0
push 0
push 0xffffffffffffffff
push dword [ebp + 8]
call ecx
push 0x11
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x4422d8
mov edx, dword [ebx + 0x3a04]
lea ecx, [ebx + 0x3a04]
call dword [edx + 0x180]
inc eax
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0x1c], ecx
call fcn.00487989
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x442290
push dword [ebp - 0x1c]
push 0
push eax
call fcn.0048b570
mov ecx, dword [ebp - 0x10]
add esp, 0xc
jmp 0x442295
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 2
push dword [ebp - 0x20]
mov eax, dword [ebx + 0x3a04]
push ecx
lea ecx, [ebx + 0x3a04]
call dword [eax + 0x170]
push 0x4c1dbc
push dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
call fcn.0045b6c0
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test eax, eax
je 0x4422e2
push eax
call fcn.00487954
add esp, 4
jmp 0x4422e2
mov dword [ebx + 0x1cb4], 0
cmp dword [ebp - 0x14], 0
jle 0x4423da
mov ecx, dword [sym.imp.SHELL32.dll_DragQueryFileW]
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x8000
push esi
push eax
push dword [ebp + 8]
call ecx
test eax, eax
je 0x4423da
test edi, edi
jne 0x442315
cmp dword [ebp - 0x18], 7
je 0x442330
mov edx, esi
mov ecx, esi
call fcn.0045c880
test eax, eax
je 0x442330
test edi, edi
jne 0x442330
mov dword [ebx + 0x1cb4], 1
mov edx, esi
mov ecx, esi
call fcn.00464df0
push 0x8000
push esi
push esi
call dword [sym.imp.KERNEL30.dll_GetLongPathNameW]
push esi
call dword [sym.imp.KERNEL30.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44236e
test al, 0x10
je 0x44236e
push SysReAllocString
push 0x4c1430
xor edx, edx
mov ecx, esi
call fcn.00462880
add esp, 8
jmp 0x442396
test edi, edi
je 0x442396
push 0x8000
mov edx, esi
mov ecx, esi
call fcn.00464c30
push SysReAllocString
push 0x4c1430
xor edx, edx
mov ecx, esi
call fcn.00462880
add esp, 0xc
mov edx, esi
mov ecx, esi
call fcn.00464ef0
push esi
lea ecx, [ebp - 0x48]
call fcn.0045b9b0
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
push dword [ebp + 8]
lea edx, [ecx + eax*4]
mov eax, edx
sub eax, ecx
sar eax, 2
push eax
call fcn.0045dc10
mov eax, dword [ebp - 0x10]
add esp, 8
mov ecx, dword [sym.imp.SHELL32.dll_DragQueryFileW]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x14]
jl 0x4422f7
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_DragFinish]
cmp dword [ebp - 0x34], 0
jle 0x44248e
test edi, edi
je 0x442406
mov eax, dword [ebx]
mov ecx, ebx
push esi
push 0xbbb
call dword [eax + 0xf8]
jmp 0x44248e
push 1
push 0x4c1430
push 0x4c1dbc
lea ecx, [ebp - 0x48]
call fcn.0045b8f0
xor ebx, ebx
mov dword [ebp + 8], eax
mov ecx, 2
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.00487989
mov edi, eax
add esp, 4
test edi, edi
je 0x44244a
push ebx
push 0
push edi
call fcn.0048b570
add esp, 0xc
jmp 0x44244c
xor edi, edi
mov dword [ebp - 0x20], edi
push 1
push 0x4c1430
push 0x4c1dbc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
push edi
call fcn.0045b730
test eax, eax
je 0x442481
mov ecx, dword [ebp - 0x24]
add ecx, 0x3a04
push edi
mov eax, dword [ecx]
call dword [eax + 0x178]
test edi, edi
je 0x44248e
push edi
call fcn.00487954
add esp, 4
test esi, esi
je 0x44249b
push esi
call fcn.00487954
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.0045b530
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4