Function at 0x461385
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
mov dword [ebp - 0x1c], 0
mov eax, 0x1127e89
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4613d5
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x4613fe
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]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x46140f
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
call fcn.0040ecb9
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x46142f
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 0x10], 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 - 0x10]
test eax, eax
jne 0x46145c
mov eax, 0x86cbc3
push eax
push reloc.WS2_32.dll_connect
push 0
push 0x86d4d1
push reloc.WS2_32.dll_connect
push 0
push 0x1127ec3
push 6
mov ebx, 0x4dbef0
call fcn.004da5a4
add esp, 0x4c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x46149e
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x86d0a4
push dword [ebp - 0x10]
push 0x112806d
mov ebx, dword [ebp + 0x18]
push dword [ebx]
push 0x10bb84a
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x10bb859
mov ecx, 7
call fcn.004010e1
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4614e7
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 0x18], 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
push dword [ebp + 0x14]
push 1
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.00409d3a
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4615e7
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4615f7
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x461607
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x461617
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x461627
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x461637
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
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x46166d
mov eax, 0x86cca4
push eax
push 1
mov ebx, 0x4dcca0
call fcn.004da5a4
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x461693
push ebx
call fcn.004da586
add esp, 4
push 1
push 1
lea eax, [ebp - 0x5c]
push eax
call fcn.0042b0df
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4616b6
push ebx
call fcn.004da586
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4616ca
push ebx
call fcn.004da586
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4616ea
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 0x4616ef
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x461700
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x461710
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x461720
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x461730
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x461740
push ebx
call fcn.004da586
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x461750
push ebx
call fcn.004da586
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18