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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
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 dword [ebp - 0x20], 0
push 0xc
call fcn.005ddd29
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0xe287c6
push ebx
add ebx, 4
push ebx
push 8
call fcn.005ddd29
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x9e94ec
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.005ddd29
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x9e94ec
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4e8616
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 - 4]
test ebx, ebx
je 0x4e8627
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x4e8649
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 - 8]
test ebx, ebx
je 0x4e865a
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x4e867c
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 - 0xc]
test ebx, ebx
je 0x4e868d
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x4e86af
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 0x4e86c0
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
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
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0049c5e9
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e8701
push ebx
call fcn.005ddd23
add esp, 4
push 0x113fcea
push dword [ebp - 0x14]
push 0xa3c1db
mov ecx, 3
call fcn.00401442
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4e8732
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push dword [ebp - 8]
push 0x113fcf4
mov ecx, 2
call fcn.00401442
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4e8762
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push eax
mov eax, 0xe28263
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e87a0
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0xa412c6
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0x113fd03
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e87e2
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e87f2
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0xe6b0ac
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe2839b
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e8834
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e8844
push ebx
call fcn.005ddd23
add esp, 4
push dword [ebp - 0x14]
push 0xa3c1db
mov ecx, 2
call fcn.00401442
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
mov eax, 0xe2866e
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e8896
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4e88a6
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0xe6b0f0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe6b0ff
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e88e8
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e88f8
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0xe6b110
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe28308
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e893a
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e894a
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0xe6b1cc
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe28697
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e898c
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e899c
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0xe2985f
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe2840d
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e89de
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e89ee
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e8a1f
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push 8
call fcn.005ddd29
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.00411c0d
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4e8b20
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4e8b30
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4e8b40
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4e8b50
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4e8b60
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4e8b70
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x40]
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 - 0x6c]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e8ba7
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004116f2
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e8bcb
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x113fcbe
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4e8c00
mov eax, 0x7634c9
push eax
push 4
mov ebx, 0x5de9d0
call fcn.005ddd41
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x4e8c5a
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4e8c33
mov eax, 0x7634c9
push eax
push 1
mov ebx, 0x5de3d0
call fcn.005ddd41
add esp, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x64
jge 0x4e8c5a
mov eax, 1
jmp 0x4e8c5f
mov eax, 0
test eax, eax
je 0x4e8c71
mov eax, 1
jmp 0x4e8cf3
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov eax, 0xa3c253
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x113fcc7
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040fc5d
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4e8cbd
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e8ccd
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4e8ce3
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
mov eax, 0
jmp 0x4e8cf3
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e8d04
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4e8d14
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4e8d24
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4e8d34
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e8d44
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4e8d54
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4e8d64
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4e8d74
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e8d94
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e8da4
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e8db4
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14