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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a3e7
mov eax, dword fs:[0]
push eax
sub esp, 0x4d0
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x4d0], eax
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x250], 7
mov dword [ebp - 0x254], 0
mov word [ebp - 0x264], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], eax
mov word [ebp - 0x27c], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], eax
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 2
push 0x208
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0052d340
add esp, 0xc
test edi, edi
je 0x4493db
test esi, esi
je 0x4493db
lea eax, [ebp - 0x4d4]
push eax
push dword [ebp + 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4493db
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x4d4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x264]
call fcn.00404730
push 0x598220
lea ecx, [ebp - 0x264]
call fcn.00406ce0
push 0x598224
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x234]
call fcn.0040ebc0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24c]
push eax
call fcn.00407b60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.00404780
cmp dword [ebp - 0x238], 8
lea ecx, [ebp - 0x4cc]
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4d8], eax
cmp eax, 0xffffffff
je 0x4493cf
nop
xor eax, eax
mov dword [ebp - 0x224], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x234], ax
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x264]
mov dword [ebp - 0x220], 0
push eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
call fcn.004048d0
mov byte [ebp - 4], 4
cmp word [ebp - 0x4a0], 0
jne 0x4492c8
xor eax, eax
jmp 0x4492e0
lea eax, [ebp - 0x4a0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4492d1
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x234]
call fcn.00406f60
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
mov eax, dword [esi]
cmovae ecx, dword [ebp - 0x234]
push 0
push ecx
push esi
call dword [eax + 0x14]
mov eax, dword [edi]
lea ecx, [ebp - 0x21c]
push 0
push 0
push 0x104
push ecx
push edi
call dword [eax + 0xc]
test eax, eax
jne 0x449375
test ebx, ebx
je 0x449375
cmp dword [ebp - 0x4d0], eax
je 0x449375
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00533aae
add esp, 8
test eax, eax
jne 0x449375
mov eax, dword [edi]
push 0
push dword [ebp - 0x4d0]
push edi
call dword [eax + 0x44]
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
mov eax, dword [esi]
cmovae ecx, dword [ebp - 0x234]
push 1
push ecx
push esi
call dword [eax + 0x18]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x449397
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x4cc]
push eax
push dword [ebp - 0x4d8]
mov dword [ebp - 0x224], 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x449270
push dword [ebp - 0x4d4]
call dword [sym.imp.SHELL32.dll_ILFree]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x238]
cmp eax, 8
jb 0x4493fd
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], al
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], eax
mov word [ebp - 0x27c], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x250]
cmp eax, 8
jb 0x449459
inc eax
lea ecx, [ebp - 0x264]
push eax
push dword [ebp - 0x264]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x250], 7
mov dword [ebp - 0x254], 0
mov word [ebp - 0x264], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 0x14