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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cda0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4cf06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
push 2
lea ecx, [ebp - 0x48]
call fcn.00455d90
push 0x10000
mov dword [ebp - 4], 0
call fcn.0047d522
mov esi, eax
add esp, 4
test esi, esi
je 0x43d9c3
push 0x10000
push 0
push esi
call fcn.00481280
add esp, 0xc
jmp 0x43d9c5
xor esi, esi
mov dword [ebp - 0x28], esi
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004334b0
mov ecx, edi
mov ebx, eax
call fcn.00433240
mov dword [ebp - 0x24], eax
mov eax, dword [sym.imp.SHELL32.dll_DragQueryFileW]
test ebx, ebx
je 0x43d9f7
mov dword [ebp - 0x14], 1
jmp 0x43dac5
push 0
push 0
push 0xffffffffffffffff
push dword [ebp + 8]
call eax
push 0x11
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x43daac
mov edx, dword [edi + 0x3984]
lea ecx, [edi + 0x3984]
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.0047d522
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x43da64
push dword [ebp - 0x1c]
push 0
push eax
call fcn.00481280
mov ecx, dword [ebp - 0x10]
add esp, 0xc
jmp 0x43da69
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x3984]
push ecx
lea ecx, [edi + 0x3984]
call dword [eax + 0x170]
push 0x4b92f8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
call fcn.00455ef0
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test eax, eax
je 0x43dab6
push eax
call fcn.0047d4ed
add esp, 4
jmp 0x43dab6
mov dword [edi + 0x1c7c], 0
cmp dword [ebp - 0x14], 0
jle 0x43db6b
mov eax, dword [sym.imp.SHELL32.dll_DragQueryFileW]
xor edi, edi
push 0x8000
push esi
push edi
push dword [ebp + 8]
call eax
test eax, eax
je 0x43db68
test ebx, ebx
jne 0x43dae5
cmp dword [ebp - 0x24], 6
je 0x43db03
mov edx, esi
mov ecx, esi
call fcn.004572f0
test eax, eax
je 0x43db03
test ebx, ebx
jne 0x43db03
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x1c7c], 1
mov edx, esi
mov ecx, esi
call fcn.0045e850
push 0x8000
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43db3f
test al, 0x10
je 0x43db3f
push 0x7fffffff
push 0x4b92f4
xor edx, edx
mov ecx, esi
call fcn.0045c480
add esp, 8
mov edx, esi
mov ecx, esi
call fcn.0045e950
push esi
lea ecx, [ebp - 0x48]
call fcn.00456200
lea ecx, [ebp - 0x48]
call fcn.00456320
mov eax, dword [sym.imp.SHELL32.dll_DragQueryFileW]
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x43dac7
mov edi, dword [ebp - 0x18]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_DragFinish]
cmp dword [ebp - 0x34], 0
jle 0x43dc1c
test ebx, ebx
je 0x43db94
push esi
push 0xbbb
mov ecx, edi
call fcn.004643f0
jmp 0x43dc1c
push 1
push 0x4b9308
push 0x4b9300
lea ecx, [ebp - 0x48]
call fcn.004560c0
xor ebx, ebx
mov dword [ebp + 8], eax
mov ecx, 2
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.0047d522
mov edi, eax
add esp, 4
test edi, edi
je 0x43dbd8
push ebx
push 0
push edi
call fcn.00481280
add esp, 0xc
jmp 0x43dbda
xor edi, edi
mov dword [ebp - 0x24], edi
push 1
push 0x4b9314
push 0x4b930c
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
push edi
call fcn.00455f60
test eax, eax
je 0x43dc0f
mov ecx, dword [ebp - 0x18]
add ecx, 0x3984
push edi
mov eax, dword [ecx]
call dword [eax + 0x178]
test edi, edi
je 0x43dc1c
push edi
call fcn.0047d4ed
add esp, 4
test esi, esi
je 0x43dc29
push esi
call fcn.0047d4ed
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.00455e20
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