Function at 0x4198d7
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.0041e1e0
mov eax, dword [ebx + 8]
xor edi, edi
cmp eax, edi
jne 0x419902
mov ecx, esi
jmp 0x419b3b
push eax
lea eax, [ebp - 0x20]
push 0x4925e4
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call fcn.00444012
add esp, 0xc
inc dword [ebx + 4]
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00443fea
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x419aa5
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040534e
mov dword [ebp - 4], edi
cmp dword [ebx + 0x14], edi
jbe 0x4199fe
mov esi, dword [ebx + 0xc]
lea edi, [esi + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x419972
mov ecx, 0x4945b8
mov eax, dword [edi]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41999a
test dx, dx
je 0x419996
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41999a
add ecx, 4
add eax, 4
test dx, dx
jne 0x419974
xor eax, eax
jmp 0x41999f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4199b3
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 0x14
cmp eax, dword [ebx + 0x14]
jb 0x419966
jmp 0x4199fe
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 0x4199d6
cmp ecx, dword [eax + 4]
je 0x4199fe
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x4199e2
mov ecx, 0x4945b8
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 0x419a73
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 0x419a29
mov ecx, 0x4945b8
call fcn.00444cbc
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 0x419a49
mov ecx, esi
call fcn.004242dd
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 0x419a6b
mov eax, 0x4945b8
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 4]
cmp byte [ebp - 0x10], 0
je 0x419a81
mov ecx, dword [ebp - 0x14]
call fcn.004444cc
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x419a99
or dword [ebp - 0xc], 0xffffffff
xor edi, edi
cmp dword [ebp - 0xc], 0xffffffff
jne 0x419945
cmp dword [ebp - 8], edi
je 0x419ab9
cmp dword [ebp - 8], 0xffffffff
je 0x419ab9
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov dword [ebp - 4], edi
cmp dword [ebx + 0x14], edi
jbe 0x419b2c
mov dword [ebp - 8], edi
mov eax, dword [ebx + 0xc]
add eax, edi
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebx + 4]
je 0x419b1b
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.004444cc
dec dword [ebx + 0x14]
mov ecx, dword [ebx + 0x14]
cmp dword [ebp - 4], ecx
je 0x419b1b
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 0x419ac4
mov ecx, dword [ebp - 0x20]
call fcn.004444cc
and dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x3c]
call fcn.0041e25e
pop edi
pop esi
pop ebx
leave
ret