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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1310e22b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x838
mov dword [ebp - 0x81c], 0
jmp 0x130154da
mov word [ebp - 0x214], 0
push 0x206
push 0
lea eax, [ebp - 0x212]
push eax
call fcn.130309b0
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x13111c54
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
je 0x1301583b
mov edx, dword [ebp - 0x46c]
and edx, 0x10
jne 0x13015812
lea ecx, [ebp - 0x558]
call fcn.13003820
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
push 1
push 3
lea ecx, [ebp - 0x51c]
call fcn.130093a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x51c]
test eax, eax
je 0x13015597
lea ecx, [ebp - 0x514]
mov dword [ebp - 0x840], ecx
jmp 0x130155a1
mov dword [ebp - 0x840], 0
lea edx, [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x840]
push eax
call fcn.130091b0
add esp, 8
lea ecx, [ebp - 0x574]
push ecx
lea ecx, [ebp - 0x51c]
call fcn.13004e20
mov byte [ebp - 4], 3
mov word [ebp - 0x77c], 0
push 0x206
push 0
lea edx, [ebp - 0x77a]
push edx
call fcn.130309b0
add esp, 0xc
lea eax, [ebp - 0x77c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x13111c60
lea ecx, [ebp - 0x77c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x574]
call fcn.13005d50
push eax
lea edx, [ebp - 0x77c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov byte [ebp - 0x48c], 0
xor eax, eax
mov dword [ebp - 0x48b], eax
mov dword [ebp - 0x487], eax
mov dword [ebp - 0x483], eax
mov dword [ebp - 0x47f], eax
mov dword [ebp - 0x47b], eax
mov dword [ebp - 0x477], eax
mov dword [ebp - 0x473], eax
mov word [ebp - 0x46f], ax
mov byte [ebp - 0x46d], al
mov dword [ebp - 0x494], 0
lea ecx, [ebp - 0x494]
push ecx
lea edx, [ebp - 0x77c]
push edx
call fcn.130015b0
add esp, 8
mov dword [ebp - 0x490], eax
cmp dword [ebp - 0x494], 0
je 0x13015750
mov eax, dword [ebp - 0x490]
push eax
mov ecx, dword [ebp - 0x494]
push ecx
lea ecx, [ebp - 0x7ec]
call fcn.13009dc0
lea edx, [ebp - 0x808]
push edx
lea ecx, [ebp - 0x7ec]
call fcn.13009e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x808]
call fcn.1302b660
cmp eax, 0x20
jne 0x13015726
mov dword [ebp - 0x80c], 0
jmp 0x130156f6
mov eax, dword [ebp - 0x80c]
add eax, 1
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0x20
jae 0x13015726
mov ecx, dword [ebp - 0x80c]
push ecx
lea ecx, [ebp - 0x808]
call fcn.1300a0e0
movsx edx, byte [eax]
xor edx, 7
mov eax, dword [ebp - 0x80c]
mov byte [ebp + eax - 0x53c], dl
jmp 0x130156e7
mov ecx, dword [ebp - 0x494]
mov dword [ebp - 0x814], ecx
mov edx, dword [ebp - 0x814]
push edx
call fcn.13031372
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x808]
call fcn.13004580
mov dword [ebp - 0x810], 0
jmp 0x1301576b
mov eax, dword [ebp - 0x810]
add eax, 1
mov dword [ebp - 0x810], eax
lea ecx, [ebp - 0x574]
call fcn.1302b660
cmp dword [ebp - 0x810], eax
jae 0x130157ad
mov ecx, dword [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x574]
call fcn.130036c0
mov dword [ebp - 0x844], eax
mov edx, dword [ebp - 0x844]
movzx eax, word [edx]
xor eax, 5
mov ecx, dword [ebp - 0x844]
mov word [ecx], ax
jmp 0x1301575c
lea edx, [ebp - 0x574]
push edx
lea ecx, [ebp - 0x558]
call fcn.13004540
lea eax, [ebp - 0x558]
push eax
mov ecx, 0x13165744
call fcn.13019c90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x574]
call fcn.13003840
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c8]
call fcn.13004310
lea ecx, [ebp - 0x4c8]
call fcn.13002d80
mov dword [ebp - 4], 5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x558]
call fcn.13003840
lea ecx, [ebp - 0x46c]
push ecx
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x13015544
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1301584d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret