Function at 0x461540
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b6f3
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284], ecx
mov edx, 0x5fdfa8
mov byte [ebp - 0x279], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x461596
sub edx, ecx
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push 0x5fdfa8
call fcn.0044b730
push 6
push str..tpl
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00452f50
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x280], eax
cmp eax, 0xffffffff
jne 0x4615f9
mov byte [ebp - 0x279], 0
jmp 0x461775
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
push 0x5e05b0
lea eax, [ebp - 0x24c]
push eax
call esi
test eax, eax
je 0x461640
push 0x5e176c
lea eax, [ebp - 0x24c]
push eax
call esi
test eax, eax
je 0x461640
test dword [ebp - 0x278], 0x410
je 0x461658
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x280]
call edi
test eax, eax
jne 0x461610
jmp 0x461769
sub esp, 0x18
lea ecx, [ebp - 0x24c]
mov edx, esp
mov dword [ebp - 0x288], esp
xor eax, eax
lea esi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461680
sub ecx, esi
lea eax, [ebp - 0x24c]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044b730
sub esp, 0x18
mov byte [ebp - 4], 1
mov edx, esp
mov ecx, 0x5fdfa8
xor eax, eax
mov dword [edx + 0x10], 0
lea esi, [ecx + 2]
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4616c2
sub ecx, esi
sar ecx, 1
push ecx
push 0x5fdfa8
mov ecx, edx
call fcn.0044b730
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0
call fcn.0045f5f0
mov edi, dword [ebp - 0x284]
mov esi, eax
add esp, 0x30
cmp edi, esi
je 0x461726
mov ecx, edi
call fcn.00449920
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x290]
cmp edx, 8
jb 0x461762
mov ecx, dword [ebp - 0x2a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461758
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4617cc
push edx
push ecx
call fcn.00536ae6
add esp, 8
mov byte [ebp - 0x279], 1
push dword [ebp - 0x280]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4617ab
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4617a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4617d1
push edx
push ecx
call fcn.00536ae6
add esp, 8
mov al, byte [ebp - 0x279]
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.005368a5
mov esp, ebp
pop ebp
ret
call fcn.00552581
call fcn.00552581
int3