Function at 0x40f2a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cc4b
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x456a3c]
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 ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x494], eax
mov eax, dword [ebp + 0x14]
push str._s_
mov dword [ebp - 0x490], eax
lea eax, [ebp - 0x210]
push 0x200
push eax
mov dword [ebp - 0x484], ebx
call fcn.004100a0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00410730
add esp, 0x18
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x478]
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x48c], eax
cmp eax, 0xffffffff
je 0x40f5dd
nop
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.00410870
add esp, 8
cmp byte [ebp - 0x498], 0
mov byte [ebp - 4], 1
jne 0x40f3dc
push ebx
push str.ERROR:_file_folder_name_containing_invalid_UTF_16_found_in_folder__s
push str.filesystem
push 0
call fcn.0040d800
add esp, 0x10
mov byte [ebp - 4], 0
cmp byte [ebp - 0x498], 0
je 0x40f575
mov ecx, dword [ebp - 0x49c]
cmp ecx, 0x10
jb 0x40f575
mov edx, dword [ebp - 0x4b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f3cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f635
push ecx
push edx
call fcn.0041143c
add esp, 8
jmp 0x40f575
cmp dword [ebp - 0x49c], 0x10
lea eax, [ebp - 0x4b0]
mov ebx, 0xe57a42bd
mov edi, 0xd6bf94d5
cmovae eax, dword [ebp - 0x4b0]
mov dword [ebp - 0x4d0], eax
mov eax, dword [ebp - 0x474]
mul ebx
mov eax, dword [ebp - 0x474]
mov esi, edx
mul edi
push dword [ebp - 0x490]
mov edi, eax
mov dword [ebp - 0x488], edx
mov eax, dword [ebp - 0x470]
mul ebx
push dword [ebp + 0x10]
mov ecx, eax
mov ebx, edx
mov eax, dword [ebp - 0x470]
mov edx, 0xd6bf94d5
mul edx
add ecx, esi
mov dword [ebp - 0x47c], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [ebp - 0x488]
mov edi, 0xd6bf94d5
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [ebp - 0x47c]
adc eax, eax
add ecx, ebx
mov ebx, 0xe57a42bd
adc edx, eax
mov eax, dword [ebp - 0x464]
shrd ecx, edx, 0x17
shr edx, 0x17
add ecx, 0x49ef6f00
mov dword [ebp - 0x4c8], ecx
adc edx, 0xfffffffd
mov dword [ebp - 0x47c], edx
mov dword [ebp - 0x4c4], edx
mul ebx
mov eax, dword [ebp - 0x464]
mov esi, edx
mul edi
mov edi, eax
mov dword [ebp - 0x47c], edx
mov eax, dword [ebp - 0x460]
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [ebp - 0x460]
mov edx, 0xd6bf94d5
mul edx
add ecx, esi
mov dword [ebp - 0x488], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [ebp - 0x47c]
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [ebp - 0x488]
adc eax, eax
add ecx, ebx
adc edx, eax
mov eax, dword [ebp - 0x478]
shrd ecx, edx, 0x17
shr edx, 0x17
add ecx, 0x49ef6f00
mov dword [ebp - 0x4c0], ecx
adc edx, 0xfffffffd
shr eax, 4
and eax, 1
mov dword [ebp - 0x47c], edx
push eax
mov dword [ebp - 0x4bc], edx
lea eax, [ebp - 0x4d0]
push eax
call dword [ebp - 0x494]
add esp, 0x10
test eax, eax
jne 0x40f592
mov byte [ebp - 4], al
cmp byte [ebp - 0x498], al
je 0x40f56f
mov edx, dword [ebp - 0x49c]
cmp edx, 0x10
jb 0x40f56f
mov eax, dword [ebp - 0x4b0]
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x40f565
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x40f635
push edx
push eax
call fcn.0041143c
add esp, 8
mov ebx, dword [ebp - 0x484]
lea eax, [ebp - 0x478]
push eax
push dword [ebp - 0x48c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40f350
jmp 0x40f5d1
cmp byte [ebp - 0x498], 0
je 0x40f5d1
mov ecx, dword [ebp - 0x49c]
cmp ecx, 0x10
jb 0x40f5d1
mov edx, dword [ebp - 0x4b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f5c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f635
push ecx
push edx
call fcn.0041143c
add esp, 8
push dword [ebp - 0x48c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x214]
cmp ecx, 8
jb 0x40f619
mov edx, dword [ebp - 0x228]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f60f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f63a
push ecx
push edx
call fcn.0041143c
add esp, 8
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.0041144a
mov esp, ebp
pop ebp
ret
call fcn.00414b5f
call fcn.00414b5f
int3