Function at 0x411b60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10cc
call fcn.004b0330
mov eax, dword [0x5a6900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x24], 0
je 0x411b8b
jmp 0x41203d
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea eax, [ebp - 0x210]
push eax
call fcn.00404220
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
xor eax, eax
mov word [ebp - 0x418], ax
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.004af7a7
add esp, 8
push 0x54c030
lea eax, [ebp - 0x418]
push eax
call fcn.004af779
add esp, 8
mov dword [ebp - 0x41c], 1
xor eax, eax
mov word [ebp - 0x624], ax
push 0x206
push 0
lea eax, [ebp - 0x622]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push str._sSoftApp.ini
lea ecx, [ebp - 0x624]
push ecx
call fcn.0040fa70
add esp, 0xc
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x624]
push eax
push 0xffffffffffffffff
push str.LastUpdDay
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x638], eax
lea eax, [ebp - 0x624]
push eax
push 0xffffffffffffffff
push str.SoftUpdHour
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x624]
push eax
push 0xffffffffffffffff
push str.SoftUpdMinute
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x640], eax
mov dword [ebp - 0x644], 0
cmp dword [ebp - 0x63c], 0xffffffff
je 0x411ccd
cmp dword [ebp - 0x640], 0xffffffff
jne 0x411db9
push 0x11
push 8
mov ecx, dword [ebp - 8]
call fcn.004130b0
mov dword [ebp - 0x648], eax
xor eax, eax
mov word [ebp - 0x850], ax
push 0x206
push 0
lea eax, [ebp - 0x84e]
push eax
call fcn.004af7d0
add esp, 0xc
mov eax, dword [ebp - 0x648]
push eax
push 0x54bfcc
lea ecx, [ebp - 0x850]
push ecx
call fcn.0040fa70
add esp, 0xc
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x850]
push ecx
push str.SoftUpdHour
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x648]
mov dword [ebp - 0x63c], eax
push 0x3c
push 0
mov ecx, dword [ebp - 8]
call fcn.004130b0
mov dword [ebp - 0x648], eax
xor eax, eax
mov word [ebp - 0xa58], ax
push 0x206
push 0
lea eax, [ebp - 0xa56]
push eax
call fcn.004af7d0
add esp, 0xc
mov eax, dword [ebp - 0x648]
push eax
push 0x54bfcc
lea ecx, [ebp - 0xa58]
push ecx
call fcn.0040fa70
add esp, 0xc
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0xa58]
push ecx
push str.SoftUpdMinute
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x648]
mov dword [ebp - 0x640], eax
movzx eax, word [ebp - 0x62e]
cmp dword [ebp - 0x638], eax
jne 0x411dcd
jmp 0x41203d
mov dword [ebp - 0xa5c], 0
movzx eax, word [ebp - 0x62e]
sub eax, 1
mov dword [ebp - 0xa60], eax
mov eax, dword [ebp - 0xa60]
cmp eax, dword [ebp - 0x638]
jne 0x411dff
mov dword [ebp - 0xa5c], 1
cmp dword [ebp - 0xa5c], 0
jne 0x411e14
mov dword [ebp - 0x644], 1
jmp 0x411e57
movzx eax, word [ebp - 0x62c]
cmp eax, dword [ebp - 0x63c]
jne 0x411e3e
movzx eax, word [ebp - 0x62a]
cmp eax, dword [ebp - 0x640]
jl 0x411e3c
mov dword [ebp - 0x644], 1
jmp 0x411e57
movzx eax, word [ebp - 0x62c]
cmp eax, dword [ebp - 0x63c]
jle 0x411e57
mov dword [ebp - 0x644], 1
cmp dword [ebp - 0x644], 0
je 0x41203d
xor eax, eax
mov word [ebp - 0xc68], ax
push 0x206
push 0
lea eax, [ebp - 0xc66]
push eax
call fcn.004af7d0
add esp, 0xc
xor eax, eax
mov word [ebp - 0xe70], ax
push 0x206
push 0
lea eax, [ebp - 0xe6e]
push eax
call fcn.004af7d0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x1078], ax
push 0x206
push 0
lea eax, [ebp - 0x1076]
push eax
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x1078]
push ecx
call fcn.004af7a7
add esp, 8
push str.SoftUpd.exe
lea eax, [ebp - 0x1078]
push eax
call fcn.004af779
add esp, 8
push 0x54bbb4
lea eax, [ebp - 0xc68]
push eax
call fcn.004af779
add esp, 8
lea eax, [ebp - 0x1078]
push eax
lea ecx, [ebp - 0xc68]
push ecx
call fcn.004af779
add esp, 8
push 0x54bfac
lea eax, [ebp - 0xc68]
push eax
call fcn.004af779
add esp, 8
cmp dword [ebp - 0x41c], 1
jne 0x411f48
push str._noprompt
lea eax, [ebp - 0xe70]
push eax
call fcn.004af7a7
add esp, 8
jmp 0x411f67
cmp dword [ebp - 0x41c], 2
jne 0x411f53
jmp 0x411f67
push 0x54a628
lea eax, [ebp - 0xe70]
push eax
call fcn.004af7a7
add esp, 8
lea eax, [ebp - 0xe70]
push eax
lea ecx, [ebp - 0xc68]
push ecx
call fcn.004af779
add esp, 8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0xc68]
push eax
mov ecx, dword [ebp - 8]
call fcn.00413120
xor eax, eax
mov word [ebp - 0x108c], ax
xor eax, eax
mov dword [ebp - 0x108a], eax
mov dword [ebp - 0x1086], eax
mov dword [ebp - 0x1082], eax
mov dword [ebp - 0x107e], eax
mov word [ebp - 0x107a], ax
movzx eax, word [ebp - 0x62e]
push eax
push 0x54bfcc
lea ecx, [ebp - 0x108c]
push ecx
call fcn.0040fa70
add esp, 0xc
lea eax, [ebp - 0x624]
push eax
push 0x54bf90
push str.SoftUpdHour
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x624]
push eax
push 0x54bf90
push str.SoftUpdMinute
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x108c]
push ecx
push str.LastUpdDay
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 8]
mov dword [eax + 0x24], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af76a
mov esp, ebp
pop ebp
ret