Function at 0x41d8a0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [0x4f840c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38c], esi
mov dword [ebp - 0x390], edi
test esi, esi
je 0x41db8c
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d8d5
sub eax, edx
cmp eax, 2
jb 0x41db8c
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.MSVCR100.dll__stat64i32]
add esp, 8
test dword [ebp - 0x242], 0x4000
je 0x41db8a
push 0x103
lea ecx, [ebp - 0x217]
push 0
push ecx
mov bl, 1
mov byte [ebp - 0x218], 0
call sub.MSVCR100.dll_memset
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d930
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
push esi
je 0x41d954
push 0x4e0ddc
push 0x104
lea edx, [ebp - 0x218]
push edx
jmp 0x41d965
push str._s.
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR100.dll__snprintf]
add esp, 0x10
lea ecx, [ebp - 0x388]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x394], edi
cmp edi, 0xffffffff
je 0x41db72
cmp bl, 1
jne 0x41db72
mov al, byte [ebp - 0x388]
test al, 0x20
je 0x41da45
push 0x104
lea eax, [ebp - 0x110]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strncpy]
lea eax, [ebp - 0x110]
add esp, 0xc
mov byte [ebp - 0xd], 0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d9d0
sub eax, edx
cmp byte [ebp + eax - 0x111], 0x5c
je 0x41da02
lea edi, [ebp - 0x110]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41d9f0
mov cx, word [0x4e0dd8]
mov word [edi], cx
lea eax, [ebp - 0x35c]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41da10
lea edi, [ebp - 0x110]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41da20
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x390]
and ecx, 3
inc dword [eax]
rep movsb byte es:[edi], byte [esi]
jmp 0x41db4e
test al, 0x10
je 0x41db54
lea eax, [ebp - 0x35c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41da56
sub eax, edx
push eax
lea edx, [ebp - 0x35c]
push 0x4e0dec
push edx
call sub.MSVCR100.dll__strnicmp
add esp, 0xc
test eax, eax
je 0x41db54
lea eax, [ebp - 0x35c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41da85
sub eax, edx
push eax
lea eax, [ebp - 0x35c]
push 0x4e0df0
push eax
call sub.MSVCR100.dll__strnicmp
add esp, 0xc
test eax, eax
je 0x41db54
push 0x104
lea ecx, [ebp - 0x110]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_strncpy]
lea eax, [ebp - 0x110]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41dad0
sub eax, edx
cmp byte [ebp + eax - 0x111], 0x5c
je 0x41db02
lea edi, [ebp - 0x110]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41daf0
mov dx, word [0x4e0dd8]
mov word [edi], dx
lea eax, [ebp - 0x35c]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41db10
lea edi, [ebp - 0x110]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41db20
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x390]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x110]
push ecx
call sym.Uninstall.exe_void___cdecl_KpBase::GetFileNumber_char_const___unsigned_long_int__
add esp, 8
mov esi, dword [ebp - 0x38c]
mov edi, dword [ebp - 0x394]
lea edx, [ebp - 0x388]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
setne bl
jmp 0x41d993
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485d44
mov esp, ebp
pop ebp
ret
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00485d44
mov esp, ebp
pop ebp
ret