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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x38
call fcn.0044e157
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov dword [ebx], 0x7697bd
push ebx
add ebx, 0x24
push ebx
push 8
call fcn.0044e157
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x51dd8c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 0xc
push ebx
push 0xc
call fcn.0044e157
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x7698c5
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0042e317
pop ebx
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 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc8]
mov eax, 0x5baef3
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42e92f
push ebx
call fcn.0044e151
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x54], 0
jne 0x42e944
mov dword [ebp + 0x50], 1
cmp dword [ebp + 0x50], 0
je 0x42eced
push 0x51dd9c
mov ebx, dword [ebp + 0x20]
push dword [ebx]
call fcn.004020f3
add esp, 8
cmp eax, 0
je 0x42e9df
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x42e98a
mov eax, 0x51dd9c
push eax
push 2
mov ebx, 0x44ea60
call fcn.0044e15d
add esp, 0x1c
mov dword [ebp - 0x20], eax
push 0x5ba80c
push dword [ebp - 0x20]
call fcn.004020f3
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42e9ce
push ebx
call fcn.0044e151
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x42e9df
mov eax, 1
jmp 0x42e9e4
mov eax, 0
test eax, eax
je 0x42ea22
push 0x5ba80c
mov ebx, dword [ebp + 0x20]
push dword [ebx]
mov ecx, 2
call fcn.00401e38
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42ea1c
push ebx
call fcn.0044e151
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
mov dword [ebx], eax
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
push 0x5bafa3
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x42ea5b
mov eax, 0x51dd9c
push eax
push 4
mov ebx, 0x44ed10
call fcn.0044e15d
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x42eab1
push 0x5bafb0
mov ebx, dword [ebp + 0x20]
push dword [ebx]
mov ecx, 2
call fcn.00401e38
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42eaab
push ebx
call fcn.0044e151
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
mov dword [ebx], eax
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
push 0x5bb005
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x42eaea
mov eax, 0x51dd9c
push eax
push 4
mov ebx, 0x44ed10
call fcn.0044e15d
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x42eb40
push 0x5bb00e
mov ebx, dword [ebp + 0x20]
push dword [ebx]
mov ecx, 2
call fcn.00401e38
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42eb3a
push ebx
call fcn.0044e151
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
mov dword [ebx], eax
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
push 0x5bb03e
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x42eb79
mov eax, 0x51dd9c
push eax
push 4
mov ebx, 0x44ed10
call fcn.0044e15d
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x42ebcf
push 0x7697a1
mov ebx, dword [ebp + 0x20]
push dword [ebx]
mov ecx, 2
call fcn.00401e38
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42ebc9
push ebx
call fcn.0044e151
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
mov dword [ebx], eax
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
push 0x5bb06f
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x42ec08
mov eax, 0x51dd9c
push eax
push 4
mov ebx, 0x44ed10
call fcn.0044e15d
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x42ec5e
push 0x5bb081
mov ebx, dword [ebp + 0x20]
push dword [ebx]
mov ecx, 2
call fcn.00401e38
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42ec58
push ebx
call fcn.0044e151
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
mov dword [ebx], eax
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
push 0x5bb0da
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x42ec97
mov eax, 0x51dd9c
push eax
push 4
mov ebx, 0x44ed10
call fcn.0044e15d
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x42eced
push 0x5bb0ea
mov ebx, dword [ebp + 0x20]
push dword [ebx]
mov ecx, 2
call fcn.00401e38
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42ece7
push ebx
call fcn.0044e151
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
mov dword [ebx], eax
cmp dword [ebp + 0x1c], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x42ed2c
push 1
push dword [ebp + 0x18]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x94]
mov ebx, eax
test ebx, ebx
je 0x42ed2c
push ebx
call fcn.0044e151
add esp, 4
cmp dword [ebp + 0x34], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x42ed6b
push 1
push dword [ebp + 0x40]
push 1
push dword [ebp + 0x38]
push 1
push 1
push dword [ebp + 0x30]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xbc]
push 1
push 1
push dword [ebp + 8]
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb0]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x74]
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 0x400
push 2
mov eax, 2
mov ebx, 0x4b62a0
call fcn.0044e175
add esp, 0x1c
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 4
push 2
mov eax, 2
mov ebx, 0x4b62a0
call fcn.0044e175
add esp, 0x1c
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0x80000301
push 0
push 0
push 3
mov ebx, 0x452060
call fcn.0044e15d
add esp, 0x28
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 4
push 2
mov eax, 2
mov ebx, 0x4b62a0
call fcn.0044e175
add esp, 0x1c
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0x80000301
push 0
push 8
push 3
mov ebx, 0x452060
call fcn.0044e15d
add esp, 0x28
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x450550
call fcn.0044e15d
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x450550
call fcn.0044e15d
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x5ba56b
push dword [ebp - 0x1c]
push 0x5ba56b
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x5ba56b
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ecx, 7
call fcn.00401e38
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42ef24
push ebx
call fcn.0044e151
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42ef34
push ebx
call fcn.0044e151
add esp, 4
push 0x80000301
push 0
push 0x400
push 0x80000301
push 0
push dword [ebp - 0xc]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x42ef5d
mov eax, 0x51dd9c
push eax
push 3
mov ebx, 0x452060
call fcn.0044e15d
add esp, 0x28
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42ef80
push ebx
call fcn.0044e151
add esp, 4
push 1
push dword [ebp - 0xc]
push 0x42fc31
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x78]
push 0x51dd9c
mov ebx, dword [ebp + 0x20]
push dword [ebx]
call fcn.004020f3
add esp, 8
cmp eax, 0
je 0x42efc7
push dword [ebp + 0x20]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb8]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc0]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42eff5
push ebx
call fcn.0044e151
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x28]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42f01f
push ebx
call fcn.0044e151
add esp, 4
pop eax
mov ebx, dword [ebp + 0x28]
mov dword [ebx], eax
cmp dword [ebp + 0x4c], 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x42f0a3
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x452050
call fcn.0044e15d
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42f08d
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x452050
call fcn.0044e15d
add esp, 0x10
mov ebx, dword [ebp + 0x48]
mov dword [ebx], eax
jmp 0x42f0a3
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xdc]
mov ebx, dword [ebp + 0x48]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov eax, 2
mov ebx, 0x4b6300
call fcn.0044e175
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov eax, 2
mov ebx, 0x4b6300
call fcn.0044e175
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x452050
call fcn.0044e15d
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42f117
lea eax, [ebp - 0x18]
push eax
call fcn.0042f16a
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov eax, 2
mov ebx, 0x4b6300
call fcn.0044e175
add esp, 0x10
mov eax, 0x51dd9c
jmp 0x42f142
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0044e151
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42f163
push ebx
call fcn.0044e151
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x50