Function at 0x41c4f2
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x284
mov eax, dword [0x48ec38]
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 0x41c561
mov eax, 0x80070057
mov edi, eax
push eax
call fcn.004321e3
jmp 0x41c6a7
test ecx, ecx
je 0x41c54f
mov eax, dword [0x48ecb8]
test eax, eax
je 0x41c573
cmp eax, 0xffffffff
jne 0x41c575
xor eax, eax
push 0x406880
push dword [0x491330]
push eax
call fcn.0041aecf
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push 0
push 0x4068b8
push edi
call fcn.004314b7
mov edi, eax
test edi, edi
jns 0x41c5a4
push edi
jmp 0x41c557
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.0041a652
mov esi, dword [esp + 0x20]
test esi, esi
je 0x41c777
cmp esi, 0xffffffff
je 0x41c777
test ebx, ebx
je 0x41c5f5
push ebx
call fcn.0043220c
and dword [esp + 0x18], 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00432325
mov edi, eax
test edi, edi
js 0x41c75e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41c621
push eax
call fcn.0043220c
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.004314b7
mov edi, eax
test edi, edi
js 0x41c74f
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.00431799
mov edi, eax
test edi, edi
js 0x41c747
cmp dword [esp + 0x1c], 0
jne 0x41c71b
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41c5e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x41c771
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004324dd
mov edi, eax
push edi
call fcn.004321e3
mov esi, dword [esp + 0x10]
test edi, edi
jns 0x41c6d1
mov eax, dword [0x48ecb8]
test eax, eax
je 0x41c6b5
cmp eax, 0xffffffff
jne 0x41c6b7
xor eax, eax
push edi
push 0x4068f8
push 0x406200
push dword [0x491330]
push eax
call fcn.0041aecf
add esp, 0x14
push edi
call fcn.00432150
lea ecx, [esp + 0x20]
call fcn.0043237b
test esi, esi
je 0x41c6ea
push esi
call fcn.0043220c
test ebx, ebx
je 0x41c6f4
push ebx
call fcn.0043220c
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41c702
push eax
call fcn.0043220c
mov ecx, dword [esp + 0x28c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047d650
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x48ecb8]
test eax, eax
je 0x41c729
cmp eax, 0xffffffff
jne 0x41c72b
xor eax, eax
mov esi, dword [esp + 0x10]
push esi
push ebx
push 0x4068c4
push dword [0x491330]
push eax
call fcn.0041aecf
add esp, 0x14
jmp 0x41c779
push edi
call fcn.004321e3
jmp 0x41c768
push edi
call fcn.004321e3
mov esi, dword [esp + 0x14]
jmp 0x41c6a7
push edi
call fcn.004321e3
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
jmp 0x41c6a7
mov esi, dword [esp + 0x10]
jmp 0x41c779
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 0x41c791
mov eax, ebx
xor ebx, ebx
mov dword [ecx], eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x41c69f
mov eax, esi
xor esi, esi
mov dword [ecx], eax
jmp 0x41c6a3