Function at 0x406c80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60cf98
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x711ab8]
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.0040b400
mov byte [ebp - 4], 1
mov ecx, esi
push ecx
mov eax, 0x6cb430
call fcn.0040b460
mov dword [ebp - 0x2a4], 0
push 0x24c
push 0
lea edx, [ebp - 0x2a0]
push edx
call fcn.005c8fb0
add esp, 0xc
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x406d11
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 0x406f4a
mov edx, dword [sym.imp.KERNEL32.dll_FindClose]
push edx
push eax
lea esi, [ebp - 0x2b8]
call fcn.00413880
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
cmp dword [ebp - 0x284], 0
jbe 0x406efc
test byte [ebp - 0x2a4], 0x10
jne 0x406efc
lea eax, [ebp - 0x2c4]
push eax
call fcn.00406fa0
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c4], 0
lea ebx, [edi + 4]
cmp dword [edi + 0x18], 8
jb 0x406d8a
mov edx, dword [ebx]
jmp 0x406d8c
mov edx, ebx
lea edi, [ebp - 0x2c0]
call fcn.0040bab0
lea edx, [ebp - 0x278]
lea edi, [ebp - 0x2bc]
call fcn.0040bab0
mov ecx, dword [ebp - 0x2b0]
push ecx
lea esi, [ebp - 0x50]
call fcn.0040b400
mov byte [ebp - 4], 5
mov edx, esi
push edx
mov eax, 0x6ca140
call fcn.0040b460
mov eax, esi
push eax
lea eax, [ebp - 0x278]
call fcn.0040b460
mov ecx, esi
push ecx
lea edi, [ebp - 0x304]
call fcn.00406ab0
add esp, 4
mov byte [ebp - 4], 6
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x406dfa
mov eax, dword [eax + 4]
jmp 0x406dfd
add eax, 4
lea edx, [ebp - 0x2ac]
push edx
mov ecx, eax
call fcn.0040b990
mov byte [ebp - 4], 8
lea esi, [ebp - 0x304]
call fcn.0044df60
mov eax, dword [ebp - 0x2ac]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x406e58
mov ecx, dword [ebp - 0x2b0]
cmp dword [ecx + 0x18], edi
jb 0x406e36
mov edx, dword [ebx]
jmp 0x406e38
mov edx, ebx
lea edi, [ebp - 0x2ac]
call fcn.0040bab0
mov edx, 0x6ca140
call fcn.0040baf0
lea edx, [ebp - 0x278]
call fcn.0040baf0
lea edi, [ebp - 0x2ac]
call fcn.0040bd70
lea edx, [ebp - 0x2e8]
push edx
call fcn.00407000
mov byte [ebp - 4], 9
mov eax, edi
lea edi, [ebp - 0x2e8]
call fcn.0040ddb0
lea eax, [ebp - 0x2c4]
push eax
lea edi, [ebp - 0x2e4]
call fcn.0040bfe0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push ecx
lea edi, [ebp - 0x2e8]
call fcn.004070c0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2c8]
call fcn.0040aa10
add esp, 0x1c
mov byte [ebp - 4], 8
mov edx, edi
push edx
call fcn.00407060
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2ac]
call fcn.0040ba40
mov byte [ebp - 4], 4
lea esi, [ebp - 0x50]
call fcn.0044df60
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c4]
push eax
call fcn.004239e0
mov edi, dword [ebp - 0x2b0]
mov dword [ebp - 4], 2
jmp 0x406f18
lea ecx, [ebp - 0x2a4]
push ecx
mov edx, dword [ebp - 0x2b4]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406d45
mov bl, 1
mov byte [ebp - 0x2a5], bl
mov byte [ebp - 4], bl
lea esi, [ebp - 0x2b8]
call fcn.00433900
mov byte [ebp - 4], 0
lea esi, [ebp - 0x34]
call fcn.0044df60
mov dword [ebp - 4], 0xffffffff
jmp 0x406f79
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.005c397a
mov esp, ebp
pop ebp
ret