Function at 0x45868f
Capabilities:
Enumerate files on windows

Disassembly:
push 0x2a0
mov eax, 0x51a9de
call fcn.004d8af2
mov ebx, ecx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x26c], ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ecx
jne 0x45870b
push 0x53
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x28c]
call fcn.00406620
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x284]
add ecx, 0xfffffff0
call fcn.00407189
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00407189
mov eax, ebx
jmp 0x458a28
push 0x5444d8
lea edx, [ebp + 8]
lea ecx, [ebp - 0x270]
call fcn.00409442
pop ecx
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x268], edi
cmp edi, 0xffffffff
jne 0x4587b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x58
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x28c]
call fcn.00406620
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x284]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
jmp 0x4586ff
lea ecx, [ebp - 0x280]
call fcn.004acf13
mov byte [ebp - 4], 4
test byte [ebp - 0x260], 0x10
jne 0x458929
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.00406fea
push ecx
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x26c], esi
mov ecx, dword [ebp - 0x264]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
mov dword [esi], eax
call fcn.004581eb
pop ecx
test al, al
je 0x458917
mov ebx, dword [ebp - 0x24c]
lea eax, [ebp - 0x294]
mov edi, dword [ebp - 0x248]
xor esi, esi
push eax
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x290], esi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push esi
push 0x2710
push dword [ebp - 0x290]
push dword [ebp - 0x294]
call fcn.004d8de0
push 0
push 0x2710
push edi
push ebx
mov dword [ebp - 0x274], eax
mov esi, edx
call fcn.004d8de0
mov ecx, dword [ebp - 0x274]
sub ecx, eax
sbb esi, edx
cmp esi, dword [ebp + 0x10]
jb 0x458911
ja 0x45887e
cmp ecx, dword [ebp + 0xc]
jbe 0x458911
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x280]
call fcn.00409a0d
mov esi, eax
lea edi, [ebp - 0x28c]
lea eax, [ebp - 0x264]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x284]
call fcn.00409a5e
test al, al
jne 0x458911
cmp dword [ebp - 0x27c], 0xccccccc
je 0x458a2e
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x280]
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.004c1a6b
lea ecx, [ebp - 0x2a0]
mov esi, dword [eax + 4]
and dword [eax + 4], 0
call fcn.004c0cd7
push esi
push dword [ebp - 0x288]
lea ecx, [ebp - 0x280]
push dword [ebp - 0x28c]
call fcn.00409917
mov edi, dword [ebp - 0x268]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x264]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4587bf
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x280]
mov eax, dword [eax]
mov dword [ebp - 0x268], eax
jmp 0x4589e3
mov ecx, dword [eax + 0x10]
sub ecx, 0x10
call fcn.004070e7
mov esi, eax
lea ecx, [esi + 0x10]
mov dword [ebp - 0x274], ecx
push 0x53d64c
lea edx, [ebp + 8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x26c]
call fcn.00409442
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x264]
call fcn.0040a037
pop ecx
pop ecx
mov byte [ebp - 4], 8
mov ecx, dword [eax]
call fcn.00428a7e
mov ecx, dword [ebp - 0x264]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00407189
lea ecx, [ebp - 0x268]
call fcn.004094c2
mov eax, dword [ebp - 0x268]
cmp byte [eax + 0xd], 0
je 0x458959
mov esi, dword [ebp - 0x278]
and dword [esi], 0
lea ecx, [esi + 8]
and dword [esi + 4], 0
call fcn.0040687a
lea ecx, [ebp - 0x280]
call fcn.004add79
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, esi
call fcn.004d8aa1
ret
call fcn.00409e63
int3