Function at 0x10007e90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d8db
mov eax, dword fs:[0]
push eax
sub esp, 0x664
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x10007ef5
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10007eed
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x10007eef
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push 0x85
call dword [eax]
mov dword [ebp - 0x670], eax
test eax, eax
je 0x10008377
call fcn.100066b0
add eax, 0x3c
cmp dword [eax + 0x14], 8
jb 0x10007f1c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x658]
call fcn.10004410
push 6
push str.Config
lea ecx, [ebp - 0x658]
mov dword [ebp - 4], 0
call fcn.10004660
push 1
push 0x101917d8
lea ecx, [ebp - 0x658]
call fcn.10004660
push 0xe
push str.UseVestige.ini
lea ecx, [ebp - 0x658]
call fcn.10004660
cmp dword [ebp - 0x644], 8
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ebx, [ebp - 0x658]
cmovae ebx, dword [ebp - 0x658]
push ebx
push 0xffffffffffffffff
push str.LastUpdDay
push str.Setting
call esi
push ebx
push 0xffffffffffffffff
push str.SoftUpdHour
push str.Setting
mov dword [ebp - 0x66c], eax
call esi
push ebx
push 0xffffffffffffffff
push str.SoftUpdMinute
push str.Setting
mov edi, eax
call esi
mov esi, eax
cmp edi, 0xffffffff
je 0x10007fc4
cmp esi, 0xffffffff
jne 0x1000809f
push 0
call fcn.100959b2
add esp, 4
push eax
call fcn.10095064
add esp, 4
call fcn.10095041
cdq
mov ecx, 0xa
idiv ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x436]
push eax
lea edi, [edx + 8]
call fcn.10098090
add esp, 0xc
lea eax, [ebp - 0x438]
push edi
push 0x10191a90
push eax
call fcn.10091da4
add esp, 0xc
lea eax, [ebp - 0x438]
push ebx
push eax
push str.SoftUpdHour
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0
call fcn.100959b2
add esp, 4
push eax
call fcn.10095064
add esp, 4
call fcn.10095041
cdq
mov ecx, 0x3d
idiv ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x22e]
push eax
mov esi, edx
call fcn.10098090
add esp, 0xc
lea eax, [ebp - 0x230]
push esi
push 0x10191a90
push eax
call fcn.10091da4
add esp, 0xc
lea eax, [ebp - 0x230]
push ebx
push eax
push str.SoftUpdMinute
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
movzx eax, word [ebp - 0x662]
mov ecx, dword [ebp - 0x66c]
cmp ecx, eax
je 0x10008360
dec eax
cmp eax, ecx
jne 0x100080db
movzx eax, word [ebp - 0x660]
cmp eax, edi
jne 0x100080d5
movzx eax, word [ebp - 0x65e]
cmp eax, esi
jl 0x10008360
jmp 0x100080db
jle 0x10008360
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x640], ax
lea eax, [ebp - 0x63e]
push eax
call fcn.10098090
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x22e]
push eax
call fcn.10098090
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x436]
push eax
call fcn.10098090
add esp, 0xc
call fcn.100066b0
cmp dword [eax + 0xb0], 8
lea ecx, [eax + 0x9c]
jb 0x1000814b
mov ecx, dword [ecx]
lea edx, [ebp - 0x438]
movzx eax, word [ecx]
mov word [edx], ax
lea ecx, [ecx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x10008151
lea ecx, [ebp - 0x438]
add ecx, 0xfffffffe
jmp 0x10008170
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10008170
mov eax, dword [str.SCUpd.exe]
mov dword [ecx], eax
mov eax, dword [0x10191bc8]
mov dword [ecx + 4], eax
mov eax, dword [0x10191bcc]
mov dword [ecx + 8], eax
mov eax, dword [0x10191bd0]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10191bd4]
lea edi, [ebp - 0x640]
mov dword [ecx + 0x10], eax
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x100081b0
mov eax, dword [0x10191b3c]
lea edx, [ebp - 0x438]
mov dword [edi], eax
mov esi, edx
jmp 0x100081d0
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100081d0
lea edi, [ebp - 0x640]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100081e6
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x640]
add ecx, 0xfffffffe
lea esp, [esp]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10008210
mov eax, dword [0x10191bd8]
mov dword [ecx], eax
mov ax, word [0x10191bdc]
mov word [ecx + 4], ax
mov eax, dword [ebp - 0x670]
xor ecx, ecx
cmp eax, 1
jne 0x10008259
lea ebx, [ebx]
movzx eax, word [ecx + str.RunPrompt]
mov word [ebp + ecx - 0x230], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10008240
jmp 0x10008297
cmp eax, 2
jne 0x10008280
mov edi, edi
movzx eax, word [ecx + str.RunAuto]
mov word [ebp + ecx - 0x230], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10008260
jmp 0x10008297
movzx eax, word [ecx + 0x10199228]
mov word [ebp + ecx - 0x230], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10008280
lea edx, [ebp - 0x230]
mov esi, edx
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100082a0
lea edi, [ebp - 0x640]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100082b6
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 0x7d0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x438]
call fcn.1000e830
test eax, eax
je 0x100082f5
lea ecx, [ebp - 0x640]
call fcn.1000dfc0
xor eax, eax
mov word [ebp - 0x24], ax
mov word [ebp - 0x12], ax
movzx eax, word [ebp - 0x662]
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
push 0x10191a90
push eax
movq qword [ebp - 0x22], xmm0
movq qword [ebp - 0x1a], xmm0
call fcn.10091da4
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
push ebx
push 0x10191c04
push str.SoftUpdHour
push str.Setting
call esi
push ebx
push 0x10191c04
push str.SoftUpdMinute
push str.Setting
call esi
push ebx
lea eax, [ebp - 0x24]
push eax
push str.LastUpdDay
push str.Setting
call esi
cmp dword [ebp - 0x644], 8
jb 0x10008377
push dword [ebp - 0x658]
call fcn.10091747
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret