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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6124e4
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x334], 0
mov dword [ebp - 4], 1
push 0x69b5a4
lea ecx, [ebp - 0x28]
call fcn.0048b540
mov byte [ebp - 4], 2
push 0x69b5cc
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.004ca250
add esp, 0xc
mov dword [ebp - 0x378], eax
lea edx, [ebp - 0x320]
push edx
mov ecx, dword [ebp - 0x378]
call fcn.0047ca20
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x340], eax
lea ecx, [ebp - 0x70]
call fcn.0047caf0
cmp dword [ebp - 0x340], 0xffffffff
jne 0x4d8722
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.0049cd00
mov ecx, dword [ebp - 0x334]
or ecx, 1
mov dword [ebp - 0x334], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.0047caf0
mov eax, dword [ebp + 8]
jmp 0x4d8ad9
lea edx, [ebp - 0x320]
push edx
mov eax, dword [ebp - 0x340]
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x4d8a87
mov dword [ebp - 0x328], 0x69b5d4
lea ecx, [ebp - 0x2f4]
mov dword [ebp - 0x324], ecx
mov edx, dword [ebp - 0x324]
mov ax, word [edx]
mov word [ebp - 0x342], ax
mov ecx, dword [ebp - 0x328]
cmp ax, word [ecx]
jne 0x4d87ba
cmp word [ebp - 0x342], 0
je 0x4d87ae
mov edx, dword [ebp - 0x324]
mov ax, word [edx + 2]
mov word [ebp - 0x336], ax
mov ecx, dword [ebp - 0x328]
cmp ax, word [ecx + 2]
jne 0x4d87ba
add dword [ebp - 0x324], 4
add dword [ebp - 0x328], 4
cmp word [ebp - 0x336], 0
jne 0x4d8754
mov dword [ebp - 0x34c], 0
jmp 0x4d87c5
sbb edx, edx
or edx, 1
mov dword [ebp - 0x34c], edx
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x374], eax
cmp dword [ebp - 0x374], 0
je 0x4d887a
mov dword [ebp - 0x330], 0x69b5c0
lea ecx, [ebp - 0x2f4]
mov dword [ebp - 0x32c], ecx
mov edx, dword [ebp - 0x32c]
mov ax, word [edx]
mov word [ebp - 0x338], ax
mov ecx, dword [ebp - 0x330]
cmp ax, word [ecx]
jne 0x4d885a
cmp word [ebp - 0x338], 0
je 0x4d884e
mov edx, dword [ebp - 0x32c]
mov ax, word [edx + 2]
mov word [ebp - 0x33a], ax
mov ecx, dword [ebp - 0x330]
cmp ax, word [ecx + 2]
jne 0x4d885a
add dword [ebp - 0x32c], 4
add dword [ebp - 0x330], 4
cmp word [ebp - 0x33a], 0
jne 0x4d87f4
mov dword [ebp - 0x348], 0
jmp 0x4d8865
sbb edx, edx
or edx, 1
mov dword [ebp - 0x348], edx
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x370], 0
jne 0x4d887f
jmp 0x4d8722
lea ecx, [ebp - 0x2f4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0048b540
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x320]
and edx, 0x10
je 0x4d8a76
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.004ca390
add esp, 0xc
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x368], eax
mov byte [ebp - 4], 4
push 0x69b5c8
mov ecx, dword [ebp - 0x368]
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.004ca210
add esp, 0xc
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x37c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x24]
push ecx
mov edx, dword [ebp - 0x37c]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.004ca310
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd0]
call fcn.0047caf0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb8]
call fcn.0047caf0
push 0
lea ecx, [ebp - 0x58]
call fcn.0047ca20
push eax
call fcn.005f0ce1
add esp, 8
test eax, eax
jne 0x4d8979
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0047ca80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0047caf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0047caf0
jmp 0x4d8a87
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x380], esp
lea edx, [ebp + 0x24]
push edx
call fcn.0047cc80
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x384], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.004ca390
add esp, 0xc
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x358], ecx
mov byte [ebp - 4], 0xa
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x388], esp
push 0x69b5e8
mov eax, dword [ebp - 0x358]
push eax
push edx
call fcn.004ca210
add esp, 0xc
mov dword [ebp - 0x38c], eax
lea ecx, [ebp - 0xa0]
push ecx
mov byte [ebp - 4], 0xb
call fcn.004d8640
add esp, 0x34
mov dword [ebp - 0x35c], eax
mov edx, dword [ebp - 0x35c]
mov dword [ebp - 0x360], edx
mov eax, dword [ebp - 0x360]
push eax
lea ecx, [ebp - 0x28]
call fcn.0047cb40
lea ecx, [ebp - 0xa0]
call fcn.0047caf0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0047caf0
lea ecx, [ebp - 0x28]
call fcn.0048b7c0
test eax, eax
jbe 0x4d8a6a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0047caf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0047caf0
jmp 0x4d8a87
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0047caf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0047caf0
jmp 0x4d8722
mov ecx, dword [ebp - 0x340]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.0049cd00
mov eax, dword [ebp - 0x334]
or eax, 1
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.0047caf0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret