Function at 0x10005550
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100275b8
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x1003a064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x874], esi
lea edx, [esi + 0x74]
mov dword [ebp - 0x878], 0
cmp dword [edx + 0x14], 8
jb 0x1000559a
mov edx, dword [edx]
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100055a0
sub ecx, edi
lea edi, [esi + 0xd4]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10002740
push 0x13
push str.HaoKanWallPaper.cfg
mov ecx, edi
call fcn.100025c0
push str.hkbzgf
push 0x100295cc
push str.AppInfo
lea eax, [ebp - 0x858]
push 0x10029464
push eax
call fcn.1000beb0
add esp, 0x14
mov dword [ebp - 0x878], 1
add esi, 0xec
mov dword [ebp - 4], 0
lea eax, [ebp - 0x858]
cmp esi, eax
je 0x1000562c
cmp dword [ebp - 0x844], 8
mov ecx, esi
push dword [ebp - 0x848]
cmovae eax, dword [ebp - 0x858]
push eax
call fcn.10002740
push str.hkbzgf
push esi
call fcn.10002360
add esp, 8
test al, al
je 0x100056a5
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10012430
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x1000565c
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.hkbzgf
push 0x100295cc
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005687
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10002740
push str.hkbzgf
push esi
call fcn.10002360
add esp, 8
test al, al
je 0x1000576f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10012430
mov edi, dword [ebp - 0x874]
lea ecx, [ebp - 0x840]
add esp, 0xc
lea eax, [edi + 0x5c]
push eax
call fcn.100023c0
push 0x13
push str.HaoKanWallPaper.cfg
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 1
call fcn.100025c0
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.hkbzgf
push 0x100295cc
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005740
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10002740
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 0
call fcn.10002470
jmp 0x10005775
mov edi, dword [ebp - 0x874]
push str.hkbzgf
push esi
call fcn.10002360
add esp, 8
test al, al
je 0x10005994
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.10012430
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x100057b3
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push str.hkbzgf
push 0x100295cc
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [ebp - 0x818], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005800
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.10002740
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov dword [ebp - 0x878], 3
mov ecx, str.hkbzgf
cmovae eax, dword [ebp - 0x828]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000586b
test dx, dx
je 0x10005867
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000586b
add eax, 4
add ecx, 4
test dx, dx
jne 0x10005845
xor eax, eax
jmp 0x10005870
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10005944
push str.hkbzgf
push 0x100295cc
push str.AppInfo
cmp byte [edi + 5], al
je 0x100058df
lea eax, [ebp - 0x870]
mov ecx, edi
push eax
call fcn.10003080
mov edi, eax
lea eax, [ebp - 0x828]
cmp eax, edi
je 0x100058d7
mov ecx, eax
call fcn.10002470
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x818], xmm0
mov word [edi], ax
lea ecx, [ebp - 0x870]
jmp 0x1000593f
lea eax, [ebp - 0x840]
push 0x10029464
push eax
call fcn.1000c100
add esp, 0x14
lea ecx, [ebp - 0x828]
call fcn.10002470
movups xmm0, xmmword [ebp - 0x840]
xor eax, eax
lea ecx, [ebp - 0x840]
mov word [ebp - 0x840], ax
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [ebp - 0x830]
movq qword [ebp - 0x818], xmm0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 7
call fcn.10002470
lea eax, [ebp - 0x828]
cmp esi, eax
je 0x10005989
mov ecx, esi
call fcn.10002470
movups xmm0, xmmword [ebp - 0x828]
xor eax, eax
mov word [ebp - 0x828], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x818]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
lea ecx, [ebp - 0x828]
call fcn.10002470
mov edx, dword [ebp - 0x844]
cmp edx, 8
jb 0x100059d0
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100059c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100059eb
push edx
push ecx
call fcn.1000fe4c
add esp, 8
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.1000fe5f
mov esp, ebp
pop ebp
ret
call fcn.100142d9
int3