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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8c
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
push 0x206
push eax
mov word [ebp - 0xc], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 0x624], ax
lea eax, [ebp - 0x622]
push eax
call fcn.0046a390
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x82c], ax
lea eax, [ebp - 0x82a]
push eax
call fcn.0046a390
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc3c], ax
lea eax, [ebp - 0xc3a]
push eax
call fcn.0046a390
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call fcn.0046a390
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0046a390
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa34], ax
lea eax, [ebp - 0xa32]
push eax
call fcn.0046a390
add esp, 0x48
lea eax, [ebp - 0x624]
push 0
push 0
push 0
push 0
push 0x104
push eax
push 3
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.0046d2dc
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x489a44
lea eax, [ebp - 0x41c]
push 0x104
push eax
call fcn.0046988e
add esp, 0x38
cmp dword [ebp + 0x14], 0
je 0x45c7d9
mov dword [0x4c3f00], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x45c8b5
lea eax, [ebp - 0xe8c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45ca27
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x45c810
mov cx, word [ebp - 0xe5e]
mov ax, word [ebp - 0xe60]
test cx, cx
jne 0x45c829
cmp ax, 0x2e
je 0x45c891
cmp word [ebp - 0xe5c], 0
jne 0x45c83e
cmp ax, 0x2e
jne 0x45c83e
cmp cx, ax
je 0x45c891
test byte [ebp - 0xe8c], 0x10
jne 0x45c891
mov eax, dword [ebp - 0xe6c]
cdq
add dword [esi], eax
lea eax, [ebp - 0xe60]
push eax
adc dword [esi + 4], edx
lea eax, [ebp - 0x41c]
push eax
push 0x489a44
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0046988e
lea eax, [ebp - 0x214]
push eax
push str.CountFiles____FullFileName_s
call fcn.0045f520
add esp, 0x1c
inc dword [0x4c3f00]
lea eax, [ebp - 0xe8c]
push eax
push edi
call ebx
test eax, eax
je 0x45ca20
cmp dword [0x4c2e50], 0
je 0x45c810
jmp 0x45ca20
lea eax, [ebp - 0x41c]
push eax
push 0x489a50
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0046988e
add esp, 0x10
lea eax, [ebp - 0xe8c]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
test edi, edi
je 0x45ca3a
cmp edi, 0xffffffff
je 0x45ca3a
lea esp, [esp]
mov cx, word [ebp - 0xe5e]
mov ax, word [ebp - 0xe60]
test cx, cx
jne 0x45c91d
cmp ax, 0x2e
je 0x45ca01
cmp word [ebp - 0xe5c], 0
jne 0x45c936
cmp ax, 0x2e
jne 0x45c936
cmp cx, ax
je 0x45ca01
test byte [ebp - 0xe8c], 0x10
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0x82c]
push eax
je 0x45c986
lea eax, [ebp - 0xe60]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x489a5c
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0046988e
push 0
push esi
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.0045c6b0
add esp, 0x2c
jmp 0x45ca01
push 0x489a44
lea eax, [ebp - 0xa34]
push 0x104
push eax
call fcn.0046988e
add esp, 0x14
lea eax, [ebp - 0xa34]
push eax
lea eax, [ebp - 0xe60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x45ca01
mov eax, dword [ebp - 0xe6c]
add dword [esi], eax
lea eax, [ebp - 0xe60]
push eax
adc dword [esi + 4], 0
lea eax, [ebp - 0x41c]
push eax
push 0x489a44
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0046988e
lea eax, [ebp - 0x214]
push eax
push str.CountFiles____FullFileName_s
call fcn.0045f520
add esp, 0x1c
inc dword [0x4c3f00]
lea eax, [ebp - 0xe8c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x45ca20
cmp dword [0x4c2e50], 0
je 0x45c900
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [0x4c3f00]
push str.CountFiles____NbFiles_d
call fcn.0045f880
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [0x4c3f00]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004698aa
mov esp, ebp
pop ebp
ret