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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
cmp dword [0x147b9b4], 0
je 0x41d692
mov ebx, dword [0x147b9c4]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 0x61892f
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d447
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [0x147b9c4]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 0x618942
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41d49f
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 - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41d4dd
push ebx
call fcn.0047a94d
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41d4f1
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 - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 0x618a39
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41d52e
mov eax, 0x6017d0
push eax
push 1
mov ebx, 0x47c1c0
call fcn.0047a941
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41d554
push ebx
call fcn.0047a94d
add esp, 4
lea eax, [ebp - 0x1c]
push eax
call fcn.00416322
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41d570
push ebx
call fcn.0047a94d
add esp, 4
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41d5a1
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 0x41d5c1
mov eax, 0x6017d0
push eax
push 6
mov ebx, 0x47be40
call fcn.0047a941
add esp, 0x4c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41d5e7
push ebx
call fcn.0047a94d
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41d5fb
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x41d61b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0047a947
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 0x41d62c
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 1
push 0
push 1
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.00416f7a
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41d66a
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41d688
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0047a947
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41d6bb
push reloc.WS2_32.dll_connect
push 0
push 0x618a4f
push 1
mov ebx, 0x47c1c0
call fcn.0047a941
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x41d6bb
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d6cc
push ebx
call fcn.0047a94d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41d6dc
push ebx
call fcn.0047a94d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41d6ec
push ebx
call fcn.0047a94d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41d6fc
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8