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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x28
call fcn.0061a420
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0xacce48
push ebx
add ebx, 0x10
push ebx
push 8
call fcn.0061a420
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x76593f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x10], ebx
push 0x76575c
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.00401220
add esp, 8
cmp eax, 0
je 0x6141df
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x10]
mov eax, 0x768f18
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x61409f
push ebx
call fcn.0061a426
add esp, 4
mov eax, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_87.0.4280.66_Safari_537.36
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, str.user_agent
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x6140d5
push ebx
call fcn.0061a426
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x6140e5
push ebx
call fcn.0061a426
add esp, 4
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x614110
push ebx
call fcn.0061a426
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov word [ebp - 8], ax
cmp word [ebp - 8], 0xc8
jne 0x6141d1
push 1
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x61415a
push ebx
call fcn.0061a426
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x10], ebx
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x614190
mov eax, 0x76575c
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x6141a4
mov eax, 0x76575c
push eax
push 4
mov ebx, 0x61b1e0
call fcn.0061a438
add esp, 0x34
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x6141d1
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0061a426
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x6141ff
push ebx
call fcn.0061a426
add esp, 4
mov esp, ebp
pop ebp
ret 4