Function at 0x440dc3
Capabilities:
Check if file exists
Enumerate files on windows
Get common file path
Get startup folder
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5614e6
mov eax, dword fs:[0]
push eax
sub esp, 0x6c0
mov eax, dword [0x5b38f0]
xor eax, esp
mov dword [esp + 0x6b8], eax
push ebx
push esi
push edi
mov eax, dword [0x5b38f0]
xor eax, esp
push eax
lea eax, [esp + 0x6d0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
and dword [esp + 0x5c], 0
mov dword [esp + 0x60], 7
mov word [esp + 0x4c], ax
and dword [esp + 0x6d8], eax
mov esi, str.TencentQQMisc
push esi
call fcn.004086d2
pop ecx
push eax
push esi
lea ecx, [esp + 0x54]
call fcn.00408659
xor eax, eax
xor esi, esi
push 0x40e
mov word [esp + 0x2b8], ax
lea eax, [esp + 0x2ba]
push esi
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.005278d0
add esp, 0xc
lea eax, [esp + 0x2b4]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x2b4]
push eax
lea ecx, [esp + 0x20]
call fcn.00408718
lea eax, [esp + 0x4c]
mov byte [esp + 0x6d8], 1
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0043eb25
cmp dword [esp + 0x38], 8
lea eax, [esp + 0x24]
pop ecx
cmovae eax, dword [esp + 0x20]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44107b
mov esi, str..
push esi
call fcn.004086d2
pop ecx
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.004090e2
and dword [esp + 0x64], 0
lea eax, [esp + 0x68]
push 0x24c
push 0
push eax
call fcn.005278d0
add esp, 0xc
lea ecx, [esp + 0x64]
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
test esi, esi
je 0x441079
mov ecx, 0x58b9c0
lea eax, [esp + 0x90]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x440f45
test dx, dx
je 0x440f41
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x440f45
add eax, 4
add ecx, 4
test dx, dx
jne 0x440f1f
xor eax, eax
jmp 0x440f4a
sbb eax, eax
or eax, 1
test eax, eax
je 0x441051
mov ecx, 0x58b9c4
lea eax, [esp + 0x90]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x440f84
test dx, dx
je 0x440f80
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x440f84
add eax, 4
add ecx, 4
test dx, dx
jne 0x440f5e
xor eax, eax
jmp 0x440f89
sbb eax, eax
or eax, 1
test eax, eax
je 0x441051
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x38]
call fcn.00408718
sub esp, 0x18
mov byte [esp + 0x6f0], 2
lea eax, [esp + 0x4c]
mov ecx, esp
push eax
call fcn.00407b5f
call fcn.00440d06
add esp, 0x18
test al, al
je 0x441026
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x440ffe
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x34]
cmp edi, eax
je 0x440ffe
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.0040757d
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.00409227
push 0x58d724
call fcn.004086d2
pop ecx
push eax
push 0x58d724
mov ecx, ebx
call fcn.004090e2
push 0x250
lea eax, [esp + 0x68]
push 0
push eax
call fcn.005278d0
add esp, 0xc
mov byte [esp + 0x6d8], 1
lea ecx, [esp + 0x34]
push 0
push 1
call fcn.00403236
jmp 0x441065
push 0x250
lea eax, [esp + 0x68]
push 0
push eax
call fcn.005278d0
add esp, 0xc
lea eax, [esp + 0x64]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x440f13
xor esi, esi
push esi
push 1
lea ecx, [esp + 0x24]
call fcn.00403236
push esi
push 1
lea ecx, [esp + 0x54]
call fcn.00403236
mov ecx, dword [esp + 0x6d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6b8]
xor ecx, esp
call fcn.0052b1ec
mov esp, ebp
pop ebp
ret