Function at 0x421b4d
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x648
lea ebp, [esp - 4]
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp + 0x648], eax
push 0x24
mov eax, 0x4be440
call fcn.004603b7
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.00406689
mov edx, dword [eax]
push 0x66
mov ecx, eax
call dword [edx]
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x421e6d
call fcn.00404dc4
mov ecx, eax
call fcn.0042a6e0
push eax
lea ecx, [ebp]
call fcn.00401130
and dword [ebp - 4], 0
push str.Config
lea ecx, [ebp]
call fcn.00401f50
push 0x4df450
lea ecx, [ebp]
call fcn.00401f50
push str.UseVestige.ini
lea ecx, [ebp]
call fcn.00401f50
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x421bdf
lea eax, [ebp + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xffffffffffffffff
push str.LastUpdDay
mov esi, str.Setting
push esi
mov dword [ebp - 0x10], eax
call ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
push str.SoftUpdHour
push esi
call ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
push str.SoftUpdMinute
push esi
call ebx
cmp dword [ebp - 0x18], 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, 0x206
je 0x421c32
cmp eax, 0xffffffff
jne 0x421cd3
push 0x11
push 8
call fcn.0042d3be
and word [ebp + 0x42c], 0
push edi
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x42e]
push 0
push eax
call fcn.0045fa70
push dword [ebp - 0x14]
lea eax, [ebp + 0x42c]
push 0x4c4cf4
push eax
call fcn.00460936
add esp, 0x20
push dword [ebp - 0x10]
lea eax, [ebp + 0x42c]
push eax
push str.SoftUpdHour
push esi
call ebx
mov eax, dword [ebp - 0x14]
push 0x3c
push 0
mov dword [ebp - 0x18], eax
call fcn.0042d3be
and word [ebp + 0x224], 0
push edi
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x226]
push 0
push eax
call fcn.0045fa70
push dword [ebp - 0x14]
lea eax, [ebp + 0x224]
push 0x4c4cf4
push eax
call fcn.00460936
add esp, 0x20
push dword [ebp - 0x10]
lea eax, [ebp + 0x224]
push eax
push str.SoftUpdMinute
push esi
call ebx
mov eax, dword [ebp - 0x14]
movzx ecx, word [ebp - 0x2a]
cmp dword [ebp - 0x20], ecx
je 0x421e61
dec ecx
cmp ecx, dword [ebp - 0x20]
jne 0x421d03
movzx ecx, word [ebp - 0x28]
cmp ecx, dword [ebp - 0x18]
jne 0x421cfd
movzx ecx, word [ebp - 0x26]
cmp ecx, eax
jl 0x421e61
jmp 0x421d03
jle 0x421e61
and word [ebp + 0x1c], 0
push edi
lea eax, [ebp + 0x1e]
push 0
push eax
call fcn.0045fa70
and word [ebp + 0x224], 0
push edi
lea eax, [ebp + 0x226]
push 0
push eax
call fcn.0045fa70
and word [ebp + 0x42c], 0
push edi
lea eax, [ebp + 0x42e]
push 0
push eax
call fcn.0045fa70
add esp, 0x24
call fcn.00404dc4
mov ecx, eax
call fcn.0042a6b8
push eax
lea eax, [ebp + 0x42c]
push eax
call fcn.0045fd44
lea eax, [ebp + 0x42c]
push str.SCUpd.exe
push eax
call fcn.0045fd1a
lea eax, [ebp + 0x1c]
push 0x4c6d40
push eax
call fcn.0045fd1a
lea eax, [ebp + 0x42c]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0045fd1a
lea eax, [ebp + 0x1c]
push 0x4c9494
push eax
call fcn.0045fd1a
add esp, 0x28
cmp dword [ebp - 0x1c], 1
jne 0x421dab
push str.RunPrompt
jmp 0x421dbd
cmp dword [ebp - 0x1c], 2
jne 0x421db8
push str.RunAuto
jmp 0x421dbd
push 0x4df45c
lea eax, [ebp + 0x224]
push eax
call fcn.0045fd44
pop ecx
pop ecx
lea eax, [ebp + 0x224]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0045fd1a
pop ecx
pop ecx
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp + 0x42c]
push eax
call fcn.0042cf83
test eax, eax
pop ecx
je 0x421e03
lea eax, [ebp + 0x1c]
push eax
call fcn.0042c6af
pop ecx
and word [ebp + 0x634], 0
xor eax, eax
lea edi, [ebp + 0x636]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, word [ebp - 0x2a]
push eax
lea eax, [ebp + 0x634]
push 0x4c4cf4
push eax
call fcn.00460936
add esp, 0xc
push dword [ebp - 0x10]
mov edi, 0x4c9468
push edi
push str.SoftUpdHour
push esi
call ebx
push dword [ebp - 0x10]
push edi
push str.SoftUpdMinute
push esi
call ebx
push dword [ebp - 0x10]
lea eax, [ebp + 0x634]
push eax
push str.LastUpdDay
push esi
call ebx
push 0
push 1
lea ecx, [ebp]
call fcn.00401330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x648]
xor ecx, ebp
call fcn.0045fa14
add ebp, 0x64c
leave
ret