Function at 0x418a1c
Capabilities:
Delete file
Enumerate files on windows
Read .ini file

Disassembly:
mov eax, 0x444238
call fcn.0043680c
sub esp, 0x18c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov esi, dword [edi + 0x24]
lea ecx, [edi + 0x1c]
call fcn.00406a8a
mov ecx, dword [edi + 0x20]
push 0xffffffffffffffff
mov dword [ebp - 0x38], ecx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], eax
call fcn.004066bf
and dword [ebp - 4], 0
push str.System
lea ecx, [ebp - 0x18]
call fcn.00406cdd
lea eax, [ebp - 0x18]
push str.EINFO.CFG
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406bba
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004066b3
test esi, esi
mov byte [ebp - 4], 2
jne 0x418aa2
push str._Autoup__CPdList::CopyEngine_CData_pData___Error_pData_is_NULL
push 1
pop esi
push esi
call fcn.00408bf4
pop ecx
pop ecx
jmp 0x418fe2
lea ecx, [ebp - 0x28]
call fcn.00406a8a
push eax
push 0xffffffffffffffff
push str.Newest
push str.E_INFO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
jne 0x418b85
lea eax, [ebp - 0x18]
push 0x44e390
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00406bba
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00406a8d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00406733
lea eax, [ebp - 0x198]
lea ecx, [ebp - 0x10]
push eax
call fcn.00406a8a
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
setne al
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
test eax, eax
je 0x418b7e
test byte [ebp - 0x198], 0x10
je 0x418b6e
cmp byte [ebp - 0x16c], 0x2e
je 0x418b6e
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x418b6e
lea eax, [ebp - 0x184]
push 8
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004371c0
lea eax, [ebp - 0x16c]
push eax
call fcn.00436c81
add esp, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x198]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x418b1f
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [0x464878]
push 7
mov byte [ebp - 0x58], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x57]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esi + 0x1dc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.004066f2
cmp dword [ebx + 0x814], 1
mov byte [ebp - 4], 4
jne 0x418c5b
test byte [esi + 0x1cc], 1
je 0x418c5b
mov ecx, dword [0x46487c]
lea eax, [esi + 0x94]
push 0
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403c45
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00406a8d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00406733
lea ecx, [ebp - 0x1c]
lea edi, [esi + 0x1d4]
call fcn.00406a8a
push eax
mov ecx, edi
call fcn.00406a8a
push eax
push str._Autoup__CPdList::CopyEngine__m_pdServer_Extract__s___s_
push 1
call fcn.00408bf4
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0
push 0
call fcn.00406a8a
push eax
mov ecx, edi
call fcn.00406a8a
push eax
mov ecx, ebx
call fcn.00417ffd
test eax, eax
jne 0x418c5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Autoup__CPdList::CopyEngine__Extract___Error_____GetLastError___d_
push 1
call fcn.00408893
add esp, 0xc
xor esi, esi
jmp 0x418fd6
lea ecx, [ebp - 0x24]
call fcn.004066b3
and dword [ebp - 0x14], 0
mov byte [ebp - 4], 6
lea edi, [esi + 0x94]
mov ecx, dword [0x46487c]
call fcn.004045d7
inc dword [ebp - 0x20]
lea eax, [ebp - 0x58]
push dword [ebp - 0x20]
push 0x44e800
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00406bba
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.00406a8d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00406733
lea ecx, [ebp - 0x10]
call fcn.00406a8a
push eax
call fcn.0040587f
pop ecx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
call fcn.00406a8d
push edi
lea ecx, [ebp - 0x10]
call fcn.00406cdd
lea ecx, [ebp - 0x10]
call fcn.00406a8a
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406a8a
push eax
push str._Autoup__CPdList::CopyEngine_Source__Destination___CopyEngine__s___s_
push 1
call fcn.00408bf4
add esp, 0x10
lea ecx, [ebp - 0x10]
push 0
call fcn.00406a8a
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406a8a
push eax
call fcn.00405c75
add esp, 0xc
test eax, eax
jne 0x418d48
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Autoup__CPdList::CopyEngine__CopyEngine__GetLastError___d_
push 1
call fcn.00408893
add esp, 0xc
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x64
jl 0x418c71
jmp 0x418d61
add esi, 0xc
push 0
push esi
lea ecx, [ebp - 0x10]
call fcn.00406a8a
push eax
push 0
call fcn.00405aed
add esp, 0x10
cmp dword [ebp - 0x38], 0
je 0x418e77
push dword [ebp + 8]
mov ecx, ebx
call fcn.0041b863
push eax
mov ecx, ebx
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.0041ad57
test eax, eax
jne 0x418e77
push dword [ebp - 0x24]
push str._Autoup__CPdList::CopyEngine__Remove_Newest_system_number_v3pro32e.dll___s_
push 1
call fcn.00408bf4
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00406a8a
push eax
call fcn.0040599e
mov eax, dword [0x46487c]
pop ecx
mov esi, str.moduler.scd
mov eax, dword [eax + 0xc]
lea ebx, [eax - 1]
cmp ebx, 0xffffffff
jae 0x418def
mov eax, dword [0x46487c]
push ebx
lea ecx, [eax + 4]
call fcn.00407398
mov edi, eax
push esi
lea eax, [edi + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x418dec
test byte [edi + 0x1cc], 4
jne 0x418e62
dec ebx
jmp 0x418dbc
push str._Autoup__CPdList::CopyEngine__Brahma_Copy_Error_On_Flight_Engine____Brahma_Engine__Delete_moduler.scd_
push 1
call fcn.00408bf4
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp + 8]
push dword [ebp - 0x2c]
call fcn.004066bf
push 0x44fe88
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.00406cdd
lea eax, [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00406bba
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.00406a8d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.00406733
lea ecx, [ebp + 8]
call fcn.00406a8a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00406733
jmp 0x418e70
push str._Autoup__CPdList::CopyEngine__Brahma_Copy_Error_On_Brahma_Engine____Brahma_Engine
push 1
call fcn.00408bf4
pop ecx
pop ecx
xor esi, esi
jmp 0x418fca
lea ecx, [ebp - 0x28]
call fcn.00406a8a
push eax
lea eax, [ebp - 0x58]
push eax
push str.Newest
push str.E_INFO
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov esi, eax
lea eax, [ebp - 0x58]
push eax
push str._Autoup__CPdList::CopyEngine__Dr_fSetEngineInfo_WritePrivateProfileString_Newest_:__s
push 1
pop edi
push edi
call fcn.00408bf4
add esp, 0xc
test esi, esi
je 0x418ebe
push str._Autoup__CPdList::CopyEngine__WritePrivateProfileString_:_SUCCESS
push edi
call fcn.00408bf4
pop ecx
pop ecx
jmp 0x418ed3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Autoup__CPdList::CopyEngine__WritePrivateProfileString__GetLastError___d_
push edi
call fcn.00408bf4
add esp, 0xc
inc dword [ebx + 0x84c]
lea eax, [ebp - 0x18]
push 0x44e390
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406bba
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.00406a8d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00406733
lea eax, [ebp - 0x198]
lea ecx, [ebp - 0x10]
push eax
call fcn.00406a8a
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
setne al
test eax, eax
je 0x418fc1
test byte [ebp - 0x198], 0x10
je 0x418fae
cmp byte [ebp - 0x16c], 0x2e
je 0x418fae
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x418fae
push dword [0x451734]
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x418fae
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406bba
add esp, 0xc
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.00406a8a
push eax
call fcn.0040599e
pop ecx
mov ecx, dword [0x46487c]
call fcn.004045d7
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00406733
lea eax, [ebp - 0x198]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x418f27
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00406733
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00406733
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00406733
and byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00406733
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00406733
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4