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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
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
mov dword [ebp - 0x18], 0
call fcn.00411910
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x477bde
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x50004
push 0x1601963f
push 0x52010b25
push 1
mov eax, 4
mov ebx, 0x79c0c0
call fcn.004da5aa
add esp, 0x10
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 0x4780c3
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x86cc6a]
fstp qword [ebp - 0x28]
push 0x80000301
push 0
push 2
fld qword [ebp - 0x28]
call fcn.0040185e
push 0x80000301
push 0
push eax
push 0x50004
push 0x1601963f
push 0x52010b25
push 3
mov eax, 4
mov ebx, 0x79bdc0
call fcn.004da5aa
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x477c8a
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x86cc6a]
fstp qword [ebp - 0x28]
push 0x80000301
push 0
push 3
fld qword [ebp - 0x28]
call fcn.0040185e
push 0x80000301
push 0
push eax
push 0x50004
push 0x1601963f
push 0x52010b25
push 3
mov eax, 4
mov ebx, 0x79bdc0
call fcn.004da5aa
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x477cf9
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
call fcn.00429446
mov dword [ebp - 0x1c], 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 - 0x1c]
test eax, eax
jne 0x477d2e
mov eax, 0x86cbc3
push eax
push reloc.WS2_32.dll_connect
push 0
push 0x86d4d1
push reloc.WS2_32.dll_connect
push 0
push 0x10beb35
push 6
mov ebx, 0x4dbef0
call fcn.004da5a4
add esp, 0x4c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x477d6c
push ebx
call fcn.004da586
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x477d80
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0xa94828
push dword [ebp - 0xc]
push 0x1129d1e
push dword [ebp - 0x10]
push 0x1129d2b
mov ecx, 5
call fcn.004010e1
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 8
call fcn.004da58c
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
mov eax, 0x1129d3f
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00409d3a
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x477eae
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x477ebe
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x477ece
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x477ede
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x477eee
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x477efe
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x477f0e
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x477f1e
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x2c]
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 - 0x5c]
push eax
call fcn.0040e705
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x477f5d
push ebx
call fcn.004da586
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x477f71
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x86d45a
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x477fa6
mov eax, 0x86cbc3
push eax
push 4
mov ebx, 0x4db300
call fcn.004da5a4
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x47802b
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x86cc6a]
fstp qword [ebp - 0x28]
push reloc.WS2_32.dll_connect
push 0
push 0x1129d79
push 0x80000301
push 0
push 4
fld qword [ebp - 0x28]
call fcn.0040185e
push 0x80000301
push 0
push eax
push 0x50004
push 0x1601963f
push 0x52010b25
push 4
mov eax, 4
mov ebx, 0x79bfb0
call fcn.004da5aa
add esp, 0x34
jmp 0x4780bb
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x86cc6a]
fstp qword [ebp - 0x28]
push dword [ebp - 0x18]
push 0x1129cec
mov ecx, 2
call fcn.004010e1
add esp, 8
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x478068
mov eax, 0x86cbc3
push eax
push 0x80000301
push 0
push 4
fld qword [ebp - 0x28]
call fcn.0040185e
push 0x80000301
push 0
push eax
push 0x50004
push 0x1601963f
push 0x52010b25
push 4
mov eax, 4
mov ebx, 0x79bfb0
call fcn.004da5aa
add esp, 0x34
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4780bb
push ebx
call fcn.004da586
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x477c11
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4780d6
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4780e6
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4780f6
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x478106
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x478116
push ebx
call fcn.004da586
add esp, 4
mov esp, ebp
pop ebp
ret