Function at 0x41fa36
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
or dword [ebp - 0x14], 0xffffffff
or dword [ebp - 0x1c], 0xffffffff
push ebx
push esi
push edi
mov esi, 0x104
xor edi, edi
push esi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
call fcn.0042a5c0
push esi
mov dword [ebp - 0xc], eax
call fcn.0042a5c0
cmp dword [ebp - 0xc], edi
mov dword [ebp - 0x24], eax
je 0x41fe52
cmp eax, edi
je 0x41fe52
push 0x44d338
push dword [ebp + 0x14]
call fcn.0041f276
pop ecx
cmp eax, edi
pop ecx
mov dword [ebp - 0x18], eax
jne 0x41faa0
push 3
pop esi
jmp 0x41fe86
lea ecx, [ebp - 0x164]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x41fabd
xor esi, esi
jmp 0x41fe86
mov edi, str.path
test byte [ebp - 0x164], 0x10
jne 0x41fbf2
test ebx, ebx
je 0x41fad9
push ebx
call fcn.0042a5d0
lea eax, [ebp - 0x138]
push eax
call fcn.0041fed2
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x41fb07
lea eax, [ebp - 0x138]
push eax
push str._AutoUp__BA_RemoveOldFiles__ERROR:_Cannot_Get_Module_Name_OutOfMemory__:__s
push 1
call fcn.00408aae
add esp, 0xc
jmp 0x41fe27
cmp dword [ebp + 0xc], 0
je 0x41fb1f
push esi
push dword [ebp - 0xc]
push edi
push ebx
push dword [ebp + 0xc]
call fcn.0042a1f0
test eax, eax
je 0x41fb35
push esi
push dword [ebp - 0xc]
push edi
push ebx
push dword [ebp + 8]
call fcn.0042a1f0
test eax, eax
jne 0x41fe27
push str.asc_kbc.sys
push ebx
call fcn.004298a0
test eax, eax
je 0x41fe27
cmp dword [ebp - 8], 0
je 0x41fb56
push dword [ebp - 8]
call fcn.0042a5d0
push dword [ebp - 0xc]
push dword [ebp + 0x14]
call fcn.0041f276
pop ecx
mov dword [ebp - 8], eax
test eax, eax
pop ecx
je 0x41fe27
push dword [ebp + 0x14]
push eax
call fcn.004298a0
test eax, eax
je 0x41fe27
lea eax, [ebp - 0x138]
push eax
push str._AutoUp__BA_RemoveOldFiles__INFO:_Delete_Engine_Module:__s
push 1
call fcn.00408aae
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x41fba3
push dword [ebp - 0x10]
call fcn.0042a5d0
lea eax, [ebp - 0x138]
push eax
push dword [ebp + 0x14]
call fcn.0041f276
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
pop ecx
je 0x41fe27
push eax
call fcn.0041f8ad
lea eax, [ebp - 0x138]
push eax
call fcn.004221c6
pop ecx
cmp eax, 1
pop ecx
jne 0x41fe27
lea eax, [ebp - 0x138]
push eax
push dword [ebp + 0x14]
call fcn.00422370
pop ecx
pop ecx
jmp 0x41fe27
lea eax, [ebp - 0x138]
push 0x454444
push eax
call fcn.00429950
test eax, eax
je 0x41fe27
lea eax, [ebp - 0x138]
push 0x454440
push eax
call fcn.00429950
test eax, eax
je 0x41fe27
cmp dword [ebp - 4], 0
je 0x41fc32
push dword [ebp - 4]
call fcn.0042a5d0
lea eax, [ebp - 0x138]
push eax
push dword [ebp + 0x14]
call fcn.0041f276
pop ecx
mov dword [ebp - 4], eax
test eax, eax
pop ecx
je 0x41fe27
push dword [ebp + 0x18]
push eax
call fcn.004298a0
test eax, eax
je 0x41fe27
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x18], 0
je 0x41fc71
push dword [ebp - 0x18]
call fcn.0042a5d0
push 0x44d338
push dword [ebp - 4]
call fcn.0041f276
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
pop ecx
je 0x41fe27
lea ecx, [ebp - 0x2a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x41fe27
test byte [ebp - 0x2a4], 0x10
jne 0x41fde7
test ebx, ebx
je 0x41fcbc
push ebx
call fcn.0042a5d0
lea eax, [ebp - 0x278]
push eax
call fcn.0041fed2
mov ebx, eax
pop ecx
test ebx, ebx
je 0x41fde7
cmp dword [ebp + 0xc], 0
je 0x41fceb
push esi
push dword [ebp - 0xc]
push edi
push ebx
push dword [ebp + 0xc]
call fcn.0042a1f0
test eax, eax
je 0x41fd01
push esi
push dword [ebp - 0xc]
push edi
push ebx
push dword [ebp + 8]
call fcn.0042a1f0
test eax, eax
jne 0x41fde7
cmp dword [ebp - 8], 0
je 0x41fd0f
push dword [ebp - 8]
call fcn.0042a5d0
push dword [ebp - 0xc]
push dword [ebp + 0x14]
call fcn.0041f276
pop ecx
mov dword [ebp - 8], eax
test eax, eax
pop ecx
je 0x41fde7
push dword [ebp - 4]
push eax
call fcn.004298a0
test eax, eax
je 0x41fd75
cmp dword [ebp + 0x10], 0
je 0x41fd7a
push esi
push dword [ebp - 0x24]
push edi
push ebx
push dword [ebp + 0x10]
call fcn.0042a1f0
test eax, eax
jne 0x41fd7a
push dword [ebp - 8]
call fcn.0042a5d0
push dword [ebp - 0x24]
push dword [ebp + 0x14]
call fcn.0041f276
pop ecx
mov dword [ebp - 8], eax
test eax, eax
pop ecx
je 0x41fde7
push dword [ebp - 4]
push eax
call fcn.004298a0
test eax, eax
jne 0x41fd7a
inc dword [ebp - 0x20]
jmp 0x41fde7
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x138]
push eax
push str._AutoUp__BA_RemoveOldFiles__INFO:_Delete_Engine_Module:__s_s
push 1
call fcn.00408aae
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x41fda5
push dword [ebp - 0x10]
call fcn.0042a5d0
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 4]
call fcn.0041f276
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
pop ecx
je 0x41fde7
push eax
call fcn.0041f8ad
lea eax, [ebp - 0x278]
push eax
call fcn.004221c6
pop ecx
cmp eax, 1
pop ecx
jne 0x41fde7
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 4]
call fcn.00422370
pop ecx
pop ecx
lea eax, [ebp - 0x2a4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41fca5
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0x1c], 0xffffffff
cmp dword [ebp - 0x20], 0
jne 0x41fe1b
push dword [ebp - 4]
call fcn.0041f756
pop ecx
push dword [ebp - 4]
call fcn.0042a5d0
and dword [ebp - 4], 0
lea eax, [ebp - 0x164]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41fac2
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0x14], 0xffffffff
xor esi, esi
xor edi, edi
jmp 0x41fe55
push 3
pop esi
cmp dword [ebp - 4], edi
je 0x41fe62
push dword [ebp - 4]
call fcn.0042a5d0
cmp dword [ebp - 8], edi
je 0x41fe6f
push dword [ebp - 8]
call fcn.0042a5d0
cmp ebx, edi
je 0x41fe79
push ebx
call fcn.0042a5d0
cmp dword [ebp - 0x10], edi
je 0x41fe86
push dword [ebp - 0x10]
call fcn.0042a5d0
cmp dword [ebp - 0xc], edi
je 0x41fe93
push dword [ebp - 0xc]
call fcn.0042a5d0
cmp dword [ebp - 0x24], edi
je 0x41fea0
push dword [ebp - 0x24]
call fcn.0042a5d0
cmp dword [ebp - 0x18], edi
je 0x41fead
push dword [ebp - 0x18]
call fcn.0042a5d0
cmp dword [ebp - 0x14], 0xffffffff
je 0x41febc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x1c], 0xffffffff
je 0x41fecb
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret