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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b7c5
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x49611c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x47d4a8
lea edx, [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x310]
call fcn.00406c30
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x413d72
mov eax, dword [eax]
lea ecx, [ebp - 0x2c8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x2fc]
mov esi, eax
cmp ecx, 8
jb 0x413da0
inc ecx
push ecx
push dword [ebp - 0x310]
lea ecx, [ebp - 0x310]
call fcn.00405c10
xor eax, eax
mov dword [ebp - 0x2fc], 7
mov dword [ebp - 0x300], 0
mov word [ebp - 0x310], ax
cmp esi, 0xffffffff
je 0x414247
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp word [ebp - 0x29c], ax
je 0x413e05
lea eax, [ebp - 0x29c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413df6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040e1e0
push 0x47ba78
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0040f930
test eax, eax
je 0x4141eb
push 0x47d4b0
lea ecx, [ebp - 0x30]
call fcn.0040f930
test eax, eax
je 0x4141eb
push 0x47d4e4
lea edx, [ebp + 8]
lea ecx, [ebp - 0x328]
call fcn.00406c30
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00406d40
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x314]
cmp eax, 8
jb 0x413e8d
inc eax
lea ecx, [ebp - 0x328]
push eax
push dword [ebp - 0x328]
call fcn.00405c10
xor eax, eax
mov dword [ebp - 0x314], 7
test byte [ebp - 0x2c8], 0x10
mov dword [ebp - 0x318], 0
mov word [ebp - 0x328], ax
je 0x4140ff
cmp byte [0x49a610], al
je 0x413f4e
push 4
lea ecx, [ebp - 0x14]
call fcn.0040c570
mov eax, dword [0x49a684]
lea ecx, [ebp - 0x18]
push 4
mov dword [ebp - 0x14], eax
call fcn.0040c570
mov eax, dword [0x49a688]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
cmp ecx, eax
je 0x413f4e
nop
xor eax, eax
mov dword [ebp - 0x4c], 7
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
call fcn.00405e70
lea edx, [ebp - 0x60]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00413470
test al, al
jne 0x414027
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4c]
cmp eax, 8
jb 0x413f40
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00405c10
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x18]
jne 0x413ef0
call fcn.0040a9c0
mov eax, dword [eax]
cmp eax, 1
jle 0x4140c2
xor eax, eax
mov dword [ebp - 0x64], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x78], ax
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x68], 0
push eax
call fcn.00405e70
xor eax, eax
mov byte [ebp - 4], 6
push 0xffffffffffffffff
push eax
mov word [ebp - 0x2f8], ax
lea ecx, [ebp - 0x2f8]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x2e4], 7
push eax
mov dword [ebp - 0x2e8], 0
call fcn.00405e70
xor eax, eax
mov dword [ebp - 0x2cc], 7
mov word [ebp - 0x2e0], ax
lea ecx, [ebp - 0x2e0]
lea eax, [ebp - 0x2f8]
mov dword [ebp - 0x2d0], 0
push eax
call fcn.004075b0
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x334]
push eax
call fcn.0040a9c0
mov ecx, eax
call fcn.00418670
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x334]
test ecx, ecx
je 0x41404b
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x41404b
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x414045
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x414049
mov eax, dword [ebp - 0x4c]
cmp eax, 8
jb 0x4141a8
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00405c10
jmp 0x4141a8
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x2cc]
cmp eax, 8
jb 0x414069
inc eax
lea ecx, [ebp - 0x2e0]
push eax
push dword [ebp - 0x2e0]
call fcn.00405c10
xor eax, eax
mov dword [ebp - 0x2cc], 7
mov word [ebp - 0x2e0], ax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x2d0], 0
cmp eax, 8
jb 0x4140a4
inc eax
lea ecx, [ebp - 0x2f8]
push eax
push dword [ebp - 0x2f8]
call fcn.00405c10
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x4141a8
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00405c10
jmp 0x4141a8
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4140df
mov eax, dword [ecx]
jmp 0x4140e1
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x48]
push edx
push eax
call fcn.00405e70
call fcn.00413d20
add esp, 0x18
jmp 0x4141a8
cmp dword [ebp - 0x2a8], 0x400
jbe 0x4141a8
mov dword [ebp - 0x35c], eax
lea ecx, [ebp - 0x36c]
xor eax, eax
mov dword [ebp - 0x358], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x36c], ax
lea eax, [ebp - 0x48]
push eax
call fcn.00405e70
xor eax, eax
mov dword [ebp - 0x340], 7
mov word [ebp - 0x354], ax
lea ecx, [ebp - 0x354]
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x344], 0
push eax
call fcn.004075b0
lea eax, [ebp - 0x354]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x33c]
push eax
call fcn.0040a9c0
mov ecx, eax
call fcn.00418890
lea ecx, [ebp - 0x33c]
call fcn.0040a8c0
lea ecx, [ebp - 0x354]
call fcn.00403880
lea ecx, [ebp - 0x36c]
call fcn.00403880
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x4141bd
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00405c10
xor eax, eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x41422e
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00405c10
jmp 0x41422e
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x41422e
mov ecx, dword [ebp - 0x30]
inc eax
cmp eax, 0x7fffffff
ja 0x414277
add eax, eax
cmp eax, 0x1000
jb 0x414225
test cl, 0x1f
jne 0x414277
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x414277
sub ecx, eax
cmp ecx, 4
jb 0x414277
cmp ecx, 0x23
ja 0x414277
mov ecx, eax
push ecx
call fcn.00448f45
add esp, 4
lea eax, [ebp - 0x2c8]
push eax
push esi
call edi
test eax, eax
jne 0x413dd0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x41425c
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00405c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448a58
mov esp, ebp
pop ebp
ret
call fcn.00450abf
int3