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

Disassembly:
mov eax, 0x444640
call fcn.004361ac
sub esp, 0x18c
push ebx
push esi
push edi
or edi, 0xffffffff
push edi
mov ebx, ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x30], ebx
call fcn.00406579
lea eax, [ebp - 0x10]
push str.EINFO.CFG
push eax
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00406a74
add esp, 0xc
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040656d
cmp dword [ebp + 8], esi
mov byte [ebp - 4], 2
jne 0x418a02
push str._Autoup__CPdList::CopyEngineSZ_CData_pData__LPCTSTR_pszDir___Error_pData_is_NULL
push 1
call fcn.00408aae
pop ecx
pop ecx
jmp 0x418ab8
cmp dword [ebx + 0x858], esi
je 0x418a59
lea ecx, [ebp - 0x14]
call fcn.00406944
push eax
push edi
push str.Newest
push str.E_INFO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x418bbc
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x858], esi
call fcn.00406944
push eax
push 0x883
push str.U:AhnLabCommonAutoup6.1TrunkSrcSrcPdList.cpp
push str._Autoup___s:_d___CPdList::CopyEngineSZ_CData_pData__LPCTSTR_pszDir___Error_Get_Newest_sInfo__s_
push 1
call fcn.00408aae
add esp, 0x14
jmp 0x418ab8
push esi
lea ecx, [ebp - 0x10]
call fcn.00406944
push eax
call fcn.00436550
pop ecx
test eax, eax
pop ecx
je 0x418ad8
push str._Autoup__CPdList::CopyEngineSZ_CData_pData___mkdir_System
push 1
call fcn.0040874d
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00406944
push eax
call fcn.00405739
test eax, eax
pop ecx
jne 0x418ad8
lea ecx, [ebp - 0x10]
call fcn.00406944
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x890
push str.U:AhnLabCommonAutoup6.1TrunkSrcSrcPdList.cpp
push str._Autoup___s:_d___CPdList::CopyEngineSZ_CData_pData__LPCTSTR_pszDir___Error__d__mkdir_____s_
push 1
call fcn.00408aae
add esp, 0x18
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004065ed
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004065ed
mov dword [ebp - 4], edi
jmp 0x418efb
lea ecx, [ebp - 0x14]
call fcn.00406944
push eax
push edi
push str.Newest
push str.E_INFO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x418bb9
lea eax, [ebp - 0x10]
push 0x44d338
push eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x18], esi
call fcn.00406a74
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.00406947
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004065ed
lea eax, [ebp - 0x198]
lea ecx, [ebp + 0xc]
push eax
call fcn.00406944
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
xor eax, eax
cmp ebx, edi
mov dword [ebp - 0x28], esi
setne al
mov dword [ebp - 0x24], esi
cmp eax, esi
je 0x418bb2
test byte [ebp - 0x198], 0x10
je 0x418ba2
cmp byte [ebp - 0x16c], 0x2e
je 0x418ba2
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x418ba2
lea eax, [ebp - 0x184]
push 8
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00436b60
lea eax, [ebp - 0x16c]
push eax
call fcn.00436621
add esp, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x198]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x418b53
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
inc dword [ebp - 0x18]
mov al, byte [0x4629d8]
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
lea ecx, [ebp - 0x20]
stosb byte es:[edi], al
call fcn.0040656d
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 4
lea ecx, [eax + 0x94]
add eax, 0x1dc
mov dword [ebp + 8], ecx
mov dword [ebp - 0x24], eax
mov esi, str.U:AhnLabCommonAutoup6.1TrunkSrcSrcPdList.cpp
mov ebx, str.data
push dword [ebp - 0x18]
lea eax, [ebp - 0x58]
push 0x44d7a8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00406a74
add esp, 0x18
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.00406947
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.004065ed
lea ecx, [ebp + 0xc]
call fcn.00406944
push eax
call fcn.00405739
lea eax, [ebp + 0xc]
push ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00406a74
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00406944
push eax
call fcn.00405739
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.004065ed
push dword [0x45033c]
push dword [ebp + 8]
call edi
test eax, eax
je 0x418cad
push dword [0x450340]
push dword [ebp + 8]
call edi
test eax, eax
je 0x418cad
push dword [0x450344]
push dword [ebp + 8]
call edi
test eax, eax
jne 0x418cd7
lea eax, [ebp + 0xc]
push ebx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00406a74
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.00406947
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.004065ed
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.00406b97
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.00406947
lea ecx, [ebp + 0xc]
call fcn.00406944
push eax
lea ecx, [ebp - 0x20]
call fcn.00406944
push eax
push str._Autoup__CPdList::CopyEngineSZ_Source__Destination___CopyEngine__s___s_
push 1
call fcn.00408aae
add esp, 0x10
lea ecx, [ebp + 0xc]
push 0
call fcn.00406944
push eax
lea ecx, [ebp - 0x20]
call fcn.00406944
push eax
call fcn.00405b2f
add esp, 0xc
test eax, eax
jne 0x418d5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8d6
push esi
push str._Autoup___s:_d___CPdList::CopyEngineSZ__rCopyFile____GetLastError___d_
push 1
call fcn.00408aae
add esp, 0x14
inc dword [ebp - 0x18]
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x64
jl 0x418c04
jmp 0x418d7a
mov eax, dword [ebp - 0x30]
push 0
add eax, 0x850
lea ecx, [ebp + 0xc]
push eax
call fcn.00406944
push eax
push 0
call fcn.004059a7
add esp, 0x10
cmp dword [ebp - 0x1c], 0x64
jl 0x418da0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x8e0
push esi
push str._Autoup___s:_d___CPdList::CopyEngineSZ__Error_over_nNewest_LOOP__i:nNewest___d:_d_
push 1
call fcn.00408aae
add esp, 0x18
jmp 0x418ed3
lea ecx, [ebp - 0x14]
call fcn.00406944
push eax
lea eax, [ebp - 0x58]
push eax
push str.Newest
push str.E_INFO
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edi, eax
lea eax, [ebp - 0x58]
push eax
push str._Autoup__CPdList::CopyEngineSZ__Dr_fSetEngineInfo_WritePrivateProfileString_Newest_:__s
push 1
call fcn.00408aae
add esp, 0xc
test edi, edi
je 0x418de6
push str._Autoup__CPdList::CopyEngineSZ__WritePrivateProfileString_:_SUCCESS
push 1
call fcn.00408aae
pop ecx
pop ecx
jmp 0x418e02
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8ed
push esi
push str._Autoup___s:_d___CPdList::CopyEngineSZ__WritePrivateProfileString__GetLastError___d_
push 1
call fcn.00408aae
add esp, 0x14
lea eax, [ebp - 0x10]
push 0x44d338
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406a74
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.00406947
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.004065ed
lea eax, [ebp - 0x198]
lea ecx, [ebp + 0xc]
push eax
call fcn.00406944
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
setne al
test eax, eax
je 0x418ecc
test byte [ebp - 0x198], 0x10
je 0x418ebc
cmp byte [ebp - 0x16c], 0x2e
je 0x418ebc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x418ebc
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406a74
add esp, 0xc
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.00406944
push eax
call fcn.00405858
pop ecx
mov ecx, dword [0x4629dc]
call fcn.00404548
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.004065ed
lea eax, [ebp - 0x198]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x418e50
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004065ed
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004065ed
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004065ed
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004065ed
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8