Function at 0x4198e8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x18]
push edi
mov ecx, esi
mov dword [ebp - 0x3c], esi
call fcn.0041e1b8
mov eax, dword [ebx + 8]
xor edi, edi
cmp eax, edi
jne 0x419913
mov ecx, esi
jmp 0x419b4c
push eax
lea eax, [ebp - 0x20]
push 0x4915e4
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call fcn.00444067
add esp, 0xc
inc dword [ebx + 4]
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0044403f
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x419ab6
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040532f
mov dword [ebp - 4], edi
cmp dword [ebx + 0x14], edi
jbe 0x419a0f
mov esi, dword [ebx + 0xc]
lea edi, [esi + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x419983
mov ecx, 0x48e94c
mov eax, dword [edi]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4199ab
test dx, dx
je 0x4199a7
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4199ab
add ecx, 4
add eax, 4
test dx, dx
jne 0x419985
xor eax, eax
jmp 0x4199b0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4199c4
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 0x14
cmp eax, dword [ebx + 0x14]
jb 0x419977
jmp 0x419a0f
mov edi, dword [ebp - 4]
mov eax, dword [ebx + 4]
imul edi, edi, 0x14
mov dword [edi + esi + 0x10], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x278]
add eax, edi
xor ecx, ecx
cmp edx, dword [eax]
jne 0x4199e7
cmp ecx, dword [eax + 4]
je 0x419a0f
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x4199f3
mov ecx, 0x48e94c
push dword [eax + 0xc]
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + 0xc]
mov ecx, dword [ebp - 0x278]
mov eax, dword [ebx + 0xc]
mov dword [edi + eax], ecx
and dword [edi + eax + 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0x14]
jne 0x419a84
mov ecx, dword [ebp - 0x14]
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x278]
and dword [ebp - 0x30], 0
mov dword [ebp - 0x34], eax
test ecx, ecx
jne 0x419a3a
mov ecx, 0x48e94c
call fcn.00444d11
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 4]
lea esi, [ebx + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
cmp eax, dword [esi + 4]
jb 0x419a5a
mov ecx, esi
call fcn.00426dba
mov edi, dword [esi + 8]
lea eax, [edi + 1]
imul edi, edi, 0x14
add edi, dword [esi]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
push 5
pop ecx
lea esi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
test eax, eax
jne 0x419a7c
mov eax, 0x48e94c
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 4]
cmp byte [ebp - 0x10], 0
je 0x419a92
mov ecx, dword [ebp - 0x14]
call fcn.00444521
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x419aaa
or dword [ebp - 0xc], 0xffffffff
xor edi, edi
cmp dword [ebp - 0xc], 0xffffffff
jne 0x419956
cmp dword [ebp - 8], edi
je 0x419aca
cmp dword [ebp - 8], 0xffffffff
je 0x419aca
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov dword [ebp - 4], edi
cmp dword [ebx + 0x14], edi
jbe 0x419b3d
mov dword [ebp - 8], edi
mov eax, dword [ebx + 0xc]
add eax, edi
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebx + 4]
je 0x419b2c
push dword [eax + 0xc]
mov edx, dword [ebx]
push dword [eax + 8]
mov ecx, ebx
call dword [edx + 8]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx]
add eax, edi
push dword [eax + 0xc]
mov ecx, ebx
push dword [eax + 8]
call dword [edx + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + eax + 8]
call fcn.00444521
dec dword [ebx + 0x14]
mov ecx, dword [ebx + 0x14]
cmp dword [ebp - 4], ecx
je 0x419b2c
mov eax, dword [ebx + 0xc]
mov esi, ecx
imul esi, esi, 0x14
add esi, eax
push 5
add edi, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 8]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 0x14
mov dword [ebp - 8], edi
cmp eax, dword [ebx + 0x14]
jb 0x419ad5
mov ecx, dword [ebp - 0x20]
call fcn.00444521
and dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x3c]
call fcn.0041e236
pop edi
pop esi
pop ebx
leave
ret