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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c09a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x7ca00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b4], edx
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
push ebx
mov byte [ebp - 0x2ad], 1
call fcn.00428650
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push 1
xor eax, eax
mov dword [ebp - 0x1c], 0
push 0x70e3dc
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00428800
push ecx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.005da720
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00428770
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x2ac]
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x2b8], eax
lea ecx, [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x34], 0
push eax
push 0x701e7c
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00428800
mov edx, dword [ebp - 0x2b4]
mov eax, 1
mov byte [ebp - 4], 2
mov ecx, edx
mov esi, dword [edx + 0x10]
cmp esi, eax
cmovb eax, esi
mov dword [ebp - 0x2bc], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x2c0], eax
cmp eax, 8
jb 0x5db732
mov ecx, dword [edx]
mov edx, dword [ebp - 0x2bc]
push 1
push str..__
call fcn.00431350
add esp, 8
test eax, eax
je 0x5db768
push 1
push str..__
lea ecx, [ebp - 0x44]
call fcn.00428800
mov edx, dword [ebp - 0x2b4]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
jmp 0x5db774
mov ecx, dword [ebp - 0x2c0]
mov edx, dword [ebp - 0x2b4]
mov eax, edx
cmp ecx, 8
jb 0x5db77d
mov eax, dword [edx]
push esi
push eax
lea ecx, [ebp - 0x44]
call fcn.00428920
mov esi, dword [ebp - 0x2b8]
cmp esi, 0xffffffff
je 0x5db94e
nop word [eax + eax]
push str..__
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x5db931
push 0x7732dc
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x5db931
lea eax, [ebp - 0x5c]
cmp eax, ebx
je 0x5db7f1
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x5db7e5
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00428800
xor eax, eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5db810
sub ecx, edx
lea eax, [ebp - 0x280]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00428800
push ecx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.005da720
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00428770
test byte [ebp - 0x2ac], 0x10
je 0x5db878
mov edx, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x5c]
push 0
push 1
push edi
call fcn.005db630
add esp, 0xc
mov byte [ebp - 0x2ad], al
jmp 0x5db931
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x280]
mov dword [ebp - 0x18], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5db895
sub eax, edx
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00428800
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
cmp eax, edx
jbe 0x5db925
mov esi, eax
sub esi, edx
cmp eax, esi
jb 0x5db980
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
sub eax, esi
cmp eax, edx
push ecx
cmovb edx, eax
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [eax + esi*2]
call fcn.00431350
add esp, 8
test eax, eax
jne 0x5db91f
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x5c]
push ecx
cmp eax, dword [edi + 8]
je 0x5db917
mov ecx, eax
call fcn.00428650
add dword [edi + 4], 0x18
jmp 0x5db91f
push eax
mov ecx, edi
call fcn.00441b90
mov esi, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00428770
lea eax, [ebp - 0x2ac]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x5db7a0
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [ebp - 0x44]
call fcn.00428770
lea ecx, [ebp - 0x5c]
call fcn.00428770
mov al, byte [ebp - 0x2ad]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
call fcn.00430970
int3