Function at 0x410978
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x424482
call fcn.00414f98
sub esp, 0x1f8
push ebx
push esi
push edi
xor esi, esi
lea eax, [ebp + 8]
inc esi
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00408c70
mov eax, dword [ebp - 0x18]
dec eax
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401dc0
cmp byte [eax], 0x5c
je 0x4109c0
push 0x4281d8
lea ecx, [ebp - 0x2c]
call fcn.00403040
push 0x425c48
lea ecx, [ebp - 0x2c]
call fcn.00403040
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x4109d9
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x204]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
xor ebx, ebx
cmp edi, 0xffffffff
je 0x410b9c
test byte [ebp - 0x204], 0x10
jne 0x410b7a
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x80]
call fcn.00401c30
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00401c30
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp + 0x38]
lea ecx, [ebp - 0x64]
push eax
push ebx
mov byte [ebp - 4], 4
call fcn.00401c70
sub esp, 0x1c
lea eax, [ebp - 0x64]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00408c70
lea eax, [ebp - 0x48]
push eax
call fcn.004012d0
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.00401f10
push ebx
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00402260
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.004061a0
test eax, eax
je 0x410a97
push 0x425c48
lea ecx, [ebp + 0x24]
call fcn.00401e30
test eax, eax
jne 0x410b5f
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00408c70
mov eax, dword [ebp - 0x34]
dec eax
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.00401dc0
cmp byte [eax], 0x5c
je 0x410ac6
push 0x4281d8
lea ecx, [ebp - 0x48]
call fcn.00403040
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00403040
cmp byte [ebp + 0x48], bl
je 0x410ae9
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
call fcn.00401f10
cmp dword [ebp + 0x4c], 2
je 0x410b49
lea ecx, [ebp - 0xc4]
call fcn.0040e236
lea eax, [ebp - 0xc4]
push eax
sub esp, 0x1c
lea eax, [ebp - 0x48]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 7
call fcn.00408c70
call fcn.00408ff0
add esp, 0x20
cmp al, bl
jne 0x410b27
cmp dword [ebp + 0x4c], ebx
jmp 0x410b2a
cmp dword [ebp + 0x4c], esi
jne 0x410b38
mov ecx, dword [ebp + 0x44]
lea eax, [ebp - 0x80]
push eax
call fcn.00401e60
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 6
call fcn.0040e273
jmp 0x410b55
mov ecx, dword [ebp + 0x44]
lea eax, [ebp - 0x80]
push eax
call fcn.00401e60
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.00402260
dec dword [ebp + 0x40]
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.00402260
push ebx
push esi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00402260
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x410b95
cmp dword [ebp + 0x40], ebx
jg 0x4109f4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402260
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.00402260
push ebx
push esi
lea ecx, [ebp + 0x24]
call fcn.00402260
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret