Function at 0x10031bb2
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x7e0]
sub esp, 0x860
mov eax, dword [0x1011ac70]
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 0x10031f06
cmp dword [eax + 0x858], ecx
jne 0x10031f06
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.10072750
add esp, 0xc
call fcn.10004c83
mov ecx, eax
call fcn.1001a66b
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10072c5d
lea eax, [ebp - 0x58]
push str.Config.ini
push eax
call fcn.10072c33
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 0x10031f03
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.10004c83
mov ecx, eax
call fcn.1001a6c0
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 0x10031cb0
cmp eax, 0xffffffff
jne 0x10031d51
push 0x11
push 8
call fcn.1001ce61
and word [ebp + 0x5c0], 0
push edi
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x5c2]
push 0
push eax
call fcn.10072750
push dword [ebp - 0x60]
lea eax, [ebp + 0x5c0]
push 0x100d52e4
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.1001ce61
and word [ebp + 0x3b8], 0
push edi
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x3ba]
push 0
push eax
call fcn.10072750
push dword [ebp - 0x60]
lea eax, [ebp + 0x3b8]
push 0x100d52e4
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 0x10031f03
dec ecx
cmp ecx, dword [ebp - 0x70]
jne 0x10031d81
movzx ecx, word [ebp - 0x78]
cmp ecx, dword [ebp - 0x64]
jne 0x10031d7b
movzx ecx, word [ebp - 0x76]
cmp ecx, eax
jl 0x10031f03
jmp 0x10031d81
jle 0x10031f03
and word [ebp + 0x1b0], 0
push edi
lea eax, [ebp + 0x1b2]
push 0
push eax
call fcn.10072750
and word [ebp + 0x3b8], 0
push edi
lea eax, [ebp + 0x3ba]
push 0
push eax
call fcn.10072750
and word [ebp + 0x5c0], 0
push edi
lea eax, [ebp + 0x5c2]
push 0
push eax
call fcn.10072750
add esp, 0x24
call fcn.10004c83
mov ecx, eax
call fcn.1001a66b
push eax
lea eax, [ebp + 0x5c0]
push eax
call fcn.10072c5d
lea eax, [ebp + 0x5c0]
push str.DFUpd.exe
push eax
call fcn.10072c33
lea eax, [ebp + 0x1b0]
push 0x100d89dc
push eax
call fcn.10072c33
lea eax, [ebp + 0x5c0]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.10072c33
lea eax, [ebp + 0x1b0]
push 0x100d8a88
push eax
call fcn.10072c33
add esp, 0x28
cmp dword [ebp - 0x6c], 1
jne 0x10031e38
push str.RunPrompt
jmp 0x10031e4a
cmp dword [ebp - 0x6c], 2
jne 0x10031e45
push str.RunAuto
jmp 0x10031e4a
push 0x10102f18
lea eax, [ebp + 0x3b8]
push eax
call fcn.10072c5d
pop ecx
pop ecx
lea eax, [ebp + 0x3b8]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.10072c33
pop ecx
pop ecx
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp + 0x5c0]
push eax
call fcn.1001d953
test eax, eax
pop ecx
je 0x10031e98
mov ecx, dword [ebp - 0x68]
lea eax, [ebp + 0x1b0]
push eax
call fcn.100338b8
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 0x100d52e4
push eax
call fcn.100048d5
add esp, 0xc
push dword [ebp - 0x5c]
mov edi, 0x100de4f8
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.10071fee
add ebp, 0x7e0
leave
ret