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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x184
mov eax, dword [0x43401c]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
mov esi, ecx
mov ebx, esi
mov dword [esp + 8], esi
push edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x401bc8
lea eax, [esp + 0x18]
sub ebx, ecx
push eax
push esi
call fcn.0041a16d
add esp, 8
test eax, eax
jne 0x401dc4
mov eax, dword [esp + 0x1e]
test eax, 0x4000
je 0x401d72
lea eax, [ebx + 4]
push eax
call fcn.0041470e
add esp, 4
mov edi, eax
mov dword [esp + 0x14], edi
push ebx
push esi
push edi
call fcn.00415500
add esp, 0xc
mov dword [edi + ebx], 0x2a5c
lea eax, [esp + 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, 0xffffffff
je 0x401d41
mov edx, 0x4322c8
lea ecx, [esp + 0x74]
nop
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x401c60
test al, al
je 0x401c5c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x401c60
add ecx, 2
add edx, 2
test al, al
jne 0x401c40
xor eax, eax
jmp 0x401c65
sbb eax, eax
or eax, 1
test eax, eax
je 0x401d03
mov eax, 0x4322cc
lea ecx, [esp + 0x74]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401c96
test dl, dl
je 0x401c92
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401c96
add ecx, 2
add eax, 2
test dl, dl
jne 0x401c76
xor eax, eax
jmp 0x401c9b
sbb eax, eax
or eax, 1
test eax, eax
je 0x401d03
lea edi, [esp + 0x74]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x401ca6
sub edi, ecx
lea eax, [ebx + 2]
add eax, edi
push eax
call fcn.0041470e
add esp, 4
mov esi, eax
push ebx
push dword [esp + 0x10]
push esi
call fcn.00415500
add esp, 0xc
mov byte [esi + ebx], 0x5c
lea eax, [esp + 0x74]
push edi
push eax
lea eax, [ebx + 1]
add eax, esi
push eax
call fcn.00415500
add esp, 0xc
lea eax, [esi + edi]
mov ecx, esi
mov byte [eax + ebx + 1], 0
call fcn.00401ba0
push 1
push esi
call fcn.00414700
mov edi, dword [esp + 0x18]
add esp, 8
lea eax, [esp + 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401c35
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 1
push dword [esp + 0x18]
call fcn.00414700
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.004146bc
mov esp, ebp
pop ebp
ret
push esi
push str._s_Error_opening_directory_n
call fcn.00401010
add esp, 8
push 1
push dword [esp + 0x18]
call fcn.00414700
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.004146bc
mov esp, ebp
pop ebp
ret
test eax, 0x8000
je 0x401dbc
push 4
lea eax, [esi - 4]
add eax, ebx
push str..pak
push eax
call fcn.004184b1
add esp, 0xc
test eax, eax
jne 0x401dd2
push esi
push str.DecryptFile:__s_n
call fcn.00401010
add esp, 8
mov ecx, esi
call fcn.004012b0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.004146bc
mov esp, ebp
pop ebp
ret
push esi
push str._s_stat_is_something_n
jmp 0x401dca
push esi
push str._s_Failed_to_get_stat_n
call fcn.00401010
add esp, 8
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004146bc
mov esp, ebp
pop ebp
ret