Function at 0x412efc
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0xc
call fcn.004319cf
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4f64f1
push ebx
add ebx, 4
push ebx
push 8
call fcn.004319cf
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4f52f1
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.004319cf
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4f52f1
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0xc
call fcn.004319cf
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4f6046
push ebx
add ebx, 8
push ebx
push 8
call fcn.004319cf
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.004086ff
pop ebx
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
call fcn.0040a2f2
mov dword [ebp - 0x2c], eax
push 0xffffffffffffffff
push 8
push 0x16010005
push 0x52010001
call fcn.004319f9
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x2c]
push str.callbackSTK_
push dword [ebp - 0x30]
push str.https:__login.sina.com.cn_sso_qrcode_check_entrysinawapqrid
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41305c
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41306c
push ebx
call fcn.004319d5
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413080
push ebx
call fcn.004319d5
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.login.sina.com.cn
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4f645c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4130cd
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4130dd
push ebx
call fcn.004319d5
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.keep_alive
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Connection
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41311f
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41312f
push ebx
call fcn.004319d5
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4f64aa
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x413171
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413181
push ebx
call fcn.004319d5
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x4f6461
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4f6465
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4131c3
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4131d3
push ebx
call fcn.004319d5
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.cross_site
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Sec_Fetch_Site
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x413215
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413225
push ebx
call fcn.004319d5
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.no_cors
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Sec_Fetch_Mode
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x413267
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413277
push ebx
call fcn.004319d5
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.script
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Sec_Fetch_Dest
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4132b9
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4132c9
push ebx
call fcn.004319d5
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.https:__weibo.com_
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4f6ca7
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41330b
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41331b
push ebx
call fcn.004319d5
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.zh_CN_zh_q0.9
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4f64bb
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41335d
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41336d
push ebx
call fcn.004319d5
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41339e
push ebx
call fcn.004319d5
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 8
call fcn.004319cf
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
push dword [ebp - 0x14]
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.0040a7de
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4134a4
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4134b4
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4134c4
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4134d4
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4134e4
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4134f4
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x413504
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x435320
call fcn.004319e1
add esp, 0x10
call fcn.004319d5
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41353b
push ebx
call fcn.004319d5
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040eb4a
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x413581
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413591
push ebx
call fcn.004319d5
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4135a4
mov eax, 0x4f52f1
push eax
push 1
mov ebx, 0x4337c0
call fcn.004319e1
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4135ca
push ebx
call fcn.004319d5
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4135de
push ebx
call fcn.004319d5
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x4f6dfa
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x4f6dfc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040274d
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41362e
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41363e
push ebx
call fcn.004319d5
add esp, 4
push 0x20
call fcn.004319cf
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41368f
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x3c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4136a6
push ebx
call fcn.004319d5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4136ba
push ebx
call fcn.004319d5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4136ce
push ebx
call fcn.004319d5
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4136e2
push ebx
call fcn.004319d5
add esp, 4
pop ebx
call fcn.004319d5
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
mov eax, str.retcode
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413726
push ebx
call fcn.004319d5
add esp, 4
push str.20000000
push dword [ebp - 0x30]
call fcn.00401293
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x413754
push ebx
call fcn.004319d5
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x4137c4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
mov eax, str.data.alt
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413799
push ebx
call fcn.004319d5
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [0x6462a0]
test ebx, ebx
je 0x4137b0
push ebx
call fcn.004319d5
add esp, 4
pop eax
mov dword [0x6462a0], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4137d4
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4137f4
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x413804
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x413814
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x413824
push ebx
call fcn.004319d5
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004319d5
add esp, 4
mov esp, ebp
pop ebp
ret