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

Disassembly:
mov eax, 0x444294
call fcn.0043680c
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.004066bf
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.00406bba
add esp, 0xc
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004066b3
cmp dword [ebp + 8], esi
mov byte [ebp - 4], 2
jne 0x419082
push str._Autoup__CPdList::CopyEngineSZ_CData_pData__LPCTSTR_pszDir___Error_pData_is_NULL
push 1
call fcn.00408bf4
pop ecx
pop ecx
jmp 0x419138
cmp dword [ebx + 0x858], esi
je 0x4190d9
lea ecx, [ebp - 0x14]
call fcn.00406a8a
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 0x41923c
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x858], esi
call fcn.00406a8a
push eax
push 0x88b
push str.D:BuildProductMUpdate2.0_building_buildAhnLabProductSUpdateMUpdate2.0TrunkSrcAutoupSrcPdList.cpp
push str._Autoup___s:_d___CPdList::CopyEngineSZ_CData_pData__LPCTSTR_pszDir___Error_Get_Newest_sInfo__s_
push 1
call fcn.00408bf4
add esp, 0x14
jmp 0x419138
push esi
lea ecx, [ebp - 0x10]
call fcn.00406a8a
push eax
call fcn.00436bb0
pop ecx
test eax, eax
pop ecx
je 0x419158
push str._Autoup__CPdList::CopyEngineSZ_CData_pData___mkdir_System
push 1
call fcn.00408893
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00406a8a
push eax
call fcn.0040587f
test eax, eax
pop ecx
jne 0x419158
lea ecx, [ebp - 0x10]
call fcn.00406a8a
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x898
push str.D:BuildProductMUpdate2.0_building_buildAhnLabProductSUpdateMUpdate2.0TrunkSrcAutoupSrcPdList.cpp
push str._Autoup___s:_d___CPdList::CopyEngineSZ_CData_pData__LPCTSTR_pszDir___Error__d__mkdir_____s_
push 1
call fcn.00408bf4
add esp, 0x18
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00406733
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00406733
mov dword [ebp - 4], edi
jmp 0x41957b
lea ecx, [ebp - 0x14]
call fcn.00406a8a
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 0x419239
lea eax, [ebp - 0x10]
push 0x44e390
push eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x18], esi
call fcn.00406bba
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.00406a8d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00406733
lea eax, [ebp - 0x198]
lea ecx, [ebp + 0xc]
push eax
call fcn.00406a8a
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 0x419232
test byte [ebp - 0x198], 0x10
je 0x419222
cmp byte [ebp - 0x16c], 0x2e
je 0x419222
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x419222
lea eax, [ebp - 0x184]
push 8
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004371c0
lea eax, [ebp - 0x16c]
push eax
call fcn.00436c81
add esp, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x198]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x4191d3
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
inc dword [ebp - 0x18]
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
lea ecx, [ebp - 0x20]
stosb byte es:[edi], al
call fcn.004066b3
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.D:BuildProductMUpdate2.0_building_buildAhnLabProductSUpdateMUpdate2.0TrunkSrcAutoupSrcPdList.cpp
mov ebx, str.data
push dword [ebp - 0x18]
lea eax, [ebp - 0x58]
push 0x44e800
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.00406bba
add esp, 0x18
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.00406a8d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00406733
lea ecx, [ebp + 0xc]
call fcn.00406a8a
push eax
call fcn.0040587f
lea eax, [ebp + 0xc]
push ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00406bba
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00406a8a
push eax
call fcn.0040587f
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00406733
push dword [0x45177c]
push dword [ebp + 8]
call edi
test eax, eax
je 0x41932d
push dword [0x451780]
push dword [ebp + 8]
call edi
test eax, eax
je 0x41932d
push dword [0x451784]
push dword [ebp + 8]
call edi
test eax, eax
jne 0x419357
lea eax, [ebp + 0xc]
push ebx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00406bba
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.00406a8d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00406733
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.00406cdd
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.00406a8d
lea ecx, [ebp + 0xc]
call fcn.00406a8a
push eax
lea ecx, [ebp - 0x20]
call fcn.00406a8a
push eax
push str._Autoup__CPdList::CopyEngineSZ_Source__Destination___CopyEngine__s___s_
push 1
call fcn.00408bf4
add esp, 0x10
lea ecx, [ebp + 0xc]
push 0
call fcn.00406a8a
push eax
lea ecx, [ebp - 0x20]
call fcn.00406a8a
push eax
call fcn.00405c75
add esp, 0xc
test eax, eax
jne 0x4193dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8de
push esi
push str._Autoup___s:_d___CPdList::CopyEngineSZ__rCopyFile____GetLastError___d_
push 1
call fcn.00408bf4
add esp, 0x14
inc dword [ebp - 0x18]
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x64
jl 0x419284
jmp 0x4193fa
mov eax, dword [ebp - 0x30]
push 0
add eax, 0x850
lea ecx, [ebp + 0xc]
push eax
call fcn.00406a8a
push eax
push 0
call fcn.00405aed
add esp, 0x10
cmp dword [ebp - 0x1c], 0x64
jl 0x419420
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x8e8
push esi
push str._Autoup___s:_d___CPdList::CopyEngineSZ__Error_over_nNewest_LOOP__i:nNewest___d:_d_
push 1
call fcn.00408bf4
add esp, 0x18
jmp 0x419553
lea ecx, [ebp - 0x14]
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 edi, eax
lea eax, [ebp - 0x58]
push eax
push str._Autoup__CPdList::CopyEngineSZ__Dr_fSetEngineInfo_WritePrivateProfileString_Newest_:__s
push 1
call fcn.00408bf4
add esp, 0xc
test edi, edi
je 0x419466
push str._Autoup__CPdList::CopyEngineSZ__WritePrivateProfileString_:_SUCCESS
push 1
call fcn.00408bf4
pop ecx
pop ecx
jmp 0x419482
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8f5
push esi
push str._Autoup___s:_d___CPdList::CopyEngineSZ__WritePrivateProfileString__GetLastError___d_
push 1
call fcn.00408bf4
add esp, 0x14
lea eax, [ebp - 0x10]
push 0x44e390
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406bba
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.00406a8d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00406733
lea eax, [ebp - 0x198]
lea ecx, [ebp + 0xc]
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 0x41954c
test byte [ebp - 0x198], 0x10
je 0x41953c
cmp byte [ebp - 0x16c], 0x2e
je 0x41953c
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x41953c
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406bba
add esp, 0xc
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
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], 4
call fcn.00406733
lea eax, [ebp - 0x198]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x4194d0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00406733
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00406733
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00406733
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406733
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8