Function at 0x417c70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461b9e
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x4776f4]
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
mov edi, ecx
xor ebx, ebx
mov eax, 1
mov dword [ebp - 4], ebx
test byte [0x47b5d4], al
jne 0x417ced
or dword [0x47b5d4], eax
mov dword [0x47b5c8], ebx
mov dword [0x47b5cc], ebx
push ebx
push 0x46aeed
push str._0_9_1_2._0_9__0_9_._0_9__0_9_C
mov ecx, 0x47b5c8
mov byte [ebp - 4], 2
call fcn.00458ef0
push 0x463510
call fcn.0042b1ea
add esp, 4
mov byte [ebp - 4], bl
push 0x24c
lea eax, [ebp - 0x2fc]
push ebx
push eax
mov dword [ebp - 0x300], ebx
call fcn.0042d1d0
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x30c]
push edx
mov ebx, 0x46ae14
call fcn.00415fd0
mov eax, dword [eax]
add esp, 0x14
lea ecx, [ebp - 0x300]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [ebp - 0x30c]
add eax, 0xfffffff0
mov dword [ebp - 0x308], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417d57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
jne 0x417d63
xor edi, edi
jmp 0x417edc
test byte [ebp - 0x300], 0x10
je 0x417ebc
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x46ae18
lea ecx, [ebp - 0x2d4]
push ecx
call ebx
test eax, eax
je 0x417ebc
push 0x46ae1c
lea edx, [ebp - 0x2d4]
push edx
call ebx
test eax, eax
je 0x417ebc
push 3
lea ecx, [ebp - 0x2d4]
push ecx
lea edx, [ebp - 0xb0]
lea eax, [ebp - 0xac]
push edx
mov dword [ebp - 0xb0], eax
call fcn.00407410
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xb0]
xor ebx, ebx
mov eax, edx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x417de1
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00407fe0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xac]
cmp eax, ecx
je 0x417e11
push eax
call fcn.0042ae5d
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00419640
test al, al
je 0x417e94
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x304]
push eax
lea ebx, [ebp - 0x2d4]
call fcn.00415fd0
add esp, 8
mov byte [ebp - 4], 6
mov esi, dword [edi]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x304]
push ecx
push edx
push esi
call fcn.00419080
mov ecx, dword [edi + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x417f22
inc ecx
mov dword [edi + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x304]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417e92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 0x10
jb 0x417ea9
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042ab24
add esp, 4
mov esi, dword [ebp - 0x308]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [ebp - 0x300]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x417d63
push esi
lea edi, [eax + 1]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417f02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
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.0042ab2f
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.0042a842
int3