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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
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
cmp dword [ebp + 0x50], 0
jne 0x414a58
mov dword [ebp + 0x4c], 5
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x5ace84
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x414a8b
mov eax, 0x5ab50d
push eax
push 4
mov ebx, 0x4c3d90
call fcn.004c305c
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x414ab2
mov dword [ebp + 0x4c], 0xf
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x5ace8a
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x414ae5
mov eax, 0x5ab50d
push eax
push 4
mov ebx, 0x4c3d90
call fcn.004c305c
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x414b1f
mov eax, 0x5ace95
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x414b1b
push ebx
call fcn.004c3044
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
mov ebx, 0x4c6370
call fcn.004c305c
add esp, 4
mov dword [ebp - 8], eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x54]
call fcn.004150a1
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push 0x5ab526
push dword [ebp - 4]
mov ecx, 3
call fcn.004010ab
add esp, 0xc
mov dword [ebp - 0x1c], 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.004c304a
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]
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp + 0x4c]
push 1
push dword [ebp + 0x54]
push 1
push dword [ebp + 0x44]
push 1
push dword [ebp + 0x3c]
push 1
push dword [ebp + 0x5c]
push 1
push dword [ebp + 0x34]
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [ebp + 0x24]
push 1
push dword [ebp + 0x1c]
push 1
push dword [ebp + 0x14]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004153ee
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x414c19
push ebx
call fcn.004c3044
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4c81c0
call fcn.004c305c
add esp, 0x10
call fcn.004c3044
add esp, 4
lea eax, [ebp - 0x34]
push eax
call fcn.00403e3b
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x414c58
push ebx
call fcn.004c3044
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x414c6c
push ebx
call fcn.004c3044
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0
mov ebx, 0x4c6370
call fcn.004c305c
add esp, 4
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 8]
fstp qword [ebp - 0x2c]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fdiv qword [0x5ab7a6]
fstp qword [ebp - 0x3c]
push 0x80000601
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 1
mov ebx, 0x4c3830
call fcn.004c305c
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x5acf15
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x414cf9
mov eax, 0x5ab50d
push eax
push 4
mov ebx, 0x4c3d90
call fcn.004c305c
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x414d70
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x5acf34
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x414d4c
mov eax, 0x5ab50d
push eax
push 4
mov ebx, 0x4c3d90
call fcn.004c305c
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x414d70
xor eax, eax
jmp 0x414d75
mov eax, 1
test eax, eax
je 0x414d9e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x414d99
push eax
mov ebx, eax
call fcn.00401040
inc eax
push eax
call fcn.004c304a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x415049
lea eax, [ebp - 0x14]
push eax
call fcn.0041928b
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x414dbe
push ebx
call fcn.004c3044
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x5ab90e
push dword [ebp - 0x18]
call fcn.00401921
add esp, 8
cmp eax, 0
jne 0x414fd5
mov ebx, dword [ebp + 0x5c]
cmp dword [ebx], 0x199
je 0x414e1b
mov ebx, dword [ebp + 0x5c]
cmp dword [ebx], 0x191
je 0x414e1b
mov ebx, dword [ebp + 0x5c]
cmp dword [ebx], 0xcc
je 0x414e1b
mov ebx, dword [ebp + 0x5c]
cmp dword [ebx], 0xc8
je 0x414e1b
xor eax, eax
jmp 0x414e20
mov eax, 1
test eax, eax
je 0x414e49
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x414e44
push eax
mov ebx, eax
call fcn.00401040
inc eax
push eax
call fcn.004c304a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x415049
cmp dword [0xf6d2ac], 4
je 0x414e92
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
call fcn.00410303
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x414e8c
push ebx
call fcn.004c3044
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x54]
call fcn.004150a1
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push 0x5ab526
push dword [ebp - 4]
mov ecx, 3
call fcn.004010ab
add esp, 0xc
mov dword [ebp - 0x1c], 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.004c304a
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]
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp + 0x4c]
push 1
push dword [ebp + 0x54]
push 1
push dword [ebp + 0x44]
push 1
push dword [ebp + 0x3c]
push 1
push dword [ebp + 0x5c]
push 1
push dword [ebp + 0x34]
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [ebp + 0x24]
push 1
push dword [ebp + 0x1c]
push 1
push dword [ebp + 0x14]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004153ee
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x414f77
push ebx
call fcn.004c3044
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4c81c0
call fcn.004c305c
add esp, 0x10
call fcn.004c3044
add esp, 4
lea eax, [ebp - 0x34]
push eax
call fcn.00403e3b
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x414fb6
push ebx
call fcn.004c3044
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x414fca
push ebx
call fcn.004c3044
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0xa
jle 0x415028
cmp dword [0xf6d2ac], 4
je 0x415028
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
call fcn.00410303
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x415022
push ebx
call fcn.004c3044
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x415044
push eax
mov ebx, eax
call fcn.00401040
inc eax
push eax
call fcn.004c304a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x415049
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41505a
push ebx
call fcn.004c3044
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41506a
push ebx
call fcn.004c3044
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41507a
push ebx
call fcn.004c3044
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41508a
push ebx
call fcn.004c3044
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41509a
push ebx
call fcn.004c3044
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x5c