Function at 0x40f630
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45ad68
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.004468c0
mov eax, dword [0x4767b0]
xor eax, esp
mov dword [esp + 0x1020], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4767b0]
xor eax, esp
push eax
lea eax, [esp + 0x1038]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1048]
xor ebp, ebp
push 0x7fe
mov esi, ecx
lea edx, [esp + 0x3a]
xor ecx, ecx
push ebp
mov dword [esp + 0x38], ebp
push edx
mov dword [esp + 0x38], eax
mov word [esp + 0x40], cx
call fcn.00444200
push 0x7fe
lea ecx, [esp + 0x846]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x84c], ax
call fcn.00444200
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x18
push eax
push 0x400
lea edx, [esp + 0x3c]
push edx
push 0x464ab0
push 0x465c04
push str.TXWeiBo
call edi
mov eax, dword [esi + 8]
push eax
push 0x400
lea eax, [esp + 0x83c]
push eax
push 0x464ab0
push str.secret
push str.TXWeibo
call edi
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
call fcn.00403960
lea edx, [esp + 0x834]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1044], ebp
call fcn.00403960
mov byte [esp + 0x1040], 1
call fcn.0041e932
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40f748
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x1040], 2
call fcn.0041e932
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40f77a
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1040], 3
mov edi, dword [esp + 0x1c]
mov ecx, 0x464ab0
mov eax, edi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f7c6
cmp dx, bp
je 0x40f7c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f7c6
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x40f7a0
xor eax, eax
jmp 0x40f7cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
setne al
test al, al
je 0x40fb38
push edi
call fcn.00411ac0
mov edi, eax
add esp, 4
mov edx, edi
lea ecx, [esp + 0x28]
call fcn.00411610
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1044], 4
call fcn.004028f0
mov byte [esp + 0x1040], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f828
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebp
je 0x40f835
push edi
call fcn.0041dea2
add esp, 4
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00411ac0
mov edi, eax
add esp, 4
mov edx, edi
lea ecx, [esp + 0x28]
call fcn.00411610
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1044], 5
call fcn.004028f0
mov byte [esp + 0x1040], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f889
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebp
je 0x40f896
push edi
call fcn.0041dea2
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004028f0
lea edx, [esp + 0x24]
lea ecx, [esi + 4]
push edx
call fcn.004028f0
push str.https:__open.t.qq.com_cgi_bin_oauth2_authorize_client_id
lea ecx, [esp + 0x18]
call fcn.00403960
mov bl, 6
mov byte [esp + 0x1040], bl
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00406fb0
push 0x45
push str.response_typecoderedirect_urihttp:__callback.meitu.com_meitu.html
lea ecx, [esp + 0x1c]
call fcn.00406fb0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x30]
call fcn.0040f3d0
mov byte [esp + 0x1040], 7
mov edi, dword [esp + 0x30]
cmp dword [edi - 0xc], ebp
jl 0x40fa2a
push str.errorCode:
push edi
call fcn.00442b90
add esp, 8
cmp eax, ebp
je 0x40fa2a
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x40fa2a
mov ebp, dword [esp + 0x2c]
push ebp
call fcn.0040fc10
lea eax, [edi - 0x10]
mov byte [esp + 0x1040], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f958
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1040], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f980
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1040], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f9a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1040], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f9d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1040], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f9f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1040], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fa23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
jmp 0x40fbe3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00402880
mov esi, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
add esp, 4
mov byte [esp + 0x1040], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fa66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1040], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fa8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1040], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fab6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1040], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fade
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1040], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fb06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1040], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fb31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x40fbe3
mov edi, dword [esp + 0x2c]
push edi
call fcn.0040fc10
lea eax, [ebx - 0x10]
mov byte [esp + 0x1040], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fb66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1040], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fb8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1040], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fbb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1040], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fbe1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1038]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1020]
xor ecx, esp
call fcn.004422a2
add esp, 0x1030
ret 4