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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x6d9120]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x414]
push edi
mov dword [ebp - 0x668], ebx
mov ecx, ebx
sub edx, ebx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x403e10
lea ecx, [ebp - 0x414]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x403e30
mov eax, dword [0x656554]
lea edx, [ebp - 0x20c]
mov dword [ecx], eax
sub edx, ebx
mov ax, word [0x656558]
mov word [ecx + 4], ax
mov ecx, ebx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x403e60
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x403e80
mov eax, dword [0x656500]
mov dword [edi], eax
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x403ec0
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x20c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x403ec2
push esi
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x664]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x403fed
lea eax, [ebp - 0x638]
push eax
call fcn.004056f0
add esp, 4
test al, al
jne 0x403ee1
lea edx, [ebp - 0x638]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403f12
lea edi, [ebp - 0x20c]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x403f30
mov eax, dword [ebp - 0x664]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test al, 0x10
je 0x403f9d
lea eax, [ebp - 0x20c]
push eax
call fcn.00403de0
add esp, 4
test al, al
je 0x40401e
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x20c]
push eax
call esi
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x414]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x403f80
jmp 0x403ee1
test al, 1
je 0x403fb3
push 0x80
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40401e
xor eax, eax
nop word [eax + eax]
movzx ecx, word [ebp + eax - 0x414]
lea eax, [eax + 2]
mov word [ebp + eax - 0x20e], cx
test cx, cx
jne 0x403fd0
jmp 0x403edb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x40401e
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x668]
call esi
dec eax
neg eax
pop esi
sbb eax, eax
pop edi
inc eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor al, al
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.005dddbe
mov esp, ebp
pop ebp
ret