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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [0x147b9b4], 0
je 0x41624c
mov ebx, dword [0x147b9c4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 0x61892f
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x416002
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [0x147b9c4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 0x618942
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_bind
push 0
push 1
mov ebx, 6
call fcn.00401271
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x416052
mov eax, 0x6017d0
push eax
push reloc.WS2_32.dll_connect
push 0
push 0x61894d
push reloc.WS2_32.dll_connect
push 0
push 0x618954
push 6
mov ebx, 0x47be40
call fcn.0047a941
add esp, 0x4c
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x416090
push ebx
call fcn.0047a94d
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4160a4
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [0x147b9c4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 0x618a39
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4160e1
mov eax, 0x6017d0
push eax
push 1
mov ebx, 0x47c1c0
call fcn.0047a941
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x416107
push ebx
call fcn.0047a94d
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.00416322
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x416123
push ebx
call fcn.0047a94d
add esp, 4
push reloc.WS2_32.dll_bind
push 0
push 1
mov ebx, 6
call fcn.00401271
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41614c
mov eax, 0x6017d0
push eax
push reloc.WS2_32.dll_connect
push 0
push 0x618a3f
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41616c
mov eax, 0x6017d0
push eax
push 6
mov ebx, 0x47be40
call fcn.0047a941
add esp, 0x4c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x416192
push ebx
call fcn.0047a94d
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4161a6
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 1
push 0
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 1
push 0
lea eax, [ebp - 4]
push eax
call fcn.00416f7a
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4161e7
push ebx
call fcn.0047a94d
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4161fd
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push dword [ebp + 0xc]
call fcn.00417229
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x416222
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x416242
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0047a947
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x416293
push reloc.WS2_32.dll_connect
push 0
push 0x618a4f
push 1
mov ebx, 0x47c1c0
call fcn.0047a941
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416283
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, 0x618a4f
jmp 0x416293
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4162a4
push ebx
call fcn.0047a94d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4162b4
push ebx
call fcn.0047a94d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4162c4
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc