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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10171240
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x44], ebx
mov ecx, dword [ebx + 0x84]
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x88], 0
mov eax, dword [ecx]
push 0x57
call dword [eax]
test eax, eax
je 0x1005bfa0
mov ecx, ebx
call fcn.1005be60
jmp 0x1005c36c
mov ecx, dword [ebx + 0x84]
push 0x9f
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, str.default
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1005bfdb
test dx, dx
je 0x1005bfd7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1005bfdb
add eax, 4
add ecx, 4
test dx, dx
jne 0x1005bfb5
xor eax, eax
jmp 0x1005bfe0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1005bf94
mov dword [ebx + 0x88], 1
call fcn.100066b0
cmp dword [eax + 0x110], 8
lea edi, [eax + 0xfc]
jb 0x1005c004
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005c159
mov esi, dword [ebx + 0x94]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push esi
push str.StatusBtnColor
push str.Setting
call ebx
mov ecx, dword [ebp - 0x44]
cmp eax, esi
mov dword [ecx + 0x94], eax
mov esi, ecx
je 0x1005c046
mov dword [esi + 0x8c], 1
push edi
push 0
push str.StatusWndTransparency
push str.Setting
call ebx
push edi
push 1
push str.StatusCnBtn
push str.Setting
mov dword [esi + 0x98], eax
call ebx
push edi
push 1
push str.StatusBQBtn
push str.Setting
mov byte [esi + 0x9c], al
call ebx
push edi
push 1
push str.StatusBiaoDianBtn
push str.Setting
mov byte [esi + 0x9d], al
call ebx
push edi
push 1
push str.StatusKeyBtn
push str.Setting
mov byte [esi + 0x9e], al
call ebx
push edi
push 0
push str.StatusUserBtn
push str.Setting
mov byte [esi + 0x9f], al
call ebx
push edi
push 0
push str.StatusJFBtn
push str.Setting
mov byte [esi + 0xa0], al
call ebx
push edi
push 0
push str.StatusCutBtn
push str.Setting
mov byte [esi + 0xa1], al
call ebx
push edi
push 1
push str.StatusMenuBtn
push str.Setting
mov byte [esi + 0xa2], al
call ebx
push edi
push 0
push str.StatusHandBtn
push str.Setting
mov byte [esi + 0xa3], al
call ebx
push edi
push 0
push str.StatusMiNiNewsBtn
push str.Setting
mov byte [esi + 0xa4], al
call ebx
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebx + 0x84]
push dword [ebx + 0x98]
mov byte [ebx + 0xa5], al
mov byte [ebx + 0xa6], 1
mov eax, dword [ecx]
push 0x6e
call dword [eax + 0xc]
push dword [ebx + 0x98]
mov ecx, ebx
call fcn.1003e750
jmp 0x1005c191
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x94], 0x469be7
mov dword [ebx + 0x9c], 0x1010101
mov dword [ebx + 0xa0], 0x1000000
mov word [ebx + 0xa4], 0
mov byte [ebx + 0xa6], 1
cmp dword [ebx + 0x8c], 0
je 0x1005c365
cmp dword [ebx + 0x40], 0
je 0x1005c365
push str.Button
lea ecx, [ebp - 0x40]
call fcn.10004410
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x40]
lea edx, [ebp - 0x40]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x68], esi
mov dword [ebp - 4], 0xffffffff
call fcn.10004470
mov edx, dword [esi + 4]
mov ecx, dword [edx]
mov ecx, dword [ecx]
mov dword [ebp - 0x50], ecx
cmp ecx, dword [edx]
je 0x1005c365
mov edi, edi
mov esi, dword [ecx + 0x28]
test esi, esi
je 0x1005c34c
lea edi, [ecx + 0x10]
push str.PassLogin
push edi
call fcn.10011630
add esp, 8
test al, al
jne 0x1005c34c
cmp dword [ebx + 0x94], 0x469be7
jne 0x1005c249
push str.Logo
push edi
call fcn.10011630
add esp, 8
test al, al
je 0x1005c249
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], 0x50
mov dword [ebp - 0x54], 0xfb
jmp 0x1005c267
movzx eax, byte [ebx + 0x94]
mov dword [ebp - 0x58], eax
movzx eax, byte [ebx + 0x95]
mov dword [ebp - 0x5c], eax
movzx eax, byte [ebx + 0x96]
mov dword [ebp - 0x54], eax
push str.image
lea ecx, [ebp - 0x28]
call fcn.10004410
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x28]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.10004470
test edi, edi
je 0x1005c34c
mov ebx, dword [edi + 0xc]
test ebx, ebx
je 0x1005c349
mov ecx, edi
mov esi, 0xff000000
call fcn.100474c0
mov ecx, edi
mov dword [ebp - 0x4c], eax
call fcn.10047520
mov edx, dword [ebp - 0x4c]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x48], eax
test edx, edx
jle 0x1005c349
xor edi, edi
test ecx, ecx
jle 0x1005c341
lea ecx, [ebp - 0x64]
push ecx
push edi
push eax
push dword [ebx + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapGetPixel]
test eax, eax
je 0x1005c2ef
mov dword [ebx + 8], eax
jmp 0x1005c2f2
mov esi, dword [ebp - 0x64]
mov eax, esi
shr eax, 0x18
test al, al
je 0x1005c333
mov ecx, eax
mov eax, dword [ebp - 0x54]
movzx eax, al
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 0x5c]
movzx eax, al
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 0x58]
movzx eax, al
shl ecx, 8
or ecx, eax
push ecx
push edi
push dword [ebp - 0x48]
push dword [ebx + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapSetPixel]
test eax, eax
je 0x1005c333
mov dword [ebx + 8], eax
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x48]
inc edi
cmp edi, ecx
jl 0x1005c2d7
mov edx, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, edx
jl 0x1005c2d1
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
call fcn.10021530
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax]
jne 0x1005c1f0
mov ecx, ebx
call fcn.1005c3b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret