Function at 0x1004d753
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 0x30
mov eax, 0x1017ffed
call fcn.1008546d
mov dword [ebp - 0x18], ecx
call fcn.100052f9
cmp dword [eax + 0x1b4], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, str.Setting
jne 0x1004d7d3
call fcn.100052f9
mov ecx, eax
call fcn.10019963
push eax
push 0
push str.IsCancleRecommendSkin
push edi
call esi
test eax, eax
je 0x1004d7d3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x42c]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x430
leave
ret
mov ecx, dword [ebp - 0x18]
call fcn.1004ab5c
mov ebx, eax
push ebx
call fcn.1001c52c
pop ecx
mov dword [ebp - 0x1c], eax
call fcn.100052f9
mov ecx, eax
call fcn.10019985
push eax
push 0
push str.InstallTime
push edi
mov dword [ebp - 0x10], eax
call esi
push dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
push 0
push str.DelayRecommendSkinDate
push edi
call esi
imul eax, eax, 0x15180
push eax
call fcn.1008e487
pop ecx
push dword [ebp - 0x10]
mov edi, str.PushBranch
push 0
push str.LastPopupRecommendSkinDate
push edi
mov dword [ebp - 0x14], eax
call esi
cmp dword [ebp - 0x1c], eax
jne 0x1004d84a
call fcn.100052f9
cmp dword [eax + 0x1b4], 0
je 0x1004d7ae
and word [ebp + 0x1c], 0
mov esi, 0x206
push esi
lea eax, [ebp + 0x1e]
push 0
push eax
call fcn.10085bc0
push dword [ebp - 0x1c]
lea eax, [ebp + 0x1c]
push 0x10186370
push eax
call fcn.10004df5
add esp, 0x18
push dword [ebp - 0x10]
lea eax, [ebp + 0x1c]
push eax
push str.LastPopupRecommendSkinDate
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
sub ebx, dword [ebp - 0x20]
push ebx
call fcn.1008e487
cmp eax, dword [ebp - 0x14]
pop ecx
jge 0x1004d8aa
call fcn.100052f9
xor ebx, ebx
cmp dword [eax + 0x1b4], ebx
jne 0x1004d8ac
jmp 0x1004d7ae
xor ebx, ebx
push esi
lea eax, [ebp + 0x226]
push ebx
push eax
mov word [ebp + 0x224], bx
call fcn.10085bc0
add esp, 0xc
push str.PushRecommendSkinCfgAddress
call fcn.100052f9
mov ecx, eax
call fcn.1000cfe3
push 0x2710
push 1
mov esi, eax
call fcn.1001c3c2
push eax
push esi
lea eax, [ebp + 0x224]
push str._s_rand_d
push eax
call fcn.10004df5
add esp, 0x18
lea eax, [ebp + 0x224]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100015f0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 4], ebx
call fcn.1001e821
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.100017c0
push 0x4c
call fcn.10062191
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x1004d948
mov ecx, eax
call fcn.100346e3
mov dword [ebp - 0x10], eax
jmp 0x1004d94b
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 2
jae 0x1004d95b
lea eax, [ebp + 4]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.10034819
mov ecx, dword [ebp - 0x10]
call fcn.10033d1a
mov edi, eax
mov eax, dword [edi + 0x10]
add edi, 0xc
cmp eax, ebx
je 0x1004d97f
mov esi, dword [edi + 8]
sub esi, eax
jne 0x1004d982
xor esi, esi
inc esi
push esi
call fcn.100621c1
push esi
xor esi, esi
mov ebx, eax
push esi
push ebx
call fcn.10085bc0
add esp, 0x10
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1004d9b7
mov eax, dword [edi + 8]
sub eax, ecx
cmp esi, eax
jae 0x1004d9b7
push esi
mov ecx, edi
call fcn.1002aaf7
mov al, byte [eax]
mov byte [esi + ebx], al
inc esi
jmp 0x1004d997
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1004d9c4
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.1004d205
test eax, eax
jne 0x1004d9f1
test ebx, ebx
je 0x1004d9dc
push ebx
call fcn.100621bc
pop ecx
xor esi, esi
push 0
push 1
lea ecx, [ebp]
call fcn.10001770
mov eax, esi
jmp 0x1004d7b0
test ebx, ebx
je 0x1004d9fc
push ebx
call fcn.100621bc
pop ecx
xor esi, esi
inc esi
jmp 0x1004d9de