Function at 0x401e00
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x418c16
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x16c
mov ecx, dword [eax + 0xc]
push esi
mov esi, dword [eax + 4]
lea edx, [ecx + 0x10]
cmp edx, esi
je 0x401e45
xor eax, eax
pop esi
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
add esp, 0x178
ret
lea esi, [eax + 0x10]
mov al, byte [ecx + eax + 0xf]
test al, al
je 0x401e68
xor eax, eax
pop esi
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
add esp, 0x178
ret
push ebp
push edi
xor edi, edi
mov dword [esp + 0x18], 0x1000
push edi
push 0x1b
push 0x1000
mov dword [esp + 0x20], 0x18
call fcn.00417270
mov dword [esp + 0x1c], eax
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [eax + 0x10], edi
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x14], edi
lea ecx, [esp + 0x20]
call fcn.00416770
push 0x41d300
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x188], edi
call fcn.00416dc0
push 0x104
lea ecx, [esp + 0x30]
call fcn.004167c0
mov eax, dword [esp + 0x20]
mov byte [esp + 0x180], 1
cmp eax, edi
jne 0x401ee3
mov eax, 0x41eae8
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
je 0x402085
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], 1
mov ecx, dword [esp + 0x10]
add ecx, 0x18
mov dword [esp + 0xc], ecx
mov esi, 0x41d2fc
lea eax, [esp + 0x64]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401f41
test cl, cl
je 0x401f3d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401f41
add eax, 2
add esi, 2
test cl, cl
jne 0x401f1d
xor eax, eax
jmp 0x401f46
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x40206a
mov esi, 0x41d2f8
lea eax, [esp + 0x64]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401f7b
test cl, cl
je 0x401f77
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401f7b
add eax, 2
add esi, 2
test cl, cl
jne 0x401f57
xor eax, eax
jmp 0x401f80
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x40206a
lea edi, [esp + 0x64]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
mov ebp, ecx
mov ecx, dword [esp + 0x18]
inc ebp
lea eax, [eax + ebp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x401fc4
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00401dc0
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov dword [ecx], 0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x58]
mov dword [edx + 4], eax
mov ecx, dword [esp + 0xc]
mov dword [ecx + 8], ebp
mov edx, dword [esp + 0xc]
mov dword [edx + 0xc], 0
mov al, byte [esp + 0x38]
test al, 0x10
mov eax, dword [esp + 0xc]
je 0x40202b
mov edx, dword [eax]
or dh, 2
mov dword [eax], edx
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40200b
mov eax, 0x41eae8
lea ecx, [esp + 0x64]
push ecx
push eax
call fcn.00401c20
add esp, 8
test eax, eax
je 0x402032
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
or ecx, 0x80000
jmp 0x402030
mov ecx, dword [eax]
or ch, 8
mov dword [eax], ecx
mov edx, dword [esp + 0xc]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0x64]
lea edi, [edx + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
lea edx, [ecx + ebp + 0x10]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xc], edx
mov ecx, dword [eax + 0x10]
inc ecx
xor edi, edi
mov dword [eax + 0x10], ecx
lea eax, [esp + 0x38]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401f14
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x180], 0
mov dword [ecx + 4], edx
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
call fcn.004167e0
lea ecx, [esp + 0x20]
mov dword [esp + 0x180], 0xffffffff
call fcn.004167e0
mov ecx, dword [esp + 0x178]
pop edi
mov eax, esi
pop ebp
pop esi
mov dword fs:[0], ecx
add esp, 0x178
ret