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

Disassembly:
push 0x3c8
mov eax, 0x4842b7
call fcn.0045e53f
mov edi, ecx
cmp byte [edi + 8], 0
mov esi, dword [ebp + 8]
jne 0x4040ed
push esi
lea ecx, [ebp - 0x48]
call fcn.0041b6c8
xor ebx, ebx
lea ecx, [ebp - 0xd8]
push esi
mov dword [ebp - 4], ebx
call fcn.0041b6c8
push 0x49be48
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
call fcn.0041b66b
push ebx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041bc0d
lea ecx, [ebp - 0x110]
mov esi, eax
call fcn.0041baf2
test esi, esi
jle 0x403e8f
lea ecx, [ebp - 0xf4]
call fcn.0041b057
lea ecx, [ebp - 0x12c]
call fcn.0041b057
mov eax, ecx
mov byte [ebp - 4], 3
push ebx
push eax
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xd8]
call fcn.0041c356
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xd4]
call fcn.0041e1ec
lea ecx, [ebp - 0x12c]
call fcn.0041baf2
lea ecx, [ebp - 0xf4]
jmp 0x403eb8
push 0x49be64
lea ecx, [ebp - 0x148]
call fcn.0041b66b
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x44]
call fcn.00408695
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 1
call fcn.0041baf2
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
call fcn.00403b95
test al, al
jne 0x4040da
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x3d0]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4040da
cmp byte [edi + 8], 0
jne 0x4040d3
lea eax, [ebp - 0x3a4]
mov byte [ebp - 0x3d1], 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041b66b
push 0x49b680
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0041b711
test al, al
jne 0x403f41
push 0x49be5c
lea ecx, [ebp - 0x2c]
call fcn.0041b711
test al, al
je 0x403f45
mov al, 1
jmp 0x403f4b
mov al, byte [ebp - 0x3d1]
test al, al
jne 0x4040af
push 0x49b684
lea ecx, [ebp - 0x164]
call fcn.0041b66b
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0x180]
call fcn.0041ddb9
pop ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.0041ddb9
pop ecx
lea ecx, [ebp - 0x180]
call fcn.0041baf2
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0xa
call fcn.0041baf2
lea eax, [ebp - 0xbc]
mov ecx, edi
push eax
call fcn.00403b95
neg al
lea ecx, [ebp - 0xa0]
sbb al, al
inc al
mov byte [ebp - 0x3d1], al
call fcn.004037bd
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xb
xorps xmm0, xmm0
lea ecx, [ebp - 0x9c]
push eax
movlpd qword [ebp - 0x68], xmm0
call fcn.0041e1ec
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x80]
call fcn.0041e1ec
lea ecx, [ebp - 0x3bc]
call fcn.0041fcb1
lea ecx, [ebp - 0x3cc]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
call fcn.0041fcb1
test byte [ebp - 0x3d0], 0x10
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
je 0x404056
cmp byte [edi + 2], 0
mov byte [ebp - 0x4c], 1
jne 0x4040f7
cmp byte [edi], 0
je 0x40404b
lea eax, [ebp - 0xbc]
mov ecx, edi
push eax
call fcn.00403dcd
cmp byte [ebp - 0x3d1], 0
je 0x40408e
jmp 0x404080
cmp byte [edi + 1], 0
jne 0x40408e
cmp byte [ebp - 0x3d1], 0
je 0x40408e
mov ecx, dword [ebp - 0x3b4]
xor eax, eax
add eax, dword [ebp - 0x3b0]
mov byte [ebp - 0x4c], 0
adc ecx, 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
lea eax, [ebp - 0xa0]
mov ecx, edi
push eax
call fcn.004041e5
lea ecx, [ebp - 0x84]
call fcn.0041baf2
lea ecx, [ebp - 0xa0]
call fcn.0041baf2
lea ecx, [ebp - 0xbc]
call fcn.0041baf2
lea eax, [ebp - 0x3d0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.0041baf2
test esi, esi
jne 0x403efb
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0xd8]
call fcn.0041baf2
lea ecx, [ebp - 0x48]
call fcn.0041baf2
xor eax, eax
call fcn.0045e4e9
ret 4
cmp byte [ebp - 0x3d1], 0
je 0x40410e
lea eax, [ebp - 0xa0]
mov ecx, edi
push eax
call fcn.004041e5
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x84]
call fcn.0041baf2
lea ecx, [ebp - 0xa0]
call fcn.0041baf2
lea ecx, [ebp - 0xbc]
call fcn.0041baf2
lea ecx, [ebp - 0x2c]
call fcn.0041baf2
jmp 0x4040da