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

Disassembly:
sub esp, 0x360
mov eax, dword [0x691844]
xor eax, esp
mov dword [esp + 0x35c], eax
push ebp
push edi
push 0x104
lea eax, [esp + 0x264]
push eax
mov edi, 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x260]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4024d6
mov ecx, dword [str.mfl.dat]
mov edx, dword [0x5ad008]
mov dword [eax], ecx
mov cl, byte [0x5ad00c]
mov dword [eax + 4], edx
lea edx, [esp + 0x260]
push 0x5acfb0
push edx
mov byte [eax + 8], cl
call dword [sym.imp.MSVCR90.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x402537
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x35c]
xor ecx, esp
call fcn.005997a8
add esp, 0x360
ret
lea eax, [esp + 0x15c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x15c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x402552
mov ecx, dword [str.Resource.bin]
mov edx, dword [0x5acff8]
mov dword [eax], ecx
mov ecx, dword [0x5acffc]
mov dword [eax + 4], edx
mov edx, dword [0x5ad000]
push ebx
mov dword [eax + 8], ecx
push esi
mov dword [eax + 0xc], edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x168]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [sym.imp.MSVCR90.dll_fprintf]
mov esi, eax
lea ebx, [ebx]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x50]
push ecx
push edi
push str._d__s_t
push ebp
call ebx
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push str._4d__02d__02d__02d__02d_n
push ebp
call ebx
add esp, 0x2c
lea ecx, [esp + 0x24]
push ecx
push esi
inc edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4025a0
lea edx, [esp + 0x164]
push edx
push 0x104
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edi, [esp + 0x164]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402617
mov ecx, 6
mov esi, str.ResourceSkillArea.bsad
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x168]
push ecx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x50]
push ecx
push edi
push str._d__s_t
push ebp
call ebx
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push str._4d__02d__02d__02d__02d_n
push ebp
call ebx
add esp, 0x2c
lea ecx, [esp + 0x24]
push ecx
inc edi
push esi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402643
push ebp
call dword [sym.imp.MSVCR90.dll_fclose]
mov ecx, dword [esp + 0x370]
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.005997a8
add esp, 0x360
ret