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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.00447cd8
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0x4fca76
push ebx
add ebx, 4
push ebx
push 8
call fcn.00447cd8
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040e1d5
pop ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push 0x10001
push 0x602c74c
push 0x5202c58e
push 3
mov ebx, 0x449920
call fcn.00447cd2
add esp, 0x28
mov dword [ebp - 4], 0
push 0x4fc035
push dword [0x657e24]
call fcn.004010e6
add esp, 8
cmp eax, 0
je 0x40de41
push 0x4fc035
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.004010e6
add esp, 8
cmp eax, 0
je 0x40de41
mov eax, 1
jmp 0x40de46
mov eax, 0
test eax, eax
je 0x40e195
cmp dword [ebp + 0x14], 0
jne 0x40defb
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call fcn.0040b2bd
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40de80
push ebx
call fcn.00447cde
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.0040b2bd
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40dea8
push ebx
call fcn.00447cde
add esp, 4
push dword [ebp - 0x20]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.0040145e
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40dece
push ebx
call fcn.00447cde
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40dede
push ebx
call fcn.00447cde
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40def2
push ebx
call fcn.00447cde
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40df9e
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call fcn.0040b2bd
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40df23
push ebx
call fcn.00447cde
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x10]
call fcn.0040b2bd
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40df4b
push ebx
call fcn.00447cde
add esp, 4
push dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 0x18]
mov ecx, 3
call fcn.0040145e
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40df76
push ebx
call fcn.00447cde
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40df86
push ebx
call fcn.00447cde
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40df9a
push ebx
call fcn.00447cde
add esp, 4
pop eax
mov dword [ebp - 8], eax
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
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
mov eax, str.Accept:_text_html__application_xhtmlxml____r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__Trident_7.0__rv:11.0__like_Gecko_QQBrowser_8.1.3701.400
mov dword [ebp - 0x24], eax
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
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
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e039
push ebx
call fcn.00447cde
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e049
push ebx
call fcn.00447cde
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e059
push ebx
call fcn.00447cde
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e069
push ebx
call fcn.00447cde
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e079
push ebx
call fcn.00447cde
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e089
push ebx
call fcn.00447cde
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40e099
push ebx
call fcn.00447cde
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e0a9
push ebx
call fcn.00447cde
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e0b9
push ebx
call fcn.00447cde
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40e0cc
mov eax, 0x4fc238
push eax
push 1
mov ebx, 0x44b690
call fcn.00447cd2
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e0f2
push ebx
call fcn.00447cde
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e106
push ebx
call fcn.00447cde
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push str..html
push dword [0x657e24]
mov ecx, 2
call fcn.0040145e
add esp, 8
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40e14a
mov eax, 0x4fc035
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40e15e
mov eax, 0x4fc035
push eax
push 4
mov ebx, 0x449f80
call fcn.00447cd2
add esp, 0x34
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e184
push ebx
call fcn.00447cde
add esp, 4
cmp dword [ebp - 0x18], 0xffffffff
je 0x40e195
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
jmp 0x40e19d
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e1ae
push ebx
call fcn.00447cde
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e1be
push ebx
call fcn.00447cde
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00447cde
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10