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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 4], 0
push 0xc
call fcn.00455756
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], 0x521396
push ebx
add ebx, 4
push ebx
push 8
call fcn.00455756
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x51f5aa
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.00455756
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x51f5aa
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0xc], 0
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
mov dword [ebp - 0x24], 0
push 0xc
call fcn.00455756
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x5213d2
push ebx
add ebx, 8
push ebx
push 8
call fcn.00455756
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.004256a1
pop ebx
mov eax, str.http:__open.weixin.qq.com_connect_app_qrconnect_appidwx0d65adfcbfe55d70bundleidcn.lwpro.adminscopesnsapi_userinfostatewechat_sdk_demo_testsupportcontentfromwx9910
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4271af
push ebx
call fcn.00455750
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_116.0.0.0_Safari_537.36_NetType_WIFI_MicroMessenger_7.0.20.1781_0x6700143B__WindowsWechat_0x6309092b__XWEB_9129_Flue
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4271f5
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x427205
push ebx
call fcn.00455750
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x427236
push ebx
call fcn.00455750
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 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
push dword [ebp - 0x38]
push 1
lea eax, [ebp - 0x10]
push eax
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
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
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
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
lea eax, [ebp - 0x6c]
push eax
push 1
push 0
lea eax, [ebp - 4]
push eax
call fcn.00427895
mov ebx, eax
test ebx, ebx
je 0x42733d
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x42734d
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x42735d
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x42736d
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x42737d
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x42738d
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x42739d
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4273ad
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4273bd
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4273cd
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4273dd
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4273ed
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4273fd
push ebx
call fcn.00455750
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x427410
mov eax, 0x51f5aa
push eax
push 1
mov ebx, 0x457810
call fcn.00455768
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42743a
push ebx
call fcn.00455750
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x52180c
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.class_auth_qrcode__src_
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042c2ee
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x42748a
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x42749a
push ebx
call fcn.00455750
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4274ae
push ebx
call fcn.00455750
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, str.qrcode_
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042c05e
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4274f2
push ebx
call fcn.00455750
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x427506
push ebx
call fcn.00455750
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42751d
mov eax, 0x51f58d
push eax
push 1
mov eax, 4
mov ebx, 0x4bf770
call fcn.00455780
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0
push dword [ebp - 0x2c]
push 0xffffffffffffffff
push 0xa
push 0x160136b9
push 0x52010001
call fcn.00455774
add esp, 0x18
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x427563
push ebx
call fcn.00455750
add esp, 4
lea eax, [ebp - 0x1c]
push eax
call fcn.0042c58c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x427583
push ebx
call fcn.00455750
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x51f58d
push dword [ebp - 0x20]
call fcn.00401032
add esp, 8
cmp eax, 0
je 0x4277cf
lea eax, [ebp - 0x20]
push eax
call fcn.0042ce46
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4275c0
push ebx
call fcn.00455750
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 0x20
call fcn.00455756
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x2c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42761c
push ebx
call fcn.00455750
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x427630
push ebx
call fcn.00455750
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x427644
push ebx
call fcn.00455750
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x427658
push ebx
call fcn.00455750
add esp, 4
pop ebx
call fcn.00455750
add esp, 4
push 1
mov eax, str.userId
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x427690
push ebx
call fcn.00455750
add esp, 4
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00455750
add esp, 4
push 0x51f58d
push dword [ebp - 0x34]
call fcn.00401032
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4276df
push ebx
call fcn.00455750
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x4277cf
push 1
mov eax, str.userId
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x427718
push ebx
call fcn.00455750
add esp, 4
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00455750
add esp, 4
push 0
push dword [ebp - 0x34]
push 0xffffffffffffffff
push 8
push 0x160137f3
push 0x52010001
call fcn.00455774
add esp, 0x18
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x427764
push ebx
call fcn.00455750
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 1
mov eax, 0x52128d
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42779f
push ebx
call fcn.00455750
add esp, 4
push 0
push dword [ebp - 0x34]
push 0xffffffffffffffff
push 8
push 0x160137f5
push 0x52010001
call fcn.00455774
add esp, 0x18
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4277ca
push ebx
call fcn.00455750
add esp, 4
jmp 0x4277f1
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 1
push 0
push 0x3e8
call fcn.00426e1b
jmp 0x427563
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x427801
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x427821
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x427831
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x427841
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x427851
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x427861
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x427871
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x427881
push ebx
call fcn.00455750
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00455750
add esp, 4
mov esp, ebp
pop ebp
ret