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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call fcn.0040ecb9
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_bind
push 0
push 1
mov ebx, 6
call fcn.0040113d
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x474fd8
mov eax, 0x86cbc3
push eax
push reloc.WS2_32.dll_connect
push 0
push 0x86d4d1
push reloc.WS2_32.dll_connect
push 0
push 0x10ba074
push 6
mov ebx, 0x4dbef0
call fcn.004da5a4
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x475016
push ebx
call fcn.004da586
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x47502a
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x4dcca0
call fcn.004da5a4
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x10ba255
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x10ba26f
push dword [ebp - 0xc]
push 0x112988b
mov ecx, 5
call fcn.004010e1
add esp, 0x14
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x475084
push ebx
call fcn.004da586
add esp, 4
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]
push 8
call fcn.004da58c
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
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
push dword [ebp + 0xc]
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push 1
mov eax, 0x10ba286
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00409d3a
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x475188
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x475198
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4751a8
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4751b8
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4751c8
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4751d8
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4751e8
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4751f8
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4e0340
call fcn.004da5a4
add esp, 0x10
call fcn.004da586
add esp, 4
lea eax, [ebp - 0x50]
push eax
call fcn.0040e705
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x475237
push ebx
call fcn.004da586
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47524b
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x47526b
push eax
mov ebx, eax
call fcn.00401076
inc eax
push eax
call fcn.004da58c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x475270
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x475281
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x475291
push ebx
call fcn.004da586
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc