Function at 0x420240
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ad22
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x43b274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28c], ecx
lea eax, [ebp - 0x278]
push eax
call fcn.00409d50
add esp, 4
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x294], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x294]
call fcn.004137d0
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.00401800
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [ebp - 4], 3
push str.config.ini
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push str.ksoftktrashud.dat
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0
push str.ComponentNum
push str.Generic
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x28c]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0
push str.RcmdSoftNum
push str.Generic
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x28c]
mov dword [edx + 8], eax
mov word [ebp - 0x26c], 0
push 0x206
push 0
lea eax, [ebp - 0x26a]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0x103
lea ecx, [ebp - 0x26c]
push ecx
push 0
push str.can_clear_size
push str.scanres
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 4
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP80.dll_public:_bool___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::empty_void_const]
movzx eax, al
test eax, eax
jne 0x4203cd
lea ecx, [ebp - 0x48]
push ecx
call fcn.00420fa0
add esp, 4
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], edx
jmp 0x4203e1
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
cmp dword [ebp - 0x270], 0
jl 0x420451
jg 0x4203f8
cmp dword [ebp - 0x274], 0x12c00000
jb 0x420451
push 0
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call fcn.0041fb20
add esp, 0x10
mov dword [ebp - 0x298], eax
mov edx, dword [ebp - 0x298]
mov dword [ebp - 0x29c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x29c]
push eax
mov ecx, dword [ebp - 0x28c]
add ecx, 0xc
call fcn.00401820
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.00401800
lea ecx, [ebp - 0x280]
push ecx
call fcn.00409d50
add esp, 4
mov dword [ebp - 0x2a0], eax
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2a4]
push eax
mov ecx, dword [ebp - 0x28c]
add ecx, 0x14
call fcn.00401820
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x280]
call fcn.00401800
push str.drivergenius.exe
mov ecx, dword [ebp - 0x28c]
add ecx, 0x14
call fcn.00413b30
lea ecx, [ebp - 0x284]
push ecx
call fcn.00409d50
add esp, 4
mov dword [ebp - 0x2a8], eax
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2ac]
push eax
mov ecx, dword [ebp - 0x28c]
add ecx, 0x10
call fcn.00401820
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x284]
call fcn.00401800
push str.dghelper.exe
mov ecx, dword [ebp - 0x28c]
add ecx, 0x10
call fcn.00413b30
lea ecx, [ebp - 0x288]
push ecx
call fcn.00409d50
add esp, 4
mov dword [ebp - 0x2b0], eax
mov edx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2b4]
push eax
mov ecx, dword [ebp - 0x28c]
add ecx, 0x18
call fcn.00401820
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x288]
call fcn.00401800
push str.ksoftkcleaner.exe
mov ecx, dword [ebp - 0x28c]
add ecx, 0x18
call fcn.00413b30
mov ecx, dword [ebp - 0x28c]
add ecx, 0x14
call fcn.004137d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42058c
mov ecx, dword [ebp - 0x28c]
add ecx, 0x14
call fcn.004018e0
mov ecx, dword [ebp - 0x28c]
add ecx, 0x10
call fcn.004137d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4205b3
mov ecx, dword [ebp - 0x28c]
add ecx, 0x10
call fcn.004018e0
mov ecx, dword [ebp - 0x28c]
add ecx, 0x18
call fcn.004137d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4205da
mov ecx, dword [ebp - 0x28c]
add ecx, 0x18
call fcn.004018e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042279c
mov esp, ebp
pop ebp
ret