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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
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 0
push 0
push 0
push 1
mov ebx, 0x4161d0
call fcn.00415f2c
add esp, 0x10
push 0x20004
push 0x16012a29
push 0x52010001
push 1
mov eax, 1
mov ebx, 0x478f00
call fcn.00415f3e
add esp, 0x10
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40a95f
push 0x20004
push 0x16012a29
push 0x52010001
push 1
mov ebx, 0x4175b0
call fcn.00415f2c
add esp, 0x10
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x4e0b25]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.0040184c
push 0x80000301
push 0
push eax
push 0x20004
push 0x16012a29
push 0x52010001
push 2
mov eax, 1
mov ebx, 0x478ec0
call fcn.00415f3e
add esp, 0x1c
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x4e0b25]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.0040184c
push 0x80000301
push 0
push eax
push 0x20004
push 0x16012a29
push 0x52010001
push 2
mov eax, 1
mov ebx, 0x479080
call fcn.00415f3e
add esp, 0x1c
push 0x20004
push 0x16012a29
push 0x52010001
push 1
mov ebx, 0x4175d0
call fcn.00415f2c
add esp, 0x10
mov ebx, dword [0x639238]
call fcn.00401ed6
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40a21a
mov ebx, dword [0x639238]
call fcn.00401ed6
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x416270
call fcn.00415f2c
add esp, 0x1c
mov dword [ebp - 8], eax
mov ebx, dword [0x639238]
call fcn.00401ef7
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x40a106
push 4
call fcn.00415f20
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a119
push 1
call fcn.00415f20
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.0040a986
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a14c
push ebx
call fcn.00415f1a
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [0x639238]
call fcn.00401ef7
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x40a170
push 4
call fcn.00415f20
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40a183
push 1
call fcn.00415f20
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x40a1a0
mov eax, 0x4e0ae5
push eax
push 1
mov ebx, 0x4172d0
call fcn.00415f2c
add esp, 0x10
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40a1c9
mov eax, 0x4e0b04
push eax
push 1
mov ebx, 0x416fc0
call fcn.00415f2c
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a1ef
push ebx
call fcn.00415f1a
add esp, 4
push 0
push dword [ebp - 0x20]
push 0xffffffffffffffff
push 8
push 0x16012c0e
push 0x52010001
call fcn.00415f32
add esp, 0x18
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40a21a
push ebx
call fcn.00415f1a
add esp, 4
push dword [ebp - 0xc]
push 0x51daeb
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x18], eax
push 0
push dword [ebp - 0x18]
push 0xffffffffffffffff
push 0xa
push 0x16012c16
push 0x52010001
call fcn.00415f32
add esp, 0x18
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a25d
push ebx
call fcn.00415f1a
add esp, 4
xor ecx, ecx
lea eax, [ebp - 0x10]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 5
jg 0x40a6a4
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x4e0b25]
fstp qword [ebp - 0x24]
push 0x80000301
push 0
push 5
fld qword [ebp - 0x24]
call fcn.0040184c
push 0x80000301
push 0
push eax
push 0x20004
push 0x16012a29
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x478c00
call fcn.00415f3e
add esp, 0x28
mov dword [ebp - 0x28], eax
push 0xffffffffffffffff
push 8
push 0x16012c0e
push 0x52010001
call fcn.00415f44
add esp, 0x10
mov dword [ebp - 0x2c], eax
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
mov eax, str.referer:_https:__www.xiaohongshu.com_search_result_6249674c000000000102640c_r_nsec_ch_ua:__Not_A.Brand__v_24____Chromium__v_14__r_nsec_ch_ua_mobile:__0_r_nsec_ch_ua_platform:__Windows__r_nsec_fetch_dest:_document_r_nsec_fetch_mode:_navigate_r_nsec_fetch_site:_same_origin_r_nsec_fetch_user:__1_r_nupgrade_insecure_requests:_1_r_nuser_agent:_Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_108.0.5359.95_Safari_537.36
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, 0x51dca5
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040abf2
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40a36d
push ebx
call fcn.00415f1a
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40a37d
push ebx
call fcn.00415f1a
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40a38d
push ebx
call fcn.00415f1a
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a39d
push ebx
call fcn.00415f1a
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40a3ad
push ebx
call fcn.00415f1a
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40a3bd
push ebx
call fcn.00415f1a
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40a3cd
push ebx
call fcn.00415f1a
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a3dd
push ebx
call fcn.00415f1a
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a3ed
push ebx
call fcn.00415f1a
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a401
push ebx
call fcn.00415f1a
add esp, 4
pop eax
mov dword [ebp - 0x14], 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.__span_
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.class_name__target__blank__data_v_f77cd4ac__span_data_v_f77cd4ac_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040e91a
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40a451
push ebx
call fcn.00415f1a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40a461
push ebx
call fcn.00415f1a
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x63926c]
test ebx, ebx
je 0x40a478
push ebx
call fcn.00415f1a
add esp, 4
pop eax
mov dword [0x63926c], 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.__title_
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str._title_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040e91a
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40a4ca
push ebx
call fcn.00415f1a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40a4da
push ebx
call fcn.00415f1a
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x639270]
test ebx, ebx
je 0x40a4f1
push ebx
call fcn.00415f1a
add esp, 4
pop eax
mov dword [0x639270], 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, 0x51dd06
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str._likedCount_:_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040e91a
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40a543
push ebx
call fcn.00415f1a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40a553
push ebx
call fcn.00415f1a
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x639274]
test ebx, ebx
je 0x40a56a
push ebx
call fcn.00415f1a
add esp, 4
pop eax
mov dword [0x639274], 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, 0x51dd06
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str._commentCount_:_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040e91a
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40a5bc
push ebx
call fcn.00415f1a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40a5cc
push ebx
call fcn.00415f1a
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x639278]
test ebx, ebx
je 0x40a5e3
push ebx
call fcn.00415f1a
add esp, 4
pop eax
mov dword [0x639278], 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, 0x51dd28
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x639278
call fcn.0040ebb8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40a62a
push ebx
call fcn.00415f1a
add esp, 4
cmp dword [ebp - 0x24], 0xffffffff
jne 0x40a657
push 0x4e0ae5
push dword [0x639278]
call fcn.00401617
add esp, 8
cmp eax, 0
je 0x40a657
mov eax, 1
jmp 0x40a65c
mov eax, 0
test eax, eax
je 0x40a669
jmp 0x40a6a4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 1
push 0x3e8
call fcn.00401b08
push 0
mov ebx, 0x417420
call fcn.00415f2c
add esp, 4
pop ebx
pop ecx
jmp 0x40a264
add esp, 8
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x4e0b25]
fstp qword [ebp - 0x24]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x63926c]
test eax, eax
jne 0x40a6ce
mov eax, 0x4e0ae5
push eax
push 0x80000301
push 0
push 3
fld qword [ebp - 0x24]
call fcn.0040184c
push 0x80000301
push 0
push eax
push 0x20004
push 0x16012a29
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x478dd0
call fcn.00415f3e
add esp, 0x34
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x4e0b25]
fstp qword [ebp - 0x24]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x639270]
test eax, eax
jne 0x40a738
mov eax, 0x4e0ae5
push eax
push 0x80000301
push 0
push 4
fld qword [ebp - 0x24]
call fcn.0040184c
push 0x80000301
push 0
push eax
push 0x20004
push 0x16012a29
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x478dd0
call fcn.00415f3e
add esp, 0x34
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x4e0b25]
fstp qword [ebp - 0x24]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x639274]
test eax, eax
jne 0x40a7a2
mov eax, 0x4e0ae5
push eax
push 0x80000301
push 0
push 6
fld qword [ebp - 0x24]
call fcn.0040184c
push 0x80000301
push 0
push eax
push 0x20004
push 0x16012a29
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x478dd0
call fcn.00415f3e
add esp, 0x34
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x4e0b25]
fstp qword [ebp - 0x24]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x639278]
test eax, eax
jne 0x40a80c
mov eax, 0x4e0ae5
push eax
push 0x80000301
push 0
push 7
fld qword [ebp - 0x24]
call fcn.0040184c
push 0x80000301
push 0
push eax
push 0x20004
push 0x16012a29
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x478dd0
call fcn.00415f3e
add esp, 0x34
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x4e0b25]
fstp qword [ebp - 0x24]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x639274]
test eax, eax
jne 0x40a876
mov eax, 0x4e0ae5
push eax
push 0x80000301
push 0
push 8
fld qword [ebp - 0x24]
call fcn.0040184c
push 0x80000301
push 0
push eax
push 0x20004
push 0x16012a29
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x478dd0
call fcn.00415f3e
add esp, 0x34
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x4e0b25]
fstp qword [ebp - 0x24]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x639278]
test eax, eax
jne 0x40a8e0
mov eax, 0x4e0ae5
push eax
push 0x80000301
push 0
push 9
fld qword [ebp - 0x24]
call fcn.0040184c
push 0x80000301
push 0
push eax
push 0x20004
push 0x16012a29
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x478dd0
call fcn.00415f3e
add esp, 0x34
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 1
push 0x12c
call fcn.00401b08
push 0
mov ebx, 0x417420
call fcn.00415f2c
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x409fba
add esp, 0xc
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a972
push ebx
call fcn.00415f1a
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a982
push ebx
call fcn.00415f1a
add esp, 4
mov esp, ebp
pop ebp
ret