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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call fcn.0040c621
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [0x5cf7a0]
test ebx, ebx
je 0x40bcf4
push ebx
call fcn.00413e07
add esp, 4
pop eax
mov dword [0x5cf7a0], eax
push 0x4cdd66
push dword [0x5cf7a0]
call fcn.0040111e
add esp, 8
cmp eax, 0
je 0x40c4e8
push dword [0x5cf7b0]
push dword [0x5cf7a0]
push str.RES_CODE_MOBILE
mov ecx, 3
call fcn.00401081
add esp, 0xc
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40bd4a
mov eax, 0x4cdcdd
push eax
push 1
mov ebx, 0x415080
call fcn.00413e1f
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40bd70
push ebx
call fcn.00413e07
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40bd83
mov eax, 0x4ce41c
push eax
push 1
mov eax, 3
mov ebx, 0x46d4c0
call fcn.00413e0d
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40bdae
push ebx
call fcn.00413e07
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40bdc2
push ebx
call fcn.00413e07
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
mov ebx, 0x416030
call fcn.00413e1f
add esp, 4
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x415f50
call fcn.00413e1f
add esp, 0x10
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x4155d0
call fcn.00413e1f
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 0xc
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40be3e
mov eax, 0x4cdcdd
push eax
push 4
mov ebx, 0x414c50
call fcn.00413e1f
add esp, 0x34
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40be64
push ebx
call fcn.00413e07
add esp, 4
push str.__..._r_n
push dword [0x5cf7a0]
push 0x4cee0d
push dword [ebp - 0x20]
push 0x4ce326
mov ecx, 5
call fcn.00401081
add esp, 0x14
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40be9c
push ebx
call fcn.00413e07
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40beaf
mov eax, 0x4cdcdd
push eax
push 0x10005
push 0x1601053c
push 0x52010001
push 2
mov ebx, 0x416a40
call fcn.00413e1f
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40bee1
push ebx
call fcn.00413e07
add esp, 4
push dword [0x5cf79c]
push dword [0x5cf7b4]
push str._strParam
push dword [ebp - 4]
push str._RES_CODE_MOBILE_
push dword [0x5cf7a0]
push str.http:__m.guahao.com_json_white_mobile_send_
mov ecx, 7
call fcn.00401081
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, str.Mozilla_5.0__iPhone__CPU_iPhone_OS_5_0_1_like_Mac_OS_X__AppleWebKit_534.46__KHTML__like_Gecko__Mobile_9A405
mov dword [ebp - 0x28], eax
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
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
mov eax, 0x4cdd07
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00405a28
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40bfc0
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40bfd0
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40bfe0
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40bff0
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40c000
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40c010
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40c020
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40c030
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40c040
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40c050
push ebx
call fcn.00413e07
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.00407de2
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40c06c
push ebx
call fcn.00413e07
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x40c07f
mov eax, 0x4cdcdd
push eax
push 1
mov ebx, 0x4155d0
call fcn.00413e1f
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40c0a5
push ebx
call fcn.00413e07
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c0b9
push ebx
call fcn.00413e07
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str._hasError_:false__code_:_1___message_:null
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40c0ee
mov eax, 0x4cdcdd
push eax
push 4
mov ebx, 0x4146f0
call fcn.00413e1f
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x40c3cb
push 0
mov ebx, 0x416030
call fcn.00413e1f
add esp, 4
mov dword [0x5cf7a4], eax
mov dword [0x5cf7a8], edx
push 0
mov ebx, 0x416030
call fcn.00413e1f
add esp, 4
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x415f50
call fcn.00413e1f
add esp, 0x10
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x4155d0
call fcn.00413e1f
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 0xc
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40c1a3
mov eax, 0x4cdcdd
push eax
push 4
mov ebx, 0x414c50
call fcn.00413e1f
add esp, 0x34
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40c1c9
push ebx
call fcn.00413e07
add esp, 4
push 0x4cee9f
push dword [0x5cf79c]
push 0x4ceeb1
push dword [0x5cf7a0]
push 0x4ceeba
push dword [ebp - 0x20]
push 0x4ce326
mov ecx, 7
call fcn.00401081
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40c20c
push ebx
call fcn.00413e07
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40c21f
mov eax, 0x4cdcdd
push eax
push 0x10005
push 0x1601053c
push 0x52010001
push 2
mov ebx, 0x416a40
call fcn.00413e1f
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40c251
push ebx
call fcn.00413e07
add esp, 4
push 0x1388
call fcn.004085da
push 0x5cf7a0
call fcn.0040ce68
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [0x5cf794]
test ebx, ebx
je 0x40c27f
push ebx
call fcn.00413e07
add esp, 4
pop eax
mov dword [0x5cf794], eax
push 0
mov ebx, 0x416030
call fcn.00413e1f
add esp, 4
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x415f50
call fcn.00413e1f
add esp, 0x10
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x4155d0
call fcn.00413e1f
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 0xc
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40c2fd
mov eax, 0x4cdcdd
push eax
push 4
mov ebx, 0x414c50
call fcn.00413e1f
add esp, 0x34
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40c323
push ebx
call fcn.00413e07
add esp, 4
push 0x4cdf02
push dword [0x5cf794]
push 0x4ceedd
push dword [ebp - 0x20]
push 0x4ce326
mov ecx, 5
call fcn.00401081
add esp, 0x14
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40c35b
push ebx
call fcn.00413e07
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40c36e
mov eax, 0x4cdcdd
push eax
push 0x10005
push 0x1601053c
push 0x52010001
push 2
mov ebx, 0x416a40
call fcn.00413e1f
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40c3a0
push ebx
call fcn.00413e07
add esp, 4
push 0x4cdd66
push dword [0x5cf794]
call fcn.0040111e
add esp, 8
cmp eax, 0
jne 0x40c3c6
call fcn.0040bcbe
jmp 0x40c3c6
jmp 0x40c4e3
push 0
mov ebx, 0x416030
call fcn.00413e1f
add esp, 4
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x415f50
call fcn.00413e1f
add esp, 0x10
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x4155d0
call fcn.00413e1f
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 0xc
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40c443
mov eax, 0x4cdcdd
push eax
push 4
mov ebx, 0x414c50
call fcn.00413e1f
add esp, 0x34
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40c469
push ebx
call fcn.00413e07
add esp, 4
push str.__...__r_n
push dword [ebp - 8]
push 0x4cef09
push dword [ebp - 0x20]
push 0x4ce326
mov ecx, 5
call fcn.00401081
add esp, 0x14
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40c49e
push ebx
call fcn.00413e07
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40c4b1
mov eax, 0x4cdcdd
push eax
push 0x10005
push 0x1601053c
push 0x52010001
push 2
mov ebx, 0x416a40
call fcn.00413e1f
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40c4e3
push ebx
call fcn.00413e07
add esp, 4
jmp 0x40c5fd
push 0
mov ebx, 0x416030
call fcn.00413e1f
add esp, 4
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x415f50
call fcn.00413e1f
add esp, 0x10
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x4155d0
call fcn.00413e1f
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 0xc
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40c560
mov eax, 0x4cdcdd
push eax
push 4
mov ebx, 0x414c50
call fcn.00413e1f
add esp, 0x34
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40c586
push ebx
call fcn.00413e07
add esp, 4
push 0x4cef1c
push dword [ebp - 0x20]
push 0x4ce326
mov ecx, 3
call fcn.00401081
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40c5b3
push ebx
call fcn.00413e07
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40c5c6
mov eax, 0x4cdcdd
push eax
push 0x10005
push 0x1601053c
push 0x52010001
push 2
mov ebx, 0x416a40
call fcn.00413e1f
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40c5f8
push ebx
call fcn.00413e07
add esp, 4
call fcn.0040bcbe
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c60d
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c61d
push ebx
call fcn.00413e07
add esp, 4
mov esp, ebp
pop ebp
ret