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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 4
call fcn.0040c72c
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x460ba0
call fcn.0040c744
add esp, 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
push 0x80000301
push 0
push dword [ebp + 8]
push 0x60001
push 0
push dword [0x4e7ba4]
push 2
mov eax, 5
mov ebx, 0x461260
call fcn.0040c744
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x460bc0
call fcn.0040c744
add esp, 0x10
call fcn.0040c732
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4931fb
push 0x60001
push 0
push dword [ebp - 8]
push 2
mov eax, 5
mov ebx, 0x4611b0
call fcn.0040c744
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp ecx, reloc.OLEAUT32.dll_SysReAllocStringLen
jne 0x4015e8
test eax, eax
jne 0x4015f9
mov eax, 0x493200
jmp 0x4015f9
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x4015f9
test eax, eax
jne 0x4015f9
mov eax, 0x493208
push ecx
push edx
push eax
push 1
mov ebx, 0x40d060
call fcn.0040c73e
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, reloc.OLEAUT32.dll_SysReAllocStringLen
je 0x401628
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x401638
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401638
push ebx
call fcn.0040c732
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x493201
push 0x60001
push 0
push dword [ebp - 8]
push 2
mov eax, 5
mov ebx, 0x4611b0
call fcn.0040c744
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp ecx, reloc.OLEAUT32.dll_SysReAllocStringLen
jne 0x401690
test eax, eax
jne 0x4016a1
mov eax, 0x493200
jmp 0x4016a1
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x4016a1
test eax, eax
jne 0x4016a1
mov eax, 0x493208
push ecx
push edx
push eax
push 1
mov ebx, 0x40db40
call fcn.0040c73e
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, reloc.OLEAUT32.dll_SysReAllocStringLen
je 0x4016d0
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x4016e0
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4016e0
push ebx
call fcn.0040c732
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4016f4
push ebx
call fcn.0040c732
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push str.want
push dword [ebp - 0x10]
push 0x49321b
mov ecx, 3
call fcn.00401472
add esp, 0xc
mov dword [ebp - 0x1c], eax
push 8
call fcn.0040c72c
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
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
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
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.User_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_7_1_2_like_Mac_OS_X__AppleWebKit_537.51.2__KHTML__like_Gecko__Mobile_11D257_MicroMessenger_6.1.1_NetType_WIFI_r_n
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
mov eax, str.http:__121.41.32.52_RedEnvelope_UserWant.do
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00401f24
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x401808
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401818
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x401828
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x401838
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x401848
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401858
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401868
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401878
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401888
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401898
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x40f420
call fcn.0040c73e
add esp, 0x10
call fcn.0040c732
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4018d1
mov eax, 0x493208
push eax
push 1
mov ebx, 0x40db40
call fcn.0040c73e
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4018fd
push ebx
call fcn.0040c732
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401914
push ebx
call fcn.0040c732
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404250
mov ebx, eax
test ebx, ebx
je 0x401930
push ebx
call fcn.0040c732
add esp, 4
push dword [ebp - 0x10]
push 0x49321b
mov ecx, 2
call fcn.00401472
add esp, 8
mov dword [ebp - 0x1c], eax
push 8
call fcn.0040c72c
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
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
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
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.User_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_7_1_2_like_Mac_OS_X__AppleWebKit_537.51.2__KHTML__like_Gecko__Mobile_11D257_MicroMessenger_6.1.1_NetType_WIFI_r_n
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
mov eax, str.http:__121.41.32.52_RedEnvelope_UserDraw.do
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00401f24
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x401a3b
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401a4b
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x401a5b
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x401a6b
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x401a7b
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401a8b
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401a9b
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401aab
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401abb
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401acb
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x40f420
call fcn.0040c73e
add esp, 0x10
call fcn.0040c732
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x401b04
mov eax, 0x493208
push eax
push 1
mov ebx, 0x40db40
call fcn.0040c73e
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x401b30
push ebx
call fcn.0040c732
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401b47
push ebx
call fcn.0040c732
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404250
mov ebx, eax
test ebx, ebx
je 0x401b63
push ebx
call fcn.0040c732
add esp, 4
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16010c2f
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x45aa50
call fcn.0040c744
add esp, 0x28
mov dword [ebp - 0x1c], eax
push 0
mov ebx, 0x40dc50
call fcn.0040c73e
add esp, 4
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x40db40
call fcn.0040c73e
add esp, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404250
mov dword [ebp - 0x2c], eax
push 0x493318
push dword [ebp - 0x2c]
push 0x49331b
push dword [ebp - 0x28]
push 0x493321
push dword [ebp - 0x1c]
push 0x4931fb
mov ecx, 7
call fcn.00401472
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401c19
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401c29
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401c39
push ebx
call fcn.0040c732
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x401c4c
mov eax, 0x493200
push eax
push 0x10005
push 0x16015b4d
push 0x52010001
push 2
mov ebx, 0x40e350
call fcn.0040c73e
add esp, 0x1c
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401c7e
push ebx
call fcn.0040c732
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x493326
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x401caf
mov eax, 0x493200
push eax
push 4
mov ebx, 0x40ceb0
call fcn.0040c73e
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x401d1c
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x49332a
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16010c2f
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x45ac40
call fcn.0040c744
add esp, 0x34
jmp 0x401d64
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x493335
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x30004
push 0x16010c2f
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x45ac40
call fcn.0040c744
add esp, 0x34
mov ebx, dword [ebp - 8]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x460bc0
call fcn.0040c744
add esp, 0x10
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401d9c
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401dac
push ebx
call fcn.0040c732
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401dbc
push ebx
call fcn.0040c732
add esp, 4
mov esp, ebp
pop ebp
ret 4