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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d090
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x58e188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
call fcn.004114c0
xor edi, edi
mov dword [esi + 0xa4], edi
xor ebx, ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], 0x320
mov dword [ebp - 0x24], 0x258
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x402857
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], edi
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x402883
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x58f9a4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004024c0
mov ecx, dword [0x58f9bc]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call edi
test eax, eax
je 0x402b57
mov edx, dword [0x58f9bc]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edx
push 0xffffffffffffffff
push 0x53e1ec
push str.Skin
call esi
mov ebx, eax
mov eax, dword [0x58f9bc]
push eax
push 0xffffffffffffffff
push str.left
push str.Skin
call esi
mov ecx, dword [0x58f9bc]
push ecx
push 0
push str.width
push str.Skin
mov dword [ebp - 0x1c], eax
call esi
mov edx, dword [0x58f9bc]
push edx
push 0
push str.height
push str.Skin
mov dword [ebp - 0x20], eax
call esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
push eax
call edi
test eax, eax
jne 0x402a50
mov eax, dword [0x58f9bc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.UrlID
mov byte [ebp - 4], 2
call fcn.00402730
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.Html
mov byte [ebp - 4], 3
call fcn.00402730
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 1
call fcn.004060e0
lea edx, [ebp - 0x14]
push 0x53e19c
push edx
mov byte [ebp - 4], 4
call fcn.00402630
add esp, 0x18
test al, al
je 0x402a18
mov eax, dword [0x58f9bc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x34], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x53e194
mov byte [ebp - 4], 5
call fcn.00402730
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.Html
mov byte [ebp - 4], 6
call fcn.00402730
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.004060e0
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004024c0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x402a2d
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push str.http:__hm.i8.com.cn_go3.aspx_o_s
push edx
call fcn.00402570
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x58f9bc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x53e144
mov byte [ebp - 4], 8
call fcn.00402730
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x53e13c
mov byte [ebp - 4], 9
call fcn.00402730
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 1
call fcn.004060e0
add esp, 0x10
push eax
mov ecx, 0x58f998
mov byte [ebp - 4], 0xa
call fcn.004024c0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402ad2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x58f9bc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x53e134
mov byte [ebp - 4], 0xb
call fcn.00402730
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x53e13c
mov byte [ebp - 4], 0xc
call fcn.00402730
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 1
call fcn.004060e0
add esp, 0x10
push eax
mov ecx, 0x58f99c
mov byte [ebp - 4], 0xd
call fcn.004024c0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402b54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push 0
push 0
push 0
push 0
push ecx
lea ecx, [esi + 0xa8]
call fcn.00413000
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
add esi, dword [ebp - 0x1c]
push 0x3e8
add edi, ebx
call fcn.0041c1e7
mov ecx, dword [ebp - 0x1c]
push 1
sub edi, ebx
push edi
sub esi, ecx
push esi
push ebx
push ecx
mov ecx, eax
call fcn.0041c388
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402bbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402be3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret