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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cadb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x4a7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004034d0
push 2
push ecx
push 0x497640
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00417fb0
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004151e0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x46d235
cmp dword [ebp - 0x14], 0x10
jb 0x46d21a
push dword [ebp - 0x28]
call fcn.0046fdb4
add esp, 4
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00408c00
cmp dword [ebp - 0x74], 0x10
jb 0x46d249
push dword [ebp - 0x88]
call fcn.0046fdb4
add esp, 4
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x1c8]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x46d4e4
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x70]
sub ecx, dword [ebp - 0x18]
push ecx
push 0
push eax
lea ecx, [ebp + 8]
call fcn.004151e0
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.0044e8f0
add esp, 4
mov byte [ebp - 4], 3
cmp byte [ebp - 0x19c], 0x2e
je 0x46d379
test byte [ebp - 0x1c8], 0x10
je 0x46d36e
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x2c], 0xf
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.004034d0
mov byte [ebp - 4], 4
cmp byte [ebp - 0x19c], 0
jne 0x46d2ec
xor ecx, ecx
jmp 0x46d2fe
lea ecx, [ebp - 0x19c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46d2f5
sub ecx, edx
push ecx
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x40]
call fcn.004033e0
push 1
push 0x497624
lea ecx, [ebp - 0x40]
call fcn.004033e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403320
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004034d0
mov ecx, edi
call fcn.0046d180
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2c], 0x10
jb 0x46d379
push dword [ebp - 0x40]
call fcn.0046fdb4
add esp, 4
jmp 0x46d379
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0044e820
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [ebp - 0x1c8]
push eax
push esi
call ebx
test eax, eax
je 0x46d4b0
lea eax, [ebp - 0x19c]
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x88]
call fcn.0044e8f0
add esp, 4
mov byte [ebp - 4], 5
cmp byte [ebp - 0x19c], 0x2e
je 0x46d486
test byte [ebp - 0x1c8], 0x10
je 0x46d478
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x2c], 0xf
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.004034d0
mov byte [ebp - 4], 6
cmp byte [ebp - 0x19c], 0
jne 0x46d3fa
xor ecx, ecx
jmp 0x46d40c
lea ecx, [ebp - 0x19c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46d403
sub ecx, edx
push ecx
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x40]
call fcn.004033e0
push 1
push 0x497624
lea ecx, [ebp - 0x40]
call fcn.004033e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403320
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004034d0
mov ecx, edi
call fcn.0046d180
cmp dword [ebp - 0x2c], 0x10
jb 0x46d486
push dword [ebp - 0x40]
call fcn.0046fdb4
add esp, 4
jmp 0x46d486
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.0044e820
mov byte [ebp - 4], 3
cmp dword [ebp - 0x74], 0x10
jb 0x46d49e
push dword [ebp - 0x88]
call fcn.0046fdb4
add esp, 4
lea eax, [ebp - 0x1c8]
push eax
push esi
call ebx
test eax, eax
jne 0x46d391
cmp dword [ebp - 0x44], 0x10
jb 0x46d4c1
push dword [ebp - 0x58]
call fcn.0046fdb4
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x46d4e4
push dword [ebp - 0x70]
call fcn.0046fdb4
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 0x10
jb 0x46d4fc
push dword [ebp - 0x28]
call fcn.0046fdb4
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x46d51f
push dword [ebp + 8]
call fcn.0046fdb4
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f27e
mov esp, ebp
pop ebp
ret 0x18