Function at 0x440500
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a496b
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x5f237c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ecx + 0x310]
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 0x2ec], ebx
mov dword [ebp - 0x2f0], eax
call fcn.00449260
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d0], ebx
push eax
push ebx
push ebx
push 0x5b3b70
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x440968
mov edx, dword [ebp - 0x2d0]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440590
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.0040cb10
push str.User_PinnedTaskBar
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004033f0
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00406670
push 0x5b2cf8
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00417bc0
add esp, 0xc
cmp dword [ebp - 0x68], 8
lea ecx, [ebp - 0x2cc]
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x7c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2e0], esi
cmp esi, 0xffffffff
je 0x44094c
mov edi, dword [ebp - 0x2dc]
nop word [eax + eax]
test byte [ebp - 0x2cc], 0x16
jne 0x44092f
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x64]
push eax
call fcn.0041bd40
push 0x5b02d4
push eax
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 4
push eax
call fcn.00415330
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00415330
add esp, 0x18
mov edx, dword [ebp - 0x2e4]
or eax, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44069b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2e8]
or eax, 0xffffffff
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4406bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x2d4], 0
call fcn.00408cf0
mov ecx, eax
test ecx, ecx
je 0x440984
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xa
push eax
push 0x5b0154
push 0x17
push 0
push 0x5b3b80
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4408dd
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x14], esi
test eax, eax
je 0x440736
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x5affcc
push eax
call dword [ecx]
mov esi, dword [ebp - 0x14]
xor ecx, ecx
test eax, eax
cmovs esi, ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x44078d
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x44074f
xor edi, edi
mov dword [ebp - 0x2dc], edi
jmp 0x440766
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x2dc], edi
test edi, edi
je 0x44098e
mov eax, dword [esi]
or ebx, 1
push 0
push edi
push esi
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 0x2ec], ebx
call dword [eax + 0x14]
mov esi, dword [ebp - 0x14]
test eax, eax
js 0x44078d
mov bl, 1
jmp 0x44078f
xor bl, bl
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 4], 0xb
test al, 1
je 0x4407b3
and eax, 0xfffffffe
push edi
mov dword [ebp - 0x2d8], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [ebp - 0x14]
test bl, bl
je 0x4408c3
mov eax, dword [ebp - 0x2d4]
mov edx, 1
mov esi, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x4407ef
push 0x104
lea ecx, [ebp - 0x2d4]
call fcn.00409ff0
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [esi]
push 4
push 0
push 0x104
push eax
push esi
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x2d4]
push dword [eax - 8]
push eax
call fcn.00579cf7
mov edx, eax
add esp, 8
test edx, edx
js 0x440998
mov ecx, dword [ebp - 0x2d4]
cmp edx, dword [ecx - 8]
jg 0x440998
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x20], 7
mov word [eax + edx*2], cx
xor eax, eax
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x24], eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov byte [ebp - 4], 0xd
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x440863
sub edx, esi
lea ecx, [ebp - 0x4c]
sar edx, 1
push edx
push eax
call fcn.0040cb10
lea ecx, [ebp - 0x2d4]
call fcn.004311c0
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440890
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.0040cb10
mov ecx, dword [ebp - 0x2f0]
lea eax, [ebp - 0x4c]
push eax
call fcn.0044b260
lea ecx, [ebp - 0x4c]
call fcn.0041de80
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
test esi, esi
je 0x4408d1
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 0x2e0]
mov ebx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 9
test eax, eax
je 0x4408ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x2d4]
or eax, 0xffffffff
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440910
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44092f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x2cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x440620
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x2d0]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0x7c]
call fcn.00406670
lea ecx, [ebp - 0x64]
call fcn.00406670
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045a51d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407940
push 0x8007000e
call fcn.00407940
push 0x80070057
call fcn.00407940
int3