Function at 0x406b2b
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.0042a3a1
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x4e2d77
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.0042a3a1
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x4e2d77
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 4
call fcn.0042a3a1
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, 0x48f690
call fcn.0042a3ad
add esp, 0x10
mov dword [ebp - 0x1c], 0
mov eax, 0x4e71ff
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406bd0
push ebx
call fcn.0042a3a7
add esp, 4
pop eax
mov dword [ebp - 4], eax
call fcn.0040711f
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406bf0
push ebx
call fcn.0042a3a7
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.00402e53
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x406c1d
mov eax, 0x4e2c3a
push eax
push getpeername
push 0
push str._key_
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x406c3d
mov eax, 0x4e2c3a
push eax
push 6
mov ebx, 0x42b800
call fcn.0042a39b
add esp, 0x4c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406c67
push ebx
call fcn.0042a3a7
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x4e2d7f
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x406c90
mov eax, 0x4e2c3a
push eax
push 3
mov ebx, 0x42b9f0
call fcn.0042a39b
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 0x406cc8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406cc4
imul eax, dword [ebx]
jmp 0x406cb9
mov ecx, eax
test ecx, ecx
je 0x406ce7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406ce0
push ebx
push eax
call fcn.0042a3a7
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406cce
call fcn.0042a3a7
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.0040450e
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 0x406fc1
mov ebx, dword [ebp - 0xc]
call fcn.00404527
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x406d39
push 0x138
push 0x4010119
push 4
call fcn.0042a38f
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x406d56
push 0x138
push 0x4010119
push 1
call fcn.0042a38f
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 0x4e740b
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406d85
mov eax, 0x4e2c3a
push eax
push 3
mov ebx, 0x42b9f0
call fcn.0042a39b
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 0x406dbd
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406db9
imul eax, dword [ebx]
jmp 0x406dae
mov ecx, eax
test ecx, ecx
je 0x406ddc
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406dd5
push ebx
push eax
call fcn.0042a3a7
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406dc3
call fcn.0042a3a7
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x14]
call fcn.0040450e
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jne 0x406f0c
mov ebx, dword [ebp - 0x14]
call fcn.00404527
mov eax, 0
cmp eax, ecx
jl 0x406e25
push 0x1d3
push 0x4010119
push 1
call fcn.0042a38f
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x14]
call fcn.00404527
mov eax, 1
cmp eax, ecx
jl 0x406e55
push 0x1f7
push 0x4010119
push 1
call fcn.0042a38f
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x14]
call fcn.00404527
mov eax, 2
cmp eax, ecx
jl 0x406e85
push 0x1f7
push 0x4010119
push 1
call fcn.0042a38f
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4e740b
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x2c], eax
push getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x406ebf
mov eax, 0x4e2c3a
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406ed5
mov eax, 0x4e2c3a
push eax
push 0x30004
push 0
push dword [ebp - 0x18]
push 3
mov eax, 2
mov ebx, 0x490b50
call fcn.0042a3ad
add esp, 0x28
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x406f07
push ebx
call fcn.0042a3a7
add esp, 4
jmp 0x406fb9
mov ebx, dword [ebp - 0x14]
call fcn.00404527
mov eax, 0
cmp eax, ecx
jl 0x406f34
push 0x22d
push 0x4010119
push 1
call fcn.0042a38f
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x14]
call fcn.00404527
mov eax, 1
cmp eax, ecx
jl 0x406f64
push 0x22d
push 0x4010119
push 1
call fcn.0042a38f
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 0x406f81
mov eax, 0x4e2c3a
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x406f97
mov eax, 0x4e2c3a
push eax
push 0x30004
push 0
push dword [ebp - 0x18]
push 3
mov eax, 2
mov ebx, 0x490b50
call fcn.0042a3ad
add esp, 0x28
pop eax
pop ebx
pop ecx
jmp 0x406d04
add esp, 0xc
push 0x30004
push 0
push dword [ebp - 0x18]
push 0x30011
push 0
push dword [0x729a50]
push 2
mov eax, 2
mov ebx, 0x494130
call fcn.0042a3ad
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 [0x729a50]
push 4
mov eax, 2
mov ebx, 0x4922d0
call fcn.0042a3ad
add esp, 0x34
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407049
push ebx
call fcn.0042a3a7
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407059
push ebx
call fcn.0042a3a7
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x407077
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x407073
imul eax, dword [ebx]
jmp 0x407068
mov ecx, eax
test ecx, ecx
je 0x407096
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40708f
push ebx
push eax
call fcn.0042a3a7
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40707d
call fcn.0042a3a7
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4070bc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4070b8
imul eax, dword [ebx]
jmp 0x4070ad
mov ecx, eax
test ecx, ecx
je 0x4070db
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4070d4
push ebx
push eax
call fcn.0042a3a7
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4070c2
call fcn.0042a3a7
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
push 0x30004
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x48f6b0
call fcn.0042a3ad
add esp, 0x10
call fcn.0042a3a7
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40711b
push ebx
call fcn.0042a3a7
add esp, 4
mov esp, ebp
pop ebp
ret