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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
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
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0x14
call fcn.0042172e
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
push 8
call fcn.0042172e
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x7e182f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.00401b42
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x408c9a
mov eax, 0x7e142d
push eax
push getpeername
push 0
push str._access_token_
push getpeername
push 0
push str.Host:_ms.cep.webtrn.cn_r_nencrypt_type:_token_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_whaty_uni_app_r_nReferer:_https:__ms.cep.webtrn.cn_u_app_student_onlineStudy_nvidwebview_1719230553943_4_r_ndeviceType:_phone_r_nappVersion:_3.1.1_r_nSec_Fetch_Dest:_empty_r_nromVersion:_UNKNOW_r_nOrigin:_https:__ms.cep.webtrn.cn_r_nromName:_UNKNOW_r_nSec_Fetch_Site:_same_origin_r_nContent_Length:_20_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:_application_json__text_plain____r_nContent_Type:_application_json_r_naccess_token:__access_token__r_ndeviceBrand:_apple_r_nSec_Fetch_Mode:_cors
push 6
mov ebx, 0x422920
call fcn.00421746
add esp, 0x4c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408cdc
push ebx
call fcn.00421734
add esp, 4
pop eax
mov dword [ebp - 4], eax
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
push 1
lea eax, [ebp - 4]
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
push 1
mov eax, str._page_:1__size_:10
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 1
push 1
mov eax, str.https:__ms.cep.webtrn.cn_npapi_m_course_index_course_1
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040951a
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x408d9c
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x408dac
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x408dbc
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x408dcc
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x408ddc
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408dec
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x408dfc
push ebx
call fcn.00421734
add esp, 4
lea eax, [ebp - 0x50]
push eax
call fcn.00406bcc
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x408e18
push ebx
call fcn.00421734
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408e2c
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 - 0x20], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
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 - 0x20]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408e88
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408e9c
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408eb0
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x408ec4
push ebx
call fcn.00421734
add esp, 4
pop ebx
call fcn.00421734
add esp, 4
push 1
mov eax, str.data.data.list
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x408efc
push ebx
call fcn.00421734
add esp, 4
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408f3a
push ebx
call fcn.00421734
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x14], eax
je 0x4092b1
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x4231f0
call fcn.00421746
add esp, 0x10
mov dword [ebp - 0x24], eax
push str._.courseName
push dword [ebp - 0x24]
push str.data.data.list_
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408fa5
push ebx
call fcn.00421734
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 1
lea eax, [ebp - 0x28]
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 - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408fd8
push ebx
call fcn.00421734
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x408fee
push ebx
call fcn.00421734
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x4231f0
call fcn.00421746
add esp, 0x10
mov dword [ebp - 0x24], eax
push str._.id
push dword [ebp - 0x24]
push str.data.data.list_
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409049
push ebx
call fcn.00421734
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 1
lea eax, [ebp - 0x28]
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 - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40907c
push ebx
call fcn.00421734
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x409092
push ebx
call fcn.00421734
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
mov eax, str.data.data.list_1_.semesterId
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
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 - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4090dc
push ebx
call fcn.00421734
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4090f2
push ebx
call fcn.00421734
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
add ebx, 0x10
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x40912a
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]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40913d
push ebx
call fcn.00421734
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x409172
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]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x409185
push ebx
call fcn.00421734
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
lea eax, [ebp - 0x1c]
push eax
push 4
mov eax, 2
call fcn.00421728
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
call fcn.00402733
mov dword [ebp - 0x28], ecx
mov edi, dword [ebp - 0x24]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4091ce
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x24]
call fcn.0042175e
add esp, 8
mov dword [ebp - 0x1c], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x28]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x20]
push edi
push eax
push 0x14
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 0x409226
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 0x409245
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 0x409264
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 0x409283
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 0x4092a2
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
pop edi
mov dword [edi], eax
inc dword [ebp - 0x14]
jmp 0x408f47
mov ebx, dword [ebp - 0x1c]
call fcn.0040271a
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4093d2
mov ebx, dword [ebp - 0x1c]
call fcn.00402733
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x4092f7
push 0x442
push 0x4013141
push 4
call fcn.0042173a
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409314
push 0x442
push 0x4013141
push 1
call fcn.0042173a
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x409333
mov eax, 0x7e142d
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 0xc]
push 0x30004
push 0x160132c3
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x483a70
call fcn.00421752
add esp, 0x34
mov ebx, dword [ebp - 0x1c]
call fcn.00402733
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x409397
push 0x481
push 0x4013141
push 4
call fcn.0042173a
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4093b4
push 0x481
push 0x4013141
push 1
call fcn.0042173a
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x20]
call fcn.0040ba3c
pop eax
pop ebx
pop ecx
jmp 0x4092c2
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4093e5
push ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4093f5
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 - 0x18]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x409419
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40942d
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x409441
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x409455
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x409469
push ebx
call fcn.00421734
add esp, 4
pop ebx
call fcn.00421734
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x409490
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40948c
imul eax, dword [ebx]
jmp 0x409481
mov ecx, eax
test ecx, ecx
je 0x40950c
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4094ab
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4094bf
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4094d3
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4094e7
push ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4094fb
push ebx
call fcn.00421734
add esp, 4
pop ebx
call fcn.00421734
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x409496
call fcn.00421734
add esp, 4
mov esp, ebp
pop ebp
ret 8