Function at 0x4198c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f560
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x46ab5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x1c]
call fcn.004068d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004068d0
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.upcfg.dat
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.004165b0
add esp, 8
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x50]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004027e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00401080
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00401080
push str.mainupcfg.dat
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x46b648
call fcn.0042fbf0
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x60]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x68]
push edx
lea ecx, [ebp - 0x24]
call fcn.004027e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.00401080
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00401080
push 0
lea ecx, [ebp - 0x24]
call fcn.0040f280
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
je 0x419a20
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1c]
call fcn.0040f280
push eax
push 0
push str.AutoReupdateDelayTime
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
jmp 0x419aee
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x1c]
call fcn.0040f280
push eax
push 0
push str.alertreboot
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x24]
call fcn.0040f280
push eax
push 0
push str.alertreboot
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x1c]
call fcn.0040f280
push eax
push 0
push str.forcereboot
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x24]
call fcn.0040f280
push eax
push 0
push str.forcereboot
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x24]
call fcn.0040f280
push eax
push 0
push str.AutoReupdateDelayTime
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp eax, dword [ebp - 0x28]
setne cl
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x30]
xor eax, eax
cmp edx, dword [ebp - 0x34]
setne al
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, 0x46b648
call fcn.0042fbb0
mov edx, dword [ebp - 0x20]
push edx
mov ecx, 0x46b648
call fcn.0042fb50
mov eax, dword [ebp - 0x14]
push eax
mov ecx, 0x46b648
call fcn.00430360
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push str.KHelper::LoadUpdateConfig_bAlertReboot:_d__groupupdate:_d__ReupdateForceReboot:_d__AutoReupdateDelayTime:_ds
push 0x46afbc
call fcn.00420980
add esp, 0x18
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401080
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret