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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021631
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x100320ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.10004010
lea esi, [edi + 0x18]
lea eax, [edi + 0x48]
cmp eax, esi
je 0x10003cd6
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10003cc8
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.10001ad0
lea eax, [edi + 0x48]
push 0xc
push str.HaoKaTiy.exe
mov ecx, eax
call fcn.10001950
push esi
lea ecx, [ebp - 0x438]
call fcn.100015a0
push 0x13
push str.HaoKanWallPaper.cfg
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
call fcn.10001950
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1000c490
add esp, 0xc
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10003d9f
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x10022340
push str.CfgPath
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003d80
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x78]
call fcn.10001ad0
cmp dword [edi + 0x88], 0
lea esi, [edi + 0x78]
jne 0x10003f5c
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1000c490
add esp, 0xc
lea eax, [ebp - 0x480]
mov ecx, edi
push eax
call fcn.10003510
cmp dword [ebp - 0x46c], 8
lea ecx, [ebp - 0x420]
push ecx
push str.41dba
push 0x100225f4
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x480]
mov ecx, edi
push eax
push str.HaoKanWallPaper
lea eax, [ebp - 0x450]
push eax
call fcn.10003980
mov dword [ebp - 0x484], eax
cmp esi, eax
je 0x10003e4a
mov ecx, esi
call fcn.10001680
mov eax, dword [ebp - 0x484]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x450]
call fcn.10001680
cmp dword [esi + 0x10], 0
je 0x10003f4f
push esi
lea ecx, [ebp - 0x450]
call fcn.100015a0
cmp dword [ebp - 0x43c], 8
lea edx, [ebp - 0x450]
mov eax, dword [ebp - 0x440]
cmovae edx, dword [ebp - 0x450]
mov byte [ebp - 4], 2
test eax, eax
je 0x10003f44
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x10003eb5
cmp ecx, edx
je 0x10003f44
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x10003ea4
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
jle 0x10003f44
xor eax, eax
mov dword [ebp - 0x458], 0
inc ecx
mov word [ebp - 0x468], ax
cmp dword [esi + 0x10], ecx
mov eax, esi
mov dword [ebp - 0x454], 7
cmovb ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x10003ef1
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x468]
call fcn.10001ad0
lea eax, [ebp - 0x468]
mov ecx, esi
push eax
call fcn.10001760
lea ecx, [ebp - 0x468]
call fcn.10001680
add edi, 0x90
cmp edi, esi
je 0x10003f36
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10003f2b
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.10001ad0
push 9
push str.HKMjc.ini
mov ecx, edi
call fcn.10001950
lea ecx, [ebp - 0x450]
call fcn.10001680
lea ecx, [ebp - 0x480]
call fcn.10001680
jmp 0x10003fa5
push 6
push str.Config
mov ecx, esi
call fcn.10001950
push 1
push 0x10022344
mov ecx, esi
call fcn.10001950
add edi, 0x90
cmp edi, esi
je 0x10003f97
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10003f8c
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.10001ad0
push 0xe
push str.userconfig.ini
mov ecx, edi
call fcn.10001950
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x10003fe1
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003fd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003ffc
push edx
push ecx
call fcn.10009ca0
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.10009cb3
mov esp, ebp
pop ebp
ret
call fcn.1000e339
int3