Function at 0x441612
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [ebp - 0x3c], edi
call fcn.00446bf3
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
jne 0x44163d
mov ecx, edi
jmp 0x44180f
push eax
lea eax, [ebp - 0x20]
push 0x5179e4
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
call fcn.004a04a6
add esp, 0xc
inc dword [esi + 4]
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004a0486
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x441794
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 8]
call fcn.004a0fd9
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], ebx
jbe 0x441713
mov dword [ebp - 0x10], ebx
mov edi, dword [esi + 0xc]
lea ecx, [ebp - 8]
call fcn.004a0ff9
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + edi + 8]
call fcn.0042a25c
test eax, eax
je 0x4416c6
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp - 0x10], 0x14
cmp eax, dword [esi + 0x14]
jb 0x44169a
jmp 0x441713
mov edi, dword [ebp - 4]
mov eax, dword [esi + 0xc]
imul edi, edi, 0x14
mov ecx, dword [esi + 4]
mov dword [edi + eax + 0x10], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [edi + eax]
jne 0x4416ea
cmp ebx, dword [edi + eax + 4]
je 0x441713
mov ebx, dword [esi]
push dword [edi + eax + 0xc]
lea ecx, [ebp - 8]
add ebx, 0xc
call fcn.004a0ff9
push eax
mov ecx, esi
call dword [ebx]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x278]
and dword [edi + eax + 4], 0
mov dword [edi + eax], ecx
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x14]
jne 0x44176a
mov eax, dword [ebp - 0x278]
lea ecx, [ebp - 8]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
call fcn.004a0ff9
mov ecx, eax
call fcn.0042876e
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 4]
push 0x14
mov dword [ebp - 0x24], eax
push 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0xc]
call fcn.004a117a
mov edi, dword [esi]
lea ecx, [ebp - 8]
add edi, 4
call fcn.004a0ff9
push eax
mov ecx, esi
call dword [edi]
lea ecx, [ebp - 8]
call fcn.004a0c7d
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44178a
or dword [ebp - 0x14], 0xffffffff
cmp dword [ebp - 0x14], 0xffffffff
jne 0x441680
cmp dword [ebp - 0xc], ebx
je 0x4417a8
cmp dword [ebp - 0xc], 0xffffffff
je 0x4417a8
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], ebx
jbe 0x441804
lea edi, [esi + 0xc]
mov eax, dword [edi]
add eax, ebx
mov ecx, dword [eax + 0x10]
cmp ecx, dword [esi + 4]
je 0x4417f6
push dword [eax + 0xc]
mov edx, dword [esi]
push dword [eax + 8]
mov ecx, esi
call dword [edx + 8]
mov eax, dword [edi]
mov edx, dword [esi]
add eax, ebx
push dword [eax + 0xc]
mov ecx, esi
push dword [eax + 8]
call dword [edx + 0x10]
mov eax, dword [edi]
mov ecx, dword [ebx + eax + 8]
mov dl, 1
call fcn.00479b79
push 0x14
push dword [ebp - 4]
mov ecx, edi
call fcn.004a0a4a
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add ebx, 0x14
cmp eax, dword [esi + 0x14]
jb 0x4417b3
lea ecx, [ebp - 0x20]
call fcn.004a0bd2
mov ecx, dword [ebp - 0x3c]
call fcn.00446c71
pop edi
pop esi
pop ebx
leave
ret