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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push 8
call fcn.10009f1e
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x1009f9e6
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
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x1000b490
call fcn.10009f2a
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x1009f8fe
push getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x100014b6
mov eax, 0x1009f900
push eax
push 3
mov ebx, 0x1000af60
call fcn.10009f2a
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100014dc
push ebx
call fcn.10009f24
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x100014fe
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x100014fa
imul eax, dword [ebx]
jmp 0x100014ef
mov ecx, eax
test ecx, ecx
je 0x1000151d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10001516
push ebx
push eax
call fcn.10009f24
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10001504
call fcn.10009f24
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, str.https:__docs.qq.com_doc_DTGNBd2FVS3VpeUtq
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000153f
push ebx
call fcn.10009f24
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
push 0
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 8
call fcn.10009f1e
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__r_n_Chrome_50.0.2661.87_Safari_537.36
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
push 1
lea eax, [ebp - 8]
push eax
call fcn.10001c18
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x10001651
push ebx
call fcn.10009f24
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x10001661
push ebx
call fcn.10009f24
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x10001671
push ebx
call fcn.10009f24
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x10001681
push ebx
call fcn.10009f24
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10001691
push ebx
call fcn.10009f24
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x100016a1
push ebx
call fcn.10009f24
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x100016b1
push ebx
call fcn.10009f24
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100016c1
push ebx
call fcn.10009f24
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x100016d1
push ebx
call fcn.10009f24
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x1000c770
call fcn.10009f2a
add esp, 0x10
call fcn.10009f24
add esp, 4
lea eax, [ebp - 0x5c]
push eax
call fcn.1000663a
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x10001710
push ebx
call fcn.10009f24
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10001724
push ebx
call fcn.10009f24
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
call fcn.100011d8
mov eax, 0
cmp eax, ecx
jl 0x10001750
push 0x1b5
push 0x401019a
push 1
call fcn.10009f30
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x1000176d
mov eax, 0x1009f900
push eax
push 1
mov ebx, 0x1000b300
call fcn.10009f2a
add esp, 0x10
mov dword [ebp - 0x20], eax
push 1
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.1000671e
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100017a6
push ebx
call fcn.10009f24
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100017ba
push ebx
call fcn.10009f24
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10006a0b
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 4]
call fcn.100011d8
mov eax, 0
cmp eax, ecx
jl 0x100017f2
push 0x246
push 0x401019a
push 1
call fcn.10009f30
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x1000180f
mov eax, 0x1009f900
push eax
push 1
mov ebx, 0x1000b300
call fcn.10009f2a
add esp, 0x10
mov dword [ebp - 0x20], eax
push 1
push 1
push 1
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10006a72
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10001853
push ebx
call fcn.10009f24
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x1000a900
call fcn.10009f2a
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jle 0x100018b2
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x1000a900
call fcn.10009f2a
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jl 0x100018b2
mov eax, 1
jmp 0x100018b7
mov eax, 0
test eax, eax
je 0x10001963
mov dword [0x100ca070], 1
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push dword [0x100ca070]
push 1
mov ebx, 0x1000b300
call fcn.10009f2a
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x1009f99a
push dword [ebp - 0x1c]
push 0x1009f9b9
mov ecx, 3
call fcn.100013cf
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10001918
push ebx
call fcn.10009f24
add esp, 4
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp + 0xc]
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1000193b
mov eax, 0x1009f900
push eax
push 3
mov ebx, 0x1000b4d0
call fcn.10009f2a
add esp, 0x28
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000195e
push ebx
call fcn.10009f24
add esp, 4
jmp 0x10001a02
mov dword [0x100ca070], 0
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push dword [0x100ca070]
push 1
mov ebx, 0x1000b300
call fcn.10009f2a
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x1009f9c5
push dword [ebp - 0x1c]
push 0x1009f9b9
mov ecx, 3
call fcn.100013cf
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100019bc
push ebx
call fcn.10009f24
add esp, 4
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp + 0xc]
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100019df
mov eax, 0x1009f900
push eax
push 3
mov ebx, 0x1000b4d0
call fcn.10009f2a
add esp, 0x28
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10001a02
push ebx
call fcn.10009f24
add esp, 4
mov eax, dword [ebp + 0xc]
jmp 0x10001a0a
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10001a29
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10001a25
imul eax, dword [ebx]
jmp 0x10001a1a
mov ecx, eax
test ecx, ecx
je 0x10001a48
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10001a41
push ebx
push eax
call fcn.10009f24
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10001a2f
call fcn.10009f24
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001a60
push ebx
call fcn.10009f24
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10001a70
push ebx
call fcn.10009f24
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10001a80
push ebx
call fcn.10009f24
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8