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

Disassembly:
sub esp, 0x548
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x148]
push esi
push edi
mov edi, dword [esp + 0x554]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x150]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x150]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov esi, dword [sym.imp.USER32.dll_CharPrevA]
dec ecx
lea ecx, [esp + ecx + 0x150]
push ecx
push edx
call esi
cmp byte [eax], 0x5c
jne 0x430209
lea edi, [esp + 0x150]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x14f], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x150]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x430233
pop edi
mov eax, 0xca
pop esi
add esp, 0x548
ret
lea edi, [esp + 0x150]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebp
lea eax, [esp + 0x158]
mov dword [esp + 0x10], 0
lea edx, [esp + ecx + 0x158]
push edx
push eax
call esi
cmp byte [eax], 0x2a
je 0x4302d7
lea ecx, [esp + 0x1c]
push ecx
call fcn.00430130
lea edx, [esp + 0x30]
mov esi, eax
push edx
call fcn.00430130
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
shr edx, 4
and edx, 1
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x578]
push edx
push eax
lea eax, [esp + 0x174]
push esi
push eax
push ecx
call dword [esp + 0x590]
add esp, 0x28
test eax, eax
jne 0x4302bd
mov dword [esp + 0x10], 0x1c
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x548
ret
lea edi, [esp + 0x158]
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0x568]
repne scasb al, byte es:[edi]
mov ebx, dword [esp + 0x564]
not ecx
dec ecx
mov byte [esp + ecx + 0x157], al
mov esi, 0x4a0908
lea eax, [esp + 0x44]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x43032a
test cl, cl
je 0x430326
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x43032a
add eax, 2
add esi, 2
test cl, cl
jne 0x430306
xor eax, eax
jmp 0x43032f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x430517
mov esi, 0x4a0904
lea eax, [esp + 0x44]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x430364
test cl, cl
je 0x430360
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x430364
add eax, 2
add esi, 2
test cl, cl
jne 0x430340
xor eax, eax
jmp 0x430369
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x430517
test byte [esp + 0x18], 0x10
je 0x4304b8
lea edi, [esp + 0x158]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x158]
lea ecx, [esp + 0x158]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x5c
je 0x430401
lea edx, [esp + 0x158]
lea eax, [esp + 0x358]
push edx
push 0x4a00fc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x28]
push ecx
call fcn.00430130
lea edx, [esp + 0x3c]
mov esi, eax
push edx
call fcn.00430130
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x36c]
push ecx
push 1
push 0
push 0
push eax
push esi
push edx
push ebx
call ebp
add esp, 0x34
test eax, eax
je 0x4302b5
jmp 0x430517
lea eax, [esp + 0x44]
lea ecx, [esp + 0x158]
push eax
push ecx
lea edx, [esp + 0x360]
push str._s_s_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x2c]
push eax
call fcn.00430130
lea ecx, [esp + 0x40]
mov esi, eax
push ecx
call fcn.00430130
lea edx, [esp + 0x30]
push edx
push 1
push 0
push 0
push eax
lea eax, [esp + 0x384]
push esi
push eax
push ebx
call ebp
add esp, 0x38
test eax, eax
je 0x4302b5
cmp dword [esp + 0x560], 1
jne 0x430517
mov edi, 0x49f894
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x358]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
lea eax, [esp + 0x360]
push 1
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00430190
add esp, 0x10
cmp eax, 0x1c
je 0x4302b5
jmp 0x430517
lea ecx, [esp + 0x44]
lea edx, [esp + 0x158]
push ecx
push edx
lea eax, [esp + 0x360]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x2c]
push ecx
call fcn.00430130
lea edx, [esp + 0x40]
mov esi, eax
push edx
call fcn.00430130
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x50]
push 0
push edx
push ecx
push eax
lea edx, [esp + 0x384]
push esi
push edx
push ebx
call ebp
add esp, 0x38
test eax, eax
je 0x4302b5
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4302bd
jmp 0x4302fd