Function at 0x41c3c9
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [0x4c12e0]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x454], edx
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41c421
test eax, eax
je 0x41c421
cmp dword [0x4c3630], 0
je 0x41c421
mov eax, dword [ecx]
push str.In_CInfFile::_GetLatestVersionDirectory__
push ecx
call dword [eax + 0x10]
mov eax, dword [0x4c12e0]
mov edx, dword [ebp - 0x454]
pop ecx
pop ecx
test ebx, ebx
je 0x41c641
cmp byte [ebx], 0
je 0x41c641
test edi, edi
je 0x41c641
cmp byte [edi], 0
je 0x41c641
test edx, edx
je 0x41c641
cmp dword [ebp + 0x14], 0
je 0x41c641
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41c479
test eax, eax
je 0x41c479
cmp dword [0x4c3630], 0
je 0x41c479
mov eax, dword [ecx]
push edi
push ebx
push str...Trying_to_get_latest_version_directory_for__s_under_base_path__s
push ecx
call dword [eax + 0x10]
add esp, 0x10
push 1
push edi
call fcn.0044261e
pop ecx
pop ecx
test eax, eax
je 0x41c4eb
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41c4a7
cmp dword [0x4c12e0], 0
je 0x41c4a7
mov eax, dword [ecx]
push ebx
push edi
push str...Base_path__s_doesnt_exist___we_cannot_get_the_latest_version_directory_for__s
push ecx
call dword [eax + 0x14]
add esp, 0x10
xor ebx, ebx
xor edi, edi
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41c4d9
cmp dword [0x4c12e0], 0
je 0x41c4d9
cmp dword [0x4c3630], 0
je 0x41c4d9
push dword [ebp - 0x454]
mov eax, dword [ecx]
push ebx
push str.CInfFile::_GetLatestVersionDirectory___returns__d_with_latest_version_as__s
push ecx
call dword [eax + 0x10]
add esp, 0x10
test edi, edi
je 0x41c4e4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
jmp 0x41c65b
push ebx
push edi
lea eax, [ebp - 0x310]
push str._s_s___
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x140
xor ebx, ebx
lea eax, [ebp - 0x450]
push ebx
push eax
call fcn.0045b1d0
add esp, 0x1c
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41c56b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0xc]
mov edx, eax
test ecx, ecx
je 0x41c4ab
cmp dword [0x4c12e0], ebx
je 0x41c4ab
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x310]
push edx
push str...Path__s_doesnt_exist___cannot_get_latest_version_directory._Error:__d
push ecx
call dword [eax + 0x14]
add esp, 0x10
jmp 0x41c4ab
push 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.0045b1d0
add esp, 0xc
cmp dword [ebp - 0x450], 0x10
jne 0x41c5fd
cmp byte [ebp - 0x424], bl
je 0x41c5fd
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41c5bd
cmp dword [0x4c12e0], ebx
je 0x41c5bd
cmp dword [0x4c3630], ebx
je 0x41c5bd
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
push str...Processing_folder_with_name:__s
push ecx
call dword [eax + 0x10]
add esp, 0xc
cmp byte [ebp - 0x108], bl
jne 0x41c5e3
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x108]
push 0x496090
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x41c5fd
push 0x104
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00417d23
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41c580
cmp byte [ebp - 0x108], bl
je 0x41c4ab
mov eax, dword [ebp + 0x14]
dec eax
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x454]
call fcn.00467c43
xor ebx, ebx
add esp, 0xc
inc ebx
jmp 0x41c4ab
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41c659
test eax, eax
je 0x41c659
mov eax, dword [ecx]
push str.Parameters_to_CInfFile::_GetLatestVersionDirectory___are_incorrect
push ecx
call dword [eax + 0x14]
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret 0x10