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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
mov eax, dword [0x6f405c]
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 0x4113f3
mov ecx, dword [str.mfl.dat]
mov edx, dword [0x5ca9b4]
mov dword [eax], ecx
mov cl, byte [0x5ca9b8]
mov dword [eax + 4], edx
lea edx, [ebp - 0x20c]
push 0x5ca958
push edx
mov byte [eax + 8], cl
call fcn.0059ebe1
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41144a
push eax
call fcn.0059e8e0
add esp, 4
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e593
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 0x411463
mov ecx, dword [str.Resource.bin]
mov edx, dword [0x5ca9a4]
mov dword [eax], ecx
mov ecx, dword [0x5ca9a8]
mov dword [eax + 4], edx
mov edx, dword [0x5ca9ac]
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 0x4114b0
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 str._d__s_t
push ebx
call fcn.0059faa1
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.0059faa1
add esp, 0x2c
lea ecx, [ebp - 0x35c]
push ecx
push esi
inc edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4114b0
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 0x411540
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.0059faa1
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.0059faa1
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 0x411570
push ebx
call fcn.0059e8e0
mov ecx, dword [ebp - 4]
add esp, 4
pop esi
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0059e593
mov esp, ebp
pop ebp
ret