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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.0041fd0d
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x544d73
push ebx
add ebx, 4
push ebx
push 8
call fcn.0041fd0d
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x504014
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.0041fd0d
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x504014
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov eax, str.https:__ghback.huya.com_index.php_mComplaydoowSignInvite
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x416cc4
push ebx
call fcn.0041fd13
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
push 0xffffffffffffffff
push 8
push 0x16018a47
push 0x52010001
call fcn.0041fd31
add esp, 0x10
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x416cfb
mov eax, 0x50400b
push eax
push 1
mov ebx, 0x421610
call fcn.0041fd19
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416d21
push ebx
call fcn.0041fd13
add esp, 4
push str._r_n_____________________________8508610618614__
push dword [ebp - 0x28]
push str._r_n_____________________________8508610618614_r_nContent_Disposition:_form_data__name_percent__r_n_r_n20_r_n_____________________________8508610618614_r_nContent_Disposition:_form_data__name_selecttime__r_n_r_n4_r_n_____________________________8508610618614_r_nContent_Disposition:_form_data__name_message__r_n_r_n
mov ebx, dword [ebp + 8]
push dword [ebx]
push str._____________________________8508610618614_r_nContent_Disposition:_form_data__name_channelId__r_n_r_n69606590_r_n_____________________________8508610618614_r_nContent_Disposition:_form_data__name_yy_id__r_n_r_n
mov ecx, 5
call fcn.004018c4
add esp, 0x14
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x416d58
push ebx
call fcn.0041fd13
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x416d6c
push ebx
call fcn.0041fd13
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
push 8
push 0x16018a49
push 0x52010001
call fcn.0041fd31
add esp, 0x10
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x416d9c
mov eax, 0x50400b
push eax
push 1
mov ebx, 0x421610
call fcn.0041fd19
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x416dc2
push ebx
call fcn.0041fd13
add esp, 4
push 0x50416d
push dword [ebp - 0x28]
mov ecx, 2
call fcn.004018c4
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x416dea
push ebx
call fcn.0041fd13
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x416dfe
push ebx
call fcn.0041fd13
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.Mozilla_5.0__Windows_NT_10.0__WOW64__rv:40.0__Gecko_20100101_Firefox_40.0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416e44
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x416e54
push ebx
call fcn.0041fd13
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.application_json__text_plain___
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Accept
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416e96
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x416ea6
push ebx
call fcn.0041fd13
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.zh_CN_zh_q0.8_en_US_q0.5_en_q0.3
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Accept_Language
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416ee8
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x416ef8
push ebx
call fcn.0041fd13
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.https:__ow.huya.com_
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Referer
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416f3a
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x416f4a
push ebx
call fcn.0041fd13
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.multipart_form_data__boundary___________________________8508610618614
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Content_Type
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416f8c
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x416f9c
push ebx
call fcn.0041fd13
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.https:__ow.huya.com
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Origin
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416fde
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x416fee
push ebx
call fcn.0041fd13
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41701f
push ebx
call fcn.0041fd13
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 8
call fcn.0041fd0d
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
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 - 0x18]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.00417466
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x41711e
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x41712e
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41713e
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41714e
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41715e
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41716e
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x424580
call fcn.0041fd19
add esp, 0x10
call fcn.0041fd13
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4171a5
push ebx
call fcn.0041fd13
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4171bc
mov eax, 0x504014
push eax
push 1
mov ebx, 0x421610
call fcn.0041fd19
add esp, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00419953
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4171ee
push ebx
call fcn.0041fd13
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417202
push ebx
call fcn.0041fd13
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
inc dword [0x689240]
push 0x80000301
push 0
push dword [0x689240]
push 1
mov ebx, 0x421610
call fcn.0041fd19
add esp, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x544d4b
mov ecx, 2
call fcn.004018c4
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417256
push ebx
call fcn.0041fd13
add esp, 4
push 0
push dword [ebp - 0x28]
push 0xffffffffffffffff
push 8
push 0x16018a40
push 0x52010001
call fcn.0041fd37
add esp, 0x18
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x417281
push ebx
call fcn.0041fd13
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x544d56
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4172b2
mov eax, 0x50400b
push eax
push 4
mov ebx, 0x420490
call fcn.0041fd19
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x417352
inc dword [0x689244]
push 0x80000301
push 0
push dword [0x689244]
push 1
mov ebx, 0x421610
call fcn.0041fd19
add esp, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x544d65
mov ecx, 2
call fcn.004018c4
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417322
push ebx
call fcn.0041fd13
add esp, 4
push 0
push dword [ebp - 0x28]
push 0xffffffffffffffff
push 8
push 0x16018a3e
push 0x52010001
call fcn.0041fd37
add esp, 0x18
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41734d
push ebx
call fcn.0041fd13
add esp, 4
jmp 0x4173cd
inc dword [0x689248]
push 0x80000301
push 0
push dword [0x689248]
push 1
mov ebx, 0x421610
call fcn.0041fd19
add esp, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x544d6c
mov ecx, 2
call fcn.004018c4
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4173a2
push ebx
call fcn.0041fd13
add esp, 4
push 0
push dword [ebp - 0x28]
push 0xffffffffffffffff
push 8
push 0x16018a3d
push 0x52010001
call fcn.0041fd37
add esp, 0x18
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4173cd
push ebx
call fcn.0041fd13
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4173e9
push eax
mov ebx, eax
call fcn.00401859
inc eax
push eax
call fcn.0041fd0d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4173ee
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4173ff
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41740f
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41741f
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41743f
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41744f
push ebx
call fcn.0041fd13
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41745f
push ebx
call fcn.0041fd13
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4