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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0xffffffffffffffff
push 8
push 0x16023c14
push 0x5201c62d
call fcn.0046b5fd
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.http
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42a296
mov eax, 0x589ffc
push eax
push 4
mov ebx, 0x46c270
call fcn.0046b5eb
add esp, 0x34
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42a2bc
push ebx
call fcn.0046b5e5
add esp, 4
cmp dword [ebp - 0x1c], 0xffffffff
je 0x42a63f
push 0xffffffffffffffff
push 8
push 0x16023c14
push 0x5201c62d
call fcn.0046b5fd
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
push 8
push 0x16023c14
push 0x5201c62d
call fcn.0046b5fd
add esp, 0x10
mov dword [ebp - 0x1c], eax
push str.levelHsize500fgcolor_23000000bggcolor_23FFFFFFtransparentfalsetypetextbase64User_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_12_2_like_Mac_OS_X__AppleWebKit_605.1.15__KHTML__like_Gecko__Mobile_15E148_MicroMessenger_7.0.0_0x17000024__NetType_WIFI_Language_zh_CN_r_nlast_code_info_7B_22last_code_id_22_3A591574233_2C_22last_code_type_22_3A3_2C_22last_code_small_type_22_3A_22text_22_7Dcode_small_typetextcodeimg1
push dword [ebp - 0x1c]
push str.content
push dword [ebp - 0x18]
push str.info
mov ecx, 5
call fcn.004012fb
add esp, 0x14
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42a32d
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42a33d
push ebx
call fcn.0046b5e5
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42a351
push ebx
call fcn.0046b5e5
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, str.User_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_11_0_like_Mac_OS_X__AppleWebKit_604.1.38__KHTML__like_Gecko__Version_11.0_Mobile_15A372_Safari_604.1
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42a36b
push ebx
call fcn.0046b5e5
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 8
call fcn.0046b5d3
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x24]
push 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
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
push 1
lea eax, [ebp - 8]
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
push 1
lea eax, [ebp - 4]
push eax
push 1
push 1
mov eax, str.https:__cli.im_Apis_QrCode_saveStatic
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.004237c0
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x42a47b
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x42a48b
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x42a49b
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x42a4ab
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x42a4bb
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x42a4cb
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42a4db
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x42a4eb
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x471b70
call fcn.0046b5eb
add esp, 0x10
call fcn.0046b5e5
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42a522
push ebx
call fcn.0046b5e5
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x42a539
mov eax, 0x58a038
push eax
push 1
mov ebx, 0x46deb0
call fcn.0046b5eb
add esp, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042a82e
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42a56b
push ebx
call fcn.0046b5e5
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42a57f
push ebx
call fcn.0046b5e5
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.___style_tpl
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.data:image_png_base64_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00414bbc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42a5cf
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42a5df
push ebx
call fcn.0046b5e5
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42a5f3
push ebx
call fcn.0046b5e5
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.0042b396
mov dword [ebp - 0x1c], eax
push 0
push dword [ebp - 0x1c]
push 0xffffffffffffffff
push 0xa
push 0x16023c16
push 0x5201c62d
call fcn.0046b603
add esp, 0x18
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42a63a
push ebx
call fcn.0046b5e5
add esp, 4
jmp 0x42a7da
push 0xffffffffffffffff
push 8
push 0x16023c14
push 0x5201c62d
call fcn.0046b5fd
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push str.https:__open.weixin.qq.com_qr_code_username
mov ecx, 2
call fcn.004012fb
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42a680
push ebx
call fcn.0046b5e5
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
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]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 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
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
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
lea eax, [ebp - 0x1c]
push eax
call fcn.00412a46
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42a73f
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x42a74f
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x42a75f
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x42a76f
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x42a77f
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x42a78f
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x42a79f
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42a7af
push ebx
call fcn.0046b5e5
add esp, 4
push 0
push dword [ebp - 0x54]
push 0xffffffffffffffff
push 0xa
push 0x16023c16
push 0x5201c62d
call fcn.0046b603
add esp, 0x18
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x42a7da
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42a7ea
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42a7fa
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42a80a
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42a81a
push ebx
call fcn.0046b5e5
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42a82a
push ebx
call fcn.0046b5e5
add esp, 4
mov esp, ebp
pop ebp
ret