Function at 0x406cd0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d93f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x6d26f8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x2b0], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c8], eax
xor bl, bl
mov dword [ebp - 4], 0
push edi
lea esi, [ebp - 0x34]
call fcn.0040b310
mov byte [ebp - 4], 1
mov ecx, esi
push ecx
mov eax, 0x694308
call fcn.0040b370
mov dword [ebp - 0x2a4], 0
push 0x24c
push 0
lea edx, [ebp - 0x2a0]
push edx
call fcn.005985f0
add esp, 0xc
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x406d61
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x2a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b4], eax
cmp eax, 0xffffffff
je 0x406f9a
mov edx, dword [sym.imp.KERNEL32.dll_FindClose]
push edx
push eax
lea esi, [ebp - 0x2b8]
call fcn.00413890
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
cmp dword [ebp - 0x284], 0
jbe 0x406f4c
test byte [ebp - 0x2a4], 0x10
jne 0x406f4c
lea eax, [ebp - 0x2c4]
push eax
call fcn.00406ff0
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c4], 0
lea ebx, [edi + 4]
cmp dword [edi + 0x18], 8
jb 0x406dda
mov edx, dword [ebx]
jmp 0x406ddc
mov edx, ebx
lea edi, [ebp - 0x2c0]
call fcn.0040b9c0
lea edx, [ebp - 0x278]
lea edi, [ebp - 0x2bc]
call fcn.0040b9c0
mov ecx, dword [ebp - 0x2b0]
push ecx
lea esi, [ebp - 0x50]
call fcn.0040b310
mov byte [ebp - 4], 5
mov edx, esi
push edx
mov eax, 0x692fe8
call fcn.0040b370
mov eax, esi
push eax
lea eax, [ebp - 0x278]
call fcn.0040b370
mov ecx, esi
push ecx
lea edi, [ebp - 0x304]
call fcn.00406b00
add esp, 4
mov byte [ebp - 4], 6
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x406e4a
mov eax, dword [eax + 4]
jmp 0x406e4d
add eax, 4
lea edx, [ebp - 0x2ac]
push edx
mov ecx, eax
call fcn.0040b8a0
mov byte [ebp - 4], 8
lea esi, [ebp - 0x304]
call fcn.00440d90
mov eax, dword [ebp - 0x2ac]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x406ea8
mov ecx, dword [ebp - 0x2b0]
cmp dword [ecx + 0x18], edi
jb 0x406e86
mov edx, dword [ebx]
jmp 0x406e88
mov edx, ebx
lea edi, [ebp - 0x2ac]
call fcn.0040b9c0
mov edx, 0x692fe8
call fcn.0040ba00
lea edx, [ebp - 0x278]
call fcn.0040ba00
lea edi, [ebp - 0x2ac]
call fcn.0040bc80
lea edx, [ebp - 0x2e8]
push edx
call fcn.00407050
mov byte [ebp - 4], 9
mov eax, edi
lea edi, [ebp - 0x2e8]
call fcn.0040daa0
lea eax, [ebp - 0x2c4]
push eax
lea edi, [ebp - 0x2e4]
call fcn.0040bef0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push ecx
lea edi, [ebp - 0x2e8]
call fcn.00407110
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2c8]
call fcn.0040aa50
add esp, 0x1c
mov byte [ebp - 4], 8
mov edx, edi
push edx
call fcn.004070b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2ac]
call fcn.0040b950
mov byte [ebp - 4], 4
lea esi, [ebp - 0x50]
call fcn.00440d90
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c4]
push eax
call fcn.0041b9d0
mov edi, dword [ebp - 0x2b0]
mov dword [ebp - 4], 2
jmp 0x406f68
lea ecx, [ebp - 0x2a4]
push ecx
mov edx, dword [ebp - 0x2b4]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406d95
mov bl, 1
mov byte [ebp - 0x2a5], bl
mov byte [ebp - 4], bl
lea esi, [ebp - 0x2b8]
call fcn.00406380
mov byte [ebp - 4], 0
lea esi, [ebp - 0x34]
call fcn.00440d90
mov dword [ebp - 4], 0xffffffff
jmp 0x406fc9
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0059393a
mov esp, ebp
pop ebp
ret