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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov dword [ebp - 4], 0
push 0xc
call fcn.00426ddf
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x51a77c
push ebx
add ebx, 8
push ebx
push 8
call fcn.00426ddf
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.00409d08
pop ebx
mov dword [ebp - 0xc], 0
push 0xffffffffffffffff
push 9
push 0x16012f21
push 0x52010001
call fcn.00426dfd
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x51ab01
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040afa1
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x415bca
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x415bda
push ebx
call fcn.00426de5
add esp, 4
push 0xffffffffffffffff
push 9
push 0x16012f1e
push 0x52010001
call fcn.00426dfd
add esp, 0x10
mov dword [ebp - 0x24], 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, 0x51ab01
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040afa1
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x415c33
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x415c43
push ebx
call fcn.00426de5
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16012f07
push 0x52010001
call fcn.00426dfd
add esp, 0x10
mov dword [ebp - 0x38], eax
push dword [ebp - 0x34]
push str.area2plat
push dword [ebp - 0x38]
push str.game_id
push dword [ebp - 0x20]
push str.https:__iwan.yyb.qq.com_IwanGamePartitionRoleServer_GetUserGameRole_partition
mov ecx, 6
call fcn.004010cd
add esp, 0x18
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x415c94
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x415ca4
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x415cb4
push ebx
call fcn.00426de5
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16012f04
push 0x52010001
call fcn.00426dfd
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 8
call fcn.00426ddf
add esp, 4
mov dword [ebp - 0x50], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x6c], 0
push 0
push dword [ebp - 0x6c]
mov dword [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x74], 0
push 0
lea eax, [ebp - 0x74]
push eax
push 1
mov eax, str.Content_Length:_333_r_nSec_Fetch_Dest:_empty_r_nSec_Fetch_Mode:_cors_r_nSec_Fetch_Site:_same_site_r_nUser_Agent:_Mozilla_5.0__Linux__Android_9__PCRT00_Build_PQ3A.190705.08211539__wv__AppleWebKit_537.36__KHTML__like_Gecko__Version_4.0_Chrome_91.0.4472.114_Safari_537.36_apiLevel_28_qqdownloader_18_ft_apiLevel_1_0_0_0_yyb_version_8674130_yyb_build_4127_GDTTangramMobSDK_8.600.3343_GDTMobSDK_8.600.3343_r_ncontent_type:_application_json
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], 0
push 0
lea eax, [ebp - 0x7c]
push eax
push 1
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x80], 0
push 0
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x84], 0
push 0
push dword [ebp - 0x84]
lea eax, [ebp - 0x3c]
push eax
call fcn.004048e9
mov dword [ebp - 0x88], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x415de7
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x415df7
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x415e07
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x415e17
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x415e27
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x415e37
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x415e47
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x415e57
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x415e67
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x415e77
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x50]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42a8f0
call fcn.00426dd9
add esp, 0x10
call fcn.00426de5
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x415eb0
mov eax, 0x51a3f0
push eax
push 1
mov ebx, 0x428620
call fcn.00426dd9
add esp, 0x10
mov dword [ebp - 0x8c], eax
mov ebx, dword [ebp - 0x88]
test ebx, ebx
je 0x415edc
push ebx
call fcn.00426de5
add esp, 4
lea eax, [ebp - 0x8c]
push eax
call fcn.0040b223
mov dword [ebp - 0x90], eax
mov ebx, dword [ebp - 0x8c]
test ebx, ebx
je 0x415f01
push ebx
call fcn.00426de5
add esp, 4
mov eax, dword [ebp - 0x90]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x415f18
push ebx
call fcn.00426de5
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x20
call fcn.00426ddf
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x415f74
push ebx
call fcn.00426de5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x415f88
push ebx
call fcn.00426de5
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x415f9c
push ebx
call fcn.00426de5
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x415fb0
push ebx
call fcn.00426de5
add esp, 4
pop ebx
call fcn.00426de5
add esp, 4
push 0x1000e
push 0x16016138
push 0x52010001
push 1
mov ebx, 0x4291c0
call fcn.00426dd9
add esp, 0x10
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, str.roles_0_.name
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x416015
push ebx
call fcn.00426de5
add esp, 4
push 0x5049b2
push dword [ebp - 0x18]
call fcn.00401e03
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x416043
push ebx
call fcn.00426de5
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x416085
push 0
push 0
push 0
push VariantClear
push 0
push 0x52ba9d
push 0x1000e
push 0x16016138
push 0x52010001
push 3
mov ebx, 0x429150
call fcn.00426dd9
add esp, 0x28
jmp 0x416283
push 1
mov eax, str.roles
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4160b4
push ebx
call fcn.00426de5
add esp, 4
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x416280
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x51a504]
fstp qword [ebp - 0x1c]
push 0x80000601
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 1
mov ebx, 0x428620
call fcn.00426dd9
add esp, 0x10
mov dword [ebp - 0x20], eax
push str._.name
push dword [ebp - 0x20]
push str.roles_
mov ecx, 3
call fcn.004010cd
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41612d
push ebx
call fcn.00426de5
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416160
push ebx
call fcn.00426de5
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x51a504]
fstp qword [ebp - 0x3c]
push 0x80000601
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 1
mov ebx, 0x428620
call fcn.00426dd9
add esp, 0x10
mov dword [ebp - 0x40], eax
push str._.id
push dword [ebp - 0x40]
push str.roles_
mov ecx, 3
call fcn.004010cd
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4161bf
push ebx
call fcn.00426de5
add esp, 4
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push 1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4161f2
push ebx
call fcn.00426de5
add esp, 4
push dword [ebp - 0x4c]
push 0x51ab01
push dword [ebp - 0x2c]
mov ecx, 3
call fcn.004010cd
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41621d
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x41622d
push ebx
call fcn.00426de5
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x416246
mov eax, 0x5049b2
push eax
push 0x1000e
push 0x16016138
push 0x52010001
push 3
mov ebx, 0x429150
call fcn.00426dd9
add esp, 0x28
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x416278
push ebx
call fcn.00426de5
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x4160c0
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
push 0x13
push 0x16016138
push 0x52010001
call fcn.00426e0f
add esp, 0x18
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4162b0
push ebx
call fcn.00426de5
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00426de5
add esp, 4
mov esp, ebp
pop ebp
ret