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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
mov eax, dword [0x6fb05c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov edi, 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x20c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4114f3
mov ecx, dword [str.mfl.dat]
mov edx, dword [0x5cac3c]
mov dword [eax], ecx
mov cl, byte [0x5cac40]
mov dword [eax + 4], edx
lea edx, [ebp - 0x20c]
push 0x5cac44
push edx
mov byte [eax + 8], cl
call fcn.0059f161
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41154a
push eax
call fcn.0059ee60
add esp, 4
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059eb13
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x108]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x411563
mov ecx, dword [str.Resource.bin]
mov edx, dword [0x5cac4c]
mov dword [eax], ecx
mov ecx, dword [0x5cac50]
mov dword [eax + 4], edx
mov edx, dword [0x5cac54]
mov dword [eax + 8], ecx
push esi
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
jmp 0x4115b0
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x348]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [ebp - 0x330]
push ecx
push edi
push 0x5cac58
push ebx
call fcn.005a0021
movzx edx, word [ebp - 0x212]
movzx eax, word [ebp - 0x214]
movzx ecx, word [ebp - 0x216]
push edx
movzx edx, word [ebp - 0x21a]
push eax
movzx eax, word [ebp - 0x21c]
push ecx
push edx
push eax
push 0x5cac60
push ebx
call fcn.005a0021
add esp, 0x2c
lea ecx, [ebp - 0x35c]
push ecx
push esi
inc edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4115b0
lea edx, [ebp - 0x108]
push edx
push 0x104
mov dword [ebp - 0x360], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edi, [ebp - 0x108]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x411640
mov ecx, 6
mov esi, str.ResourceSkillArea.bsad
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x108]
push ecx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea ecx, [ecx]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x348]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edi, dword [ebp - 0x360]
lea ecx, [ebp - 0x330]
push ecx
push edi
push str._d__s_t
push ebx
call fcn.005a0021
movzx edx, word [ebp - 0x212]
movzx eax, word [ebp - 0x214]
movzx ecx, word [ebp - 0x216]
push edx
movzx edx, word [ebp - 0x21a]
push eax
movzx eax, word [ebp - 0x21c]
push ecx
push edx
push eax
push str._4d__02d__02d__02d__02d_n
push ebx
call fcn.005a0021
add esp, 0x2c
lea ecx, [ebp - 0x35c]
push ecx
inc edi
push esi
mov dword [ebp - 0x360], edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x411670
push ebx
call fcn.0059ee60
mov ecx, dword [ebp - 4]
add esp, 4
pop esi
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0059eb13
mov esp, ebp
pop ebp
ret