Function at 0x100079f0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d80b
mov eax, dword fs:[0]
push eax
sub esp, 0x890
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x101ed6cc]
test ecx, ecx
jne 0x10007a47
push 4
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10007a3f
mov dword [ecx], vtable.CShareConfigManager.0
jmp 0x10007a41
xor ecx, ecx
mov dword [0x101ed6cc], ecx
mov eax, dword [ecx]
push 0x26
call dword [eax]
test eax, eax
jne 0x10007e75
push 0x206
push eax
mov word [ebp - 0x678], ax
lea eax, [ebp - 0x676]
push eax
call fcn.10098090
add esp, 0xc
call fcn.100066b0
cmp dword [eax + 0xb0], 8
lea ecx, [eax + 0x9c]
jb 0x10007a87
mov ecx, dword [ecx]
lea edx, [ebp - 0x678]
lea ecx, [ecx]
movzx eax, word [ecx]
mov word [edx], ax
lea ecx, [ecx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x10007a90
lea edi, [ebp - 0x678]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10007ab0
mov ecx, 6
mov esi, str.SCConfig.exe
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x678]
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x10007e75
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x266]
push eax
call fcn.10098090
add esp, 0xc
call fcn.100066b0
cmp dword [eax + 0xb0], 8
lea ecx, [eax + 0x9c]
jb 0x10007b15
mov ecx, dword [ecx]
lea edx, [ebp - 0x268]
jmp 0x10007b20
movzx eax, word [ecx]
mov word [edx], ax
lea ecx, [ecx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x10007b20
lea ecx, [ebp - 0x268]
add ecx, 0xfffffffe
lea ebx, [ebx]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10007b40
mov eax, dword [str.Config.ini]
mov dword [ecx], eax
mov eax, dword [0x101918ac]
mov dword [ecx + 4], eax
mov eax, dword [0x101918b0]
mov dword [ecx + 8], eax
mov eax, dword [0x101918b4]
mov dword [ecx + 0xc], eax
mov eax, dword [0x101918b8]
mov dword [ecx + 0x10], eax
mov ax, word [0x101918bc]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x268]
push eax
call esi
test eax, eax
je 0x10007e75
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x268]
push eax
push 0
push str.IsCancelMiNiNews
push str.Setting
call edi
cmp eax, 1
je 0x10007e75
call fcn.100066b0
add eax, 0xe4
cmp dword [eax + 0x14], 8
jb 0x10007bc4
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x898]
call fcn.10004410
mov dword [ebp - 4], 0
cmp dword [ebp - 0x884], 8
lea eax, [ebp - 0x898]
cmovae eax, dword [ebp - 0x898]
push eax
call esi
test eax, eax
je 0x10007e6a
call fcn.1000cc80
mov esi, eax
call fcn.1000d960
add eax, 0xfffff9c0
cmp eax, 0xc8
ja 0x10007c9e
cmp dword [ebp - 0x884], 8
lea ecx, [ebp - 0x898]
cmovae ecx, dword [ebp - 0x898]
push ecx
push 0
push str.MiNiFramePopHourData
push str.Setting
call edi
cmp eax, esi
je 0x10007e6a
xor eax, eax
xorps xmm0, xmm0
push esi
mov word [ebp - 0x60], ax
mov dword [ebp - 0x3e], eax
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x60]
push 0x10191a90
push eax
movq qword [ebp - 0x5e], xmm0
movq qword [ebp - 0x56], xmm0
movq qword [ebp - 0x4e], xmm0
movq qword [ebp - 0x46], xmm0
call fcn.10091da4
add esp, 0xc
cmp dword [ebp - 0x884], 8
lea eax, [ebp - 0x898]
cmovae eax, dword [ebp - 0x898]
push eax
lea eax, [ebp - 0x60]
push eax
push str.MiNiFramePopHourData
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x10007cc9
cmp dword [ebp - 0x884], 8
lea eax, [ebp - 0x898]
cmovae eax, dword [ebp - 0x898]
push eax
push 0
push str.MiNiFramePopLocalDate
push str.Setting
call edi
cmp eax, esi
je 0x10007e6a
xor eax, eax
xorps xmm0, xmm0
push esi
mov word [ebp - 0x38], ax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x38]
push 0x10191a90
push eax
movq qword [ebp - 0x36], xmm0
movq qword [ebp - 0x2e], xmm0
movq qword [ebp - 0x26], xmm0
movq qword [ebp - 0x1e], xmm0
call fcn.10091da4
add esp, 0xc
cmp dword [ebp - 0x884], 8
lea eax, [ebp - 0x898]
cmovae eax, dword [ebp - 0x898]
push eax
lea eax, [ebp - 0x38]
push eax
push str.MiNiFramePopLocalDate
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x880], ax
lea eax, [ebp - 0x87e]
push eax
call fcn.10098090
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x470], ax
lea eax, [ebp - 0x46e]
push eax
call fcn.10098090
add esp, 0xc
call fcn.100066b0
mov ecx, eax
call fcn.10003d10
lea edx, [ebp - 0x880]
sub edx, eax
jmp 0x10007d80
movzx ecx, word [eax]
mov word [edx + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x10007d80
lea ecx, [ebp - 0x880]
add ecx, 0xfffffffe
jmp 0x10007da0
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10007da0
mov eax, dword [str.SCTool.exe]
mov dword [ecx], eax
mov eax, dword [0x10191b28]
mov dword [ecx + 4], eax
mov eax, dword [0x10191b2c]
mov dword [ecx + 8], eax
mov eax, dword [0x10191b30]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10191b34]
mov dword [ecx + 0x10], eax
mov ax, word [0x10191b38]
lea edi, [ebp - 0x470]
mov word [ecx + 0x14], ax
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10007de6
mov eax, dword [0x10191b3c]
lea edx, [ebp - 0x880]
mov dword [edi], eax
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10007e01
lea edi, [ebp - 0x470]
sub edx, esi
add edi, 0xfffffffe
jmp 0x10007e20
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10007e20
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 edi, [ebp - 0x470]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10007e43
lea eax, [ebp - 0x470]
mov ecx, 0xe
mov esi, 0x10191b40
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1000df70
add esp, 4
lea ecx, [ebp - 0x898]
call fcn.10004470
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret