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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
mov eax, str.User_Agent:Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_47.0.2526.80_Safari_537.36_Core_1.47.277.400_QQBrowser_9.4.7658.400
mov dword [ebp - 0x34], eax
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
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
push 0
mov eax, str.https:__note.youdao.com_yws_public_note_03cb89fe74e7b4305099ed5dabde2135_sevj1
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040fd48
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40f744
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40f754
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40f764
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40f774
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f784
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40f794
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40f7a4
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f7b4
push ebx
call fcn.004aaa08
add esp, 4
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
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
lea eax, [ebp - 0x48]
push eax
call fcn.00414061
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40f7f6
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40f806
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40f816
push ebx
call fcn.004aaa08
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x40f829
mov eax, 0x55503e
push eax
push 1
mov ebx, 0x4acf00
call fcn.004aaa20
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40f84f
push ebx
call fcn.004aaa08
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f863
push ebx
call fcn.004aaa08
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x557306
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x55730d
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00411933
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f8b3
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f8c3
push ebx
call fcn.004aaa08
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f8d7
push ebx
call fcn.004aaa08
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x557314
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x55731f
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00411933
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f927
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f937
push ebx
call fcn.004aaa08
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.0041476a
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f96d
push ebx
call fcn.004aaa08
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x40f982
call fcn.0040f2bf
push 0x55732a
push dword [ebp - 8]
call fcn.0040a980
add esp, 8
cmp eax, 0
je 0x40fc68
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x55732e
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x557335
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00411933
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f9e7
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f9f7
push ebx
call fcn.004aaa08
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x7eb9c4]
test ebx, ebx
je 0x40fa0e
push ebx
call fcn.004aaa08
add esp, 4
pop eax
mov dword [0x7eb9c4], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x55733c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x557347
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00411933
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40fa60
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40fa70
push ebx
call fcn.004aaa08
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40fa84
push ebx
call fcn.004aaa08
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.__span___a_
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.color:003884___
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00411933
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40fad4
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40fae4
push ebx
call fcn.004aaa08
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x7eb9c8]
test ebx, ebx
je 0x40fafb
push ebx
call fcn.004aaa08
add esp, 4
pop eax
mov dword [0x7eb9c8], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.0040eaa5
push getpeername
push 0
push 0x557372
push getpeername
push 0
push str.amp_
push getpeername
push 0
mov eax, dword [0x7eb9c8]
test eax, eax
jne 0x40fb44
mov eax, 0x554e5b
push eax
push 6
mov ebx, 0x4ac110
call fcn.004aaa20
add esp, 0x4c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [0x7eb9c8]
test ebx, ebx
je 0x40fb71
push ebx
call fcn.004aaa08
add esp, 4
pop eax
mov dword [0x7eb9c8], eax
push 0
push 0x55737a
push 0xffffffffffffffff
push 8
push 0x16010008
push 0x52010001
call fcn.004aaa32
add esp, 0x18
cmp dword [0x7eb9cc], 0
jne 0x40fc15
push 0
push 0x1f4
push 0xffffffffffffffff
push 8
push 0x16014e77
push 0x52010001
call fcn.004aaa32
add esp, 0x18
push 0x80000301
push 0
push 0x7eb9cc
push 0
push 0
push 0
push VariantCopy
push 0
push 0x414d13
push 3
mov eax, 3
mov ebx, 0x5130a0
call fcn.004aaa2c
add esp, 0x28
push 0
push 0x557388
push 0xffffffffffffffff
push 0xa
push 0x1601447a
push 0x52010001
call fcn.004aaa32
add esp, 0x18
jmp 0x40fc68
push 0
push 0
push 0xffffffffffffffff
push 8
push 0x16014e77
push 0x52010001
call fcn.004aaa32
add esp, 0x18
push 0x7eb9d0
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [0x7eb9cc], 0
push 0
push 0x557391
push 0xffffffffffffffff
push 0xa
push 0x1601447a
push 0x52010001
call fcn.004aaa32
add esp, 0x18
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40fc78
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40fc88
push ebx
call fcn.004aaa08
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40fc98
push ebx
call fcn.004aaa08
add esp, 4
mov esp, ebp
pop ebp
ret