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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6127c4
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 0x69b3d0
lea ecx, [ebp - 0x28]
call fcn.0048c140
mov byte [ebp - 4], 2
push 0x69b3c0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.004ca440
add esp, 0xc
mov dword [ebp - 0x378], eax
lea edx, [ebp - 0x320]
push edx
mov ecx, dword [ebp - 0x378]
call fcn.0047db80
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x340], eax
lea ecx, [ebp - 0x70]
call fcn.0047dc50
cmp dword [ebp - 0x340], 0xffffffff
jne 0x4d8a12
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.0049ced0
mov ecx, dword [ebp - 0x334]
or ecx, 1
mov dword [ebp - 0x334], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0047dc50
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0047dc50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.0047dc50
mov eax, dword [ebp + 8]
jmp 0x4d8dc9
lea edx, [ebp - 0x320]
push edx
mov eax, dword [ebp - 0x340]
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x4d8d77
mov dword [ebp - 0x328], 0x69b3c8
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 0x4d8aaa
cmp word [ebp - 0x342], 0
je 0x4d8a9e
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 0x4d8aaa
add dword [ebp - 0x324], 4
add dword [ebp - 0x328], 4
cmp word [ebp - 0x336], 0
jne 0x4d8a44
mov dword [ebp - 0x34c], 0
jmp 0x4d8ab5
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 0x4d8b6a
mov dword [ebp - 0x330], 0x69b3d8
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 0x4d8b4a
cmp word [ebp - 0x338], 0
je 0x4d8b3e
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 0x4d8b4a
add dword [ebp - 0x32c], 4
add dword [ebp - 0x330], 4
cmp word [ebp - 0x33a], 0
jne 0x4d8ae4
mov dword [ebp - 0x348], 0
jmp 0x4d8b55
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 0x4d8b6f
jmp 0x4d8a12
lea ecx, [ebp - 0x2f4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0048c140
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x320]
and edx, 0x10
je 0x4d8d66
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.004ca580
add esp, 0xc
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x368], eax
mov byte [ebp - 4], 4
push 0x69b3e0
mov ecx, dword [ebp - 0x368]
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.004ca400
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.004ca500
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd0]
call fcn.0047dc50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb8]
call fcn.0047dc50
push 0
lea ecx, [ebp - 0x58]
call fcn.0047db80
push eax
call fcn.005f0f21
add esp, 8
test eax, eax
jne 0x4d8c69
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0047dbe0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0047dc50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0047dc50
jmp 0x4d8d77
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x380], esp
lea edx, [ebp + 0x24]
push edx
call fcn.0047dde0
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.004ca580
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 0x69b3d4
mov eax, dword [ebp - 0x358]
push eax
push edx
call fcn.004ca400
add esp, 0xc
mov dword [ebp - 0x38c], eax
lea ecx, [ebp - 0xa0]
push ecx
mov byte [ebp - 4], 0xb
call fcn.004d8930
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.0047dca0
lea ecx, [ebp - 0xa0]
call fcn.0047dc50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0047dc50
lea ecx, [ebp - 0x28]
call fcn.0047bfd0
test eax, eax
jbe 0x4d8d5a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0047dc50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0047dc50
jmp 0x4d8d77
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0047dc50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0047dc50
jmp 0x4d8a12
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.0049ced0
mov eax, dword [ebp - 0x334]
or eax, 1
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0047dc50
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0047dc50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.0047dc50
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.005c978e
mov esp, ebp
pop ebp
ret