Function at 0x4076f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41713c
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x41d214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x140
lea eax, [ebp - 0x348]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040e900
add esp, 0xc
push 0x41a880
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.00408da0
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x407761
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x348]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x34c], eax
cmp eax, 0xffffffff
jne 0x4077b8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x34], esi
jb 0x407796
mov edx, dword [ebp - 0x48]
push edx
call fcn.00409433
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp + 0x1c], esi
jb 0x407a62
mov ecx, dword [ebp + 8]
push ecx
jmp 0x407a5a
lea edx, [ebp - 0x348]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x407a30
mov edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x41a88c
lea eax, [ebp - 0x31c]
push eax
call esi
test eax, eax
je 0x407a0f
push 0x41a890
lea ecx, [ebp - 0x31c]
push ecx
call esi
test eax, eax
je 0x407a0f
xor edx, edx
mov edi, 7
lea eax, [ebp - 0x31c]
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407820
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x31c]
lea esi, [ebp - 0x2c]
call fcn.004054d0
push 0x41a87c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov byte [ebp - 4], 2
call fcn.00408da0
add esp, 0xc
mov ecx, eax
lea edx, [ebp - 0x74]
push edx
mov eax, esi
mov byte [ebp - 4], 3
call fcn.00408e80
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x4078ca
cmp dword [ebp - 0x18], 8
jb 0x407889
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00409433
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [esi + 0x14], 8
jae 0x4078b1
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.00409450
add esp, 0xc
jmp 0x4078b8
mov edx, dword [esi]
mov dword [ebp - 0x2c], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x18], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp dword [ebp - 0x60], 8
jb 0x4078dc
mov edx, dword [ebp - 0x74]
push edx
call fcn.00409433
add esp, 4
xor eax, eax
cmp dword [ebp - 0x8c], 8
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x64], ebx
mov word [ebp - 0x74], ax
jb 0x407900
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.00409433
add esp, 4
mov eax, 0xf
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 0xf4], bl
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40794b
lea eax, [ebp - 0x2c]
push ebx
push 0x2000000
push 3
push ebx
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
lea edx, [ebp - 0x364]
push edx
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x354]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
test eax, eax
jne 0x40799b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
jb 0x407a0f
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x407a07
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x354]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea edx, [ebp - 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x58]
call fcn.004074d0
add esp, 4
cmp eax, dword [ebp + 0x24]
jle 0x4079f9
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4079f0
lea eax, [ebp - 0x2c]
push eax
call fcn.00407560
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
jb 0x407a0f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00409433
add esp, 4
mov eax, dword [ebp - 0x34c]
lea edx, [ebp - 0x348]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4077d0
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x407a41
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00409433
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp + 0x1c], esi
jb 0x407a62
mov eax, dword [ebp + 8]
push eax
call fcn.00409433
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040943e
mov esp, ebp
pop ebp
ret