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

Disassembly:
push 0x64
mov eax, 0x471e66
call fcn.0044ea41
mov dword [ebp - 0x2c], ecx
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x70]
call fcn.004222af
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x30]
call fcn.004028a9
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x28]
call fcn.004028a9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004028a9
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.004028a9
mov byte [ebp - 4], 4
mov esi, 0x476a4d
push esi
mov ecx, dword [ebp + 0x14]
call fcn.00402e55
mov edi, dword [ebp + 0x10]
mov dword [edi], ebx
lea ecx, [ebp - 0x54]
call fcn.004028a9
mov byte [ebp - 4], 5
mov byte [ebp - 4], 6
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00422786
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x30]
call fcn.0040789d
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.004028d3
push 0x400
call fcn.0042a928
pop ecx
mov dword [ebp - 0x20], eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402e55
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0040789d
lea ecx, [ebp - 0x18]
call fcn.004091d2
lea ecx, [ebp - 0x18]
call fcn.00409536
push ebx
push 0x47ad94
lea ecx, [ebp - 0x18]
call fcn.004075b2
cmp eax, 0xffffffff
jne 0x422a58
push 1
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x18]
call fcn.00421b7d
mov byte [ebp - 4], 8
push 0x47ad90
push eax
call fcn.00417882
pop ecx
pop ecx
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.004028d3
lea ecx, [ebp - 0x34]
cmp byte [ebp - 0x11], bl
je 0x422a11
push str.http:
call fcn.0040364f
mov byte [ebp - 4], 9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004093cd
add esp, 0xc
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x18]
call fcn.0040789d
mov byte [ebp - 4], 9
jmp 0x422a44
push 0x478fd0
call fcn.0040364f
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004093cd
add esp, 0xc
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.0040789d
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
call fcn.004028d3
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.004028d3
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x422c7a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x422c7a
lea ecx, [ebp - 0x44]
call fcn.004028a9
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.004028a9
mov byte [ebp - 4], 0xe
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x18]
call fcn.00445c81
test eax, eax
je 0x422c5a
cmp dword [ebp - 0x34], 3
je 0x422abf
cmp dword [ebp - 0x34], 0x100b
jne 0x422c5a
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_35.0.1916.153_Safari_537.36
lea ecx, [ebp - 0x3c]
call fcn.0040364f
mov byte [ebp - 4], 0xf
push 0x18
call fcn.0042a8ee
pop ecx
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0x10
cmp eax, ebx
je 0x422b0d
inc dword [0x49ab6c]
push ebx
mov eax, 0x476c24
push eax
push eax
push ebx
push dword [0x49ab6c]
lea ecx, [ebp - 0x3c]
call fcn.004204fd
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00421aab
mov edi, eax
jmp 0x422b0f
xor edi, edi
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x48], edi
push 1
mov ecx, edi
call fcn.004456d9
push 0xffffffffffffffff
push dword [ebp - 0x30]
push 0xa0000002
push 1
push dword [ebp - 0x18]
mov ecx, edi
call fcn.0044633c
mov ecx, eax
mov dword [ebp - 0x24], ecx
cmp ecx, ebx
je 0x422c40
lea eax, [ebp - 0x38]
push eax
call fcn.00444ea7
test eax, eax
jne 0x422b56
mov dword [ebp - 0x38], 0xc8
mov edx, dword [ebp - 0x38]
cmp edx, 0x190
jb 0x422b99
mov eax, edx
sub eax, 0x193
je 0x422b86
dec eax
je 0x422b7b
push 3
pop ecx
sub eax, ecx
je 0x422b86
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
jmp 0x422b8f
mov eax, dword [ebp + 0x10]
mov dword [eax], 5
jmp 0x422b8f
mov eax, dword [ebp + 0x10]
mov dword [eax], 6
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
jmp 0x422c49
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
push 0x10
call fcn.0042a8ee
pop ecx
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0x11
cmp eax, ebx
je 0x422bba
mov ecx, eax
call fcn.00446d31
jmp 0x422bbc
xor eax, eax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [eax]
push ebx
push 0x1001
push ecx
mov ecx, eax
call dword [edx + 0x20]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push 0x3ff
mov edi, dword [ebp - 0x20]
push edi
mov ecx, dword [ebp - 0x24]
call dword [eax + 0x34]
cmp eax, ebx
je 0x422c49
mov byte [eax + edi], bl
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push eax
push edi
call dword [edx + 0x38]
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.00417882
pop ecx
pop ecx
test al, al
je 0x422c14
push edi
lea ecx, [ebp - 0x28]
call fcn.00402e55
mov eax, dword [ebp - 0x2c]
add eax, 0x14
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.00402e10
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x30]
push eax
mov byte [ebp - 4], 0xf
call fcn.00417073
pop ecx
pop ecx
jmp 0x422bd6
mov eax, dword [ebp + 0x10]
mov dword [eax], 3
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3c]
call fcn.004028d3
mov edi, dword [ebp + 0x10]
jmp 0x422c60
mov dword [edi], 1
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.004028d3
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.004028d3
jmp 0x422c80
mov dword [edi], 2
mov dword [ebp - 4], 5
jmp 0x422d40
cmp dword [ebp - 0x20], ebx
je 0x422d4e
push dword [ebp - 0x20]
call fcn.0042a91d
pop ecx
mov esi, dword [ebp - 0x24]
cmp esi, ebx
je 0x422d65
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x422d7c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x48]
cmp esi, ebx
je 0x422d93
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
push dword [edi]
lea eax, [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00422156
mov byte [ebp - 4], 0x17
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0040789d
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x10]
call fcn.004028d3
xor esi, esi
cmp dword [edi], ebx
jne 0x422dc1
inc esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.004028d3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.004028d3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004028d3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004028d3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.004028d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00421af3
mov eax, esi
call fcn.0044eae6
ret 0x10