Function at 0x1003b577
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x7e0]
sub esp, 0x860
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x7dc], eax
mov eax, ecx
mov edx, dword [eax + 0x884]
xor ecx, ecx
cmp dword [edx + 0x224], ecx
mov dword [ebp - 0x68], eax
je 0x1003b8cb
cmp dword [eax + 0x858], ecx
jne 0x1003b8cb
push ebx
push esi
push edi
mov edi, 0x206
push edi
push ecx
lea eax, [ebp - 0x56]
push eax
mov word [ebp - 0x58], cx
call fcn.10085bc0
add esp, 0xc
call fcn.100052f9
mov ecx, eax
call fcn.10019925
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100860cd
lea eax, [ebp - 0x58]
push str.Config.ini
push eax
call fcn.100860a3
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0x10
lea eax, [ebp - 0x58]
push eax
push 2
push str.ApplicationUpdate
mov esi, str.Setting
push esi
call ebx
test eax, eax
mov dword [ebp - 0x6c], eax
je 0x1003b8c8
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.100052f9
mov ecx, eax
call fcn.10019985
push eax
push 0xffffffffffffffff
push str.LastUpdDay
push esi
mov dword [ebp - 0x5c], eax
call ebx
push dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
push 0xffffffffffffffff
push str.SoftUpdHour
push esi
call ebx
push dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
push 0xffffffffffffffff
push str.SoftUpdMinute
push esi
call ebx
cmp dword [ebp - 0x64], 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
je 0x1003b675
cmp eax, 0xffffffff
jne 0x1003b716
push 0x11
push 8
call fcn.1001c41d
and word [ebp + 0x5c0], 0
push edi
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x5c2]
push 0
push eax
call fcn.10085bc0
push dword [ebp - 0x60]
lea eax, [ebp + 0x5c0]
push 0x10186370
push eax
call fcn.10004df5
add esp, 0x20
push dword [ebp - 0x5c]
lea eax, [ebp + 0x5c0]
push eax
push str.SoftUpdHour
push esi
call ebx
mov eax, dword [ebp - 0x60]
push 0x3c
push 0
mov dword [ebp - 0x64], eax
call fcn.1001c41d
and word [ebp + 0x3b8], 0
push edi
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x3ba]
push 0
push eax
call fcn.10085bc0
push dword [ebp - 0x60]
lea eax, [ebp + 0x3b8]
push 0x10186370
push eax
call fcn.10004df5
add esp, 0x20
push dword [ebp - 0x5c]
lea eax, [ebp + 0x3b8]
push eax
push str.SoftUpdMinute
push esi
call ebx
mov eax, dword [ebp - 0x60]
movzx ecx, word [ebp - 0x7a]
cmp dword [ebp - 0x70], ecx
je 0x1003b8c8
dec ecx
cmp ecx, dword [ebp - 0x70]
jne 0x1003b746
movzx ecx, word [ebp - 0x78]
cmp ecx, dword [ebp - 0x64]
jne 0x1003b740
movzx ecx, word [ebp - 0x76]
cmp ecx, eax
jl 0x1003b8c8
jmp 0x1003b746
jle 0x1003b8c8
and word [ebp + 0x1b0], 0
push edi
lea eax, [ebp + 0x1b2]
push 0
push eax
call fcn.10085bc0
and word [ebp + 0x3b8], 0
push edi
lea eax, [ebp + 0x3ba]
push 0
push eax
call fcn.10085bc0
and word [ebp + 0x5c0], 0
push edi
lea eax, [ebp + 0x5c2]
push 0
push eax
call fcn.10085bc0
add esp, 0x24
call fcn.100052f9
mov ecx, eax
call fcn.10019925
push eax
lea eax, [ebp + 0x5c0]
push eax
call fcn.100860cd
lea eax, [ebp + 0x5c0]
push str.SCWBUpd.exe
push eax
call fcn.100860a3
lea eax, [ebp + 0x1b0]
push 0x10189190
push eax
call fcn.100860a3
lea eax, [ebp + 0x5c0]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.100860a3
lea eax, [ebp + 0x1b0]
push 0x10189240
push eax
call fcn.100860a3
add esp, 0x28
cmp dword [ebp - 0x6c], 1
jne 0x1003b7fd
push str.RunPrompt
jmp 0x1003b80f
cmp dword [ebp - 0x6c], 2
jne 0x1003b80a
push str.RunAuto
jmp 0x1003b80f
push 0x101ebf0c
lea eax, [ebp + 0x3b8]
push eax
call fcn.100860cd
pop ecx
pop ecx
lea eax, [ebp + 0x3b8]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.100860a3
pop ecx
pop ecx
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp + 0x5c0]
push eax
call fcn.1001ccc4
test eax, eax
pop ecx
je 0x1003b85d
mov ecx, dword [ebp - 0x68]
lea eax, [ebp + 0x1b0]
push eax
call fcn.1003d563
and word [ebp + 0x7c8], 0
xor eax, eax
lea edi, [ebp + 0x7ca]
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 - 0x7a]
push eax
lea eax, [ebp + 0x7c8]
push 0x10186370
push eax
call fcn.10004df5
add esp, 0xc
push dword [ebp - 0x5c]
mov edi, 0x1018fe5c
push edi
push str.SoftUpdHour
push esi
call ebx
push dword [ebp - 0x5c]
push edi
push str.SoftUpdMinute
push esi
call ebx
push dword [ebp - 0x5c]
lea eax, [ebp + 0x7c8]
push eax
push str.LastUpdDay
push esi
call ebx
mov eax, dword [ebp - 0x68]
mov dword [eax + 0x858], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7dc]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x7e0
leave
ret