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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0042a686
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x4e3d0e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 8
call fcn.0042a686
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x4e3d0e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 4
call fcn.0042a686
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
push 0x30004
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x48fda0
call fcn.0042a692
add esp, 0x10
mov dword [ebp - 0x1c], 0
mov eax, str.Host:_realtime_prod_wscn.xuangubao.cn_r_nConnection:_Upgrade_r_nPragma:_no_cache_r_nCache_Control:_no_cache_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_120.0.0.0_Safari_537.36_Edg_120.0.0.0_r_nUpgrade:_websocket_r_nOrigin:_https:__xuangubao.cn_r_nSec_WebSocket_Version:_13_r_nAccept_Encoding:_gzip__deflate__br_r_nAccept_Language:_zh_CN_zh_q0.9_en_q0.8_en_GB_q0.7_en_US_q0.6_r_nSec_WebSocket_Key:__key__r_nSec_WebSocket_Extensions:_permessage_deflate__client_max_window_bits_r_n
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41168e
push ebx
call fcn.0042a68c
add esp, 4
pop eax
mov dword [ebp - 4], eax
call fcn.00411bdd
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4116ae
push ebx
call fcn.0042a68c
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.00401550
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4116db
mov eax, 0x4e3cf1
push eax
push getpeername
push 0
push str._key_
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4116fb
mov eax, 0x4e3cf1
push eax
push 6
mov ebx, 0x42bae0
call fcn.0042a680
add esp, 0x4c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x411725
push ebx
call fcn.0042a68c
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x4e85aa
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41174e
mov eax, 0x4e3cf1
push eax
push 3
mov ebx, 0x42bcd0
call fcn.0042a680
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x411786
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x411782
imul eax, dword [ebx]
jmp 0x411777
mov ecx, eax
test ecx, ecx
je 0x4117a5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41179e
push ebx
push eax
call fcn.0042a68c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41178c
call fcn.0042a68c
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.00401537
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x411a7f
mov ebx, dword [ebp - 0xc]
call fcn.00401558
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x4117f7
push 0x138
push 0x4010119
push 4
call fcn.0042a674
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x411814
push 0x138
push 0x4010119
push 1
call fcn.0042a674
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push getpeername
push 0
push 0x4e8997
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x411843
mov eax, 0x4e3cf1
push eax
push 3
mov ebx, 0x42bcd0
call fcn.0042a680
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41187b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x411877
imul eax, dword [ebx]
jmp 0x41186c
mov ecx, eax
test ecx, ecx
je 0x41189a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x411893
push ebx
push eax
call fcn.0042a68c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x411881
call fcn.0042a68c
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
call fcn.00401537
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jne 0x4119ca
mov ebx, dword [ebp - 0x14]
call fcn.00401558
mov eax, 0
cmp eax, ecx
jl 0x4118e3
push 0x1d3
push 0x4010119
push 1
call fcn.0042a674
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x14]
call fcn.00401558
mov eax, 1
cmp eax, ecx
jl 0x411913
push 0x1f7
push 0x4010119
push 1
call fcn.0042a674
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x14]
call fcn.00401558
mov eax, 2
cmp eax, ecx
jl 0x411943
push 0x1f7
push 0x4010119
push 1
call fcn.0042a674
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4e8997
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004014db
add esp, 0xc
mov dword [ebp - 0x2c], eax
push getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x41197d
mov eax, 0x4e3cf1
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x411993
mov eax, 0x4e3cf1
push eax
push 0x30004
push 0
push dword [ebp - 0x18]
push 3
mov eax, 2
mov ebx, 0x491260
call fcn.0042a692
add esp, 0x28
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4119c5
push ebx
call fcn.0042a68c
add esp, 4
jmp 0x411a77
mov ebx, dword [ebp - 0x14]
call fcn.00401558
mov eax, 0
cmp eax, ecx
jl 0x4119f2
push 0x22d
push 0x4010119
push 1
call fcn.0042a674
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x14]
call fcn.00401558
mov eax, 1
cmp eax, ecx
jl 0x411a22
push 0x22d
push 0x4010119
push 1
call fcn.0042a674
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x411a3f
mov eax, 0x4e3cf1
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x411a55
mov eax, 0x4e3cf1
push eax
push 0x30004
push 0
push dword [ebp - 0x18]
push 3
mov eax, 2
mov ebx, 0x491260
call fcn.0042a692
add esp, 0x28
pop eax
pop ebx
pop ecx
jmp 0x4117c2
add esp, 0xc
push 0x30004
push 0
push dword [ebp - 0x18]
push 0x30011
push 0
push dword [0x72ba74]
push 2
mov eax, 2
mov ebx, 0x494840
call fcn.0042a692
add esp, 0x1c
push getpeername
push 0
lea eax, [ebp - 0x1c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push getpeername
push 0
push str.wss:__realtime_prod_wscn.xuangubao.cn_ws
push 0x30011
push 0
push dword [0x72ba74]
push 4
mov eax, 2
mov ebx, 0x4929e0
call fcn.0042a692
add esp, 0x34
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x411b07
push ebx
call fcn.0042a68c
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x411b17
push ebx
call fcn.0042a68c
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x411b35
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x411b31
imul eax, dword [ebx]
jmp 0x411b26
mov ecx, eax
test ecx, ecx
je 0x411b54
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x411b4d
push ebx
push eax
call fcn.0042a68c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x411b3b
call fcn.0042a68c
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x411b7a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x411b76
imul eax, dword [ebx]
jmp 0x411b6b
mov ecx, eax
test ecx, ecx
je 0x411b99
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x411b92
push ebx
push eax
call fcn.0042a68c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x411b80
call fcn.0042a68c
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
push 0x30004
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x48fdc0
call fcn.0042a692
add esp, 0x10
call fcn.0042a68c
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x411bd9
push ebx
call fcn.0042a68c
add esp, 4
mov esp, ebp
pop ebp
ret