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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 8
call fcn.0040f2d2
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x49a981
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xffffffffffffffff
push 8
push 0x1601806d
push 0x52010001
call fcn.0040f302
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x49a845
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4087db
mov eax, 0x49a674
push eax
push 3
mov ebx, 0x4100e0
call fcn.0040f2f0
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x408801
push ebx
call fcn.0040f2e4
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408823
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40881f
imul eax, dword [ebx]
jmp 0x408814
mov ecx, eax
test ecx, ecx
je 0x408842
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40883b
push ebx
push eax
call fcn.0040f2e4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408829
call fcn.0040f2e4
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
call fcn.00402127
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x408c99
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16011a49
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x460ff0
call fcn.0040f2f6
add esp, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4088c0
push ebx
call fcn.0040f2e4
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
call fcn.00402140
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4088e1
push 4
call fcn.0040f2d8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4088f4
push 1
call fcn.0040f2d8
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push str.http:__tiffanyq.idea_source.net_ashx_addFriend.ashx_userid
mov ecx, 2
call fcn.0040141f
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
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
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, str.X_Requested_With:_XMLHttpRequest_r_nUser_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.0.1_NetType_WIFI
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
lea eax, [ebp - 0xc]
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]
lea eax, [ebp - 0x18]
push eax
call fcn.00408d07
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4089ac
push ebx
call fcn.0040f2e4
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4089bc
push ebx
call fcn.0040f2e4
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4089cc
push ebx
call fcn.0040f2e4
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4089dc
push ebx
call fcn.0040f2e4
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4089ec
push ebx
call fcn.0040f2e4
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4089fc
push ebx
call fcn.0040f2e4
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x408a0c
push ebx
call fcn.0040f2e4
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x408a1c
push ebx
call fcn.0040f2e4
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x408a30
push ebx
call fcn.0040f2e4
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Success
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x408a65
mov eax, 0x49a674
push eax
push 4
mov ebx, 0x40f9f0
call fcn.0040f2f0
add esp, 0x34
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x408b31
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x4107c0
call fcn.0040f2f0
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x49abae
push dword [ebp - 0x14]
push 0x49a78d
mov ecx, 3
call fcn.0040141f
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x408ad1
push ebx
call fcn.0040f2e4
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x408ae4
mov eax, 0x49a674
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16011a49
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4611e0
call fcn.0040f2f6
add esp, 0x34
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x408b31
push ebx
call fcn.0040f2e4
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 str.Success
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x408b62
mov eax, 0x49a674
push eax
push 4
mov ebx, 0x40f9f0
call fcn.0040f2f0
add esp, 0x34
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x408c2e
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x4107c0
call fcn.0040f2f0
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x49abc1
push dword [ebp - 0x14]
push 0x49a78d
mov ecx, 3
call fcn.0040141f
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x408bce
push ebx
call fcn.0040f2e4
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x408be1
mov eax, 0x49a674
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16011a49
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4611e0
call fcn.0040f2f6
add esp, 0x34
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x408c2e
push ebx
call fcn.0040f2e4
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16015f71
push 0x52010001
call fcn.0040f302
add esp, 0x10
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x408c5a
mov eax, 0x49a674
push eax
push 1
mov ebx, 0x40fbb0
call fcn.0040f2f0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x408c80
push ebx
call fcn.0040f2e4
add esp, 4
push 1
push 1
push 1
push dword [ebp - 0x18]
call fcn.00405bbb
pop eax
pop ebx
pop ecx
jmp 0x40885f
add esp, 0xc
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408cba
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408cb6
imul eax, dword [ebx]
jmp 0x408cab
mov ecx, eax
test ecx, ecx
je 0x408cd9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408cd2
push ebx
push eax
call fcn.0040f2e4
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408cc0
call fcn.0040f2e4
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x408cf1
push ebx
call fcn.0040f2e4
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x408d01
push ebx
call fcn.0040f2e4
add esp, 4
mov esp, ebp
pop ebp
ret 4