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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100978b7
mov eax, dword fs:[0]
push eax
sub esp, 0x52c
mov eax, dword [0x100de66c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
call fcn.10012c40
test eax, eax
jne 0x1001310a
call fcn.100331e0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100130f5
push 0x4b
push 0x100abeb0
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], 0xf
mov byte [ebp - 0x454], al
call fcn.10009d20
push 3
push 0x100abefc
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0xf
mov byte [ebp - 0x43c], 0
call fcn.10009d20
mov byte [ebp - 4], 1
call fcn.100331e0
mov edi, eax
lea ecx, [ebp - 0xac]
push 0xd7
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.10003fe0
mov esi, eax
push 0x100abf00
push esi
mov byte [ebp - 4], 2
call fcn.10002f30
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xac]
call fcn.10005390
lea ecx, [ebp - 0x43c]
call fcn.10004b20
lea ecx, [ebp - 0x454]
mov dword [ebp - 4], 0xffffffff
call fcn.10004b20
push 0
push 0
push 1
push str.ex_ary_type_5ex_ary_app_wechat
push 0x100abf54
jmp 0x100138b2
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10070b90
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push dword [0x100e324c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x21c]
push eax
call esi
lea eax, [ebp - 0x21c]
push eax
call esi
push 0x100a9f64
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call fcn.100365f0
add esp, 4
test eax, eax
je 0x100137bd
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100137bd
push dword [edi + 0x2c]
push 0
push 0x100ac0d0
push 0x100ac0e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x100132a5
call fcn.100331e0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10013290
push 0x4b
push 0x100ac0f8
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], 0xf
mov byte [ebp - 0x43c], al
call fcn.10009d20
push 3
push 0x100ac144
lea ecx, [ebp - 0x454]
mov dword [ebp - 4], 6
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0xf
mov byte [ebp - 0x454], 0
call fcn.10009d20
mov byte [ebp - 4], 7
call fcn.100331e0
mov edi, eax
lea ecx, [ebp - 0xac]
push 0xe8
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.10003fe0
mov esi, eax
push 0x100ac148
push esi
mov byte [ebp - 4], 8
call fcn.10002f30
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xac]
call fcn.10005390
lea ecx, [ebp - 0x454]
call fcn.10004b20
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0xffffffff
call fcn.10004b20
push 0
push 0
push 1
push str.ex_ary_type_3ex_ary_app_wechat
push 0x100ac1a4
jmp 0x100138b2
mov ecx, edi
call fcn.100106d0
cmp byte [edi + 0x2f0], 0
jne 0x100133b3
call fcn.100331e0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001339e
push 0x4b
push 0x100ac210
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], 0xf
mov byte [ebp - 0x43c], al
call fcn.10009d20
push 3
push 0x100ac25c
lea ecx, [ebp - 0x454]
mov dword [ebp - 4], 9
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0xf
mov byte [ebp - 0x454], 0
call fcn.10009d20
mov byte [ebp - 4], 0xa
call fcn.100331e0
mov edi, eax
lea ecx, [ebp - 0xac]
push 0xf0
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.10003fe0
mov esi, eax
push 0x100ac260
push esi
mov byte [ebp - 4], 0xb
call fcn.10002f30
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xac]
call fcn.10005390
lea ecx, [ebp - 0x454]
call fcn.10004b20
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0xffffffff
call fcn.10004b20
push 0
push 0
push 1
push str.ex_ary_type_1ex_ary_app_wechat
push 0x100ac310
jmp 0x100138b2
push 0x208
lea eax, [ebp - 0x424]
mov dword [ebp - 0x498], 0
push 0
push eax
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0
call fcn.10070b90
add esp, 0xc
lea eax, [ebp - 0x424]
push dword [edi + 0x2c]
push 0x104
push eax
push 0x100ac334
push 0x100ac338
push 0x100ac358
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x424], 0
je 0x100136d8
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x424]
push 0x100ac370
push eax
call fcn.10018780
add esp, 0x14
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x48c]
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [ebp - 0x490]
push dword [ebp - 0x494]
push dword [ebp - 0x498]
call fcn.1000fd90
push 0
call fcn.1007e978
add esp, 4
lea ecx, [ebp - 0x4a0]
mov esi, eax
mov ebx, edx
mov dword [ebp - 0x4a0], esi
mov dword [ebp - 0x49c], ebx
push dword [ebp - 0x488]
push dword [ebp - 0x48c]
call fcn.10010440
test al, al
jne 0x100137b6
sub esi, dword [ebp - 0x48c]
push 0
sbb ebx, dword [ebp - 0x488]
push 0x15180
push ebx
push esi
call fcn.10030de0
mov ebx, eax
mov ecx, edx
mov eax, dword [edi + 0x2f4]
cdq
mov dword [ebp - 0x488], ecx
cmp ecx, edx
jl 0x100134e4
jg 0x100137b6
cmp ebx, eax
jae 0x100137b6
call fcn.100331e0
mov ecx, eax
push 2
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100135db
push 0x4b
push 0x100ac388
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], 0xf
mov byte [ebp - 0x43c], al
call fcn.10009d20
push 3
push 0x100ac384
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0xf
mov byte [ebp - 0x454], 0
call fcn.10009d20
mov byte [ebp - 4], 0xe
call fcn.100331e0
mov edi, eax
lea ecx, [ebp - 0xac]
push 0x10b
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.10003fe0
mov esi, eax
push str._WxCleanTip__the_span_Days:
push esi
mov byte [ebp - 4], 0xf
call fcn.10002f30
add esp, 8
mov ecx, esi
push dword [ebp - 0x488]
push ebx
call fcn.10010290
push 0x100ac410
push esi
call fcn.10005200
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xac]
call fcn.10005390
lea ecx, [ebp - 0x454]
call fcn.10004b20
lea ecx, [ebp - 0x43c]
call fcn.10004b20
push 0
push 0
push 1
push str.ex_ary_type_2ex_ary_app_wechat
mov dword [ebp - 4], 0xffffffff
push 0x100ac4d4
jmp 0x100138b2
call fcn.100331e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100137b6
push 0x4b
push 0x100ac540
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x470], 0xf
mov byte [ebp - 0x484], al
call fcn.10009d20
push 3
push 0x100ac58c
lea ecx, [ebp - 0x46c]
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0xf
mov byte [ebp - 0x46c], 0
call fcn.10009d20
mov byte [ebp - 4], 0x15
call fcn.100331e0
mov edi, eax
lea ecx, [ebp - 0x538]
push 0x113
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x46c]
push eax
call fcn.10003fe0
mov esi, eax
push 0x100ac590
push esi
mov byte [ebp - 4], 0x16
call fcn.10002f30
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x538]
call fcn.10005390
lea ecx, [ebp - 0x46c]
call fcn.10004b20
lea ecx, [ebp - 0x484]
call fcn.10004b20
xor eax, eax
jmp 0x100138c5
call fcn.100331e0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100138a2
push 0x4b
push 0x100abfc0
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], 0xf
mov byte [ebp - 0x43c], al
call fcn.10009d20
push 3
push 0x100ac00c
lea ecx, [ebp - 0x454]
mov dword [ebp - 4], 3
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0xf
mov byte [ebp - 0x454], 0
call fcn.10009d20
mov byte [ebp - 4], 4
call fcn.100331e0
mov edi, eax
lea ecx, [ebp - 0xac]
push 0xdf
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.10003fe0
mov esi, eax
push 0x100ac010
push esi
mov byte [ebp - 4], 5
call fcn.10002f30
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xac]
call fcn.10005390
lea ecx, [ebp - 0x454]
call fcn.10004b20
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0xffffffff
call fcn.10004b20
push 0
push 0
push 1
push str.ex_ary_type_4ex_ary_app_wechat
push 0x100ac064
push 0xa
call fcn.10006170
mov ecx, eax
call fcn.10034420
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10030b57
mov esp, ebp
pop ebp
ret