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

Disassembly:
push ebp
lea ebp, [esp - 0x664]
sub esp, 0x664
push 0xffffffffffffffff
push 0x4381e8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x44cc80]
xor eax, ebp
mov dword [ebp + 0x660], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
mov ebx, dword [ebp + 0x66c]
mov eax, dword [ebp + 0x670]
mov dword [ebp - 0x1c], eax
xor edi, edi
push edi
push str.COperateFile::GetDirectroyFileCount
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00405b00
add esp, 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], 0x800000
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
cmp ebx, edi
jne 0x40820c
mov dword [ebp - 0x34], 0x8080ffff
push 0x44729c
lea edx, [ebp - 0x34]
push edx
call fcn.00426b1b
mov word [ebp + 0x458], di
push 0x206
push edi
lea eax, [ebp + 0x45a]
push eax
call fcn.004250c0
add esp, 0xc
mov ecx, ebx
mov dword [ebp - 0x2c], ecx
mov esi, 0x104
mov dword [ebp - 0x24], esi
lea eax, [ebp + 0x458]
mov dword [ebp - 0x20], eax
mov edi, edi
cmp esi, edi
je 0x408263
movzx edx, word [ecx]
cmp dx, di
je 0x408269
mov word [eax], dx
add eax, 2
mov dword [ebp - 0x20], eax
add ecx, 2
mov dword [ebp - 0x2c], ecx
sub esi, 1
mov dword [ebp - 0x24], esi
jmp 0x408240
sub eax, 2
mov dword [ebp - 0x20], eax
mov word [eax], di
lea ecx, [ebp + 0x458]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x43f99c
mov edx, 0x104
lea edi, [ebp + 0x458]
call fcn.00404410
lea edx, [ebp]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0xffffffff
je 0x408362
lea esp, [esp]
push 0x43f9c0
lea ecx, [ebp + 0x2c]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
call edi
test eax, eax
je 0x408343
push 0x43f9c4
lea edx, [ebp + 0x2c]
push edx
call edi
test eax, eax
je 0x408343
mov word [ebp + 0x250], 0
push 0x206
push 0
lea eax, [ebp + 0x252]
push eax
call fcn.004250c0
lea ecx, [ebp + 0x2c]
push ecx
push ebx
push 0x43fe0c
mov eax, 0x104
lea edi, [ebp + 0x250]
call fcn.004049d0
add esp, 0x18
test byte [ebp], 0x10
je 0x40833d
mov edx, dword [ebp - 0x1c]
push edx
mov eax, edi
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00408180
mov dword [ebp - 0x18], eax
cmp eax, 0x800000
je 0x408343
mov dword [ebp - 0x28], eax
push 0x44729c
lea ecx, [ebp - 0x28]
push ecx
call fcn.00426b1b
mov eax, dword [ebp - 0x1c]
add dword [eax], 1
lea edx, [ebp]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4082b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
jmp 0x408397
test esi, esi
je 0x4083a2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x18]
push esi
push str.return_DWORD__d__n
push 2
lea edx, [ebp - 0x3c]
push edx
call fcn.00404dc0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405a70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x660]
xor ecx, ebp
call fcn.004237ad
add ebp, 0x664
mov esp, ebp
pop ebp
ret 8