Function at 0x10032e42
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x7e0]
sub esp, 0x860
mov eax, dword [0x101f1dd0]
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 0x10033196
cmp dword [eax + 0x858], ecx
jne 0x10033196
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.10076580
add esp, 0xc
call fcn.10004cf1
mov ecx, eax
call fcn.1001b43a
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10076a8d
lea eax, [ebp - 0x58]
push str.Config.ini
push eax
call fcn.10076a63
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 0x10033193
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.10004cf1
mov ecx, eax
call fcn.1001b47e
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 0x10032f40
cmp eax, 0xffffffff
jne 0x10032fe1
push 0x11
push 8
call fcn.1001dbea
and word [ebp + 0x5c0], 0
push edi
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x5c2]
push 0
push eax
call fcn.10076580
push dword [ebp - 0x60]
lea eax, [ebp + 0x5c0]
push 0x10174330
push eax
call fcn.100048d5
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.1001dbea
and word [ebp + 0x3b8], 0
push edi
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x3ba]
push 0
push eax
call fcn.10076580
push dword [ebp - 0x60]
lea eax, [ebp + 0x3b8]
push 0x10174330
push eax
call fcn.100048d5
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 0x10033193
dec ecx
cmp ecx, dword [ebp - 0x70]
jne 0x10033011
movzx ecx, word [ebp - 0x78]
cmp ecx, dword [ebp - 0x64]
jne 0x1003300b
movzx ecx, word [ebp - 0x76]
cmp ecx, eax
jl 0x10033193
jmp 0x10033011
jle 0x10033193
and word [ebp + 0x1b0], 0
push edi
lea eax, [ebp + 0x1b2]
push 0
push eax
call fcn.10076580
and word [ebp + 0x3b8], 0
push edi
lea eax, [ebp + 0x3ba]
push 0
push eax
call fcn.10076580
and word [ebp + 0x5c0], 0
push edi
lea eax, [ebp + 0x5c2]
push 0
push eax
call fcn.10076580
add esp, 0x24
call fcn.10004cf1
mov ecx, eax
call fcn.1001b43a
push eax
lea eax, [ebp + 0x5c0]
push eax
call fcn.10076a8d
lea eax, [ebp + 0x5c0]
push str.SCUpd.exe
push eax
call fcn.10076a63
lea eax, [ebp + 0x1b0]
push 0x10178204
push eax
call fcn.10076a63
lea eax, [ebp + 0x5c0]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.10076a63
lea eax, [ebp + 0x1b0]
push 0x101782b0
push eax
call fcn.10076a63
add esp, 0x28
cmp dword [ebp - 0x6c], 1
jne 0x100330c8
push str.RunPrompt
jmp 0x100330da
cmp dword [ebp - 0x6c], 2
jne 0x100330d5
push str.RunAuto
jmp 0x100330da
push 0x101d87ec
lea eax, [ebp + 0x3b8]
push eax
call fcn.10076a8d
pop ecx
pop ecx
lea eax, [ebp + 0x3b8]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.10076a63
pop ecx
pop ecx
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp + 0x5c0]
push eax
call fcn.1001e745
test eax, eax
pop ecx
je 0x10033128
mov ecx, dword [ebp - 0x68]
lea eax, [ebp + 0x1b0]
push eax
call fcn.10032a8f
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 0x10174330
push eax
call fcn.100048d5
add esp, 0xc
push dword [ebp - 0x5c]
mov edi, 0x1017daa8
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.10075e13
add ebp, 0x7e0
leave
ret