Function at 0x41c392
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x284
mov eax, dword [0x48dc38]
xor eax, esp
mov dword [esp + 0x280], eax
mov eax, dword [ebp + 0x10]
and dword [esp + 0x18], 0
or dword [esp + 0x14], 0xffffffff
mov ecx, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x30], eax
and dword [esp + 0x18], ebx
xor esi, esi
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
test edi, edi
jne 0x41c401
mov eax, 0x80070057
mov edi, eax
push eax
call fcn.004314fa
jmp 0x41c547
test ecx, ecx
je 0x41c3ef
mov eax, dword [0x48dcb8]
test eax, eax
je 0x41c413
cmp eax, 0xffffffff
jne 0x41c415
xor eax, eax
push 0x406880
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push 0
push 0x4068b8
push edi
call fcn.004307e7
mov edi, eax
test edi, edi
jns 0x41c444
push edi
jmp 0x41c3f7
push 0x250
lea eax, [esp + 0x3c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push eax
lea ecx, [esp + 0x24]
call fcn.0041a4f2
mov esi, dword [esp + 0x20]
test esi, esi
je 0x41c617
cmp esi, 0xffffffff
je 0x41c617
test ebx, ebx
je 0x41c495
push ebx
call fcn.00431523
and dword [esp + 0x18], 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0043163c
mov edi, eax
test edi, edi
js 0x41c5fe
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41c4c1
push eax
call fcn.00431523
and dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push 0
push ebx
push dword [esp + 0x34]
call fcn.004307e7
mov edi, eax
test edi, edi
js 0x41c5ef
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.00430ac9
mov edi, eax
test edi, edi
js 0x41c5e7
cmp dword [esp + 0x1c], 0
jne 0x41c5bb
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41c486
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x41c611
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004317f4
mov edi, eax
push edi
call fcn.004314fa
mov esi, dword [esp + 0x10]
test edi, edi
jns 0x41c571
mov eax, dword [0x48dcb8]
test eax, eax
je 0x41c555
cmp eax, 0xffffffff
jne 0x41c557
xor eax, eax
push edi
push 0x4068f8
push 0x406200
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x14
push edi
call fcn.00431467
lea ecx, [esp + 0x20]
call fcn.00431692
test esi, esi
je 0x41c58a
push esi
call fcn.00431523
test ebx, ebx
je 0x41c594
push ebx
call fcn.00431523
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41c5a2
push eax
call fcn.00431523
mov ecx, dword [esp + 0x28c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047c8b0
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x48dcb8]
test eax, eax
je 0x41c5c9
cmp eax, 0xffffffff
jne 0x41c5cb
xor eax, eax
mov esi, dword [esp + 0x10]
push esi
push ebx
push 0x4068c4
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x14
jmp 0x41c619
push edi
call fcn.004314fa
jmp 0x41c608
push edi
call fcn.004314fa
mov esi, dword [esp + 0x14]
jmp 0x41c547
push edi
call fcn.004314fa
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
jmp 0x41c547
mov esi, dword [esp + 0x10]
jmp 0x41c619
mov esi, ebx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x41c631
mov eax, ebx
xor ebx, ebx
mov dword [ecx], eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x41c53f
mov eax, esi
xor esi, esi
mov dword [ecx], eax
jmp 0x41c543