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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
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
push 0xc
call fcn.005ddd29
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0xa3c7b8
push ebx
add ebx, 8
push ebx
push 8
call fcn.005ddd29
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.00411735
pop ebx
xor ecx, ecx
lea eax, [ebp - 4]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0xa
jg 0x4d18c7
mov eax, 0xe71f83
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4d11e3
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe71fcb
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d121c
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe72238
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4d1256
mov eax, 0x7634c9
push eax
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, 6
call fcn.00406d3b
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d1289
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4d129d
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4d12b1
mov eax, 0x9e94ec
push eax
push 5
mov ebx, 0x5e0000
call fcn.005ddd41
add esp, 0x40
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d12d7
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d12e7
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d12fb
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe72248
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x4d1335
mov eax, 0x7634c9
push eax
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, 6
call fcn.00406d3b
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d1368
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4d137c
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4d1390
mov eax, 0x9e94ec
push eax
push 5
mov ebx, 0x5e0000
call fcn.005ddd41
add esp, 0x40
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d13b6
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d13c6
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d13da
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe28c32
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x4d1414
mov eax, 0x7634c9
push eax
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, 6
call fcn.00406d3b
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d1447
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4d145b
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4d146f
mov eax, 0x9e94ec
push eax
push 5
mov ebx, 0x5e0000
call fcn.005ddd41
add esp, 0x40
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d1495
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d14a5
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d14b9
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
push 0xe28c88
push 1
mov ebx, 0x5df970
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x4d14f3
mov eax, 0x7634c9
push eax
push 1
mov ebx, 0x5e1190
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, 6
call fcn.00406d3b
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d1526
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4d153a
mov eax, 0x9e94ec
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4d154e
mov eax, 0x9e94ec
push eax
push 5
mov ebx, 0x5e0000
call fcn.005ddd41
add esp, 0x40
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d1574
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d1584
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d1598
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4d15ba
push eax
mov ebx, eax
call fcn.004013d7
inc eax
push eax
call fcn.005ddd29
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d15cb
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x10], 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.005ddd29
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
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push 1
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, 0xe72257
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
push 1
lea eax, [ebp - 8]
push eax
call fcn.00411c0d
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4d16cf
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4d16df
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4d16ef
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4d16ff
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4d170f
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4d171f
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4d172f
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x5e4d50
call fcn.005ddd41
add esp, 0x10
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d1766
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004116f2
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d178a
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x20
call fcn.005ddd29
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x20]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d17e6
push ebx
call fcn.005ddd23
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d17fa
push ebx
call fcn.005ddd23
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d180e
push ebx
call fcn.005ddd23
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d1822
push ebx
call fcn.005ddd23
add esp, 4
pop ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, 0xe723d9
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d1866
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d187c
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x7634c9
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00404a1a
add esp, 8
cmp eax, 0
je 0x4d18a2
jmp 0x4d18c7
push 0x80000301
push 0
push 0x7d0
push 1
mov ebx, 0x5e3380
call fcn.005ddd41
add esp, 0x10
pop ebx
pop ecx
jmp 0x4d11bf
add esp, 8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4d18e6
push eax
mov ebx, eax
call fcn.004013d7
inc eax
push eax
call fcn.005ddd29
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4d18eb
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4d18fc
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d190c
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d191c
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d192c
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d193c
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005ddd23
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18