Function at 0x402112
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
push 0xc
call fcn.0042172e
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], 0x7e174b
push ebx
add ebx, 8
push ebx
push 8
call fcn.0042172e
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.00407181
pop ebx
push 0x1c
call fcn.0042172e
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.00401b42
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4021ce
mov eax, 0x7e142d
push eax
push getpeername
push 0
push 0x7e1453
push getpeername
push 0
push str._nameOrCode_:__
push 6
mov ebx, 0x422920
call fcn.00421746
add esp, 0x4c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402210
push ebx
call fcn.00421734
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 8
call fcn.0042172e
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
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
push 1
mov eax, str.Host:_ms.cep.webtrn.cn_r_nConnection:_keep_alive_r_nUser_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_18_0_like_Mac_OS_X__AppleWebKit_605.1.15__KHTML__like_Gecko__Mobile_15E148_Html5Plus_1.0__Immersed_20__whaty_uni_app_1.0_whaty_uni_app_r_ndeviceType:_phone_r_nappVersion:_3.1.1_r_nmsd:__r_nromVersion:_UNKNOW_r_nsiteCode:__r_nromName:_UNKNOW_r_nContent_Length:_23_r_ndeviceId:_390F4239CB9A14D37A25E2C306D3B1FE_r_nplatform:_ios_r_ndeviceModel:_Unknown_r_nConnection:_keep_alive_r_nappVersionCode:_202406191654_r_nappWgtVersion:_3.1.1_r_nAccept_Language:_zh_CN_zh_Hans_q0.9_r_nosVersion:_18.0_r_nuniPlatform:_app_r_nosName:_ios_r_nAccept:___r_nContent_Type:_application_json_r_ndeviceBrand:_apple
mov dword [ebp - 0x48], eax
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
push 1
lea eax, [ebp - 4]
push eax
push 1
push 1
mov eax, str.http:__ms.cep.webtrn.cn_npapi_mo_getSiteInfoByNameCode
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.004027ff
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x402328
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x402338
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x402348
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x402358
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x402368
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x402378
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x402388
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402398
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4023a8
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x424c40
call fcn.00421746
add esp, 0x10
call fcn.00421734
add esp, 4
lea eax, [ebp - 0x58]
push eax
call fcn.00406bcc
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4023e7
push ebx
call fcn.00421734
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4023fb
push ebx
call fcn.00421734
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x20
call fcn.0042172e
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x14]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x402457
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40246b
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40247f
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x402493
push ebx
call fcn.00421734
add esp, 4
pop ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
mov eax, str.data_0_.name
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4024e0
push ebx
call fcn.00421734
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4024f6
push ebx
call fcn.00421734
add esp, 4
pop eax
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
mov eax, str.data_0_.code
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40253d
push ebx
call fcn.00421734
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402553
push ebx
call fcn.00421734
add esp, 4
pop eax
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
push eax
push 0x1c
call fcn.0042172e
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x40258a
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.0042172e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4025a9
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.0042172e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4025c8
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.0042172e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4025e7
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.0042172e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x402606
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.0042172e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x402625
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.0042172e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x402644
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.0042172e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
jmp 0x40264d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40265e
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40266e
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x402692
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4026a6
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4026ba
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4026ce
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4026e2
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4026f6
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40270a
push ebx
call fcn.00421734
add esp, 4
pop ebx
call fcn.00421734
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4