Function at 0x428710
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f74cd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [0x532e64]
test eax, eax
je 0x428bac
lea ebx, [eax + 0x108]
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x428bac
push 0xb4
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x58], 0
test eax, eax
je 0x428780
push eax
call fcn.004299b0
jmp 0x428782
xor eax, eax
mov edi, dword [ebp + 8]
mov dword [esp + 0x58], 0xffffffff
mov esi, eax
mov dword [edi + 0x94], eax
call fcn.00410cb0
mov ebx, dword [ebx + 0x14]
mov edi, dword [esp + 0x20]
sub ebx, dword [edi + 0x10]
mov dword [esp + 0x14], 0xf
sar ebx, 2
cmp ebx, 0xf
mov dword [esp + 0x28], ebx
jle 0x4287c0
mov dword [esp + 0x14], 0xe
xor esi, esi
cmp dword [esp + 0x14], esi
jle 0x428808
cmp esi, 1
jne 0x4287df
mov eax, dword [ebp + 8]
push eax
call fcn.00428da0
test al, al
je 0x4287df
sub dword [esp + 0x14], 2
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
sar ecx, 2
cmp esi, ecx
jb 0x4287f1
call fcn.004c96d9
mov edx, dword [edi + 0x10]
mov eax, dword [edx + esi*4]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00428bd0
inc esi
cmp dword [esp + 0x14], esi
jg 0x4287c8
push 0xe8
call fcn.004c8f3d
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x58], 1
test edi, edi
je 0x428850
push edi
call fcn.00402000
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0x666666
mov dword [edi], vtable.CWallPaperPageCateButton.0
mov dword [edi + 8], vtable.CWallPaperPageCateButton.1.0
jmp 0x428852
xor edi, edi
push 2
mov dword [esp + 0x5c], 0xffffffff
push 0x505130
lea esi, [edi + 0x3c]
mov dword [edi + 0xe0], 0xf4242
call fcn.00401760
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
push 0xc8
mov dword [edi + 0xe4], 0x666666
call fcn.004c8f3d
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x58], 2
test esi, esi
je 0x4288ba
push esi
call fcn.00427b00
mov dword [esi], vtable.CWallPaperColorPageView.0
mov dword [esi + 8], vtable.CWallPaperColorPageView.1.0
jmp 0x4288bc
xor esi, esi
push esi
mov dword [esp + 0x5c], 0xffffffff
call fcn.004294c0
and byte [esi + 0x38], 0xfd
push edi
mov edi, dword [ebp + 8]
push 0xf4242
mov eax, esi
mov ecx, edi
call fcn.00427fe0
cmp ebx, dword [esp + 0x14]
jle 0x428b3b
push 0xe8
call fcn.004c8f3d
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
xor ebx, ebx
mov dword [esp + 0x58], 3
cmp esi, ebx
je 0x428936
push esi
call fcn.00402000
mov edi, esi
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], 0x666666
mov dword [esi], vtable.CWallPaperPageCateButton.0
mov dword [esi + 8], vtable.CWallPaperPageCateButton.1.0
mov dword [esp + 0x24], edi
jmp 0x42893c
mov dword [esp + 0x24], ebx
mov edi, ebx
push 2
mov dword [esp + 0x5c], 0xffffffff
push 0x505138
lea esi, [edi + 0x3c]
mov dword [edi + 0xe0], 0xf4257
call fcn.00401760
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
push 0xc8
mov dword [edi + 0xe4], 0x666666
call fcn.004c8f3d
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x58], 4
cmp esi, ebx
je 0x4289aa
push esi
call fcn.00427b00
mov edi, esi
mov dword [esi], vtable.CWallPaperCatePageView.0
mov dword [esi + 8], vtable.CWallPaperCatePageView.1.0
mov dword [esp + 0x18], edi
jmp 0x4289b0
mov dword [esp + 0x18], ebx
mov edi, ebx
or esi, 0xffffffff
mov dword [esp + 0x58], esi
and byte [edi + 0x38], 0xfd
push 0xb4
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], 5
cmp eax, ebx
je 0x4289e0
push eax
call fcn.004299b0
jmp 0x4289e2
xor eax, eax
mov dword [esp + 0x58], esi
mov esi, eax
mov dword [edi + 0x94], eax
call fcn.00410cb0
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
jmp 0x428a04
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
sar ecx, 2
cmp esi, ecx
jb 0x428a1a
call fcn.004c96d9
mov edx, dword [edi + 0x10]
mov edi, dword [edx + esi*4]
mov ebx, dword [edi + 0xc]
push 0xe8
call fcn.004c8f3d
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x58], 6
test esi, esi
je 0x428a6b
push esi
call fcn.00402000
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0x666666
mov dword [esi], vtable.CWallPaperPageSubCateButton.0
mov dword [esi + 8], vtable.CWallPaperPageSubCateButton.1.0
jmp 0x428a6d
xor esi, esi
mov dword [esp + 0x58], 0xffffffff
cmp dword [edi + 0x48], 6
je 0x428a7f
xor ecx, ecx
jmp 0x428ab5
cmp dword [edi + 0x4c], 8
jb 0x428a8a
mov eax, dword [edi + 0x38]
jmp 0x428a8d
lea eax, [edi + 0x38]
push 0x10
push 0
push eax
call fcn.004cb057
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ecx, cl
shl edx, 8
shr eax, 0x10
or ecx, edx
movzx eax, al
shl ecx, 8
add esp, 0xc
or ecx, eax
cmp dword [edi + 0x2c], 8
jb 0x428ac0
mov edi, dword [edi + 0x18]
jmp 0x428ac3
add edi, 0x18
push ecx
push edi
push ebx
mov edi, esi
call fcn.00429840
push 1
push ebx
call fcn.004281c0
mov ecx, dword [esp + 0x18]
push esi
push ebx
call fcn.00427fe0
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jl 0x428a00
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
mov ebx, dword [esp + 0x14]
sar ecx, 2
cmp ebx, ecx
jb 0x428b0d
call fcn.004c96d9
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + ebx*4]
mov esi, dword [esp + 0x18]
mov eax, dword [ecx + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x60]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 8]
push eax
push 0xf4257
mov eax, esi
call fcn.00427fe0
mov edi, dword [ebp + 8]
lea esi, [esp + 0x30]
call fcn.0047fd60
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x428b53
mov eax, dword [eax + 4]
jmp 0x428b56
add eax, 4
push eax
push 0
push str.DisableListAutoLayout
push str.wallpaper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp dword [esp + 0x48], ebx
jb 0x428b7e
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004c8f17
add esp, 4
xor eax, eax
xor edx, edx
test esi, esi
sete al
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], dx
push eax
push edi
call fcn.00427ca0
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4